Don't use long double math functions if NO_LONG_DOUBLE
[glibc.git] / ChangeLog
blob4d4840da75990b50fccb609fcddedcf7423b1685
1 2016-02-24  Andreas Schwab  <schwab@suse.de>
3         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
4         if !NO_LONG_DOUBLE.
6 2016-02-22  Roland McGrath  <roland@hack.frob.com>
8         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
9         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
11 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
13         [BZ #19512]
14         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
16 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
18         * posix/tst-dir.c: Include libc-internal.h.
20 2016-02-20  Florian Weimer  <fweimer@redhat.com>
22         [BZ #19056]
23         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
24         * manual/filesys.texi (Reading/Closing Directory): Mention
25         deprecaion.
26         * posix/tst-dir.c (main): Disable deprecation warning in test.
28 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
30         [BZ #19679]
31         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
32         Renamed to ...
33         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
34         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
35         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
36         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
37         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
38         * sysdeps/x86_64/dl-trampoline.h
39         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
40         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
42 2016-02-19  Mark Wielaard  <mjw@redhat.com>
44         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
46 2016-02-19  Mark Wielaard  <mjw@redhat.com>
48         * elf/elf.h (R_386_GOT32X): New.
49         (R_386_NUM): Update.
50         (R_X86_64_GOTPCRELX: New.
51         (R_X86_64_REX_GOTPCRELX): New.
52         (R_X86_64_NUM): Update.
54 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
56         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
58 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
60         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
61         assign attr->stackaddr to it, and adjust it down when
62         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
63         [_STACK_GROWS_UP]: Delete assert.
64         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
65         Implement stack grows up logic.
66         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
67         stack grows up logic.
69 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
71         * NEWS: Update with 2.24 template.
73 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
75         [BZ #19678]
76         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
77         Ensure +0.0 is returned when taking the next value below the least
78         positive value.
80 2016-02-19  Florian Weimer  <fweimer@redhat.com>
82         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
83         available.  Do not define NO_THREADS.
84         * malloc/malloc.c: Do not check NO_THREADS.
85         * malloc/arena.c: Likewise.
87 2016-02-19  Florian Weimer  <fweimer@redhat.com>
89         * malloc/malloc.c (__libc_mallinfo): Update comment.
90         (struct malloc_par): Remove max_total_mem member, it was always 0.
91         (int_mallinfo): Store 0 into usmblks (no functional change).
92         * malloc/hooks.c (struct malloc_state): Document that
93         max_total_mem is always 0.
94         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
95         always 0.
96         * manual/memory.texi (Statistics of Malloc): Likewise.
98 2016-02-19  Florian Weimer  <fweimer@redhat.com>
100         * malloc/malloc.c (sysmalloc): Do not update arena_max.
101         * malloc/arena.c (arena_max): Remove.
102         (heap_trim, _int_new_arena): Do not update arena_max.
104 2016-02-19  Florian Weimer  <fweimer@redhat.com>
106         * resolv/res_init.c (res_ninit): Update comment.
108 2016-02-19  Florian Weimer  <fweimer@redhat.com>
110         [BZ #19505]
111         * posix/spawn_int.h: Add headers and include guard.
112         (__spawn_valid_fd): New function.
113         * posix/spawn_faction_addopen.c
114         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
115         * posix/spawn_faction_addclose.c
116         (posix_spawn_file_actions_addclose): Likewise.
117         * posix/spawn_faction_adddup2.c
118         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
119         second file descriptor.
120         * posix/spawn_valid_fd.c: New file.
121         * posix/tst-posix_spawn-fd.c: New file.
122         * posix/Makefile (routines): Add spawn_valid_fd.
123         (tests): Add tst-posix_spawn-fd.
125 2016-02-19  Florian Weimer  <fweimer@redhat.com>
127         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
128         (do_test): Limit the number of arenas, so that we can use fewer
129         outer threads.  Limit timeout to 3 seconds, in preparation for a
130         larger TIMEOUT value.
132 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
134         [BZ #19674]
135         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
136         sign in overflowing and underflowing results when overflow or
137         underflow is detected early.  Include sign in result before rather
138         than after scaling.
140         [BZ #19603]
141         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
142         (__ieee754_remainderl): Adjust sign of integer version of low part
143         when taking absolute value of high part.
144         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
145         * math/libm-test.inc (remainder_test_data): Add another test.
146         (remquo_test_data): Likewise.
148 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
150         [BZ #19602]
151         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
152         equal high parts and both low parts zero specially.
153         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
154         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
155         Add test-fmodl-ldbl-128ibm.
157         [BZ #19595]
158         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
159         common logic for all cases of shifting subnormal results.  Do not
160         insert sign bit in shifted mantissa.  Always pass -1023 as biased
161         exponent to ldbl_insert_mantissa in subnormal case.
163         [BZ #19594]
164         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
165         on high and low parts then adjust result and use
166         ldbl_canonicalize_int if needed.
168         [BZ #19593]
169         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
170         on high part and __floor or __ceil on low part then use
171         ldbl_canonicalize_int if needed.
173         [BZ #19592]
174         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
175         high and low parts then use ldbl_canonicalize_int if needed.
177         [BZ #17899]
178         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
179         New function.
180         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
181         on high and low parts then use ldbl_canonicalize_int if needed.
183 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
185         * configure: Regenerated.
187         * po/libc.pot: Regenerated.
189         * po/be.po: Updated translation.
190         * po/bg.po: Likewise.
191         * po/ca.po: Likewise.
192         * po/cs.po: Likewise.
193         * po/da.po: Likewise.
194         * po/el.po: Likewise.
195         * po/eo.po: Likewise.
196         * po/es.po: Likewise.
197         * po/fi.po: Likewise.
198         * po/fr.po: Likewise.
199         * po/gl.po: Likewise.
200         * po/hr.po: Likewise.
201         * po/hu.po: Likewise.
202         * po/ia.po: Likewise.
203         * po/id.po: Likewise.
204         * po/it.po: Likewise.
205         * po/ja.po: Likewise.
206         * po/lt.po: Likewise.
207         * po/nb.po: Likewise.
208         * po/nl.po: Likewise.
209         * po/pt_BR.po: Likewise.
210         * po/rw.po: Likewise.
211         * po/sk.po: Likewise.
212         * po/sl.po: Likewise.
213         * po/sv.po: Likewise.
214         * po/tr.po: Likewise.
215         * po/zh_CN.po: Likewise.
216         * po/zh_TW.po: Likewise.
218         * version.h (RELEAES): Set to "development".
219         (VERSION): Set to 2.23.90.
221         * version.h (RELEASE): Set to "stable".
222         (VERSION): Set to 2.23.
223         * include/feature.h (__GLIBC_MINOR__): Set to 23.
225         * NEWS: Updated fixed bugs.
227 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
228             Wilco Dijkstra  <wdijkstr@arm.com>
230         [BZ #19462]
231         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
232         (_STRING_INLINE_unaligned): This.
233         * include/string.h: Include <string_private.h>.
234         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
235         _STRING_INLINE_unaligned.
236         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
237         (_STRING_INLINE_unaligned): New.
238         * sysdeps/aarch64/string_private.h: New file.
239         * sysdeps/generic/string_private.h: Likewise.
240         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
241         * sysdeps/s390/string_private.h: Likewise.
242         * sysdeps/x86/string_private.h: Likewise.
243         * sysdeps/m68k/m680x0/m68020/bits/string.h
244         (_STRING_ARCH_unaligned): Renamed to ...
245         (_STRING_INLINE_unaligned): This.
246         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
247         to ...
248         (_STRING_INLINE_unaligned): This.
249         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
250         to ...
251         (_STRING_INLINE_unaligned): This.
252         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
253         to ...
254         (_STRING_INLINE_unaligned): This.
256 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
257             H.J. Lu  <hongjiu.lu@intel.com>
259         [BZ #19590]
260         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
261         relocation.
263 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
265         [BZ #18665]
266         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
267         *herrno_p.
268         (gaih_getanswer): Document functional behviour. Return tryagain
269         if any result is tryagain.
270         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
271         when freed.
272         * resolv/res_send.c: Add copyright text.
273         (__libc_res_nsend): Document that MAXPACKET is expected.
274         (send_vc): Document. Remove buffer reuse.
275         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
276         size of the buffer. Add Dprint for truncated UDP buffer.
278 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
280         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
281         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
282         * INSTALL: Regenerate.
284 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
285             Jonathan Wakely  <jwakely@redhat.com>
286             Carlos O'Donell  <carlos@redhat.com>
288         [BZ 19439]
289         * math/Makefile (tests): Add test-math-isinff.
290         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
291         * math/bits/mathcalls.h [__USE_MISC]: Use
292         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
293         functions not in C++11 and which don't conflict e.g. isinff,
294         isinfl etc.
295         * math/test-math-isinff.cc: New file.
297 2016-02-12  Florian Weimer  <fweimer@redhat.com>
299         * misc/bug18240.c (do_test): Set RLIMIT_AS.
301 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
303         [BZ #19529]
304         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
306 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
308         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
310 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
312         [BZ #19550]
313         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
314         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
315         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
316         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
317         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
318         New syscall entry.
319         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
320         New syscall entry.
321         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
322         syscall entry.
324 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
326         [BZ #18240]
327         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
328         unsigned int wraparound.
330 2016-01-27  Florian Weimer  <fweimer@redhat.com>
332         [BZ #18240]
333         * misc/bug18240.c: New test.
334         * misc/Makefile (tests): Add it.
336 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
337             Joseph Myers  <joseph@codesourcery.com>
339         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
340         load in branch delay slot when less than a word of input left.
342 2016-01-27  Andreas Schwab  <schwab@suse.de>
344         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
345         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
346         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
347         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
349 2016-01-26  David S. Miller  <davem@davemloft.net>
351         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
353 2016-01-25  David S. Miller  <davem@davemloft.net>
355         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
356         __sqrtl_finite.
357         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
358         instead using versioned_symbol.
359         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
360         of entries.
362         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
363         __sqrtl_finite to GLIBC_2.23
365 2016-01-25  Ricchard Henderson  <rth@redhat.com>
367         * sysdeps/alpha/fpu/libm-test-ulps: Update.
369 2016-01-25  Andreas Schwab  <schwab@suse.de>
371         [BZ #17514]
372         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
373         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
374         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
375         * nptl/tst-mutex-errorcheck.c: New file.
377 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
379         [BZ #18560]
380         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
381         (IPCOP_semop): Likewise.
382         (IPCOP_semget): Likewise.
383         (IPCOP_semctl): Likewise.
384         (IPCOP_msgsnd): Likewise.
385         (IPCOP_msgrcv): Likewise.
386         (IPCOP_msgget): Likewise.
387         (IPCOP_msgctl): Likewise.
388         (IPCOP_shmat): Likewise.
389         (IPCOP_shmdt): Likewise.
390         (IPCOP_shmget): Likewise.
391         (IPCOP_shmctl): Likewise.
393 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
395         * string/tst-endian.c: Include <libc-internal.h>.
396         (do_test): Ignore tautological-compare warnings around
397         "htobeXX (beXXtoh (i)) != i" and
398         "htoleXX (leXXtoh (i)) != i" if-statements.
400 2016-01-24  David S. Miller  <davem@davemloft.net>
402         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
403         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
404         alias.
405         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
406         __sqrtl_finite.
408         * sysdeps/sparc/fpu/libm-test-ulps: Update.
410 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
412         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
413         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
414         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
416 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
418         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
419         (thread_func): Use new function to simplify barrier check.
420         (do_test): Use new function to simplify checking barrier exit
421         code, and actually join the child thread.
423 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
425         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
426         semicolon.
427         (__libc_tend): Likewise.
428         (__libc_tabort): Likewise.
430 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
432         * sysdeps/nios2/libm-test-ulps: Update.
433         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
434         (__gtsf2): Likewise.
435         (__unorddf2): Likewise.
436         (__unordsf2): Likewise.
437         (__ledf2): Likewise.
439 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
441         * nis/nis_table.c (__follow_path): Disable diagnostic for
442         uninitialized variable that is a false positive for gcc 4.7.
443         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
445 2016-01-20  Roland McGrath  <roland@hack.frob.com>
447         * sysdeps/nacl/lowlevellock-futex.h
448         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
449         Always evaluate PRIVATE argument.
451 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
453         [BZ #19490]
454         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
455         (pthread_cond_broadcast): Use ENTRY/END
456         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
457         (pthread_cond_signal): Likewise
458         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
459         Likewise
460         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
461         Likewise
462         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
463         Likewise
465 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
467         * sysdeps/ieee754/dbl-64/s_finite.c
468         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
469         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
470         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
471         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
472         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
475         (__gtsf2): Add as optional for libc.so.
476         (__unordsf2): Likewise.
477         (__signbit): Remove for libc.so.
478         (__signbitl): Likewise.
480 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
482         * iconvdata/bug-iconv11.c (test_ibm93x):
483         Use %zu printf format specifier for size_t argument.
485 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
487         * math/gen-libm-test.pl (parse_ulps): Do not reduce
488         already-recorded ulps.
489         * sysdeps/arm/libm-test-ulps: Regenerated.
490         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
491         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
492         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
494 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
495             Paul Pluzhnikov  <ppluzhnikov@google.com>
497         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
498         assembler not supporting AVX-512.
500 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
502         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
504 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
506         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
507         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
509         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
511         * sysdeps/arm/libm-test-ulps: Regenerated.
513 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
515         [BZ #19451]
516         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
518 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
520         [BZ #19486]
521         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
522         * sysdeps/generic/fix-fp-int-convert-overflow.h
523         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
524         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
525         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
526         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
527         Likewise.
528         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
529         Avoid conversions to long int where inexact exceptions
530         could be raised.
531         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
532         Likewise.
533         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
534         Avoid conversions to long long int where inexact exceptions
535         could be raised.
536         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
537         Likewise.
539 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
541         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
542         * configure: Regenerated.
544 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
546         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
548 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
550         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
551         outside of comment.
553 2016-01-15  Torvald Riegel  <triegel@redhat.com>
555         * nptl/tst-barrier1.c: Add description on first line.
556         * nptl/tst-barrier2.c: Likewise.
557         * nptl/tst-barrier3.c: Likewise.
558         * nptl/tst-barrier4.c: Likewise.
559         * nptl/tst-barrier5.c: Likewise.
561 2016-01-15  Torvald Riegel  <triegel@redhat.com>
563         [BZ #18868]
564         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
566 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
568         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
569         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
570         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
571         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
572         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
573         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
574         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
575         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
576         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
577         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
578         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
580 2016-01-15  Torvald Riegel  <triegel@redhat.com>
582         [BZ #13065]
583         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
584         new implementation.
585         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
586         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
587         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
588         (BARRIER_IN_THRESHOLD): New macro.
589         * nptl/pthread_barrierattr_setpshared.c
590         (pthread_barrierattr_setpshared): Clean up.
591         * nptl/tst-barrier4.c: Correct comment.
592         * nptl/tst-barrier5.c: New file.
593         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
594         (gen-as-const-headers): Remove lowlevelbarrier.sym.
595         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
596         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
597         * nptl/lowlevelbarrier.sym: Remove.
598         * nptl/DESIGN-barrier.txt: Remove.
599         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
600         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
601         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
602         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
603         error.
604         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
605         implementation.
607 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
609         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
610         (do_child): Mask SIGRTMIN while thr is running.
612 2016-01-15  Martin Sebor  <msebor@redhat.com>
614         [BZ #19432]
615         * iconvdata/Makefile: Add bug-iconv11.
616         * iconvdata/bug-iconv11.c: New test.
617         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
618         * iconvdata/ibm933.c: Same.
619         * iconvdata/ibm935.c: Same.
620         * iconvdata/ibm937.c: Same.
621         * iconvdata/ibm939.c: Same.
623 2016-01-15  Martin Sebor  <msebor@redhat.com>
625         [BZ #19443]
626         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
627         [DEBUG] (_ufc_set_bits): Declare used.
628         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
629         [DEBUG] (print_all): Declare used.
630         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
631         operands of the ternary ?: expression to target type.
632         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
633         calling the undeclared abort.
634         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
636 2016-01-15  Martin Sebor  <msebor@redhat.com>
638         [BZ #18755]
639         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
640         warnings.
641         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
642         (__gai_create_helper_thread): Same.
643         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
644         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
645         to suppress -Wmaybe-uninitialized warnings.
647 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
649         [BZ #19465]
650         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
651         inside if.
652         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
653         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
654         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
656 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
658         [BZ #19466]
659         * time/tst-mktime2.c (time_t_max): Removed.
660         (time_t_min): Likewise.
661         (TYPE_SIGNED): New.
662         (TYPE_MINIMUM): Likewise.
663         (TYPE_MAXIMUM): Likewise.
664         (TIME_T_MIN): Likewise.
665         (TIME_T_MAX): Likewise.
666         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
667         and TIME_T_MIN.
668         (do_test): Likewise.
670 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
672         [BZ #19467]
673         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
674         index_Fast_Unaligned_Load flag for Excavator family CPUs.
676 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
678         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
680 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
682         * benchtests/Makefile (PYTHON): Define.
683         (bench-func): Use $(PYTHON) to run python scripts.
684         ($(objpfx)bench-%.c): Likewise.
686 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
688         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
689         leading slash when `file_name' is "/".
691 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
693         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
694         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
695         Likewise.
696         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
697         Likewise.
698         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
699         Likewise.
700         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
701         enum constant and macro.
702         (PTRACE_SETSIGMASK): Likewise.
703         (PTRACE_SECCOMP_GET_FILTER): Likewise.
704         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
705         (PTRACE_GETSIGMASK): Likewise.
706         (PTRACE_SETSIGMASK): Likewise.
707         (PTRACE_SECCOMP_GET_FILTER): Likewise.
708         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
709         Likewise.
710         (PTRACE_SETSIGMASK): Likewise.
711         (PTRACE_SECCOMP_GET_FILTER): Likewise.
712         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
713         (PTRACE_GETSIGMASK): Likewise.
714         (PTRACE_SETSIGMASK): Likewise.
715         (PTRACE_SECCOMP_GET_FILTER): Likewise.
716         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
717         Likewise.
718         (PTRACE_SETSIGMASK): Likewise.
719         (PTRACE_SECCOMP_GET_FILTER): Likewise.
720         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
721         Likewise.
722         (PTRACE_SETSIGMASK): Likewise.
723         (PTRACE_SECCOMP_GET_FILTER): Likewise.
724         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
725         Likewise.
726         (PTRACE_SETSIGMASK): Likewise.
727         (PTRACE_SECCOMP_GET_FILTER): Likewise.
729 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
730             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
732         [BZ #19439]
733         * math/bits/mathcalls.h
734         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
735         prototype.
736         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
738 2016-01-11  Andreas Schwab  <schwab@suse.de>
740         [BZ #19253]
741         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
742         cache when TZDEFRULES was used.
743         * time/tst-tzname.c: New file.
744         * time/Makefile (test): Add tst-tzname.
745         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
746         * timezone/Makefile (test-zones): Add $(posixrules-file).
747         ($(testdata)/$(posixrules-file)): New rule.
749 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
751         Fix doc quoting problems with Texinfo 5
752         Without this change, in the info file output, Texinfo 5 quotes code
753         in text with undirected single quotes 'like this' and generates
754         code examples that with many PDF readers cannot be cut out of PDFs
755         and pasted into code.
756         * manual/libc.texinfo: Configure the libc manual like the GNU
757         Emacs manual, by using @documentencoding and setting
758         txicodequoteundirected and txicodequotebacktick.  This way,
759         Texinfo 5 quotes code in text with directed single quotes ‘like
760         this’ and produces examples that can be cut out of PDFs.  This
761         change causes Texinfo 5 to generate info files that contain UTF-8
762         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
763         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
765 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
767         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
768         __libc_tabort, __libc_tend): New wrappers that enforce compiler
769         barriers to their respective compiler built-ins.
770         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
771         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
772         * sysdeps/powerpc/sysdep.h: Likewise.
773         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
774         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
775         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
777 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
779         * scripts/config.guess: Revert previous shebang change.
780         * scripts/config.sub: Likewise.
781         * scripts/mkinstalldirs: Likewise.
783 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
785         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
786         PPC_FEATURE2_HAS_IEEE128.
787         * sysdeps/powerpc/dl-procinfo.c:
788         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
790 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
792         [BZ #19415]
793         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
794         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
795         (_dl_lookup_address): Rewrite using function resolver trampoline.
796         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
797         two bits in address.
799 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
801         * longlong.h: Change !__SHMEDIA__ to
802         (!defined (__SHMEDIA__) || !__SHMEDIA__).
803         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
805 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
806             Joseph Myers  <joseph@codesourcery.com>
807             Mark Shinwell  <shinwell@codesourcery.com>
808             Andrew Stubbs  <ams@codesourcery.com>
809             Rich Felker <dalias@libc.org>
811         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
813 2016-01-07  Richard Henderson  <rth@redhat.com>
815         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
817 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
819         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
820         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
821         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
822         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
823         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
825 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
826             Joseph Myers  <joseph@codesourcery.com>
828         * timezone/private.h: Update from tzcode 2015g.
829         * timezone/tzfile.h: Likewise.
830         * timezone/tzselect.ksh: Likewise.
831         * timezone/zdump.c: Likewise.
832         * timezone/zic.c: Likewise.
833         * timezone/ialloc.c: Remove file.
834         * timezone/scheck.c: Likewise.
835         * timezone/Makefile (extra-objs): Remove variable.
836         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
837         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
838         -Wno-maybe-uninitialized.
839         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
840         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
841         (CFLAGS-ialloc.c): Remove variable.
842         (CFLAGS-scheck.c): Likewise.
843         * timezone/README: Update list of files from tzcode.
845 2016-01-07  Khem Raj  <raj.khem@gmail.com>
847         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
848         instead of __fxprintf when _LIBC is undefined.
850 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
852         * catgets/test-gencat.sh: Remove space after shebang.
853         * conform/GlibcConform.pm: Likewise.
854         * conform/check-header-lists.sh: Likewise.
855         * conform/conformtest.pl: Likewise.
856         * conform/linknamespace.pl: Likewise.
857         * conform/list-header-symbols.pl: Likewise.
858         * debug/catchsegv.sh: Likewise.
859         * elf/genrtldtbl.awk: Likewise.
860         * elf/tst-pathopt.sh: Likewise.
861         * elf/tst-rtld-load-self.sh: Likewise.
862         * grp/tst_fgetgrent.sh: Likewise.
863         * iconvdata/gen-8bit-gap-1.sh: Likewise.
864         * iconvdata/gen-8bit-gap.sh: Likewise.
865         * iconvdata/gen-8bit.sh: Likewise.
866         * iconvdata/run-iconv-test.sh: Likewise.
867         * intl/tst-gettext.sh: Likewise.
868         * intl/tst-gettext2.sh: Likewise.
869         * intl/tst-gettext4.sh: Likewise.
870         * intl/tst-gettext6.sh: Likewise.
871         * intl/tst-translit.sh: Likewise.
872         * io/ftwtest-sh: Likewise.
873         * libio/test-freopen.sh: Likewise.
874         * locale/gen-translit.pl: Likewise.
875         * malloc/tst-mtrace.sh: Likewise.
876         * manual/check-safety.sh: Likewise.
877         * manual/libc-texinfo.sh: Likewise.
878         * manual/tsort.awk: Likewise.
879         * manual/xtract-typefun.awk: Likewise.
880         * nptl/tst-cancel-wrappers.sh: Likewise.
881         * nptl/tst-tls6.sh: Likewise.
882         * posix/globtest.sh: Likewise.
883         * posix/tst-getconf.sh: Likewise.
884         * posix/wordexp-tst.sh: Likewise.
885         * scripts/check-c++-types.sh: Likewise.
886         * scripts/check-local-headers.sh: Likewise.
887         * scripts/config.guess: Likewise.
888         * scripts/config.sub: Likewise.
889         * scripts/cpp: Likewise.
890         * scripts/cross-test-ssh.sh: Likewise.
891         * scripts/documented.sh: Likewise.
892         * scripts/evaluate-test.sh: Likewise.
893         * scripts/gen-libc-abis: Likewise.
894         * scripts/gen-sorted.awk: Likewise.
895         * scripts/list-fixed-bugs.py: Likewise.
896         * scripts/merge-test-results.sh: Likewise.
897         * scripts/mkinstalldirs: Likewise.
898         * scripts/rellns-sh: Likewise.
899         * scripts/test-installation.pl: Likewise.
900         * scripts/update-copyrights: Likewise.
901         * stdio-common/tst-printf.sh: Likewise.
902         * stdio-common/tst-unbputc.sh: Likewise.
903         * stdlib/tst-fmtmsg.sh: Likewise.
904         * stdlib/tst-setcontext3.sh: Likewise.
905         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
906         * sysdeps/unix/make-syscalls.sh: Likewise.
908 2016-01-06  John David Anglin  <dave.anglin@bell.net>
910         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
911         asm stw with atomic_exchange_rel.  Add explanatory comment.
912         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
913         Likewise.
915 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
917         [BZ #19122]
918         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
919         * sysdeps/generic/dl-unistd.h: New file.
920         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
922 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
924          [BZ #19122]
925          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
926          * sysdeps/generic/dl-mman.h: New file.
927          * sysdeps/mach/hurd/dl-mman.h: Likewise.
929 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
931         * manual/texinfo.tex: Update to version 2016-01-04.21 with
932         trailing whitespace removed.
933         * scripts/config.guess: Update to version 2016-01-01.
934         * scripts/config.sub: Update to version 2016-01-01.
935         * scripts/move-if-change: Update from gnulib.
937 2016-01-04  Anton Blanchard  <anton@samba.org>
939         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
940         for array indices.
941         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
943 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
945         * NEWS: Update copyright dates.
946         * catgets/gencat.c (print_version): Likewise.
947         * csu/version.c (banner): Likewise.
948         * debug/catchsegv.sh: Likewise.
949         * debug/pcprofiledump.c (print_version): Likewise.
950         * debug/xtrace.sh (do_version): Likewise.
951         * elf/ldconfig.c (print_version): Likewise.
952         * elf/ldd.bash.in: Likewise.
953         * elf/pldd.c (print_version): Likewise.
954         * elf/sotruss.sh: Likewise.
955         * elf/sprof.c (print_version): Likewise.
956         * iconv/iconv_prog.c (print_version): Likewise.
957         * iconv/iconvconfig.c (print_version): Likewise.
958         * locale/programs/locale.c (print_version): Likewise.
959         * locale/programs/localedef.c (print_version): Likewise.
960         * login/programs/pt_chown.c (print_version): Likewise.
961         * malloc/memusage.sh (do_version): Likewise.
962         * malloc/memusagestat.c (print_version): Likewise.
963         * malloc/mtrace.pl: Likewise.
964         * manual/libc.texinfo: Likewise.
965         * nptl/version.c (banner): Likewise.
966         * nscd/nscd.c (print_version): Likewise.
967         * nss/getent.c (print_version): Likewise.
968         * nss/makedb.c (print_version): Likewise.
969         * posix/getconf.c (main): Likewise.
970         * scripts/test-installation.pl: Likewise.
971         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
973         * All files with FSF copyright notices: Update copyright dates
974         using scripts/update-copyrights.
975         * intl/plural.c: Regenerated.
976         * locale/programs/charmap-kw.h: Likewise.
977         * locale/programs/locfile-kw.h: Likewise.
979 2016-01-02  Helge Deller  <deller@gmx.de>
981         [BZ #19285]
982         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
983         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
984         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
985         (MADV_xxK_PAGES): Remove.
987 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
989         [BZ #15421]
990         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
991         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
992         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
993         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
995 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
997         [BZ #19408]
998         * sysdeps/unix/sysv/linux/personality.c: New file.
999         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
1000         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
1001         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
1002         (sysdep_routines): Add personality.
1003         (tests): Add tst-personality.
1004         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
1005         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
1006         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
1007         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
1008         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
1009         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
1010         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
1011         Likewise.
1012         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
1013         Likewise.
1014         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
1015         Likewise.
1016         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
1017         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
1018         Likewise.
1020 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
1022         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
1023         (PATH_ARM_SYSTYPE): Remove.
1024         (PATH_CPUINFO): Likewise.
1025         (IO_BASE_FOOTBRIDGE): Likewise.
1026         (IO_SHIFT_FOOTBRIDGE): Likewise.
1027         (struct platform): Likewise.
1028         (init_iosys): Remove compatibility code for 2.4 kernels.
1029         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
1031 2015-12-29  Florian Weimer  <fweimer@redhat.com>
1033         * malloc/tst-malloc-thread-fail.c: New file.
1034         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
1035         (tst-malloc-thread-fail): Link against libpthread.
1037 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
1039         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
1040         (get_parser): New function.
1041         (main): New function.
1043 2015-12-29  Rob Wu  <rob@robwu.nl>
1045         [BZ #19369]
1046         * resolv/res_init.c (__res_vinit): Reset defdname before use.
1048 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
1050         [BZ #19270]
1051         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
1053 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
1055         [BZ #15421]
1056         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
1058 2015-12-23  Torvald Riegel  <triegel@redhat.com>
1060         [BZ #13690]
1061         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
1062         after releasing it.
1063         (__lll_robust_unlock): Likewise.
1064         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1065         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
1066         (lll_robust_unlock): Likewise.
1067         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
1068         Prevent warnings in callers.
1070 2015-12-23  Florian Weimer  <fweimer@redhat.com>
1072         * malloc/arena.c (list_lock): Update comment.
1074 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1076         * sysdeps/powerpc/hwcapinfo.c: Export symbol
1077         __parse_hwcap_and_convert_at_platform to libc.a.
1079 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1081         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
1082         platform and feature support for POWER9.
1083         * sysdeps/powerpc/dl-procinfo.h: Likewise.
1084         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
1085         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
1086         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
1087         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
1088         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
1089         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
1090         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
1092 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1094         Harmonize generic stdio-lock support with nptl
1096         This fixes build when _IO_funlockfile is a macro, fixes build where
1097         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
1098         stack unwind.
1100         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
1101         _IO_release_lock ): Use cleanup attribute on new
1102         _IO_acquire_lock_file variable instead of assuming that
1103         _IO_release_lock will be called.
1104         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
1105         _IO_acquire_lock_needs_exceptions_enabled.
1106         (_IO_acquire_lock_clear_flags2): New macro.
1108 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1110         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1112 2015-12-21  Florian Weimer  <fweimer@redhat.com>
1114         [BZ #19182]
1115         * malloc/arena.c (list_lock): Document lock ordering requirements.
1116         (free_list_lock): New lock.
1117         (ptmalloc_lock_all): Comment on free_list_lock.
1118         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
1119         (detach_arena): Update comment.  free_list_lock is now needed.
1120         (_int_new_arena): Use free_list_lock around detach_arena call.
1121         Acquire arena lock after list_lock.  Add comment, including FIXME
1122         about incorrect synchronization.
1123         (get_free_list): Switch to free_list_lock.
1124         (reused_arena): Acquire free_list_lock around detach_arena call
1125         and attached threads counter update.  Add two FIXMEs about
1126         incorrect synchronization.
1127         (arena_thread_freeres): Switch to free_list_lock.
1128         * malloc/malloc.c (struct malloc_state): Update comments to
1129         mention free_list_lock.
1131 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
1133         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
1134         Remove functions.
1135         (sloww, sloww1): Accept argument to offset quadrant.
1136         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
1137         quadrant.
1138         (__sin, __cos): Consolidate common code into new functions.
1139         (reduce_sincos_1, do_sincos_1): New functions.
1140         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
1142         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
1143         code to new functions.
1144         (reduce_sincos_2, do_sincos_2): New functions.
1145         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
1147         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
1148         common code for sincos.
1149         (__cos) [!IN_SINCOS]: Likewise.
1150         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
1151         New function.
1152         (__sincos): Use it.
1154 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
1156         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
1157         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
1158         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
1160 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
1162         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
1163         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
1164         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
1165         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
1166         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1167         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
1168         index_Prefer_No_VZEROUPPER): New feature.
1169         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
1170         Prefer_No_VZEROUPPER for Knights Landing.
1172 015-12-18  Torvald Riegel  <triegel@redhat.com>
1174         * math/atest-exp2.c (mp_exp_m1): Remove.
1176 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1178         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
1179         syscalls.
1180         (__SYSCALL0): New macro.
1181         (__SYSCALL1): Likewise.
1182         (__SYSCALL2): Likewise.
1183         (__SYSCALL3): Likewise.
1184         (__SYSCALL4): Likewise.
1185         (__SYSCALL5): Likewise.
1186         (__SYSCALL6): Likewise.
1187         (__SYSCALL_CONCAT_X): Likewise.
1188         (__SYSCALL_CONCAT): Likewise.
1189         (__SYSCALL_DIST): Likewise.
1190         (__SYSCALL_CALL): Likewise.
1192 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
1194         [BZ #19363]
1195         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
1197 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1199         [BZ #19375]
1200         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
1201         negative subnormals.
1203 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
1205         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
1206         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
1207         (INTERNAL_SYSCALL_NCS): Use it.
1208         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1210 2015-12-16  Florian Weimer  <fweimer@redhat.com>
1212         [BZ #19243]
1213         * malloc/arena.c (get_free_list): Remove assert and adjust
1214         reference count handling.  Add comment about reused_arena
1215         interaction.
1216         (reused_arena): Add comments abount get_free_list interaction.
1217         * malloc/tst-malloc-thread-exit.c: New file.
1218         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
1219         (tst-malloc-thread-exit): Link against libpthread.
1221 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
1223         [BZ #19367]
1224         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
1225         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
1226         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
1227         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
1228         (index_Prefer_MAP_32BIT_EXEC): Likewise.
1230 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
1232         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
1233         Silvermont optimizations for Knights Landing.
1235 2015-12-15  Andreas Schwab  <schwab@suse.de>
1237         [BZ #17197]
1238         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
1239         immediately after emitting SI.
1240         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
1241         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
1242         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
1243         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
1244         * iconvdata/bug-iconv10.c: New file.
1245         * iconvdata/Makefile (tests): Add bug-iconv10.
1246         ($(objpfx)bug-iconv10.out): New rule.
1248 2015-12-15  Florian Weimer  <fweimer@redhat.com>
1250         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
1251         aliasing violation.
1253 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
1255         [BZ #18472]
1256         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
1257         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
1258         conditionals for them.
1259         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
1260         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
1261         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
1262         sys/kdaemon.h.
1263         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
1264         compat-only syscall, obsoleted in glibc 2.23.
1265         (create_module): Likewise.
1266         (get_kernel_syms): Likewise.
1267         (query_module): Likewise.
1268         (uselib): Likewise.
1269         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
1271 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
1273         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
1274         <linux/version.h>.
1275         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
1276         conditional code.
1277         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
1278         and ioshift_name initialization.
1280 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
1282         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
1283         Fix indentation.
1285 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
1287         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
1289 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
1291         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
1293 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
1294             Jakub Wilk  <jwilk@debian.org>
1296         [BZ #19347]
1297         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
1298         to change the group of the device to the tty group.
1300 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
1302         Split large string section; add truncation advice
1303         * manual/examples/strncat.c: Remove.
1304         This example was misleading, as the code would have undefined
1305         behavior if "hello" was longer than SIZE.  Anyway, the manual
1306         shouldn't encourage strncpy+strncat for this sort of thing.
1307         * manual/string.texi (Copying Strings and Arrays): Split into
1308         three sections Copying Strings and Arrays, Concatenating Strings,
1309         and Truncating Strings, as this section was way too long.  All
1310         cross-referenced changed.  Add advice about string-truncation
1311         functions.  Remove misleading strncat example.
1313 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
1315         * manual/nss.texi (NSS Modules Interface): Document
1316         NSS_STATUS_NOTFOUND and SUCCESS.
1318 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
1320         [BZ 18568]
1321         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1322         201505L, for Unicode 8.
1324 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
1326         * locale/C-translit.h: Regenerate.
1328 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
1330         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
1331         and U+0153.
1333 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
1335         [BZ #19351]
1336         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
1337         expanding log(1+z), compare z rather than its square with epsilon
1338         to determine when to avoid evaluating the expansion.
1340         [BZ #19350]
1341         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
1342         Increase overflow threshold.
1344         [BZ #19349]
1345         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
1346         when small.
1348         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1349         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
1350         New macro.
1351         [__LINUX_KERNEL_VERSION >= 0x040300]
1352         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
1353         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
1354         Likewise.
1355         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
1356         Likewise.
1357         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
1358         Likewise.
1359         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
1360         Likewise.
1361         [__LINUX_KERNEL_VERSION >= 0x040300]
1362         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
1363         [__LINUX_KERNEL_VERSION >= 0x040300]
1364         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
1365         [__LINUX_KERNEL_VERSION >= 0x040300]
1366         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1367         [__LINUX_KERNEL_VERSION >= 0x040300]
1368         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
1369         [__LINUX_KERNEL_VERSION >= 0x040300]
1370         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
1371         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
1372         Likewise.
1373         [__LINUX_KERNEL_VERSION >= 0x040300]
1374         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
1375         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1376         Likewise.
1377         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
1378         Likewise.
1379         [__LINUX_KERNEL_VERSION >= 0x040300]
1380         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
1381         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1382         Likewise.
1383         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
1384         Likewise.
1385         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1386         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
1387         Likewise.
1388         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
1389         Likewise.
1390         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
1391         Likewise.
1392         [__LINUX_KERNEL_VERSION >= 0x040300]
1393         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
1394         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
1395         Likewise.
1396         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
1397         Likewise.
1398         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
1399         Likewise.
1400         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
1401         Likewise.
1402         [__LINUX_KERNEL_VERSION >= 0x040300]
1403         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
1404         [__LINUX_KERNEL_VERSION >= 0x040300]
1405         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
1406         [__LINUX_KERNEL_VERSION >= 0x040300]
1407         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1408         [__LINUX_KERNEL_VERSION >= 0x040300]
1409         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
1410         [__LINUX_KERNEL_VERSION >= 0x040300]
1411         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
1412         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
1413         Likewise.
1414         [__LINUX_KERNEL_VERSION >= 0x040300]
1415         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
1416         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1417         Likewise.
1418         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
1419         Likewise.
1420         [__LINUX_KERNEL_VERSION >= 0x040300]
1421         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
1422         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1423         Likewise.
1424         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
1425         Likewise.
1426         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1427         (__ASSUME_SOCKET_SYSCALL): Likewise.
1428         (__ASSUME_BIND_SYSCALL): Likewise.
1429         (__ASSUME_CONNECT_SYSCALL): Likewise.
1430         (__ASSUME_LISTEN_SYSCALL): Likewise.
1431         (__ASSUME_ACCEPT_SYSCALL): Likewise.
1432         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
1433         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
1434         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
1435         (__ASSUME_SEND_SYSCALL): Likewise.
1436         (__ASSUME_SENDTO_SYSCALL): Likewise.
1437         (__ASSUME_RECV_SYSCALL): Likewise.
1438         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1439         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
1440         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
1441         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1442         (__ASSUME_SENDMSG_SYSCALL): Likewise.
1443         (__ASSUME_RECVMSG_SYSCALL): Likewise.
1444         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1445         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
1446         Likewise.
1447         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
1448         Likewise.
1449         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
1450         Likewise.
1451         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
1452         Likewise.
1453         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
1454         Likewise.
1455         [__LINUX_KERNEL_VERSION >= 0x020625]
1456         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
1457         [__LINUX_KERNEL_VERSION >= 0x020625]
1458         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
1459         [__LINUX_KERNEL_VERSION >= 0x020625]
1460         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
1461         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
1462         Likewise.
1463         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
1464         Likewise.
1465         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
1466         Likewise.
1467         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
1468         Likewise.
1469         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
1470         Likewise.
1471         [__LINUX_KERNEL_VERSION >= 0x020625]
1472         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
1473         [__LINUX_KERNEL_VERSION >= 0x020625]
1474         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1475         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
1476         Likewise.
1477         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
1478         Likewise.
1480 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
1482         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
1483         record the current if the current ABI and CPU support the FP64
1484         extension.
1485         (has-modd-spreg): Define to record the current if the current ABI and
1486         CPU support 32-bit floating point values in odd FPU registers.
1487         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1488         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
1489         $(has-modd-spreg) equals yes.
1490         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
1491         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
1492         $(has-modd-spreg) equal yes.
1494 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
1496         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
1497         basename.
1499 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
1501         * benchtests/Makefile (bench-math): Move ffs and ffsll...
1502         (bench-string): ... here.
1503         (bench): Add bench-string.
1504         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
1505         to *-benchset to reflect what they are.
1506         (benchset): Adjust.
1508         * benchtests/sincos-inputs: Add inputs from sin-inputs and
1509         cos-inputs.
1511 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
1513         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
1514         __attribute__ ((__simd__)) for vector math function declarations.
1516 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
1518         Fix typo in strncat, wcsncat manual entries
1519         * manual/string.texi (Copying and Concatenation): Fix typos in
1520         sample implementations of strncat and wcsncat, by having them use
1521         the old value of the destination length, not the new one.
1523 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
1525         [BZ #16961]
1526         [BZ #16962]
1527         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
1528         string on the stack for strtod.
1529         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
1530         a string on the stack for strtof.
1531         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
1532         constructing a string on the stack for strtold.
1533         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
1534         __strtold_nan to GLIBC_PRIVATE.
1535         * math/test-nan-overflow.c: New file.
1536         * math/test-nan-payload.c: Likewise.
1537         * math/Makefile (tests): Add test-nan-overflow and
1538         test-nan-payload.
1540 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
1542         Consistency about byte vs character in string.texi
1543         * manual/string.texi (String and Array Utilities):
1544         Distinguish more carefully among bytes, multibyte characters,
1545         and wide characters.  Use "byte" when talking about C 'char',
1546         to distinguish it more clearly from multibyte characters.
1547         Say "wide character" or "multibyte character" instead of
1548         "character", when a wide or multibyte character is intended.
1549         Similarly for "multibyte string" versus "string".
1550         Define these terms more carefully.
1552 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
1554         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
1555         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
1556         Likewise.
1557         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
1558         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
1559         * sysdeps/sh/math_private.h: New file.
1560         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
1561         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
1562         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
1563         long double function name.
1564         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1565         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1566         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1567         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1568         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1569         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
1570         Remove __finitel, __isinfl, and __isnanl.
1571         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
1572         Likewise.
1573         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1574         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1575         Remove __finitel.
1576         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1577         Likewise.
1578         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1580 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
1582         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
1583         installed libmvec_nonshared.a.
1585 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1587         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
1588         (sysdep_routines): Likewise.
1589         (sysdep-rtld-routines): Likewise.
1590         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
1591         [$(subdir) = nptl](tests-static): test-get_hwcap-static
1592         * sysdeps/powerpc/Versions: Added new
1593         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
1594         * sysdeps/powerpc/hwcapinfo.c: New file.
1595         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
1596         and parse hwcap, hwcap2 and platform number information.
1597         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
1598         to store HWCAP+HWCAP2 and platform number.
1599         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
1600         for HWCAP+HWCAP2 and platform number in the TCB.
1601         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
1602         the HWCAP, HWCAP2 and platform number in the TCB.
1603         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
1604         (TLS_INIT_TP): Included calls to add the hwcap and
1605         at_platform values in the TCB in TP initialization.
1606         (TLS_DEFINE_INIT_TP): Likewise.
1607         (THREAD_GET_HWCAP): New macro.
1608         (THREAD_SET_HWCAP): Likewise.
1609         (THREAD_GET_AT_PLATFORM): Likewise.
1610         (THREAD_SET_AT_PLATFORM): Likewise.
1611         * sysdeps/powerpc/powerpc32/dl-machine.h:
1612         (dl_platform_init): New function that calls
1613         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
1614         powerpc32.
1615         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
1616         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
1617         this functionality, static linking case.
1618         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
1619         linking case.
1620         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
1621         __parse_hwcap_and_convert_at_platform for the static linking case.
1622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
1623         Included the new __parse_hwcap_and_convert_at_platform symbol in the
1624         ABI list for GLIBC 2.23.
1625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
1626         Likewise.
1627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
1628         Likewise.
1630 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
1632         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
1633         * configure: Regenerate.
1634         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
1635         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
1637 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
1639         * iconvdata/ibm930.c: Add comment explaining encoding uses.
1640         * iconvdata/ibm933.c: Likewise.
1641         * iconvdata/ibm935.c: Likewise.
1642         * iconvdata/ibm937.c: Likewise.
1643         * iconvdata/ibm939.c: Likewise.
1645 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1647         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
1648         pthread_join.
1649         * nptl/tst-cancel21.c (tf): Likewise.
1651 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
1653         [BZ #19313]
1654         * bits/typesizes.h (__CPU_MASK_TYPE): New.
1655         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
1656         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
1657         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
1658         Likewise.
1659         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
1660         Likewise.
1661         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
1662         Likewise.
1663         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
1664         Likewise.
1665         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
1666         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
1667         unsigned long int with __CPU_MASK_TYPE.
1669 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1671         * sysdeps/aarch64/libm-test-ulps: Regenerated.
1673 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
1675         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
1676         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
1677         t512.x.
1678         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
1680 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
1682         [BZ #19214]
1683         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
1684         argument to return extended model.  Update family and model
1685         with extended family and model when family == 0x0f.
1686         (init_cpu_features): Updated.
1688 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1690         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
1691         signed off_t, so 32bit bigger than 2GiB values are fine actually.
1693         * sysdeps/mach/hurd/mmap64.c: New file.
1695 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
1697         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
1698         rights for its main user thread in NEWTASK.
1700 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
1702         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
1703         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
1705 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
1707         [BZ #14259]
1708         * Makeconfig: Rename localedir to complocaledir.
1709         Rename inst_localedir to inst_complocaledir.
1710         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
1711         * config.make.in: Use complocaledir and libc_cv_complocaledir.
1712         * configure.ac: Use libc_cv_complocaledir.
1713         * configure: Regenerate.
1714         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
1715         -DCOMPLOCALEDIR.
1716         * locale/findlocale.c: Use COMPLOCALEDIR.
1717         * locale/loadarchive.c: Likewise.
1718         * locale/programs/locale.c: Likewise.
1719         * locale/programs/localedef.c: Likewise.
1720         * locale/programs/locarchive.c: Likewise.
1721         * localedata/Makefile: Use inst_complocaledir.
1722         * sysdeps/gnu/configure: Regenerate.
1723         * sysdeps/hppa/configure: Regenerate.
1724         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
1725         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
1727         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
1728         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
1729         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
1730         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
1732 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
1734         [BZ #19058]
1735         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
1736         AS_NEEDED.
1737         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
1738         workaround.
1739         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
1740         libmvec-static-only-routines): Added new file.
1741         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
1743 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1745         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
1746         of interrupted RPC instead of restoring it.
1748         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
1749         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
1750         libc_hidden_def.
1751         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
1752         into initialized data instead of common. Define rtld_hidden_data_def.
1753         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
1754         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
1755         libc_hidden_def.
1756         (if_freenameindex): Add libc_hidden_weak.
1757         (if_nameindex): Add libc_hidden_weak.
1758         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
1759         __open64.
1760         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
1761         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
1762         * sysdeps/mach/nanosleep.c: Include <time.h>
1763         (__nanosleep): Rename to __libc_nanosleep.
1764         (__nanosleep): Add weak_alias.
1765         (nanosleep): Update alias.
1767 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
1769         * stdlib/strtod_nan.c: New file.
1770         * stdlib/strtod_nan_double.h: Likewise.
1771         * stdlib/strtod_nan_float.h: Likewise.
1772         * stdlib/strtod_nan_main.c: Likewise.
1773         * stdlib/strtod_nan_narrow.h: Likewise.
1774         * stdlib/strtod_nan_wide.h: Likewise.
1775         * stdlib/strtof_nan.c: Likewise.
1776         * stdlib/strtold_nan.c: Likewise.
1777         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
1778         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
1779         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
1780         * wcsmbs/wcstod_nan.c: Likewise.
1781         * wcsmbs/wcstof_nan.c: Likewise.
1782         * wcsmbs/wcstold_nan.c: Likewise.
1783         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
1784         strtold_nan.
1785         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
1786         wcstof_nan.
1787         * include/stdlib.h (__strtof_nan): Declare and use
1788         libc_hidden_proto.
1789         (__strtod_nan): Likewise.
1790         (__strtold_nan): Likewise.
1791         (__wcstof_nan): Likewise.
1792         (__wcstod_nan): Likewise.
1793         (__wcstold_nan): Likewise.
1794         * include/wchar.h (____wcstoull_l_internal): Declare.
1795         * stdlib/strtod_l.c: Do not include <ieee754.h>.
1796         (____strtoull_l_internal): Remove declaration.
1797         (STRTOF_NAN): Define macro.
1798         (SET_MANTISSA): Remove macro.
1799         (STRTOULL): Likewise.
1800         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
1801         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
1802         (STRTOF_NAN): Define macro.
1803         (SET_MANTISSA): Remove macro.
1804         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
1805         (SET_MANTISSA): Remove macro.
1806         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
1807         macro.
1808         (SET_MANTISSA): Remove macro.
1809         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
1810         macro.
1811         (SET_MANTISSA): Remove macro.
1812         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
1813         (SET_MANTISSA): Remove macro.
1814         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
1815         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
1816         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
1818         [BZ #19266]
1819         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
1820         upper case and lower case letters inside NAN(), not using TOLOWER.
1821         * stdlib/tst-strtod-nan-locale-main.c: New file.
1822         * stdlib/tst-strtod-nan-locale.c: Likewise.
1823         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
1824         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
1825         Depend on $(gen-locales).
1826         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
1827         * wcsmbs/tst-wcstod-nan-locale.c: New file.
1828         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
1829         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
1830         Depend on $(gen-locales).
1831         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
1833 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
1835         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
1837         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
1838         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
1839         __finitel, __isinfl, and __isnanl.
1840         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
1841         Likewise.
1842         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1843         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
1844         __finitel.
1845         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1846         Likewise.
1847         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1849 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
1851         * malloc/memusage.c (me): Remove redundant getenv call.
1853 2015-10-24  Florian Weimer  <fweimer@redhat.com>
1855         [BZ #19143]
1856         [BZ #19164]
1857         * nptl/check-cpuset.h: Remove.
1858         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
1859         Remove CPU set size check.
1860         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
1861         Likewise.
1862         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
1863         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
1864         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
1865         (__pthread_setaffinity_new): Remove CPU set size check.
1866         * sysdeps/unix/sysv/linux/sched_setaffinity.c
1867         (__kernel_cpumask_size): Remove.
1868         (__sched_setaffinity_new): Remove CPU set size check.
1869         * manual/threads.texi (Default Thread Attributes): Remove stale
1870         reference to check_cpuset_attr, determine_cpumask_size in comment.
1871         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
1872         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
1873         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
1874         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
1875         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
1876         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
1877         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
1878         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
1879         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
1880         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
1881         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
1882         skeleton test file.
1883         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
1884         tst-affinity-pid.
1886 2015-11-24  Florian Weimer  <fweimer@redhat.com>
1888         * scripts/update-abilist.sh: New file.
1889         * Makefile (+subdir_targets): Add subdir_update-all-abi.
1890         * Makerules (update-all-abi-%, update-all-abi)
1891         (subdir_update-all-abi): New targets.
1892         * elf/Makefile (update-all-abi): New target.
1894 2015-11-24  Florian Weimer  <fweimer@redhat.com>
1896         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
1897         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
1898         (__libc_lock_define_initialized): Use it.
1899         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
1900         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
1901         * malloc/malloc.c (main_arena): Likewise.
1902         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
1903         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
1905 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
1907         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
1908         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
1909         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
1910         (PTRACE_O_MASK): Update value.
1911         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
1912         New value in enum __ptrace_setoptions.
1913         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
1914         (PTRACE_O_MASK): Update value.
1915         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
1916         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
1917         (PTRACE_O_MASK): Update value.
1918         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
1919         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
1920         (PTRACE_O_MASK): Update value.
1921         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
1922         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
1923         (PTRACE_O_MASK): Update value.
1924         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
1925         New value in enum __ptrace_setoptions.
1926         (PTRACE_O_MASK): Update value.
1927         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
1928         New value in enum __ptrace_setoptions.
1929         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
1930         (PTRACE_O_MASK): Update value.
1932         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
1933         New macro.
1934         (PACKET_AUXDATA): Likewise.
1935         (PACKET_ORIGDEV): Likewise.
1936         (PACKET_VERSION): Likewise.
1937         (PACKET_HDRLEN): Likewise.
1938         (PACKET_RESERVE): Likewise.
1939         (PACKET_TX_RING): Likewise.
1940         (PACKET_LOSS): Likewise.
1941         (PACKET_VNET_HDR): Likewise.
1942         (PACKET_TX_TIMESTAMP): Likewise.
1943         (PACKET_TIMESTAMP): Likewise.
1944         (PACKET_FANOUT): Likewise.
1945         (PACKET_TX_HAS_OFF): Likewise.
1946         (PACKET_QDISC_BYPASS): Likewise.
1947         (PACKET_ROLLOVER_STATS): Likewise.
1948         (PACKET_FANOUT_DATA): Likewise.
1949         (PACKET_MR_UNICAST): Likewise.
1951         [BZ #19242]
1952         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
1953         (TOUPPER): Likewise.
1954         * stdlib/tst-strtol-locale-main.c: New file.
1955         * stdlib/tst-strtol-locale.c: Likewise.
1956         * stdlib/Makefile (tests): Add tst-strtol-locale.
1957         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
1958         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
1959         Depend on $(gen-locales).
1960         * wcsmbs/tst-wcstol-locale.c: New file.
1961         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
1962         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
1963         tr_TR.ISO-8859-9.
1964         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
1965         Depend on $(gen-locales).
1967 2015-11-20  Roland McGrath  <roland@hack.frob.com>
1969         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
1970         __glibc_likely instead of __builtin_expect.  After falling back to
1971         dyncode_create in a non-ET_DYN case, use the allocate_code_data
1972         system interface to register the code pages as occupied.
1974 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
1976         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1977         [!ARM_MATH_PRIVATE_H].
1978         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
1979         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1980         [!HPPA_MATH_PRIVATE_H].
1981         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
1982         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
1983         to [!I386_MATH_PRIVATE_H].
1984         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
1985         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
1986         Change guard to [!M68K_MATH_PRIVATE_H].
1987         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
1988         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
1989         guard to [!MICROBLAZE_MATH_PRIVATE_H].
1990         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
1991         macro.
1992         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1993         [!MIPS_MATH_PRIVATE_H].
1994         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
1995         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1996         [!NIO2_MATH_PRIVATE_H].
1997         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
1998         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1999         [!TILE_MATH_PRIVATE_H].
2000         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
2002         [BZ #15421]
2003         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
2004         initialize with 0 and define as weak alias of __signgam.
2005         * include/math.h [!_ISOMAC] (__signgam): Declare.
2006         * math/Makefile (libm-calls): Add w_lgamma_compat.
2007         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
2008         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
2009         test-signgam-ullong-init.
2010         (tests-static): Add test-signgam-uchar-static,
2011         test-signgam-uchar-init-static, test-signgam-uint-static,
2012         test-signgam-uint-init-static, test-signgam-ullong-static and
2013         test-signgam-ullong-init-static.
2014         (CFLAGS-test-signgam-uchar.c): New variable.
2015         (CFLAGS-test-signgam-uchar-init.c): Likewise.
2016         (CFLAGS-test-signgam-uchar-static.c): Likewise.
2017         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
2018         (CFLAGS-test-signgam-uint.c): Likewise.
2019         (CFLAGS-test-signgam-uint-init.c): Likewise.
2020         (CFLAGS-test-signgam-uint-static.c): Likewise.
2021         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
2022         (CFLAGS-test-signgam-ullong.c): Likewise.
2023         (CFLAGS-test-signgam-ullong-init.c): Likewise.
2024         (CFLAGS-test-signgam-ullong-static.c): Likewise.
2025         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
2026         * math/Versions (libm): Add GLIBC_2.23.
2027         * math/lgamma-compat.h: New file.
2028         * math/test-signgam-main.c: Likewise.
2029         * math/test-signgam-uchar-init-static.c: Likewise.
2030         * math/test-signgam-uchar-init.c: Likewise.
2031         * math/test-signgam-uchar-static.c: Likewise.
2032         * math/test-signgam-uchar.c: Likewise.
2033         * math/test-signgam-uint-init-static.c: Likewise.
2034         * math/test-signgam-uint-init.c: Likewise.
2035         * math/test-signgam-uint-static.c: Likewise.
2036         * math/test-signgam-uint.c: Likewise.
2037         * math/test-signgam-ullong-init-static.c: Likewise.
2038         * math/test-signgam-ullong-init.c: Likewise.
2039         * math/test-signgam-ullong-static.c: Likewise.
2040         * math/test-signgam-ullong.c: Likewise.
2041         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
2042         wrapper of w_lgamma_main.c.
2043         * math/w_lgamma_compat.c: New file.
2044         * math/w_lgamma_compatf.c: Likewise.
2045         * math/w_lgamma_compatl.c: Likewise.
2046         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
2047         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
2048         defining compatibility symbols.
2049         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
2050         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
2051         wrapper of w_lgammaf_main.c.
2052         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
2053         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
2054         defining compatibility symbols.
2055         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
2056         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
2057         wrapper of w_lgammal_main.c.
2058         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
2059         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
2060         defining compatibility symbols.
2061         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
2062         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
2063         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
2064         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
2065         <lgamma-compat.h>.
2066         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
2067         (__ieee754_gamma): Define as alias.
2068         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
2069         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
2070         <lgamma-compat.h>.
2071         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
2072         (__ieee754_gammaf): Define as alias.
2073         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
2074         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
2075         <lgamma-compat.h>.
2076         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
2077         (__ieee754_gammal): Define as alias.
2078         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
2079         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
2080         <math/w_lgamma_compat.c>.
2081         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
2082         Define as alias of __lgamma_compat and use in defining lgammal.
2083         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
2084         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
2085         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
2086         (USE_AS_COMPAT): New macro.
2087         (LGAMMA_OLD_VER): Undefine and redefine.
2088         (lgammal): Do not define here.
2089         (gammal): Only define here if [GAMMA_ALIAS].
2090         * conform/linknamespace.pl (@whitelist): Remove signgam.
2091         * sysdeps/nacl/libm.abilist: Update.
2092         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2093         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2094         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2095         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2096         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2097         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2098         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2099         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2100         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2101         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2102         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2103         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2105         Likewise.
2106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2107         Likewise.
2108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2109         Likewise.
2110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2111         Likewise.
2112         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2113         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2114         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2115         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2116         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2117         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2118         Likewise.
2119         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2120         Likewise.
2121         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2122         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2123         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2125 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2127         [BZ #16364]
2128         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
2129         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
2131 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2133         * sysdeps/s390/fpu/bits/mathinline.h:
2134         Use __asm__ [__volatile__] instead of asm [volatile].
2135         * sysdeps/s390/abort-instr.h: Likewise.
2136         * sysdeps/s390/atomic-machine.h: Likewise.
2137         * sysdeps/s390/bits/string.h: Likewise.
2138         * sysdeps/s390/dl-tls.h: Likewise.
2139         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
2140         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
2141         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
2142         * sysdeps/s390/fpu/fesetround.c: Likewise.
2143         * sysdeps/s390/fpu/fpu_control.h: Likewise.
2144         * sysdeps/s390/fpu/s_fma.c: Likewise.
2145         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
2146         * sysdeps/s390/memusage.h: Likewise.
2147         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
2148         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
2149         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
2150         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
2151         * sysdeps/s390/nptl/tls.h: Likewise.
2152         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
2153         * sysdeps/s390/s390-32/backtrace.c: Likewise.
2154         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2155         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
2156         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2157         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2158         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
2159         * sysdeps/s390/s390-64/backtrace.c: Likewise.
2160         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2161         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
2162         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
2163         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2164         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2165         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
2166         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
2167         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
2168         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
2169         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
2170         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
2171         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2172         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
2173         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2174         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
2176 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2177             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2179         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
2180         Add lwarx hint, and use macro for acquire instruction.
2181         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
2182         Likewise.
2183         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
2184         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
2185         update to use new atomic macros.
2187 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2189         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
2190         (__lll_trylock_elision): Fix setting of adapt_count.
2191         * sysdeps/unix/sysv/linux/powerpc/htm.h
2192         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
2193         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
2194         (_ABORT_SYSCALL): Renumber, and clarify definition.
2195         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
2197 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2199         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
2200         after system headers to prevent MIN/MAX redefinition.  Define
2201         HAVE_ALLOCA to preserve builtin alloca usage.
2203 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
2205         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
2206         static and don't set or restore rounding.
2207         (__cos)[IN_SINCOS]: Likewise.
2208         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
2209         (__sincos): Set and restore rounding mode.  Remove check for infinite
2210         or NaN input.
2212         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
2214         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
2215         as used.
2217 2015-11-16  Florian Weimer  <fweimer@redhat.com>
2219         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
2221 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
2223         * config.make.in (have-glob-dat-reloc): New.
2224         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
2225         target supports GLOB_DAT relocaton. AC_SUBST.
2226         * configure: Regenerated.
2227         * elf/Makefile (tests): Add tst-prelink.
2228         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
2229         (tst-prelink-ENV): New.
2230         ($(objpfx)tst-prelink-conflict.out): Likewise.
2231         ($(objpfx)tst-prelink-cmp.out): Likewise.
2232         * sysdeps/x86/tst-prelink.c: Moved to ...
2233         * elf/tst-prelink.c: Here.
2234         * sysdeps/x86/tst-prelink.exp: Moved to ...
2235         * elf/tst-prelink.exp: Here.
2236         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
2237         (tst-prelink-ENV): Removed.
2238         ($(objpfx)tst-prelink-conflict.out): Likewise.
2239         ($(objpfx)tst-prelink-cmp.out): Likewise.
2240         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
2242 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
2244         [BZ #14551]
2245         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
2246         (__mpn_construct_long_double): If high part overflows to infinity,
2247         set errno and recompute overflowed result of the correct sign.
2248         * sysdeps/ieee754/ldbl-128ibm/Makefile
2249         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
2250         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
2251         $(libm).
2252         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
2254 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
2256         [BZ #15479]
2257         [BZ #19238]
2258         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
2259         floating-point state after first operation on input.  Restore full
2260         state rather than just rounding mode.
2261         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
2262         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
2263         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
2265         [BZ #19235]
2266         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
2267         add 0.5 to integer arguments.
2268         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
2269         Likewise.
2270         (.LC2): New object.
2272 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
2274         * scripts/pylintrc (reports): Set to no.
2276 2015-11-10  Roland McGrath  <roland@hack.frob.com>
2278         * elf/dl-load.c (open_verify): Take new argument FD.
2279         Skip __open call if passed FD is not -1.
2280         (_dl_map_object, open_path): Update callers.
2281         * elf/dl-sysdep-open.h: New file.
2282         * elf/dl-load.c: Include it.
2283         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
2284         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
2285         * sysdeps/nacl/dl-sysdep-open.h: New file.
2286         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
2287         from libc to rtld.
2289 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
2291         [BZ #19228]
2292         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
2293         and restore full floating-point state.
2294         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2295         Likewise.
2296         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
2297         Likewise.
2298         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
2299         Likewise.
2300         * math/test-nearbyint-except-2.c: New file.
2301         * math/Makefile (tests): Add test-nearbyint-except-2.
2303 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
2305         [BZ #19178]
2306         * sysdeps/x86/Makefile (tests): Add tst-prelink.
2307         (tst-prelink-ENV): New.
2308         ($(objpfx)tst-prelink-conflict.out): Likewise.
2309         ($(objpfx)tst-prelink-cmp.out): Likewise.
2310         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
2311         * sysdeps/x86/tst-prelink.c: New file.
2312         * sysdeps/x86/tst-prelink.exp: Likewise.
2314 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
2316         * math/auto-libm-test-in: Add another test of pow.
2317         * math/auto-libm-test-out: Regenerated.
2318         * math/libm-test.inc (pow_test_data): Add another test.
2320 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2322         [BZ #19219]
2323         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
2324         weak_alias to nearbyintl.
2326 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
2328         * sysdeps/aarch64/bits/string.h: New file.
2329         (_STRING_ARCH_unaligned): Define.
2331 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
2333         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
2334         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
2335         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
2336         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
2337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
2339 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
2341         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
2342         for original name of the DSO.  Add it to the name list of the DSO
2343         if it is actually given.
2344         (_dl_map_object): Keep track of whether an audit module rewrote
2345         the file name.  If yes, pass the original name to
2346         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
2347         debugging is enabled, log the change of the file name.
2348         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
2349         _dl_map_object_from_fd.
2350         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
2351         * elf/tst-audit11.c: New file
2352         * elf/tst-auditmod11.c: New file.
2353         * elf/tst-audit11mod1.c: New file.
2354         * elf/tst-audit11mod2.c: New file.
2355         * elf/tst-audit11mod2.map: New file.
2356         * elf/tst-audit12.c: New file
2357         * elf/tst-auditmod12.c: New file.
2358         * elf/tst-audit12mod1.c: New file.
2359         * elf/tst-audit12mod2.c: New file.
2360         * elf/tst-audit12mod2.map: New file.
2361         * elf/tst-audit12mod3.c: New file.
2363 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
2365         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
2366         Don't create weak aliases,
2367         because versioned symbols are created later.
2368         * sysdeps/s390/s390-32/setjmp.S
2369         (setjmp, _setjmp): Remove weak and rename to an unique name
2370         in SHARED case due to existing versioned symbols.
2371         * sysdeps/s390/s390-64/setjmp.S: Likewise.
2372         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
2373         (getcontext): Create weak alias only in non SHARED case.
2374         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2376 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
2378         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
2379         (__ASSUME_*_SYSCALL) Define new macros.
2380         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
2381         Remove socketcall syscalls.
2382         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
2383         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
2384         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
2385         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
2386         * sysdeps/unix/sysv/linux/send.c (__libc_send):
2387         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
2389 2015-11-09  Florian Weimer  <fweimer@redhat.com>
2391         [BZ #12926]
2392         Terminate process on invalid netlink response.
2393         * sysdeps/unix/sysv/linux/netlinkaccess.h
2394         (__netlink_assert_response): Declare.
2395         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
2396         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
2397         (sysdep_routines): Add netlink_assert_response.
2398         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
2399         __netlink_assert_response.
2400         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
2401         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
2402         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
2403         __netlink_assert_response.
2405 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
2407         [BZ #19178]
2408         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
2409         (RTYPE_CLASS_PLT): Likewise.
2410         (RTYPE_CLASS_COPY): Likewise.
2411         (RTYPE_CLASS_TLS): Likewise.
2412         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
2413         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
2414         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
2415         DL_DEBUG_PRELINK.
2417 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
2419         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
2420         calls with argument -0.5.
2421         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
2423         * configure.ac (libc_cv_z_nodelete): Remove configure test.
2424         (libc_cv_z_nodlopen): Likewise.
2425         (libc_cv_z_initfirst): Likewise.
2426         * configure: Regenerated.
2428 2015-11-06  Florian Weimer  <fweimer@redhat.com>
2430         Simplify abilist format to be line-based.
2431         * scripts/abilist.awk: Collect descriptors in the descs variable.
2432         (emit): Write descs variable and sort it
2433         externally, with sort.
2434         * sysdeps/**/*.abilist: Convert to new format.
2436 2015-11-06  Mark Wielaard  <mjw@redhat.com>
2438         [BZ #11460]
2439         * io/Makefile (routines): Add fts64.
2440         (tests): Add tst-fts and tst-fts-lfs.
2441         (CFLAGS-fts64.c): New.
2442         * io/Versions (GLIBC_2.23): New.
2443         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
2444         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
2445         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
2446         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
2447         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
2448         (FTSENT64): Likewise.
2449         (fts64_children): Likewise.
2450         (fts64_close): Likewise.
2451         (fts64_open): Likewise.
2452         (fts64_read): Likewise.
2453         (fts64_set): Likewise.
2454         * io/fts64.c: New file.
2455         * io/tst-fts.c: New test.
2456         * io/tst-fts-lfs.c: Likewise.
2457         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
2458         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
2459         fts64_set.
2460         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2461         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2462         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2463         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2464         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2465         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2466         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2467         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2468         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2469         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2470         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2471         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2472         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2474         Likewise.
2475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2476         Likewise.
2477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2479         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2480         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2481         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2482         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2483         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2484         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2485         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2486         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2487         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2488         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2489         * sysdeps/wordsize-64/fts.c: New file.
2490         * sysdeps/wordsize-64/fts64.c: Likewise.
2491         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
2492         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
2493         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
2494         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
2496 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
2498         * math/libm-test.inc (NON_FINITE): New macro.
2499         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
2500         * math/gen-libm-test.pl (show_exceptions): Add argument
2501         $non_finite.
2502         (parse_args): Update call to show_exceptions.
2503         * math/test-math-finite.h: New file.
2504         * math/test-math-no-finite.h: Likewise.
2505         * math/test-double-finite.c: Likewise.
2506         * math/test-float-finite.c: Likewise.
2507         * math/test-ldouble-finite.c: Likewise.
2508         * math/test-double.c: Include "test-math-no-finite.h".
2509         * math/test-float.c: Include "test-math-no-finite.h".
2510         * math/test-ldouble.c: Include "test-math-no-finite.h".
2511         * math/test-math-inline.h (TEST_FINITE): New macro.
2512         * math/test-math-vector.h (TEST_FINITE): Likewise.
2513         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
2514         (libm-tests): Add test-float-finite and test-double-finite.
2515         ($(objpfx)test-float-finite.o): New dependency on
2516         $(objpfx)libm-test.stmp.
2517         ($(objpfx)test-double-finite.o): Likewise.
2518         ($(objpfx)test-ldouble-finite.o): Likewise.
2519         (libm-test-no-inline-cflags): New variable.
2520         (libm-test-finite-cflags): Likewise.
2521         (CFLAGS-test-float-finite.c): Likewise.
2522         (CFLAGS-test-double-finite.c): Likewise.
2523         (CFLAGS-test-ldouble-finite.c): Likewise.
2524         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
2525         (CFLAGS-test-double.c): Likewise.
2526         (CFLAGS-test-ldouble.c): Likewise.
2528 2015-11-05  Roland McGrath  <roland@hack.frob.com>
2530         * io/fcntl.c (__fcntl): Add ... to prototype.
2531         * misc/ioctl.c (__ioctl): Likewise.
2532         * misc/syscall.c (syscall): Likewise.
2534 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
2536         * scripts/list-fixed-bugs.py: New file.
2538         [BZ #19213]
2539         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
2540         returned for argument 1.
2541         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
2542         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
2543         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
2544         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
2545         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
2546         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
2548         [BZ #19211]
2549         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
2550         __USE_XOPEN], not if [!__USE_ISOC99].
2551         (lgammaf): Likewise.
2552         (lgammal): Likewise.
2553         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
2554         (gammaf): Likewise.
2555         (gammal): Likewise.
2556         * math/test-signgam-finite-c11.c: New file.
2557         * math/test-signgam-finite-c99.c: Likewise.
2558         * math/test-signgam-finite.c: Likewise.
2559         * math/Makefile (tests): Add test-signgam-finite,
2560         test-signgam-finite-c99 and test-signgam-finite-c11.
2561         (CFLAGS-test-signgam-finite.c): New variable.
2562         (CFLAGS-test-signgam-finite-c99.c): Likewise.
2563         (CFLAGS-test-signgam-finite-c11.c): Likewise.
2565         [BZ #19212]
2566         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
2567         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
2568         500].
2569         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
2570         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
2571         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
2572         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
2573         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
2574         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
2575         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
2576         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
2577         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
2578         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
2580         [BZ #19209]
2581         * math/bits/math-finite.h (ldexp): Remove declaration.
2582         (ldexpf): Likewise.
2583         (ldexpl): Likewise.
2585         [BZ #19205]
2586         * math/bits/math-finite.h (acosf): Condition declaration on
2587         [__USE_ISOC99].
2588         (acosl): Likewise.
2589         (acoshf): Likewise.
2590         (acoshl): Likewise.
2591         (asinf): Likewise.
2592         (asinl): Likewise.
2593         (atan2f): Likewise.
2594         (atan2l): Likewise.
2595         (atanhf): Likewise.
2596         (atanhl): Likewise.
2597         (coshf): Likewise.
2598         (coshl): Likewise.
2599         (expf): Likewise.
2600         (expl): Likewise.
2601         (fmodf): Likewise.
2602         (fmodl): Likewise.
2603         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
2604         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
2605         (j0l): Likewise.
2606         (y0f): Likewise.
2607         (y0l): Likewise.
2608         (j1f): Likewise.
2609         (j1l): Likewise.
2610         (y1f): Likewise.
2611         (y1l): Likewise.
2612         (jnf): Likewise.
2613         (jnl): Likewise.
2614         (ynf): Likewise.
2615         (ynl): Likewise.
2616         (lgammaf_r): Condition declaration on [__USE_ISOC99].
2617         (lgammal_r): Likewise.
2618         (__lgamma_r_finite): New declaration.
2619         (__lgammaf_r_finite): Likewise.
2620         (__lgammal_r_finite): Likewise.
2621         (lgamma): Use __lgamma_r_finite.
2622         (lgammaf): Condition definition on [__USE_ISOC99].  Use
2623         __lgammaf_r_finite.
2624         (lgammal): Condition definition on [__USE_ISOC99].  Use
2625         __lgammal_r_finite.
2626         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
2627         __lgamma_r_finite.
2628         (gammaf): Condition definition on [__USE_ISOC99].  Use
2629         __lgammaf_r_finite.
2630         (gammal): Condition definition on [__USE_ISOC99].  Use
2631         __lgammal_r_finite.
2632         (logf): Condition declaration on [__USE_ISOC99].
2633         (logl): Likewise.
2634         (log10f): Likewise.
2635         (log10l): Likewise.
2636         (ldexpf): Likewise.
2637         (ldexpl): Likewise.
2638         (powf): Likewise.
2639         (powl): Likewise.
2640         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
2641         __USE_ISOC99].
2642         (remainderf): Condition declaration on [__USE_ISOC99].
2643         (remainderl): Likewise.
2644         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
2645         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
2646         (scalbl): Likewise.
2647         (sinhf): Condition declaration on [__USE_ISOC99].
2648         (sinhl): Likewise.
2649         (sqrtf): Likewise.
2650         (sqrtl): Likewise.
2652 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
2654         * sysdeps/arm/atomic-machine.h
2655         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
2656         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
2657         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
2658         Remove conditional code.
2659         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
2660         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
2661         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
2662         Change conditional to [__ASSEMBLER__].
2663         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
2664         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
2665         [!__ASSEMBLER__].
2666         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
2667         code.
2668         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
2669         conditional macro definitions.
2670         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
2671         (__arch_compare_and_exchange_val_16_acq): Likewise.
2672         (__arch_compare_and_exchange_val_32_acq): Likewise.
2673         (atomic_exchange_and_add): Likewise.
2674         (atomic_add): Likewise.
2675         (atomic_add_negative): Likewise.
2676         (atomic_add_zero): Likewise.
2677         (atomic_bit_set): Likewise.
2678         (atomic_bit_test_set): Likewise.
2679         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
2680         code unconditional.
2681         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2683         * math/test-math-errno.h: New file.
2684         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
2685         empty.
2686         (TEST_ERRNO): New macro.
2687         (TEST_EXCEPTIONS): Likewise.
2688         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
2689         (TEST_EXCEPTIONS): Likewise.
2690         * math/test-math-vector.h (TEST_ERRNO): Likewise.
2691         * math/test-double.c: Include "test-math-errno.h".
2692         * math/test-float.c: Likewise.
2693         * math/test-ldouble.c: Likewise.
2694         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
2695         code unconditional.
2696         (test_exceptions): Only run code if TEST_EXCEPTIONS.
2697         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
2698         unconditional.
2699         (test_errno): Only run code if TEST_ERRNO.
2700         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
2702 2015-11-04  Florian Weimer  <fweimer@redhat.com>
2704         * nptl/tst-once5.cc: Remove attribution.
2706 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
2708         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
2709         sqrt, tan, tanh, y0, y1 and yn.
2710         * math/auto-libm-test-out: Regenerated.
2711         * math/libm-test.inc (scalb_test_data): Add more tests.
2712         (scalbn_test_data): Likewise.
2713         (scalbln_test_data): Likewise.
2714         (signbit_test_data): Likewise.
2715         (sin_test_data): Likewise.
2716         (sincos_test_data): Likewise.
2717         (sinh_test_data): Likewise.
2718         (sqrt_test_data): Likewise.
2719         (tan_test_data): Likewise.
2720         (tanh_test_data): Likewise.
2721         (tgamma_test_data): Likewise.
2722         (y0_test_data): Likewise.
2723         (y1_test_data): Likewise.
2724         (yn_test_data): Likewise.
2725         (significand_test_data): Likewise.
2726         * sysdeps/i386/fpu/libm-test-ulps: Update.
2728 2015-11-03  David Kastrup  <dak@gnu.org>
2730         [BZ #18604]
2731         * assert/assert.h (assert): Don't macro-expand failed assertion
2732         expression in error message.
2733         * malloc/malloc.c (assert): Likewise.
2735 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
2737         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
2738         test.
2739         * configure: Regenerated.
2741 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
2743         * math/libm-test.inc (modf_test_data): Add more tests.
2744         (nearbyint_test_data): Likewise.
2745         (nextafter_test_data): Likewise.
2746         (nexttoward_test_data): Likewise.
2747         (pow_test_data): Likewise.
2748         (remainder_test_data): Likewise.
2749         (remquo_test_data): Likewise.
2750         (rint_test_data): Likewise.
2752         [BZ #19201]
2753         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
2754         Check for zero remainder in case of large exponents and ensure
2755         correct sign of result in that case.
2756         * math/libm-test.inc (remainder_test_data): Add more tests.
2758         [BZ #6799]
2759         * math/s_nextafter.c: Include <errno.h>.
2760         (__nextafter): Set errno on overflow and underflow.
2761         * math/s_nexttowardf.c: Include <errno.h>.
2762         (__nexttowardf): Set errno on overflow and underflow.
2763         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
2764         (__nextafterl): Set errno on overflow and underflow.
2765         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
2766         (__nexttoward): Set errno on overflow and underflow.
2767         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
2768         (__nexttowardf): Set errno on overflow and underflow.
2769         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
2770         (__nextafterf): Set errno on overflow and underflow.
2771         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
2772         (__nextafterl): Set errno on overflow and underflow.
2773         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
2774         (__nexttoward): Set errno on overflow and underflow.
2775         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
2776         (__nexttowardf): Set errno on overflow and underflow.
2777         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
2778         (__nextafterl): Set errno on overflow and underflow.
2779         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
2780         (__nexttoward): Set errno on overflow and underflow.
2781         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
2782         (__nexttowardf): Set errno on overflow and underflow.
2783         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
2784         (__nexttoward): Set errno on overflow and underflow.
2785         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
2786         (__nexttowardf): Set errno on overflow and underflow.
2787         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
2788         (__nldbl_nexttowardf): Set errno on overflow and underflow.
2789         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
2790         (__nextafterl): Set errno on overflow and underflow.
2791         * math/libm-test.inc (nextafter_test_data): Do not allow errno
2792         setting to be missing on overflow.  Add more tests.
2793         (nexttoward_test_data): Likewise.
2795         * configure.ac (libc_cv_initfini_array): Remove configure test.
2796         * configure: Regenerated.
2798 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
2800         [BZ #19189]
2801         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
2802         non-finite argument handle arguments with negative sign.
2804         * math/libm-test.inc (j0_test_data): Do not test sign of zero
2805         result from infinite argument.
2806         (j1_test_data): Likewise.
2807         (jn_test_data): Likewise.
2808         (y0_test_data): Likewise.
2809         (y1_test_data): Likewise.
2810         (yn_test_data): Likewise.
2812         [BZ #16171]
2813         * math/w_remainder.c (drem): Define as weak alias of __remainder.
2814         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
2815         * math/w_remainderf.c (dremf): Define as weak alias of
2816         __remainderf.
2817         * math/w_remainderl.c (dreml): Define as weak alias of
2818         __remainderl.
2819         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
2820         __remainder.
2821         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
2822         __remainderf.
2823         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
2824         __remainderl.
2825         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
2826         weak alias of remainderl.
2827         * sysdeps/ieee754/ldbl-opt/w_remainder.c
2828         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
2829         alias of __remainder.
2830         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
2831         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
2832         strong alias of __remainderl.
2833         (dreml): Use long_double_symbol.
2834         * math/Makefile (libm-calls): Remove w_drem.
2835         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
2836         (CFLAGS-nldbl-drem.c): Remove variable.
2837         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
2838         * math/w_drem.c: Remove file.
2839         * math/w_dremf.c: Likewise.
2840         * math/w_dreml.c: Likewise.
2841         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
2842         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
2843         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
2845         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
2846         * sysdeps/i386/configure: Regenerated.
2847         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
2848         * sysdeps/x86_64/configure: Regenerated.
2850         * configure.ac (libc_cv_asm_protected_directive): Remove configure
2851         test.
2852         (libc_cv_visibility_attribute): Likewise.
2853         (libc_cv_protected_data): Test unconditionally.
2854         (libc_cv_broken_visibility_attribute): Remove configure test.
2855         (libc_cv_have_sdata_section): Test unconditionally.
2856         * configure: Regenerated.
2858         * include/libc-internal.h (libc_max_align_t): Remove typedef.
2859         * include/scratch_buffer.h: Include <stddef.h> instead of
2860         <libc-internal.h>.
2861         (struct scratch_buffer): Use max_align_t instead of
2862         libc_max_align_t.
2864 2015-10-29  Florian Weimer  <fweimer@redhat.com>
2866         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
2867         instead of extend_alloca.  Change control flow to avoid a goto.
2868         Remove assert which is trivially always true.
2870 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
2872         [BZ #16068]
2873         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
2874         (FE_ALL_EXCEPT_X86): New macro.
2875         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
2876         FE_ALL_EXCEPT.  Ensure precision control is included in
2877         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
2878         handle "denormal operand exception" and clear FZ and DAZ bits.
2879         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
2880         (FE_ALL_EXCEPT_X86): New macro.
2881         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
2882         FE_ALL_EXCEPT.  Ensure precision control is included in
2883         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
2884         handle "denormal operand exception" and clear FZ and DAZ bits.
2885         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
2886         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
2887         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2888         test-fenv-x87 and test-fenv-sse-2.
2889         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
2891         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
2892         * math/test-double.h (BUILD_COMPLEX): New macro.
2893         * math/test-float.h (BUILD_COMPLEX): Likewise.
2894         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
2896         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
2897         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
2898         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
2899         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
2900         instead of DBL_DENORM_MIN in comment.
2901         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
2902         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
2903         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
2904         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
2905         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
2906         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
2908 2015-10-28  Florian Weimer  <fweimer@redhat.com>
2910         [BZ# 19048]
2911         * malloc/malloc.c (struct malloc_state): Update comment.  Add
2912         attached_threads member.
2913         (main_arena): Initialize attached_threads.
2914         * malloc/arena.c (list_lock): Update comment.
2915         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
2916         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
2917         (deattach_arena): New function.
2918         (_int_new_arena): Initialize arena reference count and deattach
2919         replaced arena.
2920         (get_free_list, reused_arena): Update reference count and deattach
2921         replaced arena.
2922         (arena_thread_freeres): Update arena reference count and only put
2923         unreferenced arenas on the free list.
2925 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
2927         [BZ #19181]
2928         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
2929         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
2930         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
2931         * math/test-fenv-clear-main.c: New file.
2932         * math/test-fenv-clear.c: Likewise.
2933         * math/Makefile (tests): Add test-fenv-clear.
2934         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
2935         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2936         test-fenv-clear-sse.
2937         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
2939         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
2940         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
2941         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
2943 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2945         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
2946         static libc.
2948 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
2950         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
2951         test.
2952         * sysdeps/i386/configure: Regenerated.
2953         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
2954         test.
2955         * sysdeps/x86_64/configure: Regenerated.
2956         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
2957         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2958         memset-avx2 unconditionally instead of conditionally on
2959         [$(config-cflags-avx2) = yes].
2960         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2961         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
2962         unconditional.
2963         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
2964         * sysdeps/x86_64/multiarch/memset_chk.S
2965         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
2966         to [IS_IN (libc) && SHARED].
2968 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
2970         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
2971         configure test.
2972         * sysdeps/arm/configure: Regenerated.
2973         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
2974         Define variable if not already defined.
2976         [BZ #17404]
2977         * sysdeps/mips/atomic-machine.h
2978         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
2979         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
2980         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
2982         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
2983         unconditional.
2984         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
2985         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2986         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
2987         unconditional.
2988         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2989         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
2990         unconditional.
2991         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2992         * stdlib/setenv.c
2993         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
2994         code unconditional.
2995         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
2996         Remove conditional code.
2997         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
2998         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
2999         unconditional.
3000         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
3001         code.
3002         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
3003         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
3004         unconditional.
3005         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
3006         code.
3007         * sysdeps/ieee754/ldbl-128/k_tanl.c
3008         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
3009         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3010         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
3011         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
3012         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3013         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
3014         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
3015         unconditional.
3016         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
3017         code.
3018         * sysdeps/ieee754/ldbl-96/k_tanl.c
3019         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
3020         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3022         * nptl/tst-initializers1-c11.c: New file.
3023         * nptl/tst-initializers1-gnu11.c: Likewise.
3024         * nptl/Makefile (tests): Add these new tests.
3025         (CFLAGS-tst-initializers1-c11.c): New variable.
3026         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
3028         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
3029         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
3030         instead of -std=gnu99.
3031         * configure.ac (systemtap): Test with -std=gnu11 instead of
3032         -std=gnu99.
3033         * configure: Regenerated.
3034         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
3035         in compilation command in comment.
3037         * sysdeps/nptl/configure.ac: Remove file.
3038         * sysdeps/nptl/configure: Remove generated file.
3039         * configure.ac (libc_cv_forced_unwind): Do not substitute.
3040         * configure: Regenerated.
3041         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
3042         * config.make.in (have-forced-unwind): Remove variable.
3043         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
3044         unconditional.
3045         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
3046         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
3047         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
3048         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
3049         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
3050         unconditional.
3052 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3054         [BZ #19174]
3055         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
3056         .skip_lock_out_of_tbegin_retries.
3057         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
3058         (__lll_lock_elision): Likewise, and respect a value of
3059         try_tbegin <= 0.
3061 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3063         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
3064         statement.
3066 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
3068         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
3069         variable.
3070         (test-xfail-ISO11/stdalign.h/conform): Likewise.
3071         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
3073         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
3074         of -std=c1x -D_ISOC11_SOURCE.
3076         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
3077         * configure: Regenerated.
3078         * manual/install.texi (Tools for Compilation): Document
3079         requirement for GCC 4.7 or later.
3080         * INSTALL: Regenerated.
3082 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
3084         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
3085         on CNT to a conditional jump to 'puntdata'.
3087 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
3089         * configure.ac (libc_cv_gcc___thread): Remove configure test.
3090         (libc_cv_gcc_tls_model_attr): Likewise.
3091         * configure: Regenerated.
3093         * configure.ac (libc_cv_need_minus_P): Remove configure test.
3094         * configure: Regenerated.
3095         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
3097 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
3099         * configure.ac (old_glibc_headers): Remove configure test.
3100         * configure: Regenerated.
3101         * config.make.in (old-glibc-headers): Remove variable.
3102         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
3103         (install): Remove dependency on remove-old-headers.
3104         (headers2_0): Remove variable.
3105         (remove-old-headers): Remove rule.
3107         * configure.ac (libc_cv_dot_text): Remove configure test.
3108         (libc_cv_asm_set_directive): Use .text instead of
3109         ${libc_cv_dot_text} in configure test.
3110         * configure: Regenerated.
3112 2015-10-26  Florian Weimer  <fweimer@redhat.com>
3114         [BZ #19168]
3115         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3117 2015-10-26  Florian Weimer  <fweimer@redhat.com>
3119         * configure.ac (CXX): Clear the variable if the C++ toolchain does
3120         not support static linking.
3121         * configure: Regenerate.
3123 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
3125         * math/libm-test.inc (check_float_internal): Do not special-case
3126         errors up to 0.5 ulp.
3128         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
3129         log2.
3130         * math/auto-libm-test-out: Regenerated.
3131         * math/libm-test.inc (MAX_EXP): New macro.
3132         (ilogb_test_data): Add more tests.
3133         (isfinite_test_data): Likewise.
3134         (isgreater_test_data): Likewise.
3135         (isgreaterequal_test_data): Likewise.
3136         (isinf_test_data): Likewise.
3137         (isless_test_data): Likewise.
3138         (islessequal_test_data): Likewise.
3139         (islessgreater_test_data): Likewise.
3140         (isnan_test_data): Likewise.
3141         (isnormal_test_data): Likewise.
3142         (issignaling_test_data): Likewise.
3143         (isunordered_test_data): Likewise.
3144         (j0_test_data): Likewise.
3145         (j1_test_data): Likewise.
3146         (jn_test_data): Likewise.
3147         (lgamma_test_data): Likewise.
3148         (log_test_data): Likewise.
3149         (log10_test_data): Likewise.
3150         (log1p_test_data): Likewise.
3151         (log2_test_data): Likewise.
3152         (logb_test_data): Likewise.
3153         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3155         [BZ #18611]
3156         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
3157         avoid excess range and precision on underflow.
3158         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
3159         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
3160         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
3161         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
3162         underflow.
3163         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3164         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3165         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
3166         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3167         * math/auto-libm-test-in: Do not allow missing errno setting for
3168         tests of j1 and jn.
3169         * math/auto-libm-test-out: Regenerated.
3171 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
3173         [BZ #15491]
3174         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
3175         floating-point environment instead of clearing all exceptions.
3176         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3177         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
3178         merging in "invalid" exceptions from frndint.
3179         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
3180         * math/test-nearbyint-except.c: New file.
3181         * math/Makefile (tests): Add test-nearbyint-except.
3183 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
3185         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
3187         * sysdeps/tile/libm-test-ulps: Regenerated.
3189 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
3192         (__NR_sync_file_range2): Assume it is always defined.
3193         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
3194         (__NR_sync_file_range): Assume it is always defined.
3196 2015-10-22  Andreas Schwab  <schwab@suse.de>
3198         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
3199         INTERNAL_SYSCALL_ERRNO.
3200         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3201         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
3202         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3203         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
3204         Likewise.
3205         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3207 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
3209         * io/tst-fcntl.c (fd): New static variable.
3210         (do_prepare): Open temporary file here....
3211         (do_test): ...not here.
3213         * io/ftwtest-sh: Also trap on exit to remove temporary files.
3215 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
3217         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
3218         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
3219         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
3220         Moved before "#ifdef __ASSEMBLER__".
3222 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
3224         [BZ #19156]
3225         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
3226         arguments very close to 0.
3228 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
3230         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
3231         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
3233 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
3235         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
3236         New.  Defined for GCC 5 and above when not compiling for
3237         profiling.
3238         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
3240         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
3241         Renamed to ...
3242         (CFLAGS-epoll_pwait.o): This.
3243         (CFLAGS-mmap.c): Renamed to ...
3244         (CFLAGS-mmap.o): This.
3245         (CFLAGS-mmap64.c): Renamed to ...
3246         (CFLAGS-mmap64.o): This.
3247         (CFLAGS-epoll_pwait.os): New.
3248         (CFLAGS-mmap.os): Likewise.
3249         (CFLAGS-mmap64.os): Likewise.
3250         (CFLAGS-semtimedop.os): Likewise.
3251         (CFLAGS-semtimedop.c): Renamed to ...
3252         (CFLAGS-semtimedop.o): This.
3254 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3256         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
3257         warning message.
3259 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
3261         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
3262         * Makefile ($(objpfx)c++-types-check.out): Filter out
3263         $(+gccwarn-c) instead of -Wstrict-prototypes.
3265         * io/fts.c (fts_open): Convert to prototype-style function
3266         definition.
3267         * malloc/mcheck.c (mcheck): Likewise.
3268         (mcheck_pedantic): Likewise.
3269         * posix/regexec.c (re_search_2_stub): Likewise.  Use
3270         internal_function.
3271         (re_search_internal): Likewise.
3272         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
3273         prototype-style function definition.
3274         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
3275         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
3276         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
3277         (xdr_utmpptr): Likewise.
3278         (xdr_utmparr): Likewise.
3279         (xdr_utmpidle): Likewise.
3280         (xdr_utmpidleptr): Likewise.
3281         (xdr_utmpidlearr): Likewise.
3283         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
3284         log, log10 and log2.
3285         * math/auto-libm-test-out: Regenerated.
3286         * math/libm-test.inc (fmod_test_data): Add more tests.
3287         (fpclassify_test_data): Likewise.
3288         (frexp_test_data): Likewise.
3289         (hypot_test_data): Likewise.
3290         (ilogb_test_data): Likewise.
3292 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
3294         * debug/fortify_fail.c (__fortify_fail): Convert to
3295         prototype-style function definition.  Use internal_function.
3296         * libio/genops.c (save_for_backup): Convert to prototype-style
3297         function definition.
3298         * libio/wgenops.c (save_for_wbackup): Likewise.
3299         * login/grantpt.c (grantpt): Likewise.
3300         * login/ptsname.c (ptsname): Likewise.
3301         (__ptsname_r): Likewise.
3302         * login/unlockpt.c (unlockpt): Likewise.
3303         * mach/msgserver.c (__mach_msg_server): Likewise.
3304         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
3305         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
3306         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
3307         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
3308         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
3309         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
3310         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
3311         Likewise.
3312         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
3313         internal_function.
3314         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
3315         prototype-style function definition.
3316         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
3317         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
3318         (__pthread_create_2_0): Likewise.
3319         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
3320         * nptl/register-atfork.c (__register_atfork): Likewise.
3321         * posix/glob.c (glob): Likewise.
3322         * posix/regcomp.c (re_comp): Likewise.
3323         * posix/regexec.c (re_exec): Likewise.
3324         * stdlib/add_n.c [__STDC__]: Make code unconditional.
3325         [!__STDC__]: Remove conditional code.
3326         * stdlib/cmp.c [__STDC__]: Make code unconditional.
3327         [!__STDC__]: Remove conditional code.
3328         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
3329         [!__STDC__]: Remove conditional code.
3330         * stdlib/divrem.c [__STDC__]: Make code unconditional.
3331         [!__STDC__]: Remove conditional code.
3332         * stdlib/lshift.c [__STDC__]: Make code unconditional.
3333         [!__STDC__]: Remove conditional code.
3334         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
3335         [!__STDC__]: Remove conditional code.
3336         * stdlib/mul.c [__STDC__]: Make code unconditional.
3337         [!__STDC__]: Remove conditional code.
3338         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
3339         [!__STDC__]: Remove conditional code.
3340         * stdlib/rshift.c [__STDC__]: Make code unconditional.
3341         [!__STDC__]: Remove conditional code.
3342         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
3343         function definition.
3344         (STRTOF): Likewise.
3345         * stdlib/strtod_l.c (__STRTOF): Likewise.
3346         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
3347         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
3348         (__strtol_l): Likewise.
3349         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
3350         [!__STDC__]: Remove conditional code.
3351         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
3352         definition.
3353         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
3354         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
3355         type.
3356         (__strcasecmp): Convert to prototype-style function definition.
3357         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
3358         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
3359         type.
3360         (__strncasecmp): Convert to prototype-style function definition.
3361         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
3362         * sunrpc/xdr.c (xdr_union): Likewise.
3363         * sunrpc/xdr_array.c (xdr_array): Likewise.
3364         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
3365         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
3366         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
3367         Likewise.
3368         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
3369         Likewise.
3370         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
3371         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
3372         Likewise.
3373         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
3374         (LOCALE_PARAM_PROTO): Likewise.
3375         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
3376         argument type.
3377         (ut_argument_spec): Remove macro.
3378         (ut_argument_spec_iso): Rename to ut_argument_spec.
3379         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
3380         prototype-style function definition.
3381         (memcpy_uppcase): Likewise.
3382         (__strftime_internal): Likewise.
3383         (my_strftime): Likewise.
3384         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
3385         (LOCALE_PARAM_DECL): Likewise.
3386         [_LIBC] (LOCALE_PARAM): Include argument type.
3387         (__strptime_internal): Convert to prototype-style function
3388         definition.
3389         (strptime): Likewise.
3390         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
3391         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
3392         type.
3393         (__wcscasecmp): Convert to prototype-style function definition.
3394         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
3395         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
3396         type.
3397         (__wcsncasecmp): Convert to prototype-style function definition.
3399         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
3400         function definition.
3401         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3402         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3403         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
3404         * elf/dl-minimal.c (_itoa): Likewise.
3405         * hurd/hurdmalloc.c (malloc): Likewise.
3406         (free): Likewise.
3407         (realloc): Likewise.
3408         * inet/inet6_option.c (inet6_option_space): Likewise.
3409         (inet6_option_init): Likewise.
3410         (inet6_option_append): Likewise.
3411         (inet6_option_alloc): Likewise.
3412         (inet6_option_next): Likewise.
3413         (inet6_option_find): Likewise.
3414         * io/ftw.c (FTW_NAME): Likewise.
3415         (NFTW_NAME): Likewise.
3416         (NFTW_NEW_NAME): Likewise.
3417         (NFTW_OLD_NAME): Likewise.
3418         * libio/iofwide.c (_IO_fwide): Likewise.
3419         * libio/strops.c (_IO_str_init_static_internal): Likewise.
3420         (_IO_str_init_static): Likewise.
3421         (_IO_str_init_readonly): Likewise.
3422         (_IO_str_overflow): Likewise.
3423         (_IO_str_underflow): Likewise.
3424         (_IO_str_count): Likewise.
3425         (_IO_str_seekoff): Likewise.
3426         (_IO_str_pbackfail): Likewise.
3427         (_IO_str_finish): Likewise.
3428         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
3429         (_IO_wstr_overflow): Likewise.
3430         (_IO_wstr_underflow): Likewise.
3431         (_IO_wstr_count): Likewise.
3432         (_IO_wstr_seekoff): Likewise.
3433         (_IO_wstr_pbackfail): Likewise.
3434         (_IO_wstr_finish): Likewise.
3435         * locale/programs/localedef.c (normalize_codeset): Likewise.
3436         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
3437         (add_locales_to_archive): Likewise.
3438         (delete_locales_from_archive): Likewise.
3439         * malloc/malloc.c (__libc_mallinfo): Likewise.
3440         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
3441         * misc/tsearch.c (__tfind): Likewise.
3442         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
3443         * nptl/pthread_attr_getdetachstate.c
3444         (__pthread_attr_getdetachstate): Likewise.
3445         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
3446         Likewise.
3447         * nptl/pthread_attr_getinheritsched.c
3448         (__pthread_attr_getinheritsched): Likewise.
3449         * nptl/pthread_attr_getschedparam.c
3450         (__pthread_attr_getschedparam): Likewise.
3451         * nptl/pthread_attr_getschedpolicy.c
3452         (__pthread_attr_getschedpolicy): Likewise.
3453         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
3454         Likewise.
3455         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
3456         Likewise.
3457         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
3458         Likewise.
3459         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
3460         Likewise.
3461         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
3462         (__pthread_attr_init_2_0): Likewise.
3463         * nptl/pthread_attr_setdetachstate.c
3464         (__pthread_attr_setdetachstate): Likewise.
3465         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
3466         Likewise.
3467         * nptl/pthread_attr_setinheritsched.c
3468         (__pthread_attr_setinheritsched): Likewise.
3469         * nptl/pthread_attr_setschedparam.c
3470         (__pthread_attr_setschedparam): Likewise.
3471         * nptl/pthread_attr_setschedpolicy.c
3472         (__pthread_attr_setschedpolicy): Likewise.
3473         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
3474         Likewise.
3475         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
3476         Likewise.
3477         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
3478         Likewise.
3479         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
3480         Likewise.
3481         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
3482         Likewise.
3483         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
3484         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
3485         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
3486         use internal_function.
3487         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
3488         prototype-style function definition.
3489         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
3490         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
3491         internal_function.
3492         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
3493         Convert to prototype-style function definition.
3494         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3495         Likewise.
3496         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
3497         Likewise.
3498         (__pthread_mutex_unlock): Likewise.
3499         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
3500         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
3501         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
3502         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
3503         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
3504         * nss/makedb.c (process_input): Likewise.
3505         * posix/fnmatch.c (__strchrnul): Likewise.
3506         (__wcschrnul): Likewise.
3507         (fnmatch): Likewise.
3508         * posix/fnmatch_loop.c (FCT): Likewise.
3509         * posix/glob.c (globfree): Likewise.
3510         (__glob_pattern_type): Likewise.
3511         (__glob_pattern_p): Likewise.
3512         * posix/regcomp.c (re_compile_pattern): Likewise.
3513         (re_set_syntax): Likewise.
3514         (re_compile_fastmap): Likewise.
3515         (regcomp): Likewise.
3516         (regerror): Likewise.
3517         (regfree): Likewise.
3518         * posix/regexec.c (regexec): Likewise.
3519         (re_match): Likewise.
3520         (re_search): Likewise.
3521         (re_match_2): Likewise.
3522         (re_search_2): Likewise.
3523         (re_search_stub): Likewise.  Use internal_function
3524         (re_copy_regs): Likewise.
3525         (re_set_registers): Convert to prototype-style function
3526         definition.
3527         (prune_impossible_nodes): Likewise.  Use internal_function.
3528         * resolv/inet_net_pton.c (inet_net_pton): Convert to
3529         prototype-style function definition.
3530         (inet_net_pton_ipv4): Likewise.
3531         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3532         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
3533         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
3534         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
3535         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
3536         Make variadic.
3537         * time/strptime_l.c (localtime_r): Convert to prototype-style
3538         function definition.
3539         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
3540         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
3541         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
3542         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
3544         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
3545         definition.
3546         (_ufc_doit_r): Likewise.
3547         * crypt/crypt_util.c (_ufc_copymem): Likewise.
3548         (_ufc_output_conversion_r): Likewise.
3549         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
3550         * inet/rcmd.c (rcmd_af): Likewise.
3551         (rcmd): Likewise.
3552         (ruserok_af): Likewise.
3553         (ruserok): Likewise.
3554         (ruserok2_sa): Likewise.
3555         (ruserok_sa): Likewise.
3556         (iruserok_af): Likewise.
3557         (iruserok): Likewise.
3558         (__ivaliduser): Likewise.
3559         (__validuser2_sa): Likewise.
3560         * inet/rexec.c (rexec_af): Likewise.
3561         (rexec): Likewise.
3562         * inet/ruserpass.c (ruserpass): Likewise.
3563         * locale/programs/xmalloc.c (xcalloc): Likewise.
3564         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
3565         * math/w_drem.c (__drem): Likewise.
3566         * math/w_dremf.c (__dremf): Likewise.
3567         * math/w_dreml.c (__dreml): Likewise.
3568         * misc/daemon.c (daemon): Likewise.
3569         * resolv/res_debug.c (p_fqnname): Likewise.
3570         * stdlib/div.c (div): Likewise.
3571         * string/memcmp.c (memcmp_bytes): Likewise.
3572         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
3573         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
3575         * crypt/cert.c (main): Convert to prototype-style function
3576         definition.
3577         * io/pipe.c (__pipe): Likewise.
3578         * io/pipe2.c (__pipe2): Likewise.
3579         * misc/futimesat.c (futimesat): Likewise.
3580         * misc/utimes.c (__utimes): Likewise.
3581         * posix/execve.c (__execve): Likewise.
3582         * posix/execvp.c (execvp): Likewise.
3583         * posix/execvpe.c (__execvpe): Likewise.
3584         * posix/fexecve.c (fexecve): Likewise.
3585         * socket/socketpair.c (socketpair): Likewise.
3586         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
3587         * stdlib/erand48.c (erand48): Likewise.
3588         * stdlib/erand48_r.c (__erand48_r): Likewise.
3589         * stdlib/jrand48.c (jrand48): Likewise.
3590         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
3591         * stdlib/lcong48.c (lcong48): Likewise.
3592         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
3593         * stdlib/nrand48.c (nrand48): Likewise.
3594         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
3595         * stdlib/seed48.c (seed48): Likewise.
3596         * stdlib/seed48_r.c (__seed48_r): Likewise.
3597         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
3598         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
3599         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
3601 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
3603         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
3604         * configure: Regenerated.
3605         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
3606         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
3607         unconditional.
3608         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
3609         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
3610         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
3611         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
3612         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
3613         unconditional.
3614         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
3616         * posix/Makefile (CFLAGS-regex.c): Remove variable.
3617         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
3619         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
3620         function definition.
3621         * crypt/crypt_util.c (__encrypt_r): Likewise.
3622         * libio/genops.c (_IO_no_init): Likewise.
3623         * libio/iofopncook.c (_IO_fopencookie): Likewise.
3624         (_IO_old_fopencookie): Likewise.
3625         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
3626         * libio/iogetline.c (_IO_getline): Likewise.
3627         (_IO_getline_info): Likewise.
3628         * libio/iogetwline.c (_IO_getwline): Likewise.
3629         (_IO_getwline_info): Likewise.
3630         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
3631         * libio/vswprintf.c (_IO_vswprintf): Likewise.
3632         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
3633         (find_entry): Likewise.
3634         (iterate_table): Likewise.
3635         (lookup): Likewise.
3636         * login/forkpty.c (forkpty): Likewise.
3637         * misc/hsearch_r.c (__hsearch_r): Likewise.
3638         * misc/select.c (__select): Likewise.
3639         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
3640         Likewise.
3641         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
3642         Likewise.
3643         * nptl/old_pthread_cond_timedwait.c
3644         (__pthread_cond_timedwait_2_0): Likewise.
3645         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
3646         * nptl/pthread_barrierattr_getpshared.c
3647         (pthread_barrierattr_getpshared): Likewise.
3648         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
3649         Likewise.
3650         * nptl/pthread_mutex_setprioceiling.c
3651         (pthread_mutex_setprioceiling): Likewise.
3652         * nptl/pthread_mutexattr_getprioceiling.c
3653         (pthread_mutexattr_getprioceiling): Likewise.
3654         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
3655         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3656         Likewise.
3657         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3658         Likewise.
3659         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
3660         Likewise.
3661         * socket/recvfrom.c (__recvfrom): Likewise.
3662         * socket/sendto.c (__sendto): Likewise.
3663         * socket/setsockopt.c (__setsockopt): Likewise.
3664         * stdio-common/_itoa.c (_itoa): Likewise.
3665         * stdio-common/_itowa.c (_itowa): Likewise.
3666         * stdio-common/reg-printf.c (__register_printf_specifier):
3667         Likewise.
3668         (__register_printf_function): Likewise.
3669         * stdio-common/tempname.c (__path_search): Likewise.
3670         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
3671         * stdlib/mul_1.c (mpn_mul_1): Likewise.
3672         * stdlib/random_r.c (__initstate_r): Likewise.
3673         * stdlib/setenv.c (__add_to_environ): Likewise.
3674         * stdlib/submul_1.c (mpn_submul_1): Likewise.
3675         * streams/getpmsg.c (getpmsg): Likewise.
3676         * streams/putmsg.c (putmsg): Likewise.
3677         * streams/putpmsg.c (putpmsg): Likewise.
3678         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
3679         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
3680         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
3681         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
3682         * sunrpc/pm_getport.c (pmap_getport): Likewise.
3683         * sunrpc/svc_udp.c (cache_get): Likewise.
3684         * sunrpc/xdr_array.c (xdr_vector): Likewise.
3685         * sysdeps/mach/hurd/getcwd.c
3686         (__canonicalize_directory_name_internal): Likewise.
3687         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
3688         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
3689         * sysdeps/mach/hurd/select.c (__select): Likewise.
3690         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
3691         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
3692         * sysdeps/sparc/nptl/pthread_barrier_init.c
3693         (__pthread_barrier_init): Likewise.
3694         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
3695         (__pthread_cond_timedwait): Likewise.
3696         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
3697         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
3698         Likewise.
3699         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
3700         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
3701         Likewise.
3702         * sysvipc/semtimedop.c (semtimedop): Likewise.
3703         * time/setitimer.c (__setitimer): Likewise.
3704         * time/strftime_l.c (emacs_strftime): Likewise.
3706 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
3708         * config.make.in (have-ssp): Delete.
3709         (stack-protector): New variable.
3710         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
3711         cache test for -fstack-protector-strong.  Export stack_protector to
3712         the best ssp flag.
3713         * configure: Regenerated.
3714         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
3715         * nscd/Makefile (CFLAGS-nscd): Likewise.
3716         * resolv/Makefile (CFLAGS-libresolv): Likewise.
3718 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
3720         [BZ #19122]
3721         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
3722         attribute_hidden.
3724 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3726         [BZ #18743]
3727         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
3728         code to...
3729         (ELIDE_LOCK): ...here.
3730         (__get_new_count): New function with part of the code from
3731         __elide_lock that updates the value of adapt_count after a
3732         transaction abort.
3733         (__elided_trylock): Moved this code to...
3734         (ELIDE_TRYLOCK): ...here.
3736 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
3738         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
3739         * configure: Regenerate.
3740         * INSTALL: Regenerate.
3741         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
3742         and tweak grammar.
3744 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
3746         * login/programs/pt_chown.c: Include signal.h
3747         (main): Clear any signal mask from the parent process.
3749 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
3751         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
3752         * configure: Regenerated.
3753         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
3754         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
3755         $(gnu89-inline-CFLAGS).
3757         * configure.ac (libc_cv_asm_weak_directive): Remove configure
3758         test.
3759         (libc_cv_asm_weakext_directive): Likewise.
3760         * configure: Regenerated.
3761         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
3762         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
3763         * include/libc-symbols.h
3764         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
3765         #error.
3766         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
3767         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
3769         * sysdeps/arm/backtrace.c (__backtrace): Convert to
3770         prototype-style function definition.
3771         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
3772         * sysdeps/i386/ffs.c (__ffs): Likewise.
3773         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
3774         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
3775         Likewise.
3776         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3777         Likewise.
3778         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
3779         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3780         Likewise.
3781         * sysdeps/m68k/ffs.c (__ffs): Likewise.
3782         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
3783         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
3784         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
3785         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
3786         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
3787         * sysdeps/mach/hurd/access.c (__access): Likewise.
3788         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
3789         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
3790         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
3791         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
3792         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
3793         (cthread_getspecific): Likewise.
3794         (cthread_setspecific): Likewise.
3795         (__libc_getspecific): Likewise.
3796         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
3797         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
3798         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
3799         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
3800         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
3801         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
3802         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
3803         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
3804         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
3805         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
3806         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
3807         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
3808         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
3809         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
3810         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
3811         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
3812         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
3813         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
3814         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
3815         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
3816         * sysdeps/mach/hurd/link.c (__link): Likewise.
3817         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
3818         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
3819         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
3820         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
3821         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
3822         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
3823         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
3824         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
3825         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
3826         * sysdeps/mach/hurd/rename.c (rename): Likewise.
3827         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
3828         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
3829         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
3830         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
3831         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
3832         * sysdeps/mach/hurd/send.c (__send): Likewise.
3833         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
3834         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
3835         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
3836         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
3837         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
3838         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
3839         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
3840         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
3841         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
3842         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
3843         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
3844         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
3845         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
3846         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
3847         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
3848         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
3849         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
3850         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
3851         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
3852         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
3853         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
3854         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
3855         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
3856         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
3857         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
3858         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
3859         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
3860         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
3861         * sysdeps/posix/alarm.c (alarm): Likewise.
3862         * sysdeps/posix/cuserid.c (cuserid): Likewise.
3863         * sysdeps/posix/dirfd.c (dirfd): Likewise.
3864         * sysdeps/posix/dup.c (__dup): Likewise.
3865         * sysdeps/posix/dup2.c (__dup2): Likewise.
3866         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
3867         (main): Likewise.
3868         * sysdeps/posix/flock.c (__flock): Likewise.
3869         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
3870         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
3871         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
3872         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
3873         * sysdeps/posix/isatty.c (__isatty): Likewise.
3874         * sysdeps/posix/killpg.c (killpg): Likewise.
3875         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
3876         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
3877         * sysdeps/posix/raise.c (raise): Likewise.
3878         * sysdeps/posix/remove.c (remove): Likewise.
3879         * sysdeps/posix/rename.c (rename): Likewise.
3880         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
3881         * sysdeps/posix/seekdir.c (seekdir): Likewise.
3882         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
3883         * sysdeps/posix/sigignore.c (sigignore): Likewise.
3884         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
3885         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
3886         * sysdeps/posix/sigset.c (sigset): Likewise.
3887         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
3888         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
3889         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
3890         * sysdeps/posix/time.c (time): Likewise.
3891         * sysdeps/posix/ttyname.c (getttyname): Likewise.
3892         (ttyname): Likewise.
3893         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
3894         * sysdeps/posix/utime.c (utime): Likewise.
3895         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
3896         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
3897         Likewise.
3898         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
3899         (pthread_spin_trylock): Likewise.
3900         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
3901         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
3902         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
3903         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
3904         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
3905         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
3906         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
3907         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
3908         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
3909         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
3910         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
3911         * sysdeps/s390/ffs.c (__ffs): Likewise.
3912         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
3913         Likewise.
3914         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3915         Likewise.
3916         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
3917         Likewise.
3918         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
3919         (pthread_barrier_destroy): Likewise.
3920         * sysdeps/sparc/nptl/pthread_barrier_wait.c
3921         (__pthread_barrier_wait): Likewise.
3922         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
3923         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
3924         (__pthread_barrier_wait): Likewise.
3925         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
3926         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
3927         (memcmp_not_common_alignment): Likewise.
3928         (MEMCMP): Likewise.
3929         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
3930         (_wordcopy_fwd_dest_aligned): Likewise.
3931         (_wordcopy_bwd_aligned): Likewise.
3932         (_wordcopy_bwd_dest_aligned): Likewise.
3933         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
3934         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
3935         * sysdeps/unix/bsd/stty.c (stty): Likewise.
3936         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
3937         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
3938         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
3939         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
3940         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
3941         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
3942         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
3943         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
3944         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
3945         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
3946         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
3947         * sysdeps/unix/stime.c (stime): Likewise.
3948         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
3949         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
3950         Likewise.  Use internal_function.
3951         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
3952         Convert to prototype-style function definition.
3953         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
3954         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
3955         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
3956         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
3957         Likewise.  Use internal_function.
3958         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
3959         prototype-style function definition
3960         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
3961         Likewise.
3962         (__getlogin_r): Likewise.
3963         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
3964         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
3965         (__pthread_cond_broadcast): Likewise.
3966         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
3967         (__pthread_cond_destroy): Likewise.
3968         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
3969         (__pthread_cond_init): Likewise.
3970         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
3971         (__pthread_cond_signal): Likewise.
3972         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
3973         (__pthread_cond_wait): Likewise.
3974         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
3975         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
3976         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
3977         Likewise.
3978         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
3979         Likewise.
3980         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
3981         Likewise.
3982         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
3983         Likewise.
3984         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
3985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
3986         (__ftruncate64): Likewise.
3987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
3988         (truncate64): Likewise.
3989         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
3990         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
3991         (pthread_getcpuclockid): Likewise.
3992         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
3993         Likewise.
3994         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
3995         Likewise.
3996         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
3997         Likewise.
3998         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
3999         Likewise.
4000         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
4001         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
4002         (__libc_sigaction): Likewise.
4003         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
4004         Likewise.
4005         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
4006         (__sigprocmask): Likewise.
4007         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
4008         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
4009         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
4010         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
4011         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
4012         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
4013         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
4014         Likewise.
4015         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
4016         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
4017         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
4018         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
4019         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
4020         Likewise.
4021         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
4022         (__sigprocmask): Likewise.
4023         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
4024         (cfgetispeed): Likewise.
4025         (cfsetospeed): Likewise.
4026         (cfsetispeed): Likewise.
4027         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
4028         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
4029         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4030         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
4031         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
4032         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
4033         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
4034         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
4035         Likewise.
4036         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
4037         Likewise.
4038         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
4039         Likewise.
4040         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
4041         Likewise.
4042         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
4044 2015-10-17  Florian Weimer  <fweimer@redhat.com>
4046         sunrpc: Rewrite with explicit TLS access using __thread.
4047         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
4048         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
4049         directly.
4050         (__rpc_thread_variables): Access thread_rpc_vars directly.
4051         Eliminate redundant assignment of the tvp variable.
4053 2015-10-17  Florian Weimer  <fweimer@redhat.com>
4055         malloc: Rewrite with explicit TLS access using __thread.
4056         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
4057         (tsd_setspecific, tsd_getspecific): Remove.
4058         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
4059         (tsd_setspecific, tsd_getspecific): Likewise.
4060         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
4061         (tsd_setspecific, tsd_getspecific): Likewise.
4062         * malloc/arena.c (thread_arena): New TLS variable.
4063         (arena_key): Remove variable.
4064         (arena_get): Use thread_arena.
4065         (arena_lookup): Remove macro.
4066         (malloc_atfork, free_atfork, ptmalloc_lock_all)
4067         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
4068         (_int_new_arena, get_free_list, reused_arena)
4069         (arena_thread_freeres): Use thread_arena.
4070         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
4071         tsd_getspecific, tsd_setspecific from safety annotations.
4072         (Allocating Cleared Space): Remove arena_lookup from safety
4073         annotations.
4075 2015-10-17  Florian Weimer  <fweimer@redhat.com>
4077         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
4078         struct scratch_buffer instead of extend_alloca.
4080 2015-10-17  Florian Weimer  <fweimer@redhat.com>
4082         * sysdeps/unix/sysv/linux/kernel-features.h
4083         (__ASSUME_SOCK_CLOEXEC): Remove.
4084         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
4085         (__have_paccept): Remove unused macro.
4086         * include/unistd.h (__have_sock_cloexec): Remove declaration.
4087         * misc/syslog.c (openlog_internal): Remove fallback code for
4088         !__ASSUME_SOCK_CLOEXEC.
4089         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
4090         missing SOCK_CLOEXEC.
4091         * nscd/connections.c (have_sock_cloexec): Remove definition.
4092         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
4093         * nscd/nscd_helper.c (open_socket): Remove fallback code for
4094         !__ASSUME_SOCK_CLOEXEC.
4095         * resolv/res_send.c (__have_o_nonblock): Remove definition.
4096         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
4097         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
4098         definition.
4099         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
4100         code for !__ASSUME_SOCK_CLOEXEC.
4102 2015-10-17  Florian Weimer  <fweimer@redhat.com>
4104         [BZ #18982]
4105         * manual/stdio.texi (Variable Arguments Output): Add portability
4106         note, explaining that vfprintf clobbers the va_list pointer.
4108 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
4110         * math/libm-test.inc (fabs_test_data): Add more tests.
4111         (fdim_test_data): Likewise.
4112         (fma_test_data): Likewise.
4113         (fmax_test_data): Likewise.
4114         (fmin_test_data): Likewise.
4115         (fmod_test_data): Likewise.
4117 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
4119         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
4120         data.
4122 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
4124         * math/libm-test.inc (ceil_test_data): Add more tests and more
4125         expectations for "inexact".
4126         (floor_test_data): Add more tests.
4127         (round_test_data): Likewise.
4128         (trunc_test_data): Likewise.
4130         * crypt/cert.c (good_bye): Convert to prototype-style function
4131         definition.
4132         (get8): Likewise.
4133         (put8): Likewise.
4134         * crypt/crypt-entry.c (crypt): Likewise.
4135         (__fcrypt): Likewise.
4136         * crypt/crypt_util.c (_ufc_prbits): Likewise.
4137         (_ufc_set_bits): Likewise.
4138         (_ufc_clearmem): Likewise.
4139         (__init_des_r): Likewise.
4140         (shuffle_sb): Likewise.
4141         (shuffle_sb): Likewise.
4142         (_ufc_setup_salt_r): Likewise.
4143         (_ufc_mk_keytab_r): Likewise.
4144         (_ufc_dofinalperm_r): Likewise.
4145         (encrypt): Likewise.
4146         (__setkey_r): Likewise.
4147         (setkey): Likewise.
4148         * crypt/md5.c (md5_init_ctx): Likewise.
4149         (md5_read_ctx): Likewise.
4150         (md5_finish_ctx): Likewise.
4151         (md5_stream): Likewise.
4152         (md5_buffer): Likewise.
4153         (md5_process_bytes): Likewise.
4154         * crypt/sha256.c (__sha256_init_ctx): Likewise.
4155         (__sha256_finish_ctx): Likewise.
4156         (__sha256_process_bytes): Likewise.
4157         * crypt/sha512.c (__sha512_init_ctx): Likewise.
4158         (__sha512_finish_ctx): Likewise.
4159         (__sha512_process_bytes): Likewise.
4160         * ctype/isctype.c (__isctype): Likewise.
4161         * debug/backtrace.c (__backtrace): Likewise.
4162         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
4163         * debug/fgets_chk.c (__fgets_chk): Likewise.
4164         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
4165         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
4166         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
4167         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
4168         * debug/memset_chk.c (__memset_chk): Likewise.
4169         * debug/strcat_chk.c (__strcat_chk): Likewise.
4170         * debug/strncat_chk.c (__strncat_chk): Likewise.
4171         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
4172         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
4173         * dirent/dirfd.c (dirfd): Likewise.
4174         * dirent/getdents.c (__getdirentries): Likewise.
4175         * dirent/getdents64.c (getdirentries64): Likewise.
4176         * dirent/rewinddir.c (__rewinddir): Likewise.
4177         * dirent/seekdir.c (seekdir): Likewise.
4178         * dirent/telldir.c (telldir): Likewise.
4179         * elf/sln.c (makesymlinks): Likewise.
4180         (makesymlink): Likewise.
4181         * gmon/gmon.c (__moncontrol): Likewise.
4182         (__monstartup): Likewise.
4183         (write_hist): Likewise.
4184         (write_call_graph): Likewise.
4185         (write_bb_counts): Likewise.
4186         * grp/setgroups.c (setgroups): Likewise.
4187         * inet/inet_lnaof.c (inet_lnaof): Likewise.
4188         * inet/inet_net.c (inet_network): Likewise.
4189         * inet/inet_netof.c (inet_netof): Likewise.
4190         * inet/rcmd.c (rresvport_af): Likewise.
4191         (rresvport): Likewise.
4192         * io/access.c (__access): Likewise.
4193         * io/chdir.c (__chdir): Likewise.
4194         * io/chmod.c (__chmod): Likewise.
4195         * io/chown.c (__chown): Likewise.
4196         * io/close.c (__close): Likewise.
4197         * io/creat.c (creat): Likewise.
4198         * io/creat64.c (creat64): Likewise.
4199         * io/dup.c (__dup): Likewise.
4200         * io/dup2.c (__dup2): Likewise.
4201         * io/dup3.c (__dup3): Likewise.
4202         * io/euidaccess.c (__euidaccess): Likewise.
4203         * io/faccessat.c (faccessat): Likewise.
4204         * io/fchmod.c (__fchmod): Likewise.
4205         * io/fchmodat.c (fchmodat): Likewise.
4206         * io/fchown.c (__fchown): Likewise.
4207         * io/fchownat.c (fchownat): Likewise.
4208         * io/fcntl.c (__fcntl): Likewise.
4209         * io/flock.c (__flock): Likewise.
4210         * io/fts.c (fts_load): Likewise.
4211         (fts_close): Likewise.
4212         (fts_read): Likewise.
4213         (fts_set): Likewise.
4214         (fts_children): Likewise.
4215         (fts_build): Likewise.
4216         (fts_stat): Likewise.
4217         (fts_sort): Likewise.
4218         (fts_alloc): Likewise.
4219         (fts_lfree): Likewise.
4220         (fts_palloc): Likewise.
4221         (fts_padjust): Likewise.
4222         (fts_maxarglen): Likewise.
4223         (fts_safe_changedir): Likewise.
4224         * io/getwd.c (getwd): Likewise.
4225         * io/isatty.c (__isatty): Likewise.
4226         * io/lchown.c (__lchown): Likewise.
4227         * io/link.c (__link): Likewise.
4228         * io/linkat.c (linkat): Likewise.
4229         * io/lseek.c (__libc_lseek): Likewise.
4230         * io/mkdir.c (__mkdir): Likewise.
4231         * io/mkdirat.c (mkdirat): Likewise.
4232         * io/mkfifo.c (mkfifo): Likewise.
4233         * io/mkfifoat.c (mkfifoat): Likewise.
4234         * io/open.c (__libc_open): Likewise.
4235         * io/open64.c (__libc_open64): Likewise.
4236         * io/readlink.c (__readlink): Likewise.
4237         * io/readlinkat.c (readlinkat): Likewise.
4238         * io/rmdir.c (__rmdir): Likewise.
4239         * io/symlink.c (__symlink): Likewise.
4240         * io/symlinkat.c (symlinkat): Likewise.
4241         * io/ttyname.c (ttyname): Likewise.
4242         * io/ttyname_r.c (__ttyname_r): Likewise.
4243         * io/umask.c (__umask): Likewise.
4244         * io/unlink.c (__unlink): Likewise.
4245         * io/unlinkat.c (unlinkat): Likewise.
4246         * io/utime.c (utime): Likewise.
4247         * libio/clearerr.c (clearerr): Likewise.
4248         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
4249         * libio/feof.c (_IO_feof): Likewise.
4250         * libio/feof_u.c (feof_unlocked): Likewise.
4251         * libio/ferror.c (_IO_ferror): Likewise.
4252         * libio/ferror_u.c (ferror_unlocked): Likewise.
4253         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
4254         * libio/fileno.c (__fileno): Likewise.
4255         * libio/fputc.c (fputc): Likewise.
4256         * libio/fputc_u.c (fputc_unlocked): Likewise.
4257         * libio/fputwc.c (fputwc): Likewise.
4258         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
4259         * libio/freopen.c (freopen): Likewise.
4260         * libio/freopen64.c (freopen64): Likewise.
4261         * libio/fseek.c (fseek): Likewise.
4262         * libio/fseeko.c (fseeko): Likewise.
4263         * libio/fseeko64.c (fseeko64): Likewise.
4264         * libio/ftello.c (__ftello): Likewise.
4265         * libio/ftello64.c (ftello64): Likewise.
4266         * libio/fwide.c (fwide): Likewise.
4267         * libio/genops.c (_IO_un_link): Likewise.
4268         (_IO_link_in): Likewise.
4269         (_IO_least_marker): Likewise.
4270         (_IO_switch_to_main_get_area): Likewise.
4271         (_IO_switch_to_backup_area): Likewise.
4272         (_IO_switch_to_get_mode): Likewise.
4273         (_IO_free_backup_area): Likewise.
4274         (_IO_switch_to_put_mode): Likewise.
4275         (__overflow): Likewise.
4276         (__underflow): Likewise.
4277         (__uflow): Likewise.
4278         (_IO_setb): Likewise.
4279         (_IO_doallocbuf): Likewise.
4280         (_IO_default_underflow): Likewise.
4281         (_IO_default_uflow): Likewise.
4282         (_IO_default_xsputn): Likewise.
4283         (_IO_sgetn): Likewise.
4284         (_IO_default_xsgetn): Likewise.
4285         (_IO_sync): Likewise.
4286         (_IO_default_setbuf): Likewise.
4287         (_IO_default_seekpos): Likewise.
4288         (_IO_default_doallocate): Likewise.
4289         (_IO_init): Likewise.
4290         (_IO_old_init): Likewise.
4291         (_IO_default_sync): Likewise.
4292         (_IO_default_finish): Likewise.
4293         (_IO_default_seekoff): Likewise.
4294         (_IO_sputbackc): Likewise.
4295         (_IO_sungetc): Likewise.
4296         (_IO_set_column): Likewise.
4297         (_IO_set_column): Likewise.
4298         (_IO_adjust_column): Likewise.
4299         (_IO_get_column): Likewise.
4300         (_IO_init_marker): Likewise.
4301         (_IO_remove_marker): Likewise.
4302         (_IO_marker_difference): Likewise.
4303         (_IO_marker_delta): Likewise.
4304         (_IO_seekmark): Likewise.
4305         (_IO_unsave_markers): Likewise.
4306         (_IO_nobackup_pbackfail): Likewise.
4307         (_IO_default_pbackfail): Likewise.
4308         (_IO_default_seek): Likewise.
4309         (_IO_default_stat): Likewise.
4310         (_IO_default_read): Likewise.
4311         (_IO_default_write): Likewise.
4312         (_IO_default_showmanyc): Likewise.
4313         (_IO_default_imbue): Likewise.
4314         (_IO_iter_next): Likewise.
4315         (_IO_iter_file): Likewise.
4316         * libio/getc.c (_IO_getc): Likewise.
4317         * libio/getwc.c (_IO_getwc): Likewise.
4318         * libio/iofclose.c (_IO_new_fclose): Likewise.
4319         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
4320         * libio/iofflush.c (_IO_fflush): Likewise.
4321         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
4322         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
4323         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
4324         * libio/iofgets.c (_IO_fgets): Likewise.
4325         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
4326         * libio/iofgetws.c (fgetws): Likewise.
4327         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4328         * libio/iofopen64.c (_IO_fopen64): Likewise.
4329         * libio/iofopncook.c (_IO_cookie_read): Likewise.
4330         (_IO_cookie_write): Likewise.
4331         (_IO_cookie_seek): Likewise.
4332         (_IO_cookie_close): Likewise.
4333         (_IO_cookie_seekoff): Likewise.
4334         (_IO_old_cookie_seek): Likewise.
4335         * libio/iofputs.c (_IO_fputs): Likewise.
4336         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
4337         * libio/iofputws.c (fputws): Likewise.
4338         * libio/iofputws_u.c (fputws_unlocked): Likewise.
4339         * libio/iofread.c (_IO_fread): Likewise.
4340         * libio/iofread_u.c (__fread_unlocked): Likewise.
4341         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
4342         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
4343         * libio/ioftell.c (_IO_ftell): Likewise.
4344         * libio/iofwrite.c (_IO_fwrite): Likewise.
4345         * libio/iogetdelim.c (_IO_getdelim): Likewise.
4346         * libio/iogets.c (_IO_gets): Likewise.
4347         * libio/iopadn.c (_IO_padn): Likewise.
4348         * libio/iopopen.c (_IO_new_proc_open): Likewise.
4349         (_IO_new_popen): Likewise.
4350         (_IO_new_proc_close): Likewise.
4351         * libio/ioputs.c (_IO_puts): Likewise.
4352         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
4353         (_IO_seekoff): Likewise.
4354         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
4355         (_IO_seekpos): Likewise.
4356         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
4357         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
4358         * libio/ioungetc.c (_IO_ungetc): Likewise.
4359         * libio/ioungetwc.c (ungetwc): Likewise.
4360         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
4361         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
4362         * libio/iowpadn.c (_IO_wpadn): Likewise.
4363         * libio/libc_fatal.c (__libc_fatal): Likewise.
4364         * libio/memstream.c (__open_memstream): Likewise.
4365         (_IO_mem_sync): Likewise.
4366         (_IO_mem_finish): Likewise.
4367         * libio/oldfileops.c (_IO_old_file_init): Likewise.
4368         (_IO_old_file_close_it): Likewise.
4369         (_IO_old_file_finish): Likewise.
4370         (_IO_old_file_fopen): Likewise.
4371         (_IO_old_file_attach): Likewise.
4372         (_IO_old_file_setbuf): Likewise.
4373         (_IO_old_do_write): Likewise.
4374         (old_do_write): Likewise.
4375         (_IO_old_file_underflow): Likewise.
4376         (_IO_old_file_overflow): Likewise.
4377         (_IO_old_file_sync): Likewise.
4378         (_IO_old_file_seekoff): Likewise.
4379         (_IO_old_file_write): Likewise.
4380         (_IO_old_file_xsputn): Likewise.
4381         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
4382         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
4383         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
4384         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
4385         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
4386         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
4387         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
4388         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
4389         (_IO_old_popen): Likewise.
4390         (_IO_old_proc_close): Likewise.
4391         * libio/oldpclose.c (__old_pclose): Likewise.
4392         * libio/pclose.c (__new_pclose): Likewise.
4393         * libio/peekc.c (_IO_peekc_locked): Likewise.
4394         * libio/putc.c (_IO_putc): Likewise.
4395         * libio/putc_u.c (putc_unlocked): Likewise.
4396         * libio/putchar.c (putchar): Likewise.
4397         * libio/putchar_u.c (putchar_unlocked): Likewise.
4398         * libio/putwc.c (putwc): Likewise.
4399         * libio/putwc_u.c (putwc_unlocked): Likewise.
4400         * libio/putwchar.c (putwchar): Likewise.
4401         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
4402         * libio/rewind.c (rewind): Likewise.
4403         * libio/setbuf.c (setbuf): Likewise.
4404         * libio/setlinebuf.c (setlinebuf): Likewise.
4405         * libio/vasprintf.c (_IO_vasprintf): Likewise.
4406         * libio/vscanf.c (_IO_vscanf): Likewise.
4407         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
4408         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
4409         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
4410         * libio/wgenops.c (_IO_least_wmarker): Likewise.
4411         (_IO_switch_to_main_wget_area): Likewise.
4412         (_IO_switch_to_wbackup_area): Likewise.
4413         (_IO_wsetb): Likewise.
4414         (_IO_wdefault_pbackfail): Likewise.
4415         (_IO_wdefault_finish): Likewise.
4416         (_IO_wdefault_uflow): Likewise.
4417         (__woverflow): Likewise.
4418         (__wuflow): Likewise.
4419         (__wunderflow): Likewise.
4420         (_IO_wdefault_xsputn): Likewise.
4421         (_IO_wdefault_xsgetn): Likewise.
4422         (_IO_wdoallocbuf): Likewise.
4423         (_IO_wdefault_doallocate): Likewise.
4424         (_IO_switch_to_wget_mode): Likewise.
4425         (_IO_free_wbackup_area): Likewise.
4426         (_IO_switch_to_wput_mode): Likewise.
4427         (_IO_sputbackwc): Likewise.
4428         (_IO_sungetwc): Likewise.
4429         (_IO_adjust_wcolumn): Likewise.
4430         (_IO_init_wmarker): Likewise.
4431         (_IO_wmarker_delta): Likewise.
4432         (_IO_seekwmark): Likewise.
4433         (_IO_unsave_wmarkers): Likewise.
4434         * libio/wmemstream.c (open_wmemstream): Likewise.
4435         (_IO_wmem_sync): Likewise.
4436         (_IO_wmem_finish): Likewise.
4437         * locale/nl_langinfo.c (nl_langinfo): Likewise.
4438         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
4439         * locale/programs/simple-hash.c (init_hash): Likewise.
4440         (delete_hash): Likewise.
4441         (insert_entry): Likewise.
4442         (set_entry): Likewise.
4443         (next_prime): Likewise.
4444         (is_prime): Likewise.
4445         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
4446         (xmalloc): Likewise.
4447         (xrealloc): Likewise.
4448         * locale/programs/xstrdup.c (xstrdup): Likewise.
4449         * localedata/collate-test.c (xstrcoll): Likewise.
4450         * localedata/xfrm-test.c (xstrcmp): Likewise.
4451         * login/getlogin_r.c (__getlogin_r): Likewise.
4452         * login/getpt.c (__posix_openpt): Likewise.
4453         * login/login_tty.c (login_tty): Likewise.
4454         * login/setlogin.c (setlogin): Likewise.
4455         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
4456         (mach_msg_destroy_port): Likewise.
4457         (mach_msg_destroy_memory): Likewise.
4458         * malloc/mcheck.c (flood): Likewise.
4459         * misc/acct.c (acct): Likewise.
4460         * misc/brk.c (__brk): Likewise.
4461         * misc/chflags.c (chflags): Likewise.
4462         * misc/chroot.c (chroot): Likewise.
4463         * misc/fchflags.c (fchflags): Likewise.
4464         * misc/fstab.c (getfsspec): Likewise.
4465         (getfsfile): Likewise.
4466         * misc/fsync.c (fsync): Likewise.
4467         * misc/ftruncate.c (__ftruncate): Likewise.
4468         * misc/ftruncate64.c (__ftruncate64): Likewise.
4469         * misc/getdomain.c (getdomainname): Likewise.
4470         (getdomainname): Likewise.
4471         * misc/gethostname.c (__gethostname): Likewise.
4472         * misc/getpass.c (getpass): Likewise.
4473         * misc/getttyent.c (skip): Likewise.
4474         (value): Likewise.
4475         * misc/gtty.c (gtty): Likewise.
4476         * misc/hsearch.c (hsearch): Likewise.
4477         (hcreate): Likewise.
4478         * misc/hsearch_r.c (__hcreate_r): Likewise.
4479         (__hdestroy_r): Likewise.
4480         * misc/ioctl.c (__ioctl): Likewise.
4481         * misc/mkdtemp.c (mkdtemp): Likewise.
4482         * misc/mkostemp.c (mkostemp): Likewise.
4483         * misc/mkostemp64.c (mkostemp64): Likewise.
4484         * misc/mkostemps.c (mkostemps): Likewise.
4485         * misc/mkostemps64.c (mkostemps64): Likewise.
4486         * misc/mkstemp.c (mkstemp): Likewise.
4487         * misc/mkstemp64.c (mkstemp64): Likewise.
4488         * misc/mkstemps.c (mkstemps): Likewise.
4489         * misc/mkstemps64.c (mkstemps64): Likewise.
4490         * misc/mktemp.c (__mktemp): Likewise.
4491         * misc/preadv.c (preadv): Likewise.
4492         * misc/preadv64.c (preadv64): Likewise.
4493         * misc/pwritev.c (pwritev): Likewise.
4494         * misc/pwritev64.c (pwritev64): Likewise.
4495         * misc/readv.c (__readv): Likewise.
4496         * misc/revoke.c (revoke): Likewise.
4497         * misc/setdomain.c (setdomainname): Likewise.
4498         * misc/setegid.c (setegid): Likewise.
4499         * misc/seteuid.c (seteuid): Likewise.
4500         * misc/sethostid.c (sethostid): Likewise.
4501         * misc/sethostname.c (sethostname): Likewise.
4502         * misc/setregid.c (__setregid): Likewise.
4503         * misc/setreuid.c (__setreuid): Likewise.
4504         * misc/sstk.c (sstk): Likewise.
4505         * misc/stty.c (stty): Likewise.
4506         * misc/syscall.c (syscall): Likewise.
4507         * misc/syslog.c (setlogmask): Likewise.
4508         * misc/truncate.c (__truncate): Likewise.
4509         * misc/truncate64.c (truncate64): Likewise.
4510         * misc/ualarm.c (ualarm): Likewise.
4511         * misc/usleep.c (usleep): Likewise.
4512         * misc/ustat.c (ustat): Likewise.
4513         * misc/writev.c (__writev): Likewise.
4514         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
4515         * nptl/old_pthread_cond_broadcast.c
4516         (__pthread_cond_broadcast_2_0): Likewise.
4517         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
4518         Likewise.
4519         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
4520         Likewise.
4521         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
4522         Likewise.
4523         * nptl/pt-raise.c (raise): Likewise.
4524         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
4525         Likewise.
4526         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
4527         * nptl/pthread_barrierattr_destroy.c
4528         (pthread_barrierattr_destroy): Likewise.
4529         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
4530         Likewise.
4531         * nptl/pthread_barrierattr_setpshared.c
4532         (pthread_barrierattr_setpshared): Likewise.
4533         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
4534         Likewise.
4535         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
4536         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
4537         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
4538         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
4539         Likewise.
4540         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
4541         Likewise.
4542         * nptl/pthread_condattr_getpshared.c
4543         (pthread_condattr_getpshared): Likewise.
4544         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
4545         Likewise.
4546         * nptl/pthread_condattr_setpshared.c
4547         (pthread_condattr_setpshared): Likewise.
4548         * nptl/pthread_detach.c (pthread_detach): Likewise.
4549         * nptl/pthread_equal.c (__pthread_equal): Likewise.
4550         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
4551         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
4552         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
4553         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
4554         Likewise.
4555         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
4556         Likewise.
4557         * nptl/pthread_mutex_getprioceiling.c
4558         (pthread_mutex_getprioceiling): Likewise.
4559         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
4560         Likewise.
4561         * nptl/pthread_mutexattr_getprotocol.c
4562         (pthread_mutexattr_getprotocol): Likewise.
4563         * nptl/pthread_mutexattr_getpshared.c
4564         (pthread_mutexattr_getpshared): Likewise.
4565         * nptl/pthread_mutexattr_getrobust.c
4566         (pthread_mutexattr_getrobust): Likewise.
4567         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
4568         Likewise.
4569         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
4570         Likewise.
4571         * nptl/pthread_mutexattr_setprioceiling.c
4572         (pthread_mutexattr_setprioceiling): Likewise.
4573         * nptl/pthread_mutexattr_setprotocol.c
4574         (pthread_mutexattr_setprotocol): Likewise.
4575         * nptl/pthread_mutexattr_setpshared.c
4576         (pthread_mutexattr_setpshared): Likewise.
4577         * nptl/pthread_mutexattr_setrobust.c
4578         (pthread_mutexattr_setrobust): Likewise.
4579         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
4580         Likewise.
4581         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
4582         Likewise.
4583         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
4584         Likewise.
4585         * nptl/pthread_rwlockattr_getkind_np.c
4586         (pthread_rwlockattr_getkind_np): Likewise.
4587         * nptl/pthread_rwlockattr_getpshared.c
4588         (pthread_rwlockattr_getpshared): Likewise.
4589         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
4590         Likewise.
4591         * nptl/pthread_rwlockattr_setkind_np.c
4592         (pthread_rwlockattr_setkind_np): Likewise.
4593         * nptl/pthread_rwlockattr_setpshared.c
4594         (pthread_rwlockattr_setpshared): Likewise.
4595         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
4596         Likewise.
4597         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
4598         Likewise.
4599         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
4600         Likewise.
4601         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
4602         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
4603         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
4604         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
4605         * nptl/sem_close.c (sem_close): Likewise.
4606         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
4607         * nptl/sem_init.c (__old_sem_init): Likewise.
4608         * nptl/sigaction.c (__sigaction): Likewise.
4609         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
4610         * posix/_exit.c (_exit): Likewise.
4611         * posix/alarm.c (alarm): Likewise.
4612         * posix/confstr.c (confstr): Likewise.
4613         * posix/fpathconf.c (__fpathconf): Likewise.
4614         * posix/getgroups.c (__getgroups): Likewise.
4615         * posix/getpgid.c (__getpgid): Likewise.
4616         * posix/group_member.c (__group_member): Likewise.
4617         * posix/pathconf.c (__pathconf): Likewise.
4618         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
4619         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
4620         * posix/setgid.c (__setgid): Likewise.
4621         * posix/setpgid.c (__setpgid): Likewise.
4622         * posix/setuid.c (__setuid): Likewise.
4623         * posix/sleep.c (__sleep): Likewise.
4624         * posix/sysconf.c (__sysconf): Likewise.
4625         * posix/times.c (__times): Likewise.
4626         * posix/uname.c (__uname): Likewise.
4627         * posix/waitid.c (__waitid): Likewise.
4628         * pwd/getpw.c (__getpw): Likewise.
4629         * resolv/base64.c (b64_pton): Likewise.
4630         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
4631         * resolv/gethnamaddr.c (Dprintf): Likewise.
4632         (gethostbyname): Likewise.
4633         (gethostbyname2): Likewise.
4634         (gethostbyaddr): Likewise.
4635         (_sethtent): Likewise.
4636         (_gethtbyname): Likewise.
4637         (_gethtbyname2): Likewise.
4638         (_gethtbyaddr): Likewise.
4639         (map_v4v6_address): Likewise.
4640         (map_v4v6_hostent): Likewise.
4641         (addrsort): Likewise.
4642         (ht_sethostent): Likewise.
4643         (ht_gethostbyname): Likewise.
4644         (ht_gethostbyaddr): Likewise.
4645         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
4646         (inet_net_ntop_ipv4): Likewise.
4647         * resolv/inet_neta.c (inet_neta): Likewise.
4648         * resolv/inet_ntop.c (inet_ntop): Likewise.
4649         (inet_ntop4): Likewise.
4650         (inet_ntop6): Likewise.
4651         * resolv/inet_pton.c (__inet_pton): Likewise.
4652         (inet_pton4): Likewise.
4653         (inet_pton6): Likewise.
4654         * resolv/res_debug.c (loc_aton): Likewise.
4655         (loc_ntoa): Likewise.
4656         * resource/getpriority.c (__getpriority): Likewise.
4657         * resource/getrusage.c (__getrusage): Likewise.
4658         * resource/nice.c (nice): Likewise.
4659         * resource/setpriority.c (__setpriority): Likewise.
4660         * resource/setrlimit64.c (setrlimit64): Likewise.
4661         * resource/vlimit.c (vlimit): Likewise.
4662         * resource/vtimes.c (vtimes): Likewise.
4663         * rt/aio_error.c (aio_error): Likewise.
4664         * rt/aio_return.c (aio_return): Likewise.
4665         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
4666         * signal/kill.c (__kill): Likewise.
4667         * signal/killpg.c (killpg): Likewise.
4668         * signal/raise.c (raise): Likewise.
4669         * signal/sigaction.c (__sigaction): Likewise.
4670         * signal/sigaddset.c (sigaddset): Likewise.
4671         * signal/sigaltstack.c (sigaltstack): Likewise.
4672         * signal/sigandset.c (sigandset): Likewise.
4673         * signal/sigblock.c (__sigblock): Likewise.
4674         * signal/sigdelset.c (sigdelset): Likewise.
4675         * signal/sigempty.c (sigemptyset): Likewise.
4676         * signal/sigfillset.c (sigfillset): Likewise.
4677         * signal/sighold.c (sighold): Likewise.
4678         * signal/sigignore.c (sigignore): Likewise.
4679         * signal/sigintr.c (siginterrupt): Likewise.
4680         * signal/sigisempty.c (sigisemptyset): Likewise.
4681         * signal/sigismem.c (sigismember): Likewise.
4682         * signal/signal.c (signal): Likewise.
4683         * signal/sigorset.c (sigorset): Likewise.
4684         * signal/sigpause.c (__sigpause): Likewise.
4685         * signal/sigpending.c (sigpending): Likewise.
4686         * signal/sigprocmask.c (__sigprocmask): Likewise.
4687         * signal/sigrelse.c (sigrelse): Likewise.
4688         * signal/sigreturn.c (__sigreturn): Likewise.
4689         * signal/sigset.c (sigset): Likewise.
4690         * signal/sigsetmask.c (__sigsetmask): Likewise.
4691         * signal/sigstack.c (sigstack): Likewise.
4692         * signal/sigsuspend.c (__sigsuspend): Likewise.
4693         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
4694         * signal/sysv_signal.c (__sysv_signal): Likewise.
4695         * socket/accept.c (accept): Likewise.
4696         * socket/accept4.c (__libc_accept4): Likewise.
4697         * socket/bind.c (__bind): Likewise.
4698         * socket/connect.c (__connect): Likewise.
4699         * socket/getpeername.c (getpeername): Likewise.
4700         * socket/getsockname.c (__getsockname): Likewise.
4701         * socket/getsockopt.c (getsockopt): Likewise.
4702         * socket/listen.c (__listen): Likewise.
4703         * socket/recv.c (__recv): Likewise.
4704         * socket/recvmsg.c (__recvmsg): Likewise.
4705         * socket/send.c (__send): Likewise.
4706         * socket/sendmsg.c (__sendmsg): Likewise.
4707         * socket/shutdown.c (shutdown): Likewise.
4708         * socket/sockatmark.c (sockatmark): Likewise.
4709         * socket/socket.c (__socket): Likewise.
4710         * stdio-common/ctermid.c (ctermid): Likewise.
4711         * stdio-common/cuserid.c (cuserid): Likewise.
4712         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
4713         * stdio-common/remove.c (remove): Likewise.
4714         * stdio-common/rename.c (rename): Likewise.
4715         * stdio-common/renameat.c (renameat): Likewise.
4716         * stdio-common/tempname.c (__gen_tempname): Likewise.
4717         * stdio-common/xbug.c (InitBuffer): Likewise.
4718         (AppendToBuffer): Likewise.
4719         (ReadFile): Likewise.
4720         * stdlib/a64l.c (a64l): Likewise.
4721         * stdlib/drand48_r.c (drand48_r): Likewise.
4722         * stdlib/getcontext.c (getcontext): Likewise.
4723         * stdlib/getenv.c (getenv): Likewise.
4724         * stdlib/l64a.c (l64a): Likewise.
4725         * stdlib/llabs.c (llabs): Likewise.
4726         * stdlib/lldiv.c (lldiv): Likewise.
4727         * stdlib/lrand48_r.c (lrand48_r): Likewise.
4728         * stdlib/mrand48_r.c (mrand48_r): Likewise.
4729         * stdlib/putenv.c (putenv): Likewise.
4730         * stdlib/random.c (__srandom): Likewise.
4731         (__initstate): Likewise.
4732         (__setstate): Likewise.
4733         * stdlib/random_r.c (__srandom_r): Likewise.
4734         (__setstate_r): Likewise.
4735         (__random_r): Likewise.
4736         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
4737         * stdlib/setcontext.c (setcontext): Likewise.
4738         * stdlib/setenv.c (setenv): Likewise.
4739         (unsetenv): Likewise.
4740         * stdlib/srand48.c (srand48): Likewise.
4741         * stdlib/srand48_r.c (__srand48_r): Likewise.
4742         * stdlib/swapcontext.c (swapcontext): Likewise.
4743         * stdlib/system.c (__libc_system): Likewise.
4744         * stdlib/tst-strtod.c (expand): Likewise.
4745         * stdlib/tst-strtol.c (expand): Likewise.
4746         * stdlib/tst-strtoll.c (expand): Likewise.
4747         * streams/fattach.c (fattach): Likewise.
4748         * streams/fdetach.c (fdetach): Likewise.
4749         * streams/getmsg.c (getmsg): Likewise.
4750         * streams/isastream.c (isastream): Likewise.
4751         * string/ffs.c (__ffs): Likewise.
4752         * string/ffsll.c (ffsll): Likewise.
4753         * string/memcmp.c (memcmp_common_alignment): Likewise.
4754         (memcmp_not_common_alignment): Likewise.
4755         (MEMCMP): Likewise.
4756         * string/memcpy.c (memcpy): Likewise.
4757         * string/memmove.c (MEMMOVE): Likewise.
4758         * string/memset.c (memset): Likewise.
4759         * string/rawmemchr.c (RAWMEMCHR): Likewise.
4760         * string/strchrnul.c (STRCHRNUL): Likewise.
4761         * string/strerror.c (strerror): Likewise.
4762         * string/strndup.c (__strndup): Likewise.
4763         * string/strverscmp.c (__strverscmp): Likewise.
4764         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
4765         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
4766         (clnttcp_freeres): Likewise.
4767         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
4768         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
4769         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
4770         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
4771         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
4772         (xdr_callhdr): Likewise.
4773         * sunrpc/rpcinfo.c (udpping): Likewise.
4774         (tcpping): Likewise.
4775         (pstatus): Likewise.
4776         (pmapdump): Likewise.
4777         (brdcst): Likewise.
4778         (deletereg): Likewise.
4779         (getprognum): Likewise.
4780         (getvers): Likewise.
4781         (get_inet_address): Likewise.
4782         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
4783         * sunrpc/svc_udp.c (svcudp_create): Likewise.
4784         (svcudp_stat): Likewise.
4785         (svcudp_recv): Likewise.
4786         (svcudp_reply): Likewise.
4787         (svcudp_getargs): Likewise.
4788         (svcudp_freeargs): Likewise.
4789         (svcudp_destroy): Likewise.
4790         * sunrpc/xdr.c (xdr_bytes): Likewise.
4791         (xdr_netobj): Likewise.
4792         (xdr_string): Likewise.
4793         (xdr_wrapstring): Likewise.
4794         * sunrpc/xdr_float.c (xdr_float): Likewise.
4795         (xdr_double): Likewise.
4796         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
4797         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
4798         * sysvipc/ftok.c (ftok): Likewise.
4799         * sysvipc/msgctl.c (msgctl): Likewise.
4800         * sysvipc/msgget.c (msgget): Likewise.
4801         * sysvipc/msgrcv.c (msgrcv): Likewise.
4802         * sysvipc/msgsnd.c (msgsnd): Likewise.
4803         * sysvipc/semget.c (semget): Likewise.
4804         * sysvipc/semop.c (semop): Likewise.
4805         * sysvipc/shmat.c (shmat): Likewise.
4806         * sysvipc/shmctl.c (shmctl): Likewise.
4807         * sysvipc/shmdt.c (shmdt): Likewise.
4808         * sysvipc/shmget.c (shmget): Likewise.
4809         * termios/cfmakeraw.c (cfmakeraw): Likewise.
4810         * termios/speed.c (cfgetospeed): Likewise.
4811         (cfgetispeed): Likewise.
4812         (cfsetospeed): Likewise.
4813         (cfsetispeed): Likewise.
4814         * termios/tcflow.c (tcflow): Likewise.
4815         * termios/tcflush.c (tcflush): Likewise.
4816         * termios/tcgetattr.c (__tcgetattr): Likewise.
4817         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
4818         * termios/tcgetsid.c (tcgetsid): Likewise.
4819         * termios/tcsendbrk.c (tcsendbreak): Likewise.
4820         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
4821         * time/adjtime.c (__adjtime): Likewise.
4822         * time/dysize.c (dysize): Likewise.
4823         * time/ftime.c (ftime): Likewise.
4824         * time/getitimer.c (__getitimer): Likewise.
4825         * time/gettimeofday.c (__gettimeofday): Likewise.
4826         * time/gmtime.c (__gmtime_r): Likewise.
4827         (gmtime): Likewise.
4828         * time/localtime.c (__localtime_r): Likewise.
4829         (localtime): Likewise.
4830         * time/offtime.c (__offtime): Likewise.
4831         * time/settimeofday.c (__settimeofday): Likewise.
4832         * time/stime.c (stime): Likewise.
4833         * time/strftime_l.c (tm_diff): Likewise.
4834         (iso_week_days): Likewise.
4835         * time/strptime.c (strptime): Likewise.
4836         * time/time.c (time): Likewise.
4837         * time/timespec_get.c (timespec_get): Likewise.
4838         * time/tzset.c (tzset_internal): Likewise.
4839         (compute_change): Likewise.
4840         (__tz_compute): Likewise.
4841         * wcsmbs/btowc.c (__btowc): Likewise.
4842         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
4843         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
4844         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
4845         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
4846         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
4847         * wcsmbs/wcscat.c (__wcscat): Likewise.
4848         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
4849         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
4850         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
4851         * wcsmbs/wcscspn.c (wcscspn): Likewise.
4852         * wcsmbs/wcsdup.c (wcsdup): Likewise.
4853         * wcsmbs/wcslen.c (__wcslen): Likewise.
4854         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
4855         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
4856         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
4857         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
4858         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
4859         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
4860         * wcsmbs/wcsspn.c (wcsspn): Likewise.
4861         * wcsmbs/wcsstr.c (wcsstr): Likewise.
4862         * wcsmbs/wcstok.c (wcstok): Likewise.
4863         * wcsmbs/wctob.c (wctob): Likewise.
4864         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
4865         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4866         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
4867         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
4868         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
4869         * wcsmbs/wmemset.c (__wmemset): Likewise.
4870         * wctype/wcfuncs.c (__towlower): Likewise.
4871         (__towupper): Likewise.
4873         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
4874         (lll_unlock_elision): Add adapt_count parameter.
4876 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
4878         * sysdeps/nptl/configure.ac: Do not give errors based on the
4879         results of top-level configure tests.
4880         * sysdeps/nptl/configure: Regenerated.
4882         * configure.ac (libc_cv_Bgroup): Remove configure test.
4883         * configure: Regenerated.
4884         * config.make.in (have-Bgroup): Remove variable.
4886         * configure.ac (sizeof_long_double): Remove configure test.
4887         * configure: Regenerated.
4888         * config.make.in (sizeof-long-double): Remove variable.
4890         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
4891         * configure: Regenerated.
4892         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
4893         variable.
4894         (exceptions): Likewise.
4895         * sysdeps/arm/configure: Regenerated.
4896         * config.make.in (exceptions): Remove variable.
4897         * Makeconfig (uses-callbacks): Use -fexceptions instead of
4898         $(exceptions).
4899         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
4900         (CFLAGS-vdprintf_chk.c): Likewise.
4901         (CFLAGS-printf_chk.c): Likewise.
4902         (CFLAGS-fprintf_chk.c): Likewise.
4903         (CFLAGS-vprintf_chk.c): Likewise.
4904         (CFLAGS-vfprintf_chk.c): Likewise.
4905         (CFLAGS-gets_chk.c): Likewise.
4906         (CFLAGS-fgets_chk.c): Likewise.
4907         (CFLAGS-fgets_u_chk.c): Likewise.
4908         (CFLAGS-fread_chk.c): Likewise.
4909         (CFLAGS-fread_u_chk.c): Likewise.
4910         (CFLAGS-wprintf_chk.c): Likewise.
4911         (CFLAGS-fwprintf_chk.c): Likewise.
4912         (CFLAGS-vwprintf_chk.c): Likewise.
4913         (CFLAGS-vfwprintf_chk.c): Likewise.
4914         (CFLAGS-fgetws_chk.c): Likewise.
4915         (CFLAGS-fgetws_u_chk.c): Likewise.
4916         * libio/Makefile (CFLAGS-fileops.c): Likewise.
4917         (CFLAGS-fputc.c): Likewise.
4918         (CFLAGS-fputwc.c): Likewise.
4919         (CFLAGS-freopen64.c): Likewise.
4920         (CFLAGS-freopen.c): Likewise.
4921         (CFLAGS-fseek.c): Likewise.
4922         (CFLAGS-fseeko64.c): Likewise.
4923         (CFLAGS-fseeko.c): Likewise.
4924         (CFLAGS-ftello64.c): Likewise.
4925         (CFLAGS-ftello.c): Likewise.
4926         (CFLAGS-fwide.c): Likewise.
4927         (CFLAGS-genops.c): Likewise.
4928         (CFLAGS-getc.c): Likewise.
4929         (CFLAGS-getchar.c): Likewise.
4930         (CFLAGS-getwc.c): Likewise.
4931         (CFLAGS-getwchar.c): Likewise.
4932         (CFLAGS-iofclose.c): Likewise.
4933         (CFLAGS-iofflush.c): Likewise.
4934         (CFLAGS-iofgetpos64.c): Likewise.
4935         (CFLAGS-iofgetpos.c): Likewise.
4936         (CFLAGS-iofgets.c): Likewise.
4937         (CFLAGS-iofgetws.c): Likewise.
4938         (CFLAGS-iofputs.c): Likewise.
4939         (CFLAGS-iofputws.c): Likewise.
4940         (CFLAGS-iofread.c): Likewise.
4941         (CFLAGS-iofsetpos64.c): Likewise.
4942         (CFLAGS-iofsetpos.c): Likewise.
4943         (CFLAGS-ioftell.c): Likewise.
4944         (CFLAGS-iofwrite.c): Likewise.
4945         (CFLAGS-iogetdelim.c): Likewise.
4946         (CFLAGS-iogetline.c): Likewise.
4947         (CFLAGS-iogets.c): Likewise.
4948         (CFLAGS-iogetwline.c): Likewise.
4949         (CFLAGS-ioputs.c): Likewise.
4950         (CFLAGS-ioseekoff.c): Likewise.
4951         (CFLAGS-ioseekpos.c): Likewise.
4952         (CFLAGS-iosetbuffer.c): Likewise.
4953         (CFLAGS-iosetvbuf.c): Likewise.
4954         (CFLAGS-ioungetc.c): Likewise.
4955         (CFLAGS-ioungetwc.c): Likewise.
4956         (CFLAGS-oldfileops.c): Likewise.
4957         (CFLAGS-oldiofclose.c): Likewise.
4958         (CFLAGS-oldiofgetpos64.c): Likewise.
4959         (CFLAGS-oldiofgetpos.c): Likewise.
4960         (CFLAGS-oldiofsetpos64.c): Likewise.
4961         (CFLAGS-oldiofsetpos.c): Likewise.
4962         (CFLAGS-peekc.c): Likewise.
4963         (CFLAGS-putc.c): Likewise.
4964         (CFLAGS-putchar.c): Likewise.
4965         (CFLAGS-putwc.c): Likewise.
4966         (CFLAGS-putwchar.c): Likewise.
4967         (CFLAGS-rewind.c): Likewise.
4968         (CFLAGS-wfileops.c): Likewise.
4969         (CFLAGS-wgenops.c): Likewise.
4970         (CFLAGS-oldiofopen.c): Likewise.
4971         (CFLAGS-iofopen.c): Likewise.
4972         (CFLAGS-iofopen64.c): Likewise.
4973         (CFLAGS-oldtmpfile.c): Likewise.
4974         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
4975         (CFLAGS-fprintf.c): Likewise.
4976         (CFLAGS-printf.c): Likewise.
4977         (CFLAGS-vfwprintf.c): Likewise.
4978         (CFLAGS-vfscanf.c): Likewise.
4979         (CFLAGS-vfwscanf.c): Likewise.
4980         (CFLAGS-fscanf.c): Likewise.
4981         (CFLAGS-scanf.c): Likewise.
4982         (CFLAGS-isoc99_vfscanf.c): Likewise.
4983         (CFLAGS-isoc99_vscanf.c): Likewise.
4984         (CFLAGS-isoc99_fscanf.c): Likewise.
4985         (CFLAGS-isoc99_scanf.c): Likewise.
4986         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
4987         (CFLAGS-isoc99_fwscanf.c): Likewise.
4988         (CFLAGS-isoc99_vwscanf.c): Likewise.
4989         (CFLAGS-isoc99_vfwscanf.c): Likewise.
4991         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
4992         after mkstemp64.
4993         * login/tst-utmp.c (do_prepare): Likewise.
4994         * rt/tst-aio.c (do_prepare): Likewise.
4995         * rt/tst-aio64.c (do_prepare): Likewise.
4997 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4999         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
5000         (__lll_lock_elision): Remove adapt_count decrement...
5001         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
5002         (__lll_trylock_elision): Likewise.
5003         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
5004         (__lll_unlock_elision): ... to here. And utilize
5005         new adapt_count parameter.
5006         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
5007         (__lll_unlock_elision): Update to include adapt_count
5008         parameter.
5009         (lll_unlock_elision): Pass pointer to adapt_count
5010         variable.
5012 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5014         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
5015         Add elision adapt_count parameter to list of arguments.
5016         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
5017         (lll_unlock_elision): Update with new parameter list
5018         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
5019         (lll_unlock_elision): Likewise
5020         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
5021         (lll_unlock_elision): Likewise
5023 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
5025         [BZ #19122]
5026         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
5027         attribute_hidden.
5029         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
5030         attribute_hidden.
5031         [IS_IN (rtld)] (__strdup): Likewise.
5032         [IS_IN (rtld)] (__strerror_r): Likewise.
5033         [IS_IN (rtld)] (__strsep_g): Likewise.
5034         [IS_IN (rtld)] (memchr): Likewise.
5035         [IS_IN (rtld)] (memcmp): Likewise.
5036         [IS_IN (rtld)] (memcpy): Likewise.
5037         [IS_IN (rtld)] (memmove): Likewise.
5038         [IS_IN (rtld)] (memset): Likewise.
5039         [IS_IN (rtld)] (rawmemchr): Likewise.
5040         [IS_IN (rtld)] (stpcpy): Likewise.
5041         [IS_IN (rtld)] (strchr): Likewise.
5042         [IS_IN (rtld)] (strcmp): Likewise.
5043         [IS_IN (rtld)] (strlen): Likewise.
5044         [IS_IN (rtld)] (strnlen): Likewise.
5045         [IS_IN (rtld)] (strsep): Likewise.
5047         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
5048         attribute_hidden.
5049         [IS_IN (rtld)] (__strtoul_internal): Likewise.
5051         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
5052         attribute_hidden.
5053         [IS_IN (rtld)] (__libc_sigaction): Likewise.
5055         * include/setjmp.h (__longjmp): Add attribute_hidden.
5056         [IS_IN (rtld)] (__sigsetjmp): Likewise.
5058         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
5059         Add attribute_hidden.
5061         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
5062         [IS_IN (rtld)] (__open): Likewise.
5063         [IS_IN (rtld)] (__fcntl): Likewise.
5065         * include/dirent.h (__opendirat): Add attribute_hidden.
5066         (__getdents): Likewise.
5067         (__getdents64): Likewise.
5068         (__alloc_dir): Likewise.
5069         [IS_IN (rtld)] (__closedir): Likewise.
5070         [IS_IN (rtld)] (__fdopendir): Likewise.
5071         [IS_IN (rtld)] (__readdir): Likewise.
5072         [IS_IN (rtld)] (__readdir64): Likewise.
5073         [IS_IN (rtld)] (__rewinddir): Likewise.
5075         * include/dlfcn.h (_dl_catch_error): Moved to ...
5076         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
5077         attribute_hidden.
5079         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
5080         (_itoa_word): Likewise.
5082         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
5083         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
5084         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
5085         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
5086         (_dl_higher_prime_number): Likewise.
5087         (_dl_debug_printf_c): Likewise.
5088         (_dl_signal_cerror): Likewise.
5089         (_dl_receive_error): Likewise.
5090         (_dl_reloc_bad_type): Likewise.
5091         (_dl_resolve_conflicts): Likewise.
5092         (_dl_check_all_versions): Likewise.
5093         (_dl_check_map_versions): Likewise.
5094         (_dl_sort_fini): Likewise.
5095         (_dl_debug_initialize): Likewise.
5096         (_dl_init_paths): Likewise.
5097         (_dl_show_auxv): Likewise.
5098         (_dl_next_ld_env_entry): Likewise.
5099         (_dl_important_hwcaps): Likewise.
5100         (_dl_load_cache_lookup): Likewise.
5101         (_dl_update_slotinfo): Likewise.
5102         (_dl_show_scope): Likewise.
5104         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
5105         attribute_hidden.
5106         (_wordcopy_fwd_dest_aligned): Likewise.
5107         (_wordcopy_bwd_aligned): Likewise.
5108         (_wordcopy_bwd_dest_aligned): Likewise.
5110         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
5111         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
5112         Likewise.
5113         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
5114         Likewise.
5115         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
5117 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
5119         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
5120         GCC 5 requirement.
5122 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
5124         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
5125         test.
5126         * sysdeps/i386/configure: Regenerated.
5127         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
5128         code unconditional.
5130         * configure.ac (libc_cv_asm_previous_directive): Remove configure
5131         test.
5132         (libc_cv_asm_popsection_directive): Likewise.
5133         * configure: Regenerated.
5134         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
5135         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
5136         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
5137         (__make_section_unallocated): Make definition unconditional.
5138         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
5139         Remove conditional definition.
5140         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
5141         (__make_section_unallocated): Likewise.
5143         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
5144         * configure: Regenerated.
5145         * config.make.in (static-libgcc): Remove variable.
5146         * Makerules (build-shlib-helper): Use -static-libgcc instead of
5147         $(static-libgcc).
5148         (build-module-helper): Likewise.
5150         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
5151         * configure: Regenerated.
5153 2015-10-15  Florian Weimer  <fweimer@redhat.com>
5155         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
5156         (struct char_buffer): New type.
5157         (char_buffer_start, char_buffer_size, char_buffer_error)
5158         (char_buffer_rewind, char_buffer_add): New functions.
5159         (ADDW): Remove macro, replaced by the char_buffer_add function.
5160         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
5161         of extend_alloca.  Make control flow more explicit.
5163 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
5165         [BZ #19137]
5166         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
5167         Add -fomit-frame-pointer.
5168         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
5170 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
5172         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
5173         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
5174         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
5175         only if !__GNUC_PREREQ (5,0).
5176         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
5177         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
5178         (INTERNAL_SYSCALL_NCS): Likewise.
5179         (LOADREGS_0): New macro for GCC 5.
5180         (ASMARGS_0): Likewise.
5181         (LOADREGS_1): Likewise.
5182         (ASMARGS_1): Likewise.
5183         (LOADREGS_2): Likewise.
5184         (ASMARGS_2): Likewise.
5185         (LOADREGS_3): Likewise.
5186         (ASMARGS_3): Likewise.
5187         (LOADREGS_4): Likewise.
5188         (ASMARGS_4): Likewise.
5189         (LOADREGS_5): Likewise.
5190         (ASMARGS_5): Likewise.
5191         (LOADREGS_6): Likewise.
5192         (ASMARGS_6): Likewise.
5194 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
5196         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
5197         -fomit-frame-pointer.
5198         (CFLAGS-mmap64.c): Likewise.
5199         (CFLAGS-semtimedop.c): Likewise.
5200         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
5201         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
5202         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5203         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
5205 2015-10-15  Florian Weimer  <fweimer@redhat.com>
5207         [BZ #18928]
5208         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
5209         _dl_pointer_guard member.
5210         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
5211         initializer.
5212         (security_init): Always set up pointer guard.
5213         (process_envvars): Do not process LD_POINTER_GUARD.
5215 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
5217         [BZ #19134]
5218         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
5219         (.LC2): Likewise.
5220         (.LC3): Likewise.
5221         (__lround): Do not add 0.5 to integer or out-of-range arguments.
5223 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5225         [BZ #19129]
5226         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
5227         r0 and r1.
5229 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
5231         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
5233 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
5235         * include/stap-probe.h: Fix macro definition formatting.
5237 2015-10-14  Florian Weimer  <fweimer@redhat.com>
5239         [BZ #19074]
5240         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
5241         load and store num_ifs.
5243 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
5245         [BZ #18822]
5246         * sysdeps/unix/sysv/linux/sched_getaffinity.c
5247         (__sched_getaffinity_new): Add libc_hidden_proto and
5248         libc_hidden_def.
5250 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
5252         [BZ #19007]
5253         * scripts/localplt.awk: Also allow GOT references.
5254         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
5255         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
5256         with "+ REL R_386_GLOB_DAT".
5257         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
5258         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
5260 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
5262         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
5263         INLINE_SYSCALL_ERROR_RETURN_VALUE.
5264         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
5265         Likewise.
5266         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
5267         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
5268         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
5269         INTERNAL_SYSCALLINTERNAL_SYSCALL and
5270         INLINE_SYSCALL_ERROR_RETURN_VALUE.
5271         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
5272         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5273         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
5274         Likewise.
5275         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5277 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
5279         [BZ #19125]
5280         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
5281         <math_private.h> and <stdint.h>.
5282         (__llround): Avoid conversions to and from long long int, and
5283         subtractions, where those might raise spurious exceptions.
5284         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
5285         <math_private.h> and <stdint.h>.
5286         (__llroundf): Avoid conversions to and from long long int, and
5287         subtractions, where those might raise spurious exceptions.
5289 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
5291         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
5292         INLINE_SYSCALL_ERROR_RETURN_VALUE.
5293         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
5294         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
5295         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
5296         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
5297         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
5298         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
5299         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
5300         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
5301         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5302         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5303         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
5304         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
5305         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
5306         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
5307         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
5308         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
5309         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
5310         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
5311         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
5312         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
5313         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
5314         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
5315         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
5316         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
5317         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
5318         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
5319         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
5320         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
5321         (__xstat64_conv): Likewise.
5322         (__xstat32_conv): Likewise.
5324 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
5326         * sysdeps/unix/sysv/linux/sysdep.h: New file.
5327         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
5328         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
5329         <sysdeps/unix/sysv/linux/sysdep.h>.
5330         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
5331         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
5332         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
5333         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5334         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
5335         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
5336         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
5337         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
5338         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
5339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5341         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5342         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5343         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5344         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
5345         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5346         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
5347         (sysdep-dl-routines): Add sysdep.
5348         [$(subdir) == nptl] (libpthread-routines): Likewise.
5349         [$(subdir) == rt] (librt-routines): Likewise.
5350         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
5351         PIC when branching to SYSCALL_ERROR_LABEL.
5352         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
5353         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
5354         <sysdeps/unix/sysv/linux/sysdep.h>.
5355         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
5356         (SYSCALL_ERROR_ERRNO): Removed.
5357         (SYSCALL_ERROR_HANDLER): Changed to empty.
5358         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
5359         (__syscall_error): New prototype.
5360         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
5361         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
5363 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
5365         [BZ #19124]
5366         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
5367         (_dl_runtime_resolve_avx512): Make it a hidden alias of
5368         _dl_runtime_resolve_avx.
5369         (_dl_runtime_profile_avx512): Make it a hidden alias of
5370         _dl_runtime_profile_avx.
5372 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
5374         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
5375         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
5376         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
5377         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
5379         [BZ #16422]
5380         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
5381         New configure test.
5382         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
5383         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
5384         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
5385         <math_private.h> and <stdint.h>.
5386         (__llrint): Avoid conversions to long long int where those might
5387         raise spurious exceptions.
5388         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
5389         <math_private.h> and <stdint.h>.
5390         (__llrintf): Avoid conversions to long long int where those might
5391         raise spurious exceptions.
5393 2015-10-12  Andreas Schwab  <schwab@suse.de>
5395         [BZ #18969]
5396         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
5397         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
5398         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
5399         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
5400         $(gen-locales).
5401         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
5402         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
5403         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
5404         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
5405         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
5406         $(gen-locales).
5407         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
5408         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
5409         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
5410         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
5411         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
5412         ($(objpfx)tst-ftell-active-handler.out)
5413         ($(objpfx)tst-ftell-append.out)
5414         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
5415         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
5416         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
5417         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
5418         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
5419         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
5420         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
5421         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
5422         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
5423         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
5424         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
5425         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
5426         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
5427         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
5428         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
5429         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
5430         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
5431         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
5432         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
5433         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
5434         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
5435         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
5436         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
5437         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
5438         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
5439         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
5440         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
5441         $(gen-locales).
5442         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
5443         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
5444         $(gen-locales).
5445         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
5446         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
5447         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
5448         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
5449         $(gen-locales).
5450         * libio/tst_wprintf2.c (main): Use explicit locale.
5451         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
5453 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5455         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
5456         __msg_sig_post.
5457         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
5459 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
5461         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5462         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5464         * sysdeps/arm/libm-test-ulps: Regenerated.
5466         [BZ #15470]
5467         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
5469         [BZ #16399]
5470         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
5471         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
5472         and <fix-fp-int-convert-overflow.h>.
5473         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
5474         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5475         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
5476         and <fix-fp-int-convert-overflow.h>.
5477         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
5478         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5479         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
5480         <fix-fp-int-convert-overflow.h>.
5481         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
5482         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5483         * sysdeps/ieee754/dbl-64/s_lround.c: Include
5484         <fix-fp-int-convert-overflow.h>.
5485         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
5486         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5487         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
5488         and <fix-fp-int-convert-overflow.h>.
5489         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
5490         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5491         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
5492         <limits.h> and <fix-fp-int-convert-overflow.h>.
5493         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
5494         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5495         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
5496         and <fix-fp-int-convert-overflow.h>.
5497         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
5498         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5499         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
5500         and <fix-fp-int-convert-overflow.h>.
5501         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
5502         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5503         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
5505 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
5507         [BZ #18589]
5508         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
5509         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
5510         $(gen-locales).
5512 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5513             Phil Blundell <pb@pbcl.net>
5515         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
5516         * nptl/tst-cancel26.c: New file.
5517         * nptl/tst-cancel27.c: Likewise.
5519 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
5521         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
5522         __ILP32__ isn't defined.
5523         (lrint): Likewise.
5524         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
5525         (lrintf): Likewise.
5526         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
5527         (lrintl): Likewise.
5528         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
5529         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
5530         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
5532 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5534         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
5535         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
5537         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
5538         file.
5539         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
5540         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
5542 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
5544         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
5545         configure test.
5546         * sysdeps/i386/configure: Regenerated.
5547         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
5548         configure test.
5549         * sysdeps/x86_64/configure: Regenerated.
5550         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
5551         Make code unconditional.
5553         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
5554         test.
5555         * sysdeps/i386/configure: Regenerated.
5556         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
5557         test.
5558         * sysdeps/x86_64/configure: Regenerated.
5559         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
5560         Make code unconditional.
5561         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
5562         Likewise.
5563         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
5564         Likewise.
5565         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5566         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
5567         code unconditional.
5568         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5569         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
5570         code unconditional.
5571         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5572         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
5573         code unconditional.
5574         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
5575         code unconditional.
5576         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5577         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
5578         code unconditional.
5579         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5580         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
5581         code unconditional.
5582         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5583         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
5584         code unconditional.
5585         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5586         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
5587         code unconditional.
5588         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5589         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
5591         [BZ #19095]
5592         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
5593         mantissa to long int before shifting left.
5595 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
5597         [BZ #19094]
5598         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
5599         <limits.h>.
5600         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
5601         when result overflows but exception would not result from cast.
5602         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
5603         <limits.h>.
5604         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
5605         when result overflows but exception would not result from cast.
5606         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
5607         <limits.h>.
5608         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
5609         when result overflows but exception would not result from cast.
5610         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
5611         <limits.h>.
5612         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
5613         when result overflows but exception would not result from cast.
5614         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
5615         <limits.h>.
5616         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
5617         when result overflows but exception would not result from cast.
5618         * math/libm-test.inc (lrint_test_data): Add more tests.
5619         (llrint_test_data): Likewise.
5621 2015-10-08  Roland McGrath  <roland@hack.frob.com>
5623         [BZ #18872]
5624         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
5625         Move out from under [$(run-built-tests) = yes] conditional.
5626         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
5627         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
5629 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
5631         [BZ #18589]
5632         * string/Makefile (tests): Add bug-strcoll2.
5633         (LOCALES): Add cs_CZ.UTF-8.
5634         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
5636         [BZ #18589]
5637         * string/bug-strcoll2.c: New file.
5638         * locale/categories.def: Revert commit
5639         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
5640         * locale/langinfo.h: Likewise.
5641         * locale/localeinfo.h: Likewise.
5642         * locale/C-collate.c: Likewise.
5643         * locale/programs/ld-collate.c (collate_output): Likewise.
5644         * string/strcoll_l.c (STRDIFF): Likewise.
5645         (STRCOLL): Likewise.
5646         * wcsmbs/wcscoll_l.c: Likewise.
5648 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
5650         * math/libm-test.inc (lround_test_data): Do not expect the absence
5651         of "inexact" for some tests with non-integer arguments.
5652         (llround_test_data): Likewise.
5654         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
5655         test.
5656         (libc_cv_cc_sse2avx): Likewise.
5657         * sysdeps/i386/configure: Regenerated.
5658         * sysdeps/i386/i686/multiarch/Makefile
5659         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
5660         [$(subdir) = math].
5661         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
5662         code unconditional.
5663         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
5664         Likewise.
5665         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
5666         Likewise.
5667         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
5668         Likewise.
5669         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
5670         test.
5671         (libc_cv_cc_sse2avx): Likewise.
5672         * sysdeps/x86_64/configure: Regenerated.
5673         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
5674         unconditional.
5675         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
5676         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
5677         unconditional.
5678         (_dl_runtime_profile)
5679         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
5680         conditional code.
5681         * sysdeps/x86_64/fpu/multiarch/Makefile
5682         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
5683         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
5684         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5685         * sysdeps/x86_64/fpu/multiarch/e_exp.c
5686         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5687         * sysdeps/x86_64/fpu/multiarch/e_log.c
5688         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5689         * sysdeps/x86_64/fpu/multiarch/s_atan.c
5690         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5691         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
5692         Likewise.
5693         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
5694         Likewise.
5695         * sysdeps/x86_64/fpu/multiarch/s_sin.c
5696         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5697         * sysdeps/x86_64/fpu/multiarch/s_tan.c
5698         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5699         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
5700         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
5701         (HAVE_SSE2AVX_SUPPORT): Likewise.
5703 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
5705         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
5706         instead of #pragma optimize.
5708 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
5710         [BZ #17195]
5711         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
5712         as is similarly done in systrim and _int_free already.
5714 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5716         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
5718 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
5720         [BZ #19088]
5721         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
5722         <limits.h>.
5723         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
5724         overflows but exception would not result from cast.
5725         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
5726         and <limits.h>.
5727         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
5728         overflows but exception would not result from cast.
5729         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
5730         <limits.h>.
5731         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
5732         overflows but exception would not result from cast.
5733         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
5734         <limits.h>.
5735         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
5736         overflows but exception would not result from cast.
5737         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
5738         <limits.h>.
5739         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
5740         overflows but exception would not result from cast.
5741         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
5742         <limits.h>.
5743         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
5744         overflows but exception would not result from cast.
5745         * math/libm-test.inc (lround_test_data): Add more tests.
5746         (llround_test_data): Likewise.
5748 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
5750         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
5751         (CFLAGS-ialloc.c): Ditto.
5752         (CFLAGS-scheck.c): Ditto.
5754 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
5756         [BZ #19086]
5757         * manual/filesys.texi (Storage Allocation): Fix argument order for
5758         posix_fallocate64.
5760 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
5762         [BZ #19085]
5763         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
5764         exponent below 48 inside case for non-overflowing exponent.
5765         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
5767 2015-10-07  Florian Weimer  <fweimer@redhat.com>
5769         * iconvdata/cp737.h (from_idx): Add const.
5770         * iconvdata/cp775.h (from_idx): Likewise.
5772 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
5774         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
5775         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
5776         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
5778         [BZ #19079]
5779         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
5780         file, conditioned on [!_LP64].
5781         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
5782         [!_LP64] (__lround): Do not define as function or alias.
5783         [!_LP64] (lround): Likewise.
5784         [!_LP64] (__lroundl): Likewise.
5785         [!_LP64] (lroundl): Likewise.
5786         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
5787         macro.
5788         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
5789         Likewise.
5791 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
5793         * math/libm-test.inc (lrint_test_data): Add more tests.
5794         (llrint_test_data): Likewise.
5795         (lround_test_data): Likewise.
5796         (llround_test_data): Likewise.
5798         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
5799         (llrint_test_data): Add tests used for lrint.
5801         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
5802         test.
5803         * sysdeps/i386/configure: Regenerated.
5804         * sysdeps/i386/i686/multiarch/Makefile
5805         [$(config-cflags-sse4) = yes]: Make code unconditional.
5806         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
5807         Likewise.
5808         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
5809         Likewise.
5810         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
5811         test.
5812         * sysdeps/x86_64/configure: Regenerated.
5813         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
5814         Make code unconditional.
5815         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
5816         Likewise.
5817         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
5818         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
5820         * scripts/rpm2dynsym.sh: Remove file.
5822 2015-10-06  Florian Weimer  <fweimer@redhat.com>
5824         * configure.ac (libc_cv_cxx_thread_local): Define.
5825         * configure: Regenerate.
5826         * config.make.in (have-cxx-thread_local): Define.
5827         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
5828         (LDLIBS-tst-thread_local1): Define.
5829         (tests): Add tst-thread_local1.
5830         [have-cxx-thread_local != yes] (tests-unsupported): Add
5831         tst-thread_local1.
5832         * nptl/tst-thread_local1.cc: New file.
5834 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
5836         [BZ #19078]
5837         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
5838         (u_thres): Likewise.
5839         (__expl): Determine whether to call __kernel_standard_l based on
5840         value of result, not argument.
5842         * math/libm-test.inc (scalb_test_data): Add more expectations for
5843         the "inexact" exception.
5845         [BZ #19077]
5846         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
5847         0.0L for argument 1.0L.
5849         [BZ #19076]
5850         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
5851         constant 0.0L when computing infinite result.
5853 2015-10-06  Florian Weimer  <fweimer@redhat.com>
5855         [BZ #10432]
5856         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
5857         malloc_usable_size.
5859 2015-10-06  Florian Weimer  <fweimer@redhat.com>
5861         [BZ #19018]
5862         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
5863         Mangle function pointer before storing it.
5864         (__call_tls_dtors): Demangle function pointer before calling it.
5866 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
5868         [BZ #19012]
5869         * iconv/gconv_db.c (gen_steps): Check for additional errors.
5870         Clean up on failure.
5872 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
5874         [BZ #19071]
5875         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
5876         long int variable to store possibly incremented high part of
5877         mantissa.
5878         * math/libm-test.inc (lround_test_data): Add tests used for
5879         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
5880         for tests requiring 64-bit long.  Do not condition tests on
5881         [TEST_FLOAT] unnecessarily.
5882         (llround_test_data): Add tests used for lround.  Add another
5883         expectation for the "inexact" exception.  Do not condition tests
5884         on [TEST_FLOAT] unnecessarily.
5886         [BZ #887]
5887         [BZ #19049]
5888         [BZ #19050]
5889         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
5890         * sysdeps/ieee754/dbl-64/e_log10.c: Include
5891         <fix-int-fp-convert-zero.h>.
5892         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5893         * sysdeps/ieee754/dbl-64/e_log2.c: Include
5894         <fix-int-fp-convert-zero.h>.
5895         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5896         * sysdeps/ieee754/dbl-64/s_erf.c: Include
5897         <fix-int-fp-convert-zero.h>.
5898         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5899         * sysdeps/ieee754/dbl-64/s_logb.c: Include
5900         <fix-int-fp-convert-zero.h>.
5901         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5902         * sysdeps/ieee754/flt-32/e_log10f.c: Include
5903         <fix-int-fp-convert-zero.h>.
5904         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5905         * sysdeps/ieee754/flt-32/e_log2f.c: Include
5906         <fix-int-fp-convert-zero.h>.
5907         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5908         * sysdeps/ieee754/flt-32/s_erff.c: Include
5909         <fix-int-fp-convert-zero.h>.
5910         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5911         * sysdeps/ieee754/flt-32/s_logbf.c: Include
5912         <fix-int-fp-convert-zero.h>.
5913         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5914         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
5915         <fix-int-fp-convert-zero.h>.
5916         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5917         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
5918         <fix-int-fp-convert-zero.h>.
5919         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5920         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
5921         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
5922         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
5923         file.
5924         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
5926 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
5928         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5930 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
5932         [BZ #19059]
5933         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
5934         overflowing computation.
5935         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5936         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
5937         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
5938         Likewise.
5939         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
5940         Likewise.
5941         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
5942         Likewise.
5943         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5944         Likewise.
5945         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
5946         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5947         Likewise.
5948         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5949         Likewise.
5950         * math/libm-test.inc (nexttoward_test_data): Add more tests.
5952         * nss/rewrite_field.c (__nss_rewrite_field): Use
5953         internal_function.
5954         * nss/valid_field.c (__nss_valid_field): Likewise.
5955         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
5957 2015-10-02  Florian Weimer  <fweimer@redhat.com>
5959         [BZ #18724]
5960         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
5961         (__nss_invalid_field_characters, __nss_valid_field)
5962         (__nss_valid_list_field, __nss_rewrite_field): Declare.
5963         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
5964         tst-field.c: New file.
5965         * nss/Makefile (routines): Add valid_field, rewrite_field.
5966         (tests-static): Define unconditionally.
5967         (tests): Include tests-static.
5968         [build-static-nss] (tests-static): Use append.
5969         [build-static-nss] (tests): Remove modification.
5970         * nss/getent.c (print_group): Call putgrent.  Report error.
5971         (print_gshadow): Call putsgent.  Report error.
5972         (print_passwd): Call putpwent.  Report error.
5973         (print_shadow): Call putspent.  Report error.
5974         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
5975         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
5976         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
5977         name, password, directory, shell fields for valid syntax.  Rewrite
5978         GECOS field to match syntax.
5979         * pwd/Makefile (tests): Add tst-putpwent.
5980         * pwd/tst-putpwent.c: New file.
5981         * grp/putgrent.c (putgrent): Convert to ISO function definition.
5982         Check grName, grpasswd, gr_mem fields for valid syntax.
5983         Change loop variable i to size_t.
5984         * grp/Makefile (tests): Add tst-putgrent.
5985         * grp/tst-putgrent.c: New file.
5986         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
5987         valid syntax.
5988         * shadow/Makefile (tests): Add tst-putspent.
5989         * shadow/tst-putspent.c: New file.
5990         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
5991         sg_mem fields for valid syntax.
5992         * gshadow/Makefile (tests): Add tst-putsgent.
5993         * gshadow/tst-putsgent.c: New file.
5995 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5997         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
5998         assembly instructions.
6000 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6002         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
6003         prefix from operands.
6005 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
6007         [BZ #16347]
6008         [BZ #19046]
6009         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
6010         <libc-internal.h>.
6011         (MAXLGM): Do not use diagnostic control macros.
6012         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
6013         threshold for ldbl-128ibm.
6014         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
6015         instead of multiplying by log then subtracting.
6016         * math/auto-libm-test-in: Add more tests of lgamma.
6017         * math/auto-libm-test-out: Regenerated.
6019         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
6020         (TYPE_HEX_DIG): Likewise.
6021         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
6022         precisions when printing floating-point numbers.
6023         (check_float_internal): Likewise.
6025 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
6027         [BZ #16620]
6028         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
6029         of log (10) rounded downward to 48 bits.
6030         (log10_low): Use corresponding low part of log (10).
6032         [BZ #19032]
6033         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
6034         compute result as (x - x) / (x - x) not as 0 / 0.
6035         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
6036         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
6038         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
6039         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
6040         and expm1.
6041         * math/auto-libm-test-out: Regenerated.
6042         * math/libm-test.inc (acos_test_data): Add more tests.
6043         (asin_test_data): Likewise.
6044         (asinh_test_data): Likewise.
6045         (atan_test_data): Likewise.
6046         (atanh_test_data): Likewise.
6047         (atan2_test_data): Likewise.
6048         (cbrt_test_data): Likewise.
6049         (ceil_test_data): Likewise.
6050         (copysign_test_data): Likewise.
6051         (cos_test_data): Likewise.
6052         (cosh_test_data): Likewise.
6053         (erf_test_data): Likewise.
6054         (erfc_test_data): Likewise.
6055         (exp_test_data): Likewise.
6056         (exp10_test_data): Likewise.
6057         (exp2_test_data): Likewise.
6058         (expm1_test_data): Likewise.
6059         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6061 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
6063         [BZ #19006]
6064         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
6065         to ...
6066         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
6067         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
6068         to ...
6069         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
6070         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
6071         to ...
6072         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
6073         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
6074         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
6075         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
6076         to ...
6077         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
6078         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
6079         Moved to ...
6080         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
6081         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
6082         Moved to ...
6083         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
6084         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
6085         to ...
6086         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
6087         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
6088         Moved to ...
6089         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
6090         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
6091         to ...
6092         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
6093         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
6094         Removed.
6095         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
6096         Likewise.
6097         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
6098         Likewise.
6099         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
6100         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
6101         Likewise.
6102         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
6103         Likewise.
6104         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
6105         Likewise.
6106         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
6107         Likewise.
6108         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
6109         Likewise.
6110         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
6111         Likewise.
6112         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
6113         Likewise.
6114         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
6115         Likewise.
6116         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
6117         Likewise.
6118         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
6119         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
6120         Likewise.
6121         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
6122         Likewise.
6123         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
6124         Likewise.
6125         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
6126         Likewise.
6127         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
6128         Likewise.
6129         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
6130         Replace ../i486/pthread_cond_timedwait.S with
6131         ../pthread_cond_timedwait.S.
6133 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
6135         * math/libm-test.inc (acos_test_data): Refine expectations for
6136         errno and "inexact" exceptions.
6137         (acosh_test_data): Likewise.
6138         (asin_test_data): Likewise.
6139         (asinh_test_data): Likewise.
6140         (atan_test_data): Likewise.
6141         (atanh_test_data): Likewise.
6142         (atan2_test_data): Likewise.
6143         (cbrt_test_data): Likewise.
6144         (ceil_test_data): Likewise.
6145         (copysign_test_data): Likewise.
6146         (cosh_test_data): Likewise.
6147         (erf_test_data): Likewise.
6148         (erfc_test_data): Likewise.
6149         (exp_test_data): Likewise.
6150         (exp10_test_data): Likewise.
6151         (exp2_test_data): Likewise.
6152         (expm1_test_data): Likewise.
6153         (fabs_test_data): Likewise.
6154         (floor_test_data): Likewise.
6155         (fma_test_data): Likewise.
6156         (fmax_test_data): Likewise.
6157         (fmin_test_data): Likewise.
6158         (fmod_test_data): Likewise.
6159         (fpclassify_test_data): Likewise.
6160         (frexp_test_data): Likewise.
6161         (hypot_test_data): Likewise.
6162         (ilogb_test_data): Likewise.
6163         (isgreater_test_data): Likewise.
6164         (isgreaterequal_test_data): Likewise.
6165         (isinf_test_data): Likewise.
6166         (isless_test_data): Likewise.
6167         (islessequal_test_data): Likewise.
6168         (islessgreater_test_data): Likewise.
6169         (isnan_test_data): Likewise.
6170         (isnormal_test_data): Likewise.
6171         (issignaling_test_data): Likewise.
6172         (isunordered_test_data): Likewise.
6173         (j0_test_data): Likewise.
6174         (j1_test_data): Likewise.
6175         (jn_test_data): Likewise.
6176         (lgamma_test_data): Likewise.
6177         (lrint_test_data): Likewise.
6178         (llrint_test_data): Likewise.
6179         (log_test_data): Likewise.
6180         (log10_test_data): Likewise.
6181         (log1p_test_data): Likewise.
6182         (log2_test_data): Likewise.
6183         (logb_test_data): Likewise.
6184         (lround_test_data): Likewise.
6185         (llround_test_data): Likewise.
6186         (modf_test_data): Likewise.
6187         (nearbyint_test_data): Likewise.
6188         (nextafter_test_data): Likewise.
6189         (nexttoward_test_data): Likewise.
6190         (pow_test_data): Likewise.
6191         (remainder_test_data): Likewise.
6192         (remquo_test_data): Likewise.
6193         (rint_test_data): Likewise.
6194         (round_test_data): Likewise.
6195         (signbit_test_data): Likewise.
6196         (sinh_test_data): Likewise.
6197         (sqrt_test_data): Likewise.
6198         (tanh_test_data): Likewise.
6199         (tgamma_test_data): Likewise.
6200         (trunc_test_data): Likewise.
6201         (y0_test_data): Likewise.
6202         (y1_test_data): Likewise.
6203         (yn_test_data): Likewise.
6204         (significand_test_data): Likewise.
6206 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
6208         * manual/filesys.texi (Storage Allocation): Document that
6209         posix_fallocate emulation fails when fd is open with O_WRONLY.
6211 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
6213         [BZ #19016]
6214         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
6215         allow more cases with X^2 + Y^2 >= 0.5.
6216         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
6217         normal element in sum instead of special-casing based on values of
6218         arguments.
6219         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
6220         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
6221         -1 as normal element in sum instead of special-casing based on
6222         values of arguments.
6223         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
6224         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
6225         (__x2y2m1): Update comment.
6226         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
6227         as normal element in sum instead of special-casing based on values
6228         of arguments.
6229         * math/s_clog.c (__clog): Handle more cases using log1p without
6230         hypot.
6231         * math/s_clog10.c (__clog10): Likewise.
6232         * math/s_clog10f.c (__clog10f): Likewise.
6233         * math/s_clog10l.c (__clog10l): Likewise.
6234         * math/s_clogf.c (__clogf): Likewise.
6235         * math/s_clogl.c (__clogl): Likewise.
6236         * math/auto-libm-test-in: Add more tests of clog and clog10.
6237         * math/auto-libm-test-out: Regenerated.
6238         * sysdeps/i386/fpu/libm-test-ulps: Update.
6239         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6241 2015-09-28  Martin Sebor  <msebor@redhat.com>
6243         [BZ #18969]
6244         * string/Makefile (LOCALES): Define.
6245         (gen-locales.mk): Include.
6246         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
6247         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
6248         * string/tst-strxfrm2.c (do_test): Print the name of the locale
6249         on setlocale failure.
6251 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
6253         [BZ #18985]
6254         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
6255         (__strftime_internal): Likewise.
6256         * time/tst-strftime.c (do_bz18985): New test.
6257         (do_test): Call it.
6259 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
6261         [BZ #18956]
6262         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
6263         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
6264         extracting high part.
6265         * math/auto-libm-test-in: Add another test of pow.
6266         * math/auto-libm-test-out: Regenerated.
6267         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6269 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
6271         [BZ #18825]
6272         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
6273         New macro.
6274         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
6275         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
6276         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
6277         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
6278         DBL_NARROW_EVAL, reloading the PIC register as needed.
6279         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
6280         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
6281         FLT_NARROW_EVAL.  Use separate return path for case when first
6282         argument is NaN.
6283         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
6284         DEFINE_LDBL_MIN.
6285         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
6286         PIC register.
6287         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
6288         math_check_force_underflow_nonneg.
6289         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
6290         underflow for subnormal result.
6291         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
6292         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
6293         math_check_force_underflow_nonneg.
6294         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
6295         math_check_force_underflow.
6296         * sysdeps/x86_64/fpu/x86_64-math-asm.h
6297         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
6298         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
6299         DEFINE_LDBL_MIN.
6300         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
6301         * math/auto-libm-test-in: Add more tests of pow.
6302         * math/auto-libm-test-out: Regenerated.
6304 2015-09-25  Florian Weimer  <fweimer@redhat.com>
6306         * nss/bug17079.c (init_test_items): Add diagnostic for
6307         inconsistent entries.
6308         (test_buffer_size): Skip inconsistent entries.
6310 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
6312         [BZ #13304]
6313         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
6314         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
6315         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
6317         [BZ #13304]
6318         * sysdeps/microblaze/s_fma.c: New file.
6319         * sysdeps/microblaze/s_fmaf.c: Likewise.
6320         * sysdeps/microblaze/sfp-machine.h: Likewise.
6322 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
6324         [BZ #17250]
6325         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
6326         member.
6328 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
6330         [BZ #18803]
6331         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
6332         (MO): New macro.
6333         (__ieee754_hypot) [PIC]: Load PIC register.
6334         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
6335         DBL_NARROW_EVAL.
6336         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
6337         math_check_force_underflow_nonneg in case where result might be
6338         tiny.
6339         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
6340         Likewise.
6341         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
6342         Likewise.
6343         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
6344         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
6345         * math/auto-libm-test-in: Add more tests of hypot.
6346         * math/auto-libm-test-out: Regenerated.
6348 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
6350         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
6352 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
6354         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
6355         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
6356         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
6357         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
6358         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
6359         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
6360         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
6362         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
6363         LOAD_PIC_REG.
6365         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
6366         (FLT_CHECK_FORCE_UFLOW): Likewise.
6367         (DBL_CHECK_FORCE_UFLOW): Likewise.
6368         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
6369         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
6370         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
6371         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
6372         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
6373         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
6374         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
6375         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
6376         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
6377         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6378         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
6379         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
6380         (flt_min): Replace with use of DEFINE_FLT_MIN.
6381         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
6382         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
6383         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6384         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
6385         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
6386         (flt_min): Replace with use of DEFINE_FLT_MIN.
6387         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
6388         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
6389         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6390         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
6391         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
6392         (flt_min): Replace with use of DEFINE_FLT_MIN.
6393         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
6394         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
6395         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
6396         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
6397         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
6398         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
6399         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
6400         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
6401         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6402         (__atan): Use DBL_CHECK_FORCE_UFLOW.
6403         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
6404         (flt_min): Replace with use of DEFINE_FLT_MIN.
6405         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
6406         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
6407         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6408         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
6409         main computation.
6410         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
6411         (flt_min): Replace with use of DEFINE_FLT_MIN.
6412         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
6413         main computation.
6414         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
6415         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6416         (MO): New macro.
6417         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
6418         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
6419         (flt_min): Replace with use of DEFINE_FLT_MIN.
6420         (MO): New macro.
6421         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
6422         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
6423         (__log1pl): Use MO.
6425         [BZ #19003]
6426         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
6427         $(config-cflags-nofma).
6429 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6431         * sysdeps/aarch64/libm-test-ulps: Regenerated.
6433 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
6435         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
6436         (TWO127): Likewise.
6438         * sysdeps/generic/math_private.h (fabs_tg): New macro.
6439         (min_of_type): Likewise.
6440         (math_check_force_underflow): Likewise.
6441         (math_check_force_underflow_nonneg): Likewise.
6442         (math_check_force_underflow_complex): Likewise.
6443         * math/e_exp2l.c (__ieee754_exp2l): Use
6444         math_check_force_underflow_nonneg.
6445         * math/k_casinh.c (__kernel_casinh): Likewise.
6446         * math/k_casinhf.c (__kernel_casinhf): Likewise.
6447         * math/k_casinhl.c (__kernel_casinhl): Likewise.
6448         * math/s_catan.c (__catan): Use
6449         math_check_force_underflow_complex.
6450         * math/s_catanf.c (__catanf): Likewise.
6451         * math/s_catanh.c (__catanh): Likewise.
6452         * math/s_catanhf.c (__catanhf): Likewise.
6453         * math/s_catanhl.c (__catanhl): Likewise.
6454         * math/s_catanl.c (__catanl): Likewise.
6455         * math/s_ccosh.c (__ccosh): Likewise.
6456         * math/s_ccoshf.c (__ccoshf): Likewise.
6457         * math/s_ccoshl.c (__ccoshl): Likewise.
6458         * math/s_cexp.c (__cexp): Likewise.
6459         * math/s_cexpf.c (__cexpf): Likewise.
6460         * math/s_cexpl.c (__cexpl): Likewise.
6461         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
6462         * math/s_clog10.c (__clog10): Likewise.
6463         * math/s_clog10f.c (__clog10f): Likewise.
6464         * math/s_clog10l.c (__clog10l): Likewise.
6465         * math/s_clogf.c (__clogf): Likewise.
6466         * math/s_clogl.c (__clogl): Likewise.
6467         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
6468         * math/s_csinf.c (__csinf): Likewise.
6469         * math/s_csinh.c (__csinh): Likewise.
6470         * math/s_csinhf.c (__csinhf): Likewise.
6471         * math/s_csinhl.c (__csinhl): Likewise.
6472         * math/s_csinl.c (__csinl): Likewise.
6473         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
6474         * math/s_csqrtf.c (__csqrtf): Likewise.
6475         * math/s_csqrtl.c (__csqrtl): Likewise.
6476         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
6477         * math/s_ctanf.c (__ctanf): Likewise.
6478         * math/s_ctanh.c (__ctanh): Likewise.
6479         * math/s_ctanhf.c (__ctanhf): Likewise.
6480         * math/s_ctanhl.c (__ctanhl): Likewise.
6481         * math/s_ctanl.c (__ctanl): Likewise.
6482         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
6483         instead of volatile.
6484         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
6485         math_check_force_underflow.
6486         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6487         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
6488         volatile when forcing underflow.
6489         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6490         math_check_force_underflow_nonneg.
6491         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
6492         Likewise.
6493         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
6494         math_check_force_underflow.
6495         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
6496         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6497         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6498         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
6499         math_check_force_underflow_nonneg.
6500         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
6501         math_check_force_underflow.
6502         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
6503         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
6504         instead of volatile.
6505         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
6506         math_check_force_underflow.
6507         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
6508         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6509         math_check_force_underflow_nonneg.
6510         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
6511         math_check_force_underflow.
6512         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
6513         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6514         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
6515         math_check_force_underflow_nonneg.
6516         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6517         Likewise.
6518         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
6519         math_check_force_underflow.
6520         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
6521         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
6522         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
6523         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
6524         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
6525         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
6526         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
6527         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
6528         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6529         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
6530         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
6531         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
6532         Likewise.
6533         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
6534         math_check_force_underflow_nonneg.
6535         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6536         Likewise.
6537         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
6538         math_check_force_underflow.
6539         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6540         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
6541         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
6542         Likewise.
6543         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
6544         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
6545         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
6546         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
6547         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
6548         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
6549         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
6550         instead of volatile.
6551         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
6552         math_check_force_underflow.
6553         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
6554         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
6555         math_check_force_underflow.
6556         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
6557         Likewise.
6558         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6559         Use math_check_force_underflow_nonneg.
6560         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
6561         math_check_force_underflow.
6562         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
6563         Likewise.
6564         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
6565         Likewise.
6566         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6567         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
6568         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
6569         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
6570         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
6571         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
6572         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
6573         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
6574         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
6575         math_check_force_underflow_nonneg.
6576         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
6577         math_check_force_underflow.
6578         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
6579         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
6580         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
6581         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
6582         math_check_force_underflow_nonneg.
6583         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
6584         math_check_force_underflow.
6585         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
6586         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
6587         instead of volatile.
6588         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
6589         math_check_force_underflow.
6591         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
6592         * stdlib/strtod_l.c: Include <math_private.h>.
6593         (overflow_value): Use math_narrow_eval.
6594         (underflow_value): Likewise.
6595         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6596         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
6597         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
6598         (__ieee754_gamma_r): Likewise.
6599         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
6600         Likewise.
6601         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
6602         Likewise.
6603         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
6604         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
6605         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
6606         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
6607         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
6608         (__ieee754_gammaf_r): Likewise.
6609         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
6610         Likewise.
6611         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
6612         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
6613         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
6614         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
6615         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
6616         volatile.
6617         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
6618         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
6619         math_narrow_eval.
6620         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
6621         Likewise.
6622         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6623         Likewise.
6624         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
6625         Likewise.
6626         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
6627         volatile.
6628         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
6629         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
6630         math_narrow_eval.
6631         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6632         Likewise.
6633         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6634         Likewise.
6636 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
6638         * nptl/Versions: Remove ignored symbols.
6640 2015-09-22  Florian Weimer  <fweimer@redhat.com>
6642         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
6643         * nss/Makefile (tests): Update.
6645 2015-09-22  Florian Weimer  <fweimer@redhat.com>
6647         * nss/bug18287.c: New file.
6648         * nss/Makefile (tests): Add bug18287.
6650 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6652         * mach/Versions (__mach_host_self_): Add symbol.
6654 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6656         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
6657         vm_page_size.
6659 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6661         Really fix sysdeps/i386/fpu/s_scalbn.S build
6663         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
6664         (libc: GLIBC_2_22): Remove unused version set.
6666 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
6668         * config.make.in (enable-timezone-tools): New variable.
6669         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
6670         (enable_timezone_tools): Export to generated files.
6671         * configure: Regenerate.
6672         * INSTALL: Regenerate.
6673         * manual/install.texi (--disable-timezone-tools): Document new flag.
6674         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
6675         ifeq ($(enable-timezone-tools),yes) check.
6677 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
6679         * timezone/Makefile: Revert previous change.
6681         [BZ #18980]
6682         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
6683         (DEFINE_DBL_MIN): Likewise.
6684         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
6685         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
6686         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
6687         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
6688         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
6689         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6690         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
6691         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
6692         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
6693         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6694         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
6695         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
6696         (flt_min): Replace with use of DEFINE_FLT_MIN.
6697         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
6698         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
6699         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6700         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
6701         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
6702         (flt_min): Replace with use of DEFINE_FLT_MIN.
6703         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
6704         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
6705         (flt_min): Replace with use of DEFINE_FLT_MIN.
6706         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
6707         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
6708         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
6709         (__ieee754_hypot): Use DBL_NARROW_EVAL.
6710         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
6711         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
6712         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
6713         (__ieee754_pow): Use DBL_NARROW_EVAL.
6714         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
6715         (__ieee754_powf): Use FLT_NARROW_EVAL.
6716         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
6717         (__ieee754_expf_sse2): Convert double-precision result to single
6718         precision.
6719         * sysdeps/i386/fpu/libm-test-ulps: Update.
6721 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6723         * timezone/Makefile: Ignore unused variable errors due to private.h
6724         (time_t_min) and (time_t_max).
6725         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
6726         Likewise.
6728 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
6730         [BZ #18981]
6731         * sysdeps/i386/fpu/i386-math-asm.h: New file.
6732         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
6733         (__ieee754_scalb): Use DBL_NARROW_EVAL.
6734         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
6735         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
6736         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
6737         (__scalbn): Use DBL_NARROW_EVAL.
6738         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
6739         (__scalbnf): Use FLT_NARROW_EVAL.
6741 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6743         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
6744         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
6745         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
6746         * stdio-common/printf_fp.c (___printf_fp):
6747         Use signbit to get the sign. Use isinf macro to allow inlining.
6748         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
6749         * stdio-common/printf_size.c (__printf_size): Likewise.
6751 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
6753         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
6755 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
6757         [BZ #18980]
6758         * sysdeps/generic/math_private.h: Include <float.h>.
6759         (math_narrow_eval): New macro.
6760         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
6761         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
6762         math_narrow_eval on overflowing return value.
6763         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
6764         Likewise.
6765         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6766         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
6767         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
6768         Likewise.
6769         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
6771 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6773         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
6774         * math/Makefile: Remove isinf_ns.c.
6775         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
6776         * math/multc3.c (__multc3): Likewise.
6777         * math/s_casin.c (__casin): Likewise.
6778         * math/s_casinf.c (__casinf): Likewise.
6779         * math/s_casinl.c (__casinl): Likewise.
6780         * math/s_cproj.c (__cproj): Likewise.
6781         * math/s_cprojf.c (__cprojf): Likewise.
6782         * math/s_cprojl.c (__cprofl): Likewise.
6783         * math/s_ctan.c (__ctan): Likewise.
6784         * math/s_ctanf.c (__ctanf): Likewise.
6785         * math/s_ctanh.c (__ctanh): Likewise.
6786         * math/s_ctanhf.c (__ctanhf): Likewise.
6787         * math/s_ctanhl.c (__ctanhl): Likewise.
6788         * math/s_ctanl.c (__ctanl): Likewise.
6789         * math/w_fmod.c (__fmod): Likewise.
6790         * math/w_fmodf.c (__fmodf): Likewise.
6791         * math/w_fmodl.c (_fmodl): Likewise.
6792         * math/w_remainder.c (__remainder): Likewise.
6793         * math/w_remainderf.c (__remainderf): Likewise.
6794         * math/w_remainderl.c (__remainderl): Likewise.
6795         * math/w_scalb.c (__scalb): Likewise.
6796         * math/w_scalbf.c (__scalbf): Likewise.
6797         * math/w_scalbl.c (__scalbl): Likewise.
6798         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
6799         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
6800         with isinf.
6801         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
6802         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
6803         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
6804         __isinf_nsf with isinf.
6805         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
6806         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
6807         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
6808         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
6809         with isinf.
6810         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
6811         __isinf_nsl with isinf.
6812         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
6813         with isinf.
6814         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
6815         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
6816         __isinf_nsl with isinf.
6817         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
6818         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
6819         with isinf.
6821 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6823         * resolv/base64.c (rcsid): Remove unused static.
6824         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
6825         static.  (tqpi1): Likewise.
6826         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
6827         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
6828         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
6829         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
6830         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
6831         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
6832         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
6833         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
6834         Likewise.
6836 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
6838         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
6839         <nptl/pthreadP.h>.
6840         (_longjmp_unwind): Use __libc_ptf_call.
6841         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
6843 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
6845         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
6846         * sysdeps/arm/__longjmp.S: Likewise
6848 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6850         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
6851         Use __builtin_signbit.
6852         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
6853         Use __builtin_signbitf.
6854         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
6855         Use __builtin_signbitl.
6856         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
6857         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
6859 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6861         [BZ #15367]
6862         [BZ #17441]
6864         * math/Makefile: Build test-snan.c with -fsignaling-nans.
6865         * math/math.h (fpclassify): Use __builtin_fpclassify when
6866         available.  (signbit): Use __builtin_signbit(f/l).
6867         (isfinite): Use__builtin_isfinite.  (isnormal): Use
6868         __builtin_isnormal.  (isnan): Use __builtin_isnan.
6869         (isinf): Use __builtin_isinf_sign.
6871 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6873         * benchtests/Makefile: Add bench-math-inlines, link with libm.
6874         * benchtests/bench-math-inlines.c: New benchmark.
6875         * benchtests/bench-util.h: New file.
6876         * benchtests/bench-util.c: New file.
6877         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
6879 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
6881         * elf/tst-dlmopen1.c: Define TEST_SO.
6882         (do_test): Use TEST_SO.
6884         * elf/dl-load.c: Include libc-internal.h.
6885         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
6887 2015-09-18  Vincent Bernat  <vincent@bernat.im>
6889         [BZ #17887]
6890         * time/strptime_l.c (__strptime_internal): Make %z accept
6891         [+-]HH:MM time zones.
6893 2015-09-18  Vincent Bernat  <vincent@bernat.im>
6895         [BZ #17886]
6896         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
6897         valid time zone.
6899 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
6901         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
6902         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
6903         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6904         (__ASSUME_FDATASYNC): Delete.
6906 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
6908         * conform/linknamespace.pl: Require weak undefined symbols to be
6909         in the standard namespace.
6910         (%strong_syms): Rename to %seen_syms.
6911         (%strong_seen): Rename to %seen_where.
6913 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
6915         [BZ #18970]
6916         * misc/error.c (error): Replace pthread_setcancelstate with
6917         __pthread_setcancelstate.
6918         (error_at_line): Likewise.
6919         * posix/wordexp.c (parse_comm): Likewise.
6920         * stdlib/fmtmsg.c (fmtmsg): Likewise.
6921         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
6922         (__pthread_setcancelstate): This.
6923         (pthread_setcancelstate): Add an alias.
6924         * nptl/nptl-init.c (pthread_functions): Replace
6925         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
6926         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
6927         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
6928         hidden_proto.
6929         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
6930         it with hidden_def.
6931         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
6932         (pthread_setcancelstate): Renamed to ...
6933         (__pthread_setcancelstate): This.
6934         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
6935         __libc_ptf_call with __pthread_setcancelstate.
6937 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
6938             Andreas Schwab  <schwab@suse.de>
6940         [BZ #17118]
6941         * math/s_ctan.c (__ctan): Determine sign of zero real part of
6942         result when imaginary part of argument is infinite using sine and
6943         cosine.
6944         * math/s_ctanf.c (__ctanf): Likewise.
6945         * math/s_ctanl.c (__ctanl): Likewise.
6946         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
6947         of result when real part of argument is infinite using sine and
6948         cosine.
6949         * math/s_ctanhf.c (__ctanhf): Likewise.
6950         * math/s_ctanhl.c (__ctanhl): Likewise.
6951         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
6952         (ctanh_test_data): Add more tests of ctanh.
6954 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
6956         [BZ #15384]
6957         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
6958         bit-mask as in subtraction.
6959         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
6960         Likewise.
6961         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
6962         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
6963         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
6965         [BZ #18951]
6966         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
6967         underflow exception for small results.
6968         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6969         Likewise.
6970         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6971         Likewise.
6972         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6973         Likewise.
6974         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6975         Likewise.
6976         * math/auto-libm-test-in: Add more tests of tgamma.
6977         * math/auto-libm-test-out: Regenerated.
6979 2015-09-17  Andreas Schwab  <schwab@suse.de>
6981         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
6983 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
6985         [BZ #18977]
6986         * math/bits/mathcalls.h
6987         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
6988         not declare.
6989         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
6990         Likewise.
6991         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
6992         Likewise.
6993         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
6994         Likewise.
6995         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
6996         Likewise.
6997         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
6998         Likewise.
6999         * conform/data/math.h-data
7000         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
7001         function.
7002         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
7003         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
7004         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
7005         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
7006         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
7007         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
7008         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
7009         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
7010         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
7011         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
7012         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
7014         [BZ #6803]
7015         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
7016         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
7017         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
7018         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
7019         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
7020         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
7021         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
7022         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
7023         [NO_LONG_DOUBLE] (scalbnl): Likewise.
7024         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
7025         Likewise.
7026         [NO_LONG_DOUBLE] (scalbnl): Likewise.
7027         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
7028         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
7029         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
7030         long_double_symbol calls.
7031         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
7032         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
7033         strong alias of __ldexpl.
7034         (scalbnl): Define using long_double_symbol.
7035         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
7036         Remove alias.
7037         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
7038         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
7039         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
7040         (scalbln_test_data): Add more errno expectations.
7042 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
7044         Cache the host port like we cache the task port.  This way we do not
7045         need to call the kernel just to get the port.  Furthermore, we no
7046         longer increase the reference count on every invocation of
7047         `mach_host_self'.
7049         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
7050         Protect declarations against the macro expansion.
7051         * mach/mach_init.c (__mach_host_self_): New variable.
7052         (mach_init): Initialize `__mach_host_self_'.
7053         * mach/mach_init.h (__mach_host_self_): New declaration.
7054         (__mach_host_self, mach_host_self): New macros.
7055         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
7056         Release reference.
7058 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
7060         [BZ #4404]
7061         * po/de.po: Update from Translation Project.
7063         [BZ #16415]
7064         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
7065         (__expm1l): Remove code to handle positive infinity and overflow.
7066         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
7067         variable.
7068         (__expm1l): Remove code to handle positive infinity and overflow.
7070 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
7071             Paul Pluzhnikov  <ppluzhnikov@google.com>
7073         [BZ #18872]
7074         * stdio-common/Makefile (tst-printf-bz18872): New test.
7075         (tst-printf-bz18872-mem.out): Likewise.
7076         * stdio-common/tst-printf-bz18872.sh: Generate new test.
7077         * stdio-common/vfprintf.c: Fix memory leaks.
7079 2015-09-16  Andreas Schwab  <schwab@suse.de>
7081         [BZ #17244]
7082         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
7083         Remove extra va_start/va_end calls.
7085         [BZ #17243]
7086         * posix/execl.c (execl): Add missing va_end.
7087         * posix/execle.c (execle): Likewise.
7088         * posix/execlp.c (execlp): Likewise.
7090 2015-09-15  Roland McGrath  <roland@hack.frob.com>
7092         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
7093         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
7095 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
7097         [BZ #18967]
7098         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
7099         undefine around includes of <bits/mathcalls.h>.
7100         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
7101         not declare function.
7102         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
7103         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
7104         (scalb): Likewise.
7105         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
7106         not define macro.
7107         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
7108         variable.
7109         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7110         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7111         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7113         [BZ #18857]
7114         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
7115         return non-finite argument without doing ordered comparisons on
7116         it.
7118         [BZ #16296]
7119         * math/fenv.h (fegetround): Use __attribute_pure__.
7120         * include/fenv.h (__fegetround): Likewise.
7122         [BZ #18595]
7123         * math/s_ctan.c (__ctan): Force underflow exception for results
7124         whose real or imaginary part has small absolute value.
7125         * math/s_ctanf.c (__ctanf): Likewise.
7126         * math/s_ctanh.c (__ctanh): Likewise.
7127         * math/s_ctanhf.c (__ctanhf): Likewise.
7128         * math/s_ctanhl.c (__ctanhl): Likewise.
7129         * math/s_ctanl.c (__ctanl): Likewise.
7130         * math/auto-libm-test-in: Do not allow missing underflow for ctan
7131         and ctanh.  Add more tests of ctan and ctanh.
7133         [BZ #15918]
7134         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
7135         handling of cases where one argument is an infinity.
7137         [BZ #18875]
7138         [BZ #18966]
7139         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
7140         (MO): New macro.
7141         (__ieee754_exp10): For small results, force underflow exception
7142         and remove excess range and precision from return value.
7143         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
7144         (MO): New macro.
7145         (__ieee754_exp10f): For small results, force underflow exception
7146         and remove excess range and precision from return value.
7147         * math/auto-libm-test-in: Add more tests of exp10.
7148         * math/auto-libm-test-out: Regenerated.
7150 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
7152         [BZ #18875]
7153         [BZ #18961]
7154         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
7155         (MO): New macro.
7156         (__ieee754_exp): For small results, force underflow exception and
7157         remove excess range and precision from return value.
7158         (__exp_finite): Likewise.
7159         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
7160         (MO): New macro.
7161         (__ieee754_expf): For small results, force underflow exception and
7162         remove excess range and precision from return value.
7163         (__expf_finite): Likewise.
7164         * math/auto-libm-test-in: Add more tests of exp.
7165         * math/auto-libm-test-out: Regenerated.
7167         [BZ #16521]
7168         [BZ #18875]
7169         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
7170         small results.
7171         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
7172         (MO): New macro.
7173         (__ieee754_exp2): For small results, force underflow exception and
7174         remove excess range and precision from return value.
7175         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
7176         (MO): New macro.
7177         (__ieee754_exp2f): For small results, force underflow exception
7178         and remove excess range and precision from return value.
7179         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
7180         (MO): New macro.
7181         (__ieee754_exp2l): Force underflow exception for small results.
7182         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7183         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
7184         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
7185         (MO): New macro.
7186         (__ieee754_exp2l): Force underflow exception for small results.
7187         * math/auto-libm-test-in: Add more tests or exp2.
7188         * math/auto-libm-test-out: Regenerated.
7190 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
7192         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
7194         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
7195         /dev/null.
7197 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7199         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
7200         io fs process)): Drop spurious backslash.
7202 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
7204         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
7205         Use sysinfo system call instead of parsing /proc/meminfo.
7206         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
7207         Likewise.
7209 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
7211         [BZ #16985]
7212         * programs/localedef.c (main): Display argv[remaining] when
7213         output_path is NULL.
7215 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
7217         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7218         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
7219         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
7220         tanh.
7221         * math/auto-libm-test-out: Regenerated.
7222         * sysdeps/i386/fpu/libm-test-ulps: Update.
7223         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7224         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7227 2015-09-11  Roland McGrath  <roland@hack.frob.com>
7229         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
7230         Use 'override' keyword to freeze the value here, preventing
7231         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
7233 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
7235         [BZ #14912]
7236         * sysdeps/aarch64/bits/atomic.h: Move to ...
7237         * sysdeps/aarch64/atomic-machine.h: ...here.
7238         (_AARCH64_BITS_ATOMIC_H): Rename macro to
7239         _AARCH64_ATOMIC_MACHINE_H.
7240         * sysdeps/alpha/bits/atomic.h: Move to ...
7241         * sysdeps/alpha/atomic-machine.h: ...here.
7242         * sysdeps/arm/bits/atomic.h: Move to ...
7243         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
7244         * bits/atomic.h: Move to ...
7245         * sysdeps/generic/atomic-machine.h: ...here.
7246         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7247         * sysdeps/i386/bits/atomic.h: Move to ...
7248         * sysdeps/i386/atomic-machine.h: ...here.
7249         * sysdeps/ia64/bits/atomic.h: Move to ...
7250         * sysdeps/ia64/atomic-machine.h: ...here.
7251         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
7252         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
7253         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7254         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
7255         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
7256         * sysdeps/microblaze/bits/atomic.h: Move to ...
7257         * sysdeps/microblaze/atomic-machine.h: ...here.
7258         * sysdeps/mips/bits/atomic.h: Move to ...
7259         * sysdeps/mips/atomic-machine.h: ...here.
7260         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
7261         * sysdeps/powerpc/bits/atomic.h: Move to ...
7262         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
7263         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
7264         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
7265         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
7266         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
7267         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
7268         <atomic-machine.h> instead of <bits/atomic.h>.
7269         * sysdeps/s390/bits/atomic.h: Move to ...
7270         * sysdeps/s390/atomic-machine.h: ...here.
7271         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
7272         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
7273         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7274         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
7275         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
7276         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
7277         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
7278         * sysdeps/tile/bits/atomic.h: Move to ...
7279         * sysdeps/tile/atomic-machine.h: ...here.
7280         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
7281         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
7282         <sysdeps/tile/atomic-machine.h> instead of
7283         <sysdeps/tile/bits/atomic.h>.
7284         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7285         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
7286         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
7287         <sysdeps/tile/atomic-machine.h> instead of
7288         <sysdeps/tile/bits/atomic.h>.
7289         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7290         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
7291         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
7292         <sysdeps/arm/atomic-machine.h> instead of
7293         <sysdeps/arm/bits/atomic.h>.
7294         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
7295         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
7296         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7297         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
7298         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
7299         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7300         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
7301         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
7302         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
7303         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
7304         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
7305         * sysdeps/x86_64/bits/atomic.h: Move to ...
7306         * sysdeps/x86_64/atomic-machine.h: ...here.
7307         * include/atomic.h: Include <atomic-machine.h> instead of
7308         <bits/atomic.h>.
7310         * sysdeps/mips/mips32/libm-test-ulps: Update.
7311         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7313         [BZ #18952]
7314         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
7315         not convert non-integer negative arguments to int to determine the
7316         value of signgam.
7317         * math/auto-libm-test-in: Add more tests of lgamma.
7318         * math/auto-libm-test-out: Regenerated.
7320         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
7321         cosh, csqrt, erfc, expm1 and lgamma.
7322         * math/auto-libm-test-out: Regenerated.
7323         * sysdeps/i386/fpu/libm-test-ulps: Update.
7324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7326 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
7328         [BZ #2542]
7329         [BZ #2543]
7330         [BZ #2558]
7331         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
7332         __lgamma_neg for arguments from -28.0 to -2.0.
7333         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
7334         __lgamma_negf for arguments from -15.0 to -2.0.
7335         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7336         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
7337         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
7338         Call __lgamma_negl for arguments from -33.0 to -2.0.
7339         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
7340         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
7341         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
7342         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
7343         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
7344         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
7345         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
7346         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
7347         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
7348         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
7349         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
7350         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
7351         (__lgamma_neg): Likewise.
7352         (__lgamma_negl): Likewise.
7353         (__lgamma_product): Likewise.
7354         (__lgamma_productl): Likewise.
7355         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
7356         * math/auto-libm-test-in: Add more tests of lgamma.
7357         * math/auto-libm-test-out: Regenerated.
7358         * sysdeps/i386/fpu/libm-test-ulps: Update.
7359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7361 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
7363         [BZ #18675]
7364         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
7366 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
7368         [BZ #14912]
7369         * bits/libc-lock.h: Move to ...
7370         * sysdeps/generic/libc-lock.h: ...here.
7371         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
7372         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
7373         * sysdeps/mach/hurd/libc-lock.h: ...here.
7374         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
7375         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
7376         * sysdeps/mach/bits/libc-lock.h: Move to ...
7377         * sysdeps/mach/libc-lock.h: ...here.
7378         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
7379         * sysdeps/nptl/bits/libc-lock.h: Move to ...
7380         * sysdeps/nptl/libc-lock.h: ...here.
7381         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
7382         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
7383         * sysdeps/nptl/libc-lockP.h: ...here.
7384         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
7385         * crypt/crypt_util.c: Include <libc-lock.h> instead of
7386         <bits/libc-lock.h>.
7387         * dirent/scandir-tail.c: Likewise.
7388         * dlfcn/dlerror.c: Likewise.
7389         * elf/dl-close.c: Likewise.
7390         * elf/dl-iteratephdr.c: Likewise.
7391         * elf/dl-lookup.c: Likewise.
7392         * elf/dl-open.c: Likewise.
7393         * elf/dl-support.c: Likewise.
7394         * elf/dl-writev.h: Likewise.
7395         * elf/rtld.c: Likewise.
7396         * grp/fgetgrent.c: Likewise.
7397         * gshadow/fgetsgent.c: Likewise.
7398         * gshadow/sgetsgent.c: Likewise.
7399         * iconv/gconv_conf.c: Likewise.
7400         * iconv/gconv_db.c: Likewise.
7401         * iconv/gconv_dl.c: Likewise.
7402         * iconv/gconv_int.h: Likewise.
7403         * iconv/gconv_trans.c: Likewise.
7404         * include/link.h: Likewise.
7405         * inet/getnameinfo.c: Likewise.
7406         * inet/getnetgrent.c: Likewise.
7407         * inet/getnetgrent_r.c: Likewise.
7408         * intl/bindtextdom.c: Likewise.
7409         * intl/dcigettext.c: Likewise.
7410         * intl/finddomain.c: Likewise.
7411         * intl/gettextP.h: Likewise.
7412         * intl/loadmsgcat.c: Likewise.
7413         * intl/localealias.c: Likewise.
7414         * intl/textdomain.c: Likewise.
7415         * libidn/idn-stub.c: Likewise.
7416         * libio/libioP.h: Likewise.
7417         * locale/duplocale.c: Likewise.
7418         * locale/freelocale.c: Likewise.
7419         * locale/newlocale.c: Likewise.
7420         * locale/setlocale.c: Likewise.
7421         * login/getutent_r.c: Likewise.
7422         * login/getutid_r.c: Likewise.
7423         * login/getutline_r.c: Likewise.
7424         * login/utmp-private.h: Likewise.
7425         * login/utmpname.c: Likewise.
7426         * malloc/mtrace.c: Likewise.
7427         * misc/efgcvt.c: Likewise.
7428         * misc/error.c: Likewise.
7429         * misc/fstab.c: Likewise.
7430         * misc/getpass.c: Likewise.
7431         * misc/mntent.c: Likewise.
7432         * misc/syslog.c: Likewise.
7433         * nis/nis_call.c: Likewise.
7434         * nis/nis_callback.c: Likewise.
7435         * nis/nss-default.c: Likewise.
7436         * nis/nss_compat/compat-grp.c: Likewise.
7437         * nis/nss_compat/compat-initgroups.c: Likewise.
7438         * nis/nss_compat/compat-pwd.c: Likewise.
7439         * nis/nss_compat/compat-spwd.c: Likewise.
7440         * nis/nss_nis/nis-alias.c: Likewise.
7441         * nis/nss_nis/nis-ethers.c: Likewise.
7442         * nis/nss_nis/nis-grp.c: Likewise.
7443         * nis/nss_nis/nis-hosts.c: Likewise.
7444         * nis/nss_nis/nis-network.c: Likewise.
7445         * nis/nss_nis/nis-proto.c: Likewise.
7446         * nis/nss_nis/nis-pwd.c: Likewise.
7447         * nis/nss_nis/nis-rpc.c: Likewise.
7448         * nis/nss_nis/nis-service.c: Likewise.
7449         * nis/nss_nis/nis-spwd.c: Likewise.
7450         * nis/nss_nisplus/nisplus-alias.c: Likewise.
7451         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
7452         * nis/nss_nisplus/nisplus-grp.c: Likewise.
7453         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
7454         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
7455         * nis/nss_nisplus/nisplus-network.c: Likewise.
7456         * nis/nss_nisplus/nisplus-proto.c: Likewise.
7457         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
7458         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
7459         * nis/nss_nisplus/nisplus-service.c: Likewise.
7460         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
7461         * nis/ypclnt.c: Likewise.
7462         * nptl/libc_pthread_init.c: Likewise.
7463         * nss/getXXbyYY.c: Likewise.
7464         * nss/getXXent.c: Likewise.
7465         * nss/getXXent_r.c: Likewise.
7466         * nss/nss_db/db-XXX.c: Likewise.
7467         * nss/nss_db/db-netgrp.c: Likewise.
7468         * nss/nss_db/nss_db.h: Likewise.
7469         * nss/nss_files/files-XXX.c: Likewise.
7470         * nss/nss_files/files-alias.c: Likewise.
7471         * nss/nsswitch.c: Likewise.
7472         * posix/regex_internal.h: Likewise.
7473         * posix/wordexp.c: Likewise.
7474         * pwd/fgetpwent.c: Likewise.
7475         * resolv/res_hconf.c: Likewise.
7476         * resolv/res_libc.c: Likewise.
7477         * shadow/fgetspent.c: Likewise.
7478         * shadow/lckpwdf.c: Likewise.
7479         * shadow/sgetspent.c: Likewise.
7480         * socket/opensock.c: Likewise.
7481         * stdio-common/reg-modifier.c: Likewise.
7482         * stdio-common/reg-printf.c: Likewise.
7483         * stdio-common/reg-type.c: Likewise.
7484         * stdio-common/vfprintf.c: Likewise.
7485         * stdio-common/vfscanf.c: Likewise.
7486         * stdlib/abort.c: Likewise.
7487         * stdlib/cxa_atexit.c: Likewise.
7488         * stdlib/fmtmsg.c: Likewise.
7489         * stdlib/random.c: Likewise.
7490         * stdlib/setenv.c: Likewise.
7491         * string/strsignal.c: Likewise.
7492         * sunrpc/auth_none.c: Likewise.
7493         * sunrpc/bindrsvprt.c: Likewise.
7494         * sunrpc/create_xid.c: Likewise.
7495         * sunrpc/key_call.c: Likewise.
7496         * sunrpc/rpc_thread.c: Likewise.
7497         * sysdeps/arm/backtrace.c: Likewise.
7498         * sysdeps/generic/ldsodefs.h: Likewise.
7499         * sysdeps/generic/stdio-lock.h: Likewise.
7500         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
7501         * sysdeps/i386/backtrace.c: Likewise.
7502         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
7503         * sysdeps/m68k/backtrace.c: Likewise.
7504         * sysdeps/mach/hurd/cthreads.c: Likewise.
7505         * sysdeps/mach/hurd/dirstream.h: Likewise.
7506         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
7507         * sysdeps/nptl/malloc-machine.h: Likewise.
7508         * sysdeps/nptl/stdio-lock.h: Likewise.
7509         * sysdeps/posix/dirstream.h: Likewise.
7510         * sysdeps/posix/getaddrinfo.c: Likewise.
7511         * sysdeps/posix/system.c: Likewise.
7512         * sysdeps/pthread/aio_suspend.c: Likewise.
7513         * sysdeps/s390/s390-32/backtrace.c: Likewise.
7514         * sysdeps/s390/s390-64/backtrace.c: Likewise.
7515         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7516         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
7517         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
7518         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
7519         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
7520         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
7521         * sysdeps/unix/sysv/linux/system.c: Likewise.
7522         * sysdeps/x86_64/backtrace.c: Likewise.
7523         * time/alt_digit.c: Likewise.
7524         * time/era.c: Likewise.
7525         * time/tzset.c: Likewise.
7526         * wcsmbs/wcsmbsload.c: Likewise.
7527         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
7528         instead of <bits/libc-lock.h> in comment.
7530 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
7532         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
7533         Only use .set mips2 if the current ISA is below mips2.
7534         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
7535         Likewise.
7536         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
7537         mips32r2 if the current ISA is below mips32r2.
7538         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
7539         (TLS_IE): Updated to use the TLD_RDHWR macro.
7540         (TLS_LE): Likewise.
7541         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
7542         __ASSEMBLER__ condition.
7544 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7546         Fix parallel build of before-compile targets.
7548         * sysdeps/mach/Makefile ($(patsubst
7549         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
7550         mach-before-compile target.
7551         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
7552         io fs process)): Move rule to dedicated hurd-before-compile target.
7554 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7556         Fix rules generating headers in hurd/ and mach/ when initial make call
7557         has subdir= explicitly set.
7559         * sysdeps/mach/Makefile ($(patsubst
7560         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
7561         calling $(MAKE).
7562         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
7563         io fs process)): Force subdir to hurd when calling $(MAKE).
7564         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
7565         subdir to mach when calling $(MAKE).
7567 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
7569         Check sysheaders when looking for Mach and Hurd headers
7571         * sysdeps/mach/configure.ac: Add sysheaders check.
7572         * sysdeps/mach/configure: Regenerate.
7573         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
7574         * sysdeps/mach/hurd/configure: Regenerate.
7576 2015-09-04  Roland McGrath  <roland@hack.frob.com>
7578         [BZ #18921]
7579         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
7580         Fix inverted sense of test of 'o_directory_works' value.
7581         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
7582         Bernhard Voelker <mail@bernhard-voelker.de>.
7584 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
7586         [BZ #14912]
7587         * bits/linkmap.h: Move to ...
7588         * sysdeps/generic/linkmap.h: ...here.
7589         * sysdeps/aarch64/bits/linkmap.h: Move to ...
7590         * sysdeps/aarch64/linkmap.h: ...here.
7591         * sysdeps/arm/bits/linkmap.h: Move to ...
7592         * sysdeps/arm/linkmap.h: ...here.
7593         * sysdeps/hppa/bits/linkmap.h: Move to ...
7594         * sysdeps/hppa/linkmap.h: ...here.
7595         * sysdeps/ia64/bits/linkmap.h: Move to ...
7596         * sysdeps/ia64/linkmap.h: ...here.
7597         * sysdeps/mips/bits/linkmap.h: Move to ...
7598         * sysdeps/mips/linkmap.h: ...here.
7599         * sysdeps/s390/bits/linkmap.h: Move to ...
7600         * sysdeps/s390/linkmap.h: ...here.
7601         * sysdeps/sh/bits/linkmap.h: Move to ...
7602         * sysdeps/sh/linkmap.h: ...here.
7603         * sysdeps/x86/bits/linkmap.h: Move to ...
7604         * sysdeps/x86/linkmap.h: ...here.
7605         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
7607 2015-09-04  Andreas Schwab  <schwab@suse.de>
7609         [BZ #18635]
7610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
7611         (__makecontext): Terminate FDE before return label.
7612         (__novec_makecontext): Likewise.
7614 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7616         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
7617         first member of struct sv in syscall macro.
7619 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
7621         [BZ #14912]
7622         * bits/stdio-lock.h: Move to ...
7623         * sysdeps/generic/stdio-lock.h: ...here.
7624         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
7625         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
7626         * sysdeps/nptl/stdio-lock.h: ...here.
7627         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
7628         * include/libio.h: Include <stdio-lock.h> instead of
7629         <bits/stdio-lock.h>.
7630         * sysdeps/nptl/fork.c: Likewise.
7631         * sysdeps/pthread/flockfile.c: Likewise.
7632         * sysdeps/pthread/ftrylockfile.c: Likewise.
7633         * sysdeps/pthread/funlockfile.c: Likewise.
7635         [BZ #14912]
7636         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
7637         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
7638         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
7639         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
7640         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
7641         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
7642         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
7644 2015-09-03  Roland McGrath  <roland@hack.frob.com>
7646         * elf/Makefile (test-xfail-tst-protected1a): New variable.
7647         (test-xfail-tst-protected1b): New variable.
7649 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
7651         [BZ #14912]
7652         * bits/libc-tsd.h: Move to ...
7653         * sysdeps/generic/libc-tsd.h: ...here.
7654         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
7655         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
7656         * sysdeps/mach/hurd/libc-tsd.h: ...here.
7657         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
7658         * include/ctype.h: Include <libc-tsd.h> instead of
7659         <bits/libc-tsd.h>.
7660         * include/rpc/rpc.h: Likewise.
7661         * locale/localeinfo.h: Likewise.
7662         * sunrpc/rpc_thread.c: Likewise.
7663         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
7664         * sysdeps/nptl/malloc-machine.h: Likewise.
7666         * Makefile (headers): Remove bits/libc-lock.h.
7667         * libio/Makefile (headers): Remove bits/stdio-lock.h.
7669         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
7670         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
7671         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
7672         <bits/stdio-lock.h>.
7673         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
7674         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
7676 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
7678         [BZ #18757]
7679         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
7680         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
7681         BZ #18757.
7683 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
7685         * malloc/mtrace.pl: Filter out NULL entries.
7687 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
7689         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
7690         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
7691         macro.
7693         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
7694         (TCP_CC_INFO): Likewise.
7695         (TCP_SAVE_SYN): Likewise.
7696         (TCP_SAVED_SYN): Likewise.
7698 2015-08-31  Brett Neumeier <brett@neumeier.us>
7700         [BZ #18870]
7701         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
7703 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
7705         [BZ #18873]
7706         Fix broken overflow check in posix_fallocate
7707         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
7708         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
7709         Fix parenthesization typo.
7711 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
7713         [BZ #18887]
7714         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
7715         tst-mntent-blank-passno.
7716         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
7717         * misc/tst-mntent-blank-corrupt.c: New test.
7718         * misc/tst-mntent-blank-passno.c: New test ripped from ...
7719         * misc/tst-mntent.c (do_test): ... here.
7721 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
7723         [BZ #4404]
7724         * po/de.po: Fix SIGALRM typo.
7726 2015-08-28  James Perkins  <james@loowit.net>
7728         * time/tst-strptime2.c (tests): Replace short list of test
7729         strings for strptime %z specifier with code which exhaustively
7730         tests every combination of sign and 0 to 5 digits. Tests for
7731         rejection of invalid strings.
7733 2015-08-28  James Perkins  <james@loowit.net>
7735         [BZ #16141]
7736         * time/strptime_l.c (__strptime_internal): Fix %z minutes
7737         calculation, removing incorrect decimal time rounding, so that
7738         all minute values result in a valid seconds value.
7739         * time/strptime_l.c (__strptime_internal): Extend %z time zone
7740         offset range limits to UTC-99:59 through UTC+99:59 to parse
7741         current and historical use cases.
7742         * time/tst-strptime2.c (tests): Modify and add tests for the
7743         strptime %z input field descriptor, specifically conversion of
7744         minutes to seconds and validating an offset range of -9959 to
7745         +9959.
7747 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7748             Dmitry V. Levin  <ldv@altlinux.org>
7750         [BZ #18877]
7751         * posix/Makefile (tests): Add tst-mmap-offset.
7752         * posix/tst-mmap.c: New file.
7753         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
7754         offset calculation for negative values.
7756 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7758         * sysdeps/i386/init-arch.h: New file.
7759         * sysdeps/i386/i586/init-arch.h: Likewise.
7760         * sysdeps/i386/i686/init-arch.h: Likewise.
7761         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
7762         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
7763         * sysdeps/x86/cpu-features.h (bit_I586): New.
7764         (bit_I686): Likewise.
7765         (bit_CX8): Likewise.
7766         (bit_CMOV): Likewise.
7767         (index_CX8): Likewise.
7768         (index_CMOV): Likewise.
7769         (index_I586): Likewise.
7770         (index_I686): Likewise.
7771         (reg_CX8): Likewise.
7772         (reg_CMOV): Likewise.
7773         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
7774         available at compile-time.
7775         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
7776         available at compile-time.
7777         * sysdeps/x86/init-arch.h (USE_I586): New macro.
7778         (USE_I686): Likewise.
7780 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7782         * sysdeps/i386/bcopy.S: New file.
7783         * sysdeps/i386/bzero.S: Likewise.
7784         * sysdeps/i386/memcpy.S: Likewise.
7785         * sysdeps/i386/memmove.S: Likewise.
7786         * sysdeps/i386/mempcpy.S: Likewise.
7787         * sysdeps/i386/memset.S: Likewise.
7788         * sysdeps/i386/bzero.c: Removed.
7789         * sysdeps/i386/memset.c: Likewise.
7790         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
7791         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
7792         * sysdeps/i386/i586/memset_chk.S: Likewise.
7793         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
7794         * sysdeps/i386/memcpy_chk.S: Here.
7795         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
7796         * sysdeps/i386/memmove_chk.S: Here.
7797         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
7798         * sysdeps/i386/mempcpy_chk.S: Likewise.
7799         * sysdeps/i386/i686/memset_chk.S: Moved to ...
7800         * sysdeps/i386/memset_chk.S: Likewise.
7802 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
7804         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
7805         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
7806         file, move DIAG_POP_NEEDS_COMMENT to end of file.
7807         * soft-fp/fmadf4.c: Ditto.
7808         * soft-fp/fmatf4.c: Ditto.
7810 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7812         * sysdeps/i386/i586/Implies: Removed.
7813         * sysdeps/i386/i686/Implies: Likewise.
7815 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7817         * sysdeps/i386/i486/strlen.S: Moved to ...
7818         * sysdeps/i386/strlen.S: Here.
7820 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7822         * sysdeps/i386/i486/strcat.S: Moved to ...
7823         * sysdeps/i386/strcat.S: Here.
7825 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7827         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
7828         * sysdeps/i386/pthread_spin_trylock.S: Here.
7829         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
7830         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
7832 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7834         * sysdeps/i386/i486/string-inlines.c: Moved to ...
7835         * sysdeps/i386/string-inlines.c: Here.
7837 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7839         * sysdeps/i386/i486/htonl.S: Moved ...
7840         * sysdeps/i386/htonl.S: here.
7842 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7844         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
7845         * sysdeps/i386/bits/atomic.h: Here.
7847 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7849         * sysdeps/i386/i486/Versions: Removed.
7851 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
7853         [BZ #2898]
7854         * misc/mktemp.c: Add mkdtemp to the link_warning message.
7855         Based on patch by Aurelien Jarno.
7857 2015-08-26  Stan Shebs  <stanshebs@google.com>
7859         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
7860         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
7862 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7864         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
7865         * sysdeps/powerpc/dl-procinfo.c:
7866         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
7867         feature so it shows when LD_SHOW_AUXV=1.
7869 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7871         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
7872         (__arch_compare_and_exchange_val_32_acq): Remove and use common
7873         definition.  ISA 2.07B no longer requires full sync.
7875 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
7877         [BZ #18863]
7878         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
7879         (si_call_addr): Define.
7880         (si_syscall): Define.
7881         (si_arch): Define.
7883 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
7885         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
7886         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
7887         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
7888         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
7889         (__memset_zero_constant_len_parameter): New.
7890         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
7891         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
7892         (__memset_zero_constant_len_parameter): Don't define if
7893         __memset_chk or USE_AS_BZERO are defined.
7895         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
7896         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
7897         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
7899         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
7900         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
7901         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
7902         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
7903         comments.
7904         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
7905         -mno-mmx for $(all-rtld-routines).
7906         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
7907         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
7908         i386.
7910 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
7912         * sysdeps/generic/unwind.h
7913         (_Unwind_Word): Use __mode__(__unwind_word__)
7914         instead of __mode__(__word__).
7915         (_Unwind_Sword): Likewise.
7917         * sysdeps/s390/s390-64/utf8-utf16-z9.c
7918         (MAX_NEEDED_INPUT): New define.
7919         (MAX_NEEDED_OUTPUT): New define.
7921         * NEWS: New item for IBM z13 string optimizations.
7923         * sysdeps/s390/multiarch/memrchr-c.c: New File.
7924         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
7925         * sysdeps/s390/multiarch/memrchr.c: Likewise.
7926         * sysdeps/s390/multiarch/Makefile
7927         (sysdep_routines): Add memrchr functions.
7928         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7929         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
7931         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
7932         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
7933         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
7934         * sysdeps/s390/multiarch/Makefile
7935         (sysdep_routines): Add wmemcmp functions.
7936         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7937         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
7938         * benchtests/bench-wmemcmp.c: New File.
7939         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
7941         * sysdeps/s390/multiarch/wmemset-c.c: New File.
7942         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
7943         * sysdeps/s390/multiarch/wmemset.c: Likewise.
7944         * sysdeps/s390/multiarch/Makefile
7945         (sysdep_routines): Add wmemset functions.
7946         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7947         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
7948         * wcsmbs/wmemset.c: Use WMEMSET if defined.
7949         * string/test-memset.c: Add wmemset support.
7950         * wcsmbs/test-wmemset.c: New File.
7951         * wcsmbs/Makefile (strop-tests): Add wmemset.
7952         * benchtests/bench-memset.c: Add wmemset support.
7953         * benchtests/bench-wmemset.c: New File.
7954         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
7956         * sysdeps/s390/multiarch/memccpy-c.c: New File.
7957         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
7958         * sysdeps/s390/multiarch/memccpy.c: Likewise.
7959         * sysdeps/s390/multiarch/Makefile
7960         (sysdep_routines): Add memccpy functions.
7961         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7962         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
7963         * string/memccpy.c: Use MEMCCPY if defined.
7965         * sysdeps/s390/multiarch/memchr-vx.S: New File.
7966         * sysdeps/s390/multiarch/memchr.c: Likewise.
7967         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
7968         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
7969         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
7970         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
7971         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
7972         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
7973         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
7974         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
7975         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
7976         and rawmemchr functions.
7977         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7978         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
7979         and wmemchr.
7980         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
7981         * string/test-memchr.c: Add wmemchr support.
7982         * wcsmbs/test-wmemchr.c: New File.
7983         * wcsmbs/Makefile (strop-tests): Add wmemchr.
7984         * benchtests/bench-memchr.c: Add wmemchr support.
7985         * benchtests/bench-wmemchr.c: New File.
7986         * benchtests/Makefile (wcsmbs-bench): wmemchr.
7988         * sysdeps/s390/multiarch/strcspn-c.c: New File.
7989         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
7990         * sysdeps/s390/multiarch/strcspn.c: Likewise.
7991         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
7992         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
7993         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
7994         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
7995         wcscspn functions.
7996         * sysdeps/s390/multiarch/ifunc-impl-list.c
7997         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
7998         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
7999         * string/test-strcspn.c: Add wcscspn support.
8000         * wcsmbs/test-wcscspn.c: New File.
8001         * wcsmbs/Makefile (strop-tests): Add wcscspn.
8002         * benchtests/bench-strcspn.c: Add wcscspn support.
8003         * benchtests/bench-wcscspn.c: New File.
8004         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
8006         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
8007         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
8008         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
8009         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
8010         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
8011         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
8012         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
8013         wcspbrk functions.
8014         * sysdeps/s390/multiarch/ifunc-impl-list.c
8015         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
8016         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
8017         * string/test-strpbrk.c: Add wcspbrk support.
8018         * wcsmbs/test-wcspbrk.c: New File.
8019         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
8020         * benchtests/bench-strpbrk.c: Add wcspbrk support.
8021         * benchtests/bench-wcspbrk.c: New File.
8022         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
8024         * sysdeps/s390/multiarch/strspn-c.c: New File.
8025         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
8026         * sysdeps/s390/multiarch/strspn.c: Likewise.
8027         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
8028         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
8029         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
8030         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
8031         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
8032         wcsspn functions.
8033         * sysdeps/s390/multiarch/ifunc-impl-list.c
8034         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
8035         * string/test-strspn.c: Add wcsspn support.
8036         * wcsmbs/test-wcsspn.c: New File.
8037         * wcsmbs/Makefile (strop-tests): Add wcsspn.
8038         * benchtests/bench-strspn.c: Add wcsspn support.
8039         * benchtests/bench-wcsspn.c: New File.
8040         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
8042         * sysdeps/s390/multiarch/strrchr-c.c: New File.
8043         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
8044         * sysdeps/s390/multiarch/strrchr.c: Likewise.
8045         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
8046         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
8047         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
8048         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
8049         wcsrchr functions.
8050         * sysdeps/s390/multiarch/ifunc-impl-list.c
8051         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
8052         * benchtests/bench-wcsrchr.c: New File.
8053         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
8055         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
8056         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
8057         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
8058         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
8059         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
8060         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
8061         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
8062         wcschrnul functions.
8063         * sysdeps/s390/multiarch/ifunc-impl-list.c
8064         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
8065         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
8066         * string/test-strchr.c: Add wcschrnul support.
8067         * wcsmbs/test-wcschrnul.c: New File.
8068         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
8069         * benchtests/bench-strchr.c: Add wcschrnul support.
8070         * benchtests/bench-wcschrnul.c: New File.
8071         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
8073         * sysdeps/s390/multiarch/strchr-c.c: New File.
8074         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
8075         * sysdeps/s390/multiarch/strchr.c: Likewise.
8076         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
8077         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
8078         * sysdeps/s390/multiarch/wcschr.c: Likewise.
8079         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
8080         wcschr functions.
8081         * sysdeps/s390/multiarch/ifunc-impl-list.c
8082         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
8083         * string/strchr.c (STRCHR): Define and use macro.
8084         * benchtests/bench-wcschr.c: New File.
8085         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
8087         * sysdeps/s390/multiarch/strncmp-c.c: New File.
8088         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
8089         * sysdeps/s390/multiarch/strncmp.c: Likewise.
8090         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
8091         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
8092         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
8093         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
8094         wcsncmp functions.
8095         * sysdeps/s390/multiarch/ifunc-impl-list.c
8096         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
8097         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
8098         * benchtests/bench-strncmp.c: Add wcsncmp support.
8099         * benchtests/bench-wcsncmp.c: New File.
8100         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
8102         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
8103         * sysdeps/s390/multiarch/strcmp.c: Likewise.
8104         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
8105         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
8106         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
8107         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
8108         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
8109         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
8110         wcscmp functions.
8111         * sysdeps/s390/multiarch/ifunc-impl-list.c
8112         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
8113         * string/strcmp.c (STRCMP): Define and use macro.
8114         * benchtests/bench-wcscmp.c: New File.
8115         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
8116         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
8117         instead of _HAVE_STRING_ARCH_memchr.
8119         * sysdeps/s390/multiarch/strncat-c.c: New File.
8120         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
8121         * sysdeps/s390/multiarch/strncat.c: Likewise.
8122         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
8123         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
8124         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
8125         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
8126         wcsncat functions.
8127         * sysdeps/s390/multiarch/ifunc-impl-list.c
8128         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
8129         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
8130         * string/test-strncat.c: Add wcsncat support.
8131         * wcsmbs/test-wcsncat.c: New File.
8132         * wcsmbs/Makefile (strop-tests): Add wcsncat.
8133         * benchtests/bench-strncat.c: Add wcsncat support.
8134         * benchtests/bench-wcsncat.c: New File.
8135         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
8137         * sysdeps/s390/multiarch/strcat-c.c: New File.
8138         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
8139         * sysdeps/s390/multiarch/strcat.c: Likewise.
8140         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
8141         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
8142         * sysdeps/s390/multiarch/wcscat.c: Likewise.
8143         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
8144         wcscat functions.
8145         * sysdeps/s390/multiarch/ifunc-impl-list.c
8146         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
8147         * string/strcat.c (STRCAT): Define and use macro.
8148         * wcsmbs/wcscat.c: Use WCSCAT if defined.
8149         * string/test-strcat.c: Add wcscat support.
8150         * wcsmbs/test-wcscat.c: New File.
8151         * wcsmbs/Makefile (strop-tests): Add wcscat.
8152         * benchtests/bench-strcat.c: Add wcscat support.
8153         * benchtests/bench-wcscat.c: New File.
8154         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
8156         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
8157         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
8158         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
8159         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
8160         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
8161         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
8162         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
8163         wcpncpy functions.
8164         * sysdeps/s390/multiarch/ifunc-impl-list.c
8165         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
8166         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
8167         * string/test-stpncpy.c: Add wcpncpy support.
8168         * wcsmbs/test-wcpncpy.c: New File.
8169         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
8170         * benchtests/bench-stpncpy.c: Add wcpncpy support.
8171         * benchtests/bench-wcpncpy.c: New File.
8172         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
8174         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
8175         * sysdeps/s390/multiarch/strncpy.c: Likewise.
8176         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
8177         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
8178         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
8179         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
8180         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
8181         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
8182         wcsncpy functions.
8183         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
8184         * sysdeps/s390/multiarch/ifunc-impl-list.c
8185         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
8186         * string/test-strncpy.c: Add wcsncpy support.
8187         * wcsmbs/test-wcsncpy.c: New File.
8188         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
8189         * benchtests/bench-strncpy.c: Add wcsncpy support.
8190         * benchtests/bench-wcsncpy.c: New File.
8191         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
8193         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
8194         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
8195         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
8196         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
8197         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
8198         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
8199         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
8200         wcpcpy functions.
8201         * string/stpcpy.c: Use STPCPY if defined.
8202         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
8203         * sysdeps/s390/multiarch/ifunc-impl-list.c
8204         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
8205         * string/test-stpcpy.c: Add wcpcpy support.
8206         * wcsmbs/test-wcpcpy.c: New File.
8207         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
8208         * benchtests/bench-stpcpy.c: Add wcpcpy support.
8209         * benchtests/bench-wcpcpy.c: New File.
8210         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
8212         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
8213         * sysdeps/s390/multiarch/strcpy.c: Likewise.
8214         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
8215         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
8216         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
8217         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
8218         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
8219         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
8220         wcscpy functions.
8221         * sysdeps/s390/multiarch/ifunc-impl-list.c
8222         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
8223         * benchtests/bench-wcscpy.c: New File.
8224         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
8226         * sysdeps/s390/multiarch/strnlen-c.c: New File.
8227         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
8228         * sysdeps/s390/multiarch/strnlen.c: Likewise.
8229         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
8230         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
8231         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
8232         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
8233         wcsnlen functions.
8234         * sysdeps/s390/multiarch/ifunc-impl-list.c
8235         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
8236         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
8237         * string/test-strnlen.c: Add wcsnlen support.
8238         * wcsmbs/test-wcsnlen.c: New File.
8239         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
8240         * benchtests/bench-strnlen.c: Add wcsnlen support.
8241         * benchtests/bench-wcsnlen.c: New File.
8242         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
8244         * sysdeps/s390/multiarch/Makefile: New File.
8245         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
8246         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
8247         * sysdeps/s390/multiarch/strlen.c: Likewise.
8248         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
8249         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
8250         * sysdeps/s390/multiarch/wcslen.c: Likewise.
8251         * string/strlen.c (STRLEN): Define and use macro.
8252         * sysdeps/s390/multiarch/ifunc-impl-list.c
8253         (IFUNC_VX_IMPL): New macro function.
8254         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
8255         * benchtests/Makefile (wcsmbs-bench): New variable.
8256         (string-bench-all): Added wcsmbs-bench.
8257         * benchtests/bench-wcslen.c: New File.
8259         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
8260         s390_vx_libc_ifunc2): New macro function.
8262         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
8263         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
8264         assembler support.
8265         * sysdeps/s390/configure: Regenerated.
8267         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
8268         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
8270         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
8271         * sysdeps/s390/dl-procinfo.h: Add vector capability.
8272         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
8274         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
8275         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
8276         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
8277         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
8278         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
8279         (memcmp, bcmp): Use __memcmp_default as alias source.
8280         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
8281         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
8282         Rename to __memcmp_default.
8283         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
8284         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
8285         (memcpy): Use __memcpy_default as alias source.
8286         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
8287         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
8288         Rename to __memcpy_default.
8289         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
8290         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
8291         (memset): Use __memset_default as alias source.
8292         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
8293         * sysdeps/s390/s390-32/memset.S (__memset_g5):
8294         Rename to __memset_default.
8295         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
8296         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
8297         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
8298         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
8299         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
8300         (memcmp, bcmp): Use __memcmp_default as alias source.
8301         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
8302         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
8303         Rename to __memcmp_default.
8304         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
8305         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
8306         (memcpy): Use __memcpy_default as alias source.
8307         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
8308         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
8309         Rename to __memcpy_default.
8310         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
8311         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
8312         (memset): Use __memset_default as alias source.
8313         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
8314         * sysdeps/s390/s390-64/memset.S (__memset_z900):
8315         Rename to __memset_default.
8316         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
8317         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
8319         [BZ #18610]
8320         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
8321         __ieee_instruction_pointer to __unused.
8322         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
8323         __ieee_instruction_pointer.
8324         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
8325         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
8326         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
8327         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
8328         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
8329         Mark dxc-field as reserved.
8331 2015-08-25  Roland McGrath  <roland@hack.frob.com>
8333         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
8334         if the weak reference is not null.
8336 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
8338         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
8340         [BZ #11214]
8341         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
8343 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8345         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
8346         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
8347         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
8348         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
8349         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
8350         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
8351         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
8352         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
8353         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
8354         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
8355         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
8356         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
8357         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
8358         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
8359         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
8360         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
8361         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
8362         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
8364 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8366         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
8367         register other than r0 for tabort, it has special meaning.
8368         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
8369         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
8370         transaction before starting syscall.
8372 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8374         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
8376 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
8378         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
8380         * sysdeps/x86_64/rtld-memcmp.c: Removed.
8381         * sysdeps/x86_64/rtld-memset.S: Likewise.
8382         * sysdeps/x86_64/rtld-strchr.S: Likewise.
8383         * sysdeps/x86_64/rtld-strlen.S: Likewise.
8384         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
8385         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
8387         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
8389 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
8391         * debug/strcpy_chk.c: Improve performance.
8392         * debug/stpcpy_chk.c: Likewise.
8393         * sysdeps/x86_64/strcpy_chk.S: Remove.
8394         * sysdeps/x86_64/stpcpy_chk.S: Remove.
8396         [BZ #18240]
8397         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
8399 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
8401         [BZ #15128]
8402         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
8403         ifuncmain8.
8404         (modules-names): Add ifuncmod8.
8405         ($(objpfx)ifuncmain8): New rule.
8406         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
8407         <cpuid.h>.
8408         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
8409         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
8410         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
8411         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
8412         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
8413         * sysdeps/x86_64/dl-trampoline.h: Likewise.
8414         * sysdeps/x86_64/ifuncmain8.c: New file.
8415         * sysdeps/x86_64/ifuncmod8.c: Likewise.
8416         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
8417         Removed.
8418         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
8419         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
8420         Change rtld_savespace_sse to __glibc_unused2.
8421         (RTLD_CHECK_FOREIGN_CALL): Removed.
8422         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
8423         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
8424         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
8426 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
8428         * sysdeps/aarch64/bzero.S (__bzero): Remove.
8430 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
8432         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
8433         Unconditionally set __fpcr to avoid uninialized warning.
8434         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
8436 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8438         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
8439         is corrupt.
8441         * malloc/arena.c (arena_get2): Drop unused argument.
8442         (arena_lock): Adjust.
8443         (arena_get_retry): Likewise.
8445 2015-08-24  Andreas Schwab  <schwab@suse.de>
8447         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
8448         Don't define.
8449         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8450         (__ASSUME_IPC64): Don't undef.
8451         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
8452         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8453         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8454         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
8455         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
8456         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
8457         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
8458         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
8459         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
8460         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
8461         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
8462         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
8463         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
8464         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
8465         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
8466         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
8467         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
8468         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
8469         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
8470         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
8471         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
8473 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
8475         * manual/Makefile (install): Only build manual when perl is available.
8477 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8479         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
8480         '#undef memcpy' by '#undef memchr'.
8482 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8484         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
8485         memchr not point to the internal __GI_memchr implementation.
8487 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
8489         * timezone/Makefile (CFLAGS-zdump.c): Remove
8490         -Wno-strict-prototypes.
8491         (CFLAGS-zic.c): Likewise.
8492         (CFLAGS-ialloc.c): Likewise.
8493         (CFLAGS-scheck.c): Likewise.
8495         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
8496         -Wno-error=undef.
8498 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
8500         * i386/i686/multiarch/strcasestr-c.c: Removed.
8501         * x86_64/multiarch/strcasestr.c: Likewise.
8502         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8503         Remove strcasestr.
8505 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
8507         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
8509         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
8510         variables for high and low parts before possibly modifying them.
8512 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
8514         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
8515         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
8516         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
8517         of "multiarch/init-arch.h".
8518         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
8519         * sysdeps/x86/init-arch.h: This.
8521 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
8523         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
8524         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
8526 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
8528         [BZ #17787]
8529         * manual/macros.texi: Add twoexp macro.
8530         * manual/filesys.texi: Fix exponents.
8531         * manual/llio.texi: Likewise.
8532         * manual/stdio.texi: Likewise.
8534 2015-08-20  Florian Weimer  <fweimer@redhat.com>
8536         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
8537         incorrect use.
8539 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
8541         [BZ #18370]
8542         * math/s_csqrt.c (__csqrt): Force underflow exception for results
8543         whose real or imaginary part has small absolute value.
8544         * math/s_csqrtf.c (__csqrtf): Likewise.
8545         * math/s_csqrtl.c (__csqrtl): Likewise.
8546         * math/auto-libm-test-in: Add more tests of csqrt.
8547         * math/auto-libm-test-out: Regenerated.
8548         * sysdeps/i386/fpu/libm-test-ulps: Update.
8550 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8552         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
8553         __ppc_set_ppr_very_low): New functions.
8554         * manual/platform.texi: Add documentation about
8555         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
8557 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
8559         * string/stpncpy.c (stpncpy): Improve performance using
8560         __strnlen/memcpy/memset.
8562 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
8564         [BZ #18796]
8565         * scripts/test-installation.pl: Don't add -lmvec to build options if
8566         libmvec wasn't built.
8568 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
8570         [BZ #14341]
8571         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
8572         case when there is a gap between DT_REL and DT_JMPREL sections.
8573         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
8574         (LDFLAGS-tst-split-dynreloc): New.
8575         (tst-split-dynreloc-ENV): Likewise.
8576         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
8577         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
8579 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
8581         [BZ #18822]
8582         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
8583         attribute_hidden.
8584         (__xstat64_conv): Likewise.
8585         (__xstat32_conv): Likewise.
8587 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
8589         [BZ #18822]
8590         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
8591         Don't load %ebx when calling __setcontext.  Call __setcontext
8592         with HIDDEN_JUMPTARGET.
8593         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
8594         libc_hidden_def.
8596 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
8598         * sysdeps/i386/i686/Makefile
8599         [$(subdir) == string] (sysdep_routines): Moved to ...
8600         * sysdeps/i386/Makefile: Here.
8601         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
8602         * sysdeps/i386/cacheinfo.c: Here.
8603         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
8604         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
8605         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
8606         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
8608 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
8610         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
8611         __i586__ is defined.
8612         (HAS_I686): Defined to 1 if __i686__ is defined.
8614 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
8616         * elf/Makefile [$(have-z-execstack) = yes]
8617         (CPPFLAGS-tst-execstack.c): New variable.
8619         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
8620         conditional to [defined UTMPX || _HAVE_UT_TYPE].
8621         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
8622         UTMPX || _HAVE_UT_TV].
8623         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
8624         UTMPX || _HAVE_UT_TV - 0].
8626 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
8628         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
8629         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
8630         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
8632 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8634         * sysdeps/powerpc/dl-procinfo.c:
8635         (_dl_powerpc_cap_flags): Added missing strings for some
8636         hwcap features.
8637         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
8639 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
8641         Port the 0x7efe...feff pattern to GCC 6.
8642         See Steve Ellcey's bug report in:
8643         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
8644         * string/memrchr.c (MEMRCHR):
8645         * string/rawmemchr.c (RAWMEMCHR):
8646         * string/strchr.c (strchr):
8647         * string/strchrnul.c (STRCHRNUL):
8648         Rewrite code to avoid issues with signed shift overflow.
8650 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
8652         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
8653         whether cpuid is available only if HAS_CPUID is 0.
8654         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
8655         (HAS_I586): Likewise.
8656         (HAS_I686): Likewise.
8658 2015-08-18  Zack Weinberg  <zackw@panix.com>
8660         * misc/Versions (libc): Add GLIBC_2.23.
8662 2015-08-18  Alan Modra  <amodra@gmail.com>
8664         [BZ #18421]
8665         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
8666         .Lp__global.
8667         (_start): Load %dp via .Lp__global.
8668         [!SHARED]: Use .section .rodata.
8670 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8672         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
8673         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
8675 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8677         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
8678         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
8680 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8682         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
8683         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
8685 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8687         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
8688         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
8690 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8692         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
8693         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
8695 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8697         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
8698         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
8700 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8702         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
8704 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8706         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
8707         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
8708         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8709         (__ASSUME_LWS_CAS): Delete.
8711 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8713         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
8714         * sysdeps/hppa/configure: Regenerated.
8715         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
8716         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
8717         * sysdeps/hppa/nptl/tls.h: Likewise.
8719 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
8721         [BZ #18823]
8722         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
8723         for scaling up small arguments.
8724         * math/s_csqrtf.c (__csqrtf): Likewise.
8725         * math/s_csqrtl.c (__csqrtl): Likewise.
8726         * math/auto-libm-test-in: Add more tests of csqrt.
8727         * math/auto-libm-test-out: Regenerated.
8729 2015-08-17  Andreas Schwab  <schwab@suse.de>
8731         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
8732         version set GLIBC_2.19.
8734 2015-08-16  Zack Weinberg  <zackw@panix.com>
8736         [BZ #18681]
8737         * misc/regexp.h: This interface is no longer supported.
8738         Remove all contents, leaving only an #error directive.
8739         * misc/regexp.c (loc1, loc2, locs, step, advance):
8740         Demote to compatibility symbols.
8742 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
8744         [BZ #18084]
8745         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
8746         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
8747         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
8748         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
8749         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
8750         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
8751         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
8752         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
8753         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
8755 2015-08-15  Zack Weinberg  <zackw@panix.com>
8757         [BZ #18795]
8758         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
8759         buffer length is known to be too large, not if it's known to be
8760         small enough.
8761         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
8762         overflow at runtime, involving a length parameter, twice: once
8763         with a compile-time constant length parameter, once without.
8765 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
8767         [BZ #18824]
8768         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
8769         scaling x * y up instead of down.
8770         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8771         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8772         * math/auto-libm-test-in: Add more tests of fma.
8773         * math/auto-libm-test-out: Regenerated.
8775 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
8777         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8779 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8781         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
8782         unnecessary movq.
8783         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
8784         Likewise.
8786 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
8788         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8789         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
8790         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
8791         and tgamma.
8792         * math/auto-libm-test-out: Regenerated.
8793         * sysdeps/i386/fpu/libm-test-ulps: Update.
8794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8796         [BZ #16520]
8797         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
8798         (__tanh): Force underflow exception for arguments with small
8799         absolute value.
8800         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
8801         (__tanhf): Force underflow exception for arguments with small
8802         absolute value.
8803         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
8804         (__tanhl): Force underflow exception for arguments with small
8805         absolute value.
8806         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
8807         (__tanhl): Force underflow exception for arguments with small
8808         absolute value.
8809         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
8810         (__tanhl): Force underflow exception for arguments with small
8811         absolute value.
8812         * math/auto-libm-test-in: Add more tests of tanh.
8813         * math/auto-libm-test-out: Regenerated.
8814         * sysdeps/i386/fpu/libm-test-ulps: Update.
8816 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8818         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
8819         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
8821 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8823         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
8824         <cpuid.h>.
8826 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8828         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
8829         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
8831 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8833         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
8834         Remove $(objpfx)init-arch.o.
8835         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
8836         init-arch.
8837         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
8838         (INIT_ARCH_EXT): Defined as empty.
8839         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
8840         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
8841         __init_cpu_features call.  Replace HAS_XXX with
8842         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8843         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
8844         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
8845         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
8846         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
8847         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
8848         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
8849         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
8850         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
8851         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
8852         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
8853         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
8854         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
8855         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
8856         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
8857         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
8858         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
8859         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
8860         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
8861         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
8862         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
8863         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
8864         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
8865         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
8866         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
8867         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
8868         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
8869         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
8870         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
8871         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
8872         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
8873         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
8874         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
8875         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
8876         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
8877         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
8879 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8881         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
8882         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8883         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
8884         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
8885         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
8886         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
8887         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
8888         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
8889         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
8890         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
8891         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
8892         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
8893         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8894         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8895         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8896         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8897         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8898         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8899         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8900         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8901         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8902         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8903         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8904         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8905         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8906         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8907         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8908         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8909         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8910         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8911         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8912         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8913         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8914         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8915         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8916         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8917         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8918         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8919         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8920         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8921         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8922         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8923         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8925 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8927         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
8928         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8929         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
8930         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8931         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8932         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
8933         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8934         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
8935         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8936         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8937         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8938         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
8939         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
8940         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
8941         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
8942         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
8943         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
8944         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
8945         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
8946         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
8947         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
8948         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
8949         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
8950         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8951         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8952         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
8953         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
8954         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
8955         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8956         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8957         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8958         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8959         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8960         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8961         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8962         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8963         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8964         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8965         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8966         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8967         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8968         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8969         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8971 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8973         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
8974         (dl_platform_init): Call init_cpu_features.
8975         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
8976         * sysdeps/i386/i686/cacheinfo.c
8977         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
8978         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
8979         * sysdeps/i386/i686/multiarch/Versions: Removed.
8980         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
8981         Removed.
8982         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
8983         * sysdeps/unix/sysv/linux/x86/Makefile
8984         (libpthread-sysdep_routines): Remove init-arch.
8985         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
8986         <sysdeps/x86_64/dl-procinfo.c> instead of
8987         sysdeps/generic/dl-procinfo.c>.
8988         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
8989         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
8990         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
8991         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
8992         [$(subdir) == elf] (tests-static): Add
8993         tst-get-cpu-features-static.
8994         * sysdeps/x86/Versions: New file.
8995         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
8996         * sysdeps/x86/cpu-features.c: Likewise.
8997         * sysdeps/x86/cpu-features.h: Likewise.
8998         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
8999         * sysdeps/x86/libc-start.c: Likewise.
9000         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
9001         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
9002         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
9003         * sysdeps/x86_64/dl-procinfo.c: Likewise.
9004         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
9005         Assume USE_MULTIARCH is defined and don't check it.
9006         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
9007         (is_amd): Likewise.
9008         (max_cpuid): Likewise.
9009         (intel_check_word): Likewise.
9010         (__cache_sysconf): Don't call __init_cpu_features.
9011         (__x86_preferred_memory_instruction): Removed.
9012         (init_cacheinfo): Don't call __init_cpu_features. Replace
9013         __cpu_features with GLRO(dl_x86_cpu_features).
9014         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
9015         (dl_platform_init): Call init_cpu_features.
9016         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
9017         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
9018         * sysdeps/x86_64/multiarch/Versions: Removed.
9019         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
9020         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
9021         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
9022         Removed.
9023         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
9025 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
9027         [BZ #18820]
9028         * libio/Makefile (test-fmemopen-mem): New test.
9029         * libio/test-fmemopen.c (do_bz18820): New test.
9030         * libio/fmemopen.c (__fmemopen): Fix memory leak.
9031         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
9033 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
9035         [BZ #16734]
9036         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
9037         (FREE_BUF): Delete.
9038         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
9039         * libio/genops.c (_IO_setb): Use malloc and free directly.
9040         (_IO_default_doallocate, _IO_default_finish): Likewise.
9041         ( _IO_unbuffer_all): Likewise.
9042         ( libc_freeres_fn): Likewise.
9043         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9044         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
9045         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
9046         (_IO_wdefault_doallocate): Likewise.
9048 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
9050         [BZ #18086]
9051         * sysdeps/posix/nice.c (nice): Restore old errno.
9052         * posix/tst-nice.c (do_test): Add test for BZ #18086.
9054 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
9056         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
9058 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9060         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
9061         __bcopy and add a weak_alias to bcopy.
9062         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
9063         for static build.
9065         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
9066         cleanup macro usage.
9067         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
9068         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
9069         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
9070         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
9071         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
9072         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
9073         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
9074         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
9075         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9076         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
9077         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
9078         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
9079         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
9080         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
9081         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
9082         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
9083         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
9084         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
9085         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
9087         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
9088         libc_hidden_def.
9089         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
9091         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
9092         (sysdep_routines): Add strstr-ppc64.
9093         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
9095 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
9097         [BZ #18778]
9098         * elf/Makefile (tests): Add Add tst-nodelete2.
9099         (modules-names): Add tst-nodelete2mod.
9100         (tst-nodelete2mod.so-no-z-defs): New.
9101         ($(objpfx)tst-nodelete2): Likewise.
9102         ($(objpfx)tst-nodelete2.out): Likewise.
9103         (LDFLAGS-tst-nodelete2): Likewise.
9104         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
9105         out of loop through all loaded libraries.
9106         * elf/tst-nodelete2.c: New file.
9107         * elf/tst-nodelete2mod.c: Likewise.
9108         * elf/tst-znodelete-zlib.cc: Delete.
9110 2015-08-11  Andreas Schwab  <schwab@suse.de>
9112         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
9113         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
9114         (__openat64_nocancel): Likewise.
9116 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
9118         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
9119         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
9120         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
9121         * math/auto-libm-test-out: Regenerated.
9122         * sysdeps/i386/fpu/libm-test-ulps: Update.
9123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9125 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
9127         [BZ #18790]
9128         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
9129         threshold for returning +/- 1.
9130         * math/auto-libm-test-in: Add more tests of tanh.
9131         * math/auto-libm-test-out: Regenerated.
9132         * sysdeps/i386/fpu/libm-test-ulps: Update.
9134 2015-08-10  Andreas Schwab  <schwab@suse.de>
9136         [BZ #18781]
9137         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
9138         MORE_OFLAGS to oflag.
9139         * io/test-lfs.c (do_test): Test openat64.
9141 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
9143         [BZ #18789]
9144         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
9145         smaller threshold for returning the argument.
9146         * math/auto-libm-test-in: Add more tests of sinh.
9147         * math/auto-libm-test-out: Regenerated.
9148         * sysdeps/i386/fpu/libm-test-ulps: Update.
9150 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
9152         [BZ #18674]
9153         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
9154         break.
9156 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
9158         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
9159         (generated): Don't add $(addprefix z.,$(tzfiles)).
9161 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
9163         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
9164         * scripts/sysd-rules.awk: Likewise.
9166 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
9168         * iconvdata/tst-tables.sh: Change echo -n to printf.
9169         * nss/db-Makefile: Likewise.
9170         * posix/tst-getconf.sh: Likewise.
9171         * stdio-common/tst-unbputc.sh: Likewise.
9173 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
9175         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
9176         MADV_*_PAGES defines behind this feature check.
9178 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
9180         [BZ #18480]
9181         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
9182         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
9183         Define.
9184         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
9185         LOAD_REGS_5, LOAD_REGS_6): Update.
9186         (INTERNAL_SYSCALL): Update using new LOAD defines.
9187         (INTERNAL_SYSCALL_NCS): Likewise.
9188         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
9190 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
9192         [BZ #16734]
9193         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
9195 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
9197         [BZ #17905]
9198         * catgets/Makefile (tst-catgets-mem): New test.
9199         * catgets/catgets.c (catopen): Don't use unbounded alloca.
9200         * catgets/open_catalog.c (__open_catalog): Likewise.
9201         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
9203 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
9205         [BZ #18787]
9206         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
9207         clobber registers.
9208         (atomic_compare_and_exchange_val_acq): Use register asms to assign
9209         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
9210         Cast return to __typeof (oldval).
9212 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
9214         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
9215         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
9216         and delete sys/syscall.h include.
9218 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
9220         [BZ #16517]
9221         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
9222         (tan): Force underflow exception for arguments with small absolute
9223         value.
9224         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
9225         (__kernel_tanf): Force underflow exception for arguments with
9226         small absolute value.
9227         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
9228         (__kernel_tanl): Force underflow exception for arguments with
9229         small absolute value.
9230         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
9231         (__kernel_tanl): Force underflow exception for arguments with
9232         small absolute value.
9233         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
9234         (__kernel_tanl): Force underflow exception for arguments with
9235         small absolute value.
9236         * math/auto-libm-test-in: Add more tests of tan.
9237         * math/auto-libm-test-out: Regenerated.
9239 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9241         Fix sysdeps/i386/fpu/s_scalbn.S build
9243         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
9245 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
9247         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
9249 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9251         Fix gcrt0.o compilation
9253         When static-start-installed-name is different from
9254         start-installed-name, we must not use the shared objects.
9256         * csu/Makefile
9257         (extra-objs): Add gmon-start.o when building shared library and
9258         $(static-start-installed-name) is different from
9259         $(start-installed-name).
9260         $(objpfx)g$(static-start-installed-name): When building shared
9261         library and $(static-start-installed-name) is different from
9262         $(static-start-installed-name), revert to non-shared rule,
9263         i.e. using $(objpfx)% and gmon-start.o.
9265 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
9267         [BZ #16519]
9268         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
9269         (__ieee754_sinh): Force underflow exception for arguments with
9270         small absolute value.
9271         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
9272         (__ieee754_sinhf): Force underflow exception for arguments with
9273         small absolute value.
9274         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
9275         (__ieee754_sinhl): Force underflow exception for arguments with
9276         small absolute value.
9277         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
9278         (__ieee754_sinhl): Force underflow exception for arguments with
9279         small absolute value.
9280         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
9281         (__ieee754_sinhl): Force underflow exception for arguments with
9282         small absolute value.
9283         * math/auto-libm-test-in: Add more tests of sinh.
9284         * math/auto-libm-test-out: Regenerated.
9285         * sysdeps/i386/fpu/libm-test-ulps: Update.
9287 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
9289         * libio/oldfileops.c: Include unistd.h.
9291 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
9293         * stdlib/isomac.c: Include ctype.h.
9295 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
9297         * dirent/tst-seekdir.c (main): Converted to ...
9298         (do_test): ... this.
9299         (TEST_FUNCTION): New macro.
9300         Include test-skeleton.c.
9301         * elf/tst-dlmodcount.c (main): Converted to ...
9302         (do_test): ... this.
9303         (TEST_FUNCTION): New macro.
9304         Include test-skeleton.c.
9305         * elf/tst-order-main.c (main): Converted to ...
9306         (do_test): ... this.
9307         (TEST_FUNCTION): New macro.
9308         Include test-skeleton.c.
9309         * elf/tst-pie2.c (main): Converted to ...
9310         (do_test): ... this.
9311         (TEST_FUNCTION): New macro.
9312         Include test-skeleton.c.
9313         * inet/tst-ether_aton.c (main): Converted to ...
9314         (do_test): ... this.
9315         (TEST_FUNCTION): New macro.
9316         Include test-skeleton.c.
9317         * misc/tst-mntent.c (main): Converted to ...
9318         (do_test): ... this.
9319         (TEST_FUNCTION): New macro.
9320         Include test-skeleton.c.
9321         * misc/tst-tsearch.c (main): Converted to ...
9322         (do_test): ... this.
9323         (TEST_FUNCTION): New macro.
9324         Include test-skeleton.c.
9325         * posix/tst-regexloc.c (main): Converted to ...
9326         (do_test): ... this.
9327         (TEST_FUNCTION): New macro.
9328         Include test-skeleton.c.
9329         * resolv/tst-aton.c (main): Converted to ...
9330         (do_test): ... this.
9331         (TEST_FUNCTION): New macro.
9332         Include test-skeleton.c.
9333         * stdio-common/test-fwrite.c (main): Converted to ...
9334         (do_test): ... this.
9335         (TEST_FUNCTION): New macro.
9336         Include test-skeleton.c.
9337         * stdio-common/tst-ferror.c (main): Converted to ...
9338         (do_test): ... this.
9339         (TEST_FUNCTION): New macro.
9340         Include test-skeleton.c.
9341         * stdio-common/tst-printf.c (main): Converted to ...
9342         (do_test): ... this.
9343         (TEST_FUNCTION): New macro.
9344         Include test-skeleton.c.
9345         * stdio-common/tst-printfsz.c (main): Converted to ...
9346         (do_test): ... this.
9347         (TEST_FUNCTION): New macro.
9348         Include test-skeleton.c.
9349         * stdlib/tst-strtod.c (main): Converted to ...
9350         (do_test): ... this.
9351         (TEST_FUNCTION): New macro.
9352         Include test-skeleton.c.
9353         * string/tst-strlen.c (main): Converted to ...
9354         (do_test): ... this.
9355         (TEST_FUNCTION): New macro.
9356         Include test-skeleton.c.
9357         * string/tst-svc.c (main): Converted to ...
9358         (do_test): ... this.
9359         (TEST_FUNCTION): New macro.
9360         Include test-skeleton.c.
9361         * time/tst-strptime.c (main): Converted to ...
9362         (do_test): ... this.
9363         (TEST_FUNCTION): New macro.
9364         Include test-skeleton.c.
9365         * timezone/tst-timezone.c (main): Converted to ...
9366         (do_test): ... this.
9367         (TEST_FUNCTION): New macro.
9368         Include test-skeleton.c.
9370 2015-08-05  Zack Weinberg  <zackw@panix.com>
9372         * misc/regexp.h: Update comments.
9374 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
9376         [BZ #18635]
9377         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
9378         before return label.
9380 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
9382         [BZ #18661]
9383         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
9384         when calling __errno_location.
9385         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
9386         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
9388 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
9390         [BZ #18661]
9391         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
9392         (__lll_timedwait_tid): Align stack to 16 bytes when calling
9393         __gettimeofday.
9395 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
9397         [BZ #18661]
9398         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9399         (__start_context): Don't use pop to restore %rdi so that stack
9400         is aligned to 16 bytes when calling __setcontext.
9402 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
9404         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
9405         only for libc.
9406         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9408 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
9410         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
9411         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
9412         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
9414 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
9416         * string/memccpy.c (memccpy):
9417         Improve performance by using memchr/memcpy/__mempcpy.
9419 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
9421         * string/strncpy.c (strncpy):
9422         Improve performance by using __strnlen/memcpy.
9424 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
9426         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9427         Optimize to avoid an unnecessary FPCR read.
9429 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
9431         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
9432         Optimize to reduce FPCR/FPSR accesses.
9434 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
9436         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
9437         dead->data[category] != NULL.
9439 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
9441         [BZ #18647]
9442         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
9443         and |x| close to 1, use absolute value of x when computing log.
9444         * math/auto-libm-test-in: Add more tests of pow.
9445         * math/auto-libm-test-out: Regenerated.
9447 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9449         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
9450         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
9451         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
9453 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
9455         [BZ #18525]
9456         * locales/km_KH: Remove timezone definition.
9457         * locales/lo_LA: Likewise.
9458         * locales/my_MM: Likewise.
9459         * locales/nan_TW@latin: Likewise.
9460         * locales/th_TH: Likewise.
9461         * locales/uk_UA: Likewise.
9463 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
9465         [BZ #18265]
9466         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
9467         (wcsncat): Likewise.
9468         (wcscmp): Likewise.
9469         (wcsncmp): Likewise.
9471 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
9473         * test-skeleton.c (usage): New function.
9474         (main): Call usage when opt is '?'.
9476 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
9478         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
9479         before first use.
9481 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
9483         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
9484         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
9485         in there too.
9487 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
9489         * version.h (RELEASE): Set to "development".
9490         (VERSION): Set to "2.22.90"
9492         * version.h (RELEASE): Set to "stable".
9493         (VERSION): Set to "2.22"
9494         * include/features.h (__GLIBC_MINOR__): Set to 22.
9496 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
9498         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
9499         Restructure macro to avoid "value computed is not used" warning.
9500         (atomic_compare_and_exchange_val_acq): Likewise.
9502 2015-08-04  Andreas Schwab  <schwab@suse.de>
9504         [BZ #18635]
9505         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
9506         ret.
9507         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
9509 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
9511         * po/pl.po: Updated translation.
9512         * po/uk.po: Likewise.
9513         * po/fi.po: Likewise.
9514         * po/ko.po: Likewise.
9515         * po/ru.po: Likewise.
9516         * po/vi.po: Likewise.
9518 2015-07-31  Zack Weinberg  <zackw@panix.com>
9520         [BZ #18681]
9521         * regexp.h: Add unconditional #warning stating that this header
9522         will be removed soon.  Revise banner comment to match.
9523         (compile): Consistently use ERROR instead of RETURN to report
9524         errors (partial fix for bz#18681).
9525         * regexp.c: Don't include regexp.h. Remove some unnecessary
9526         declarations.
9528 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
9530         * po/libc.pot: Regenerated.
9532 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9534         [BZ #18740]
9535         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
9536         float-vlen4-arch-ext-cflags): Removed.
9537         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
9538         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
9540 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
9542         [BZ #14113]
9543         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
9544         aligned to __aligned__.
9545         (pthread_cond_t, pthread_rwlock_t): Likewise.
9547 2015-07-30  Torvald Riegel  <triegel@redhat.com>
9549         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
9551 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
9553         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
9554         (struct sigaction): Change sa_flags from a long to an int, and add
9555         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
9557 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
9559         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
9560         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
9561         sysdeps/generic/sysdep.h include.
9562         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
9563         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
9564         sysdeps/hppa/sysdep.h.
9565         (ENTRY, PSEUDO): Undefine before defining.
9567 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
9569         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
9570         from scratch to use INTERNAL_SYSCALL.
9572 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
9574         [BZ #18078]
9575         * scripts/check-localplt.awk: Support alternate relocations.
9576         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
9577         sections.
9578         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
9579         malloc entries with + REL R_386_GLOB_DAT.
9580         * sysdeps/x86_64/localplt.data: New file.
9582 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
9584         [BZ #18731]
9585         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
9586         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
9587         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
9589 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
9591         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
9593 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
9595         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
9596         directly in terms of __sync_fetch_and_add and delete (int) cast.
9598 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
9600         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
9601         the -D_ASM_IA64_CURRENT_H flag.
9603 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
9605         [BZ #18641]
9606         * pwd/pwd.h (putpwent): Delete __nonnull markings.
9608 2015-07-27  Andreas Schwab  <schwab@suse.de>
9610         * conform/conformtest.pl (checknamespace): Filter out string
9611         literals while tokenizing.
9613 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
9615         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
9616         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
9617         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
9619 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
9621         * nptl/tst-join7mod.c: Add #include <string.h>.
9623 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
9625         * sysdeps/nios2/libm-test-ulps: Update.
9627 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
9629         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
9630         Fix order of arguments to the rt_sigprocmask syscall.
9631         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
9632         Likewise.
9634 2015-07-24  Roland McGrath  <roland@hack.frob.com>
9636         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
9638 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9640         [BZ #18457]
9641         * nptl/Makefile (tests): New test case tst-join7.
9642         (modules-names): New test case module tst-join7mod.
9643         * nptl/tst-join7.c: New file.
9644         * nptl/tst-join7mod.c: New file.
9645         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
9646         all translation units in libc.so, libpthread.so and rtld.
9648 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9650         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9652 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
9654         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
9655         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
9656         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
9657         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
9658         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
9659         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
9660         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
9661         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
9662         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
9663         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
9664         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
9665         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
9666         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
9667         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
9668         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
9669         implementation.
9671 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9673         [BZ #17711]
9674         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
9675         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
9676         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
9677         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
9678         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
9679         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
9681 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9683         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
9684         instead of just saying load lock in the comments.
9686 2015-07-23  Roland McGrath  <roland@hack.frob.com>
9688         * sysdeps/unix/Subdirs: Moved ...
9689         * sysdeps/posix/Subdirs: ... here.
9690         * login/pty.h (struct termios, struct winsize): Add forward decls.
9691         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
9692         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
9693         * sysdeps/arm/nacl/libc.abilist: Updated.
9694         * sysdeps/nacl/libutil.abilist: New file.
9696         * bits/signum.h: Update comments to mention 1003.1-2013 too.
9697         (SIGWINCH): New macro.
9699         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
9700         * sysdeps/arm/nacl/libc.abilist: Add it.
9702 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
9704         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
9706 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
9708         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
9709         Swap __glibc_reserved0 and sa_flags order.
9711 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
9713         [BZ #18657]
9714         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
9715         are pending TLS destructor calls.
9716         * include/link.h (struct link_map): Add concurrency note for
9717         L_TLS_DTOR_COUNT.
9718         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9719         Don't touch the link map flag.  Atomically increment
9720         l_tls_dtor_count.
9721         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
9722         Avoid taking the load lock and don't touch the link map flag.
9723         * stdlib/tst-tls-atexit-nodelete.c: New test case.
9724         * stdlib/Makefile (tests): Use it.
9725         * stdlib/tst-tls-atexit.c (do_test): dlopen
9726         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
9727         to allow tst-tls-atexit-nodelete test case to use it.
9729 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
9731         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
9732         to bits/types.h.
9733         (msgqnum_t): New typedef.
9734         (msglen_t): Likewise.
9735         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
9736         and msg_qbytes type to msglen_t.
9738 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
9740         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
9741         pad0 to __glibc_reserved0.
9742         (struct stat64): Likewise.
9744 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
9746         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
9747         Change sa_flags from a long to an int and add __glibc_reserved0 before
9748         it for padding.
9750 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
9752         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
9753         anonymous by deleting "siginfo" name.
9755 2015-07-21  Roland McGrath  <roland@hack.frob.com>
9757         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
9758         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
9759         rather than __nacl_irt_filename.
9760         * sysdeps/nacl/xstat.c (__xstat): Likewise.
9762         * NEWS: New item for arm-nacl port.
9763         * sysdeps/arm/nacl/libc.abilist: New file.
9764         * sysdeps/nacl/ld.abilist: New file.
9765         * sysdeps/nacl/libBrokenLocale.abilist: New file.
9766         * sysdeps/nacl/libanl.abilist: New file.
9767         * sysdeps/nacl/libcrypt.abilist: New file.
9768         * sysdeps/nacl/libdl.abilist: New file.
9769         * sysdeps/nacl/libm.abilist: New file.
9770         * sysdeps/nacl/libpthread.abilist: New file.
9771         * sysdeps/nacl/libresolv.abilist: New file.
9772         * sysdeps/nacl/librt.abilist: New file.
9774 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
9776         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
9777         __startcontext to initialize the new context.
9778         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
9779         up CFI directive to forbid further backtracing.
9781 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
9783         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
9784         reference.
9785         * charmaps/ANSI_X3.4-1968: Likewise.
9786         * charmaps/BS_4730: Likewise.
9787         * charmaps/BS_VIEWDATA: Likewise.
9788         * charmaps/CP1250: Likewise.
9789         * charmaps/CP1251: Likewise.
9790         * charmaps/CP1252: Likewise.
9791         * charmaps/CP1253: Likewise.
9792         * charmaps/CP1254: Likewise.
9793         * charmaps/CP1255: Likewise.
9794         * charmaps/CP1256: Likewise.
9795         * charmaps/CSN_369103: Likewise.
9796         * charmaps/EBCDIC-DK-NO: Likewise.
9797         * charmaps/GB_1988-80: Likewise.
9798         * charmaps/GREEK-CCITT: Likewise.
9799         * charmaps/GREEK7: Likewise.
9800         * charmaps/INIS-8: Likewise.
9801         * charmaps/ISIRI-3342: Likewise.
9802         * charmaps/ISO_2033-1983: Likewise.
9803         * charmaps/ISO_5427-EXT: Likewise.
9804         * locales/POSIX: Likewise.
9805         * locales/ar_SA: Likewise.
9806         * locales/be_BY: Likewise.
9807         * locales/be_BY@latin: Likewise.
9808         * locales/ca_ES: Likewise.
9809         * locales/cs_CZ: Likewise.
9810         * locales/da_DK: Likewise.
9811         * locales/de_BE: Likewise.
9812         * locales/de_CH: Likewise.
9813         * locales/de_LU: Likewise.
9814         * locales/en_AU: Likewise.
9815         * locales/en_BW: Likewise.
9816         * locales/en_CA: Likewise.
9817         * locales/en_DK: Likewise.
9818         * locales/en_GB: Likewise.
9819         * locales/en_IE: Likewise.
9820         * locales/en_NZ: Likewise.
9821         * locales/en_ZA: Likewise.
9822         * locales/en_ZW: Likewise.
9823         * locales/es_AR: Likewise.
9824         * locales/es_BO: Likewise.
9825         * locales/es_CL: Likewise.
9826         * locales/es_CO: Likewise.
9827         * locales/es_DO: Likewise.
9828         * locales/es_EC: Likewise.
9829         * locales/es_ES: Likewise.
9830         * locales/es_HN: Likewise.
9831         * locales/es_MX: Likewise.
9832         * locales/es_PA: Likewise.
9833         * locales/es_PE: Likewise.
9834         * locales/es_PY: Likewise.
9835         * locales/es_SV: Likewise.
9836         * locales/es_US: Likewise.
9837         * locales/es_UY: Likewise.
9838         * locales/es_VE: Likewise.
9839         * locales/et_EE: Likewise.
9840         * locales/fa_IR: Likewise.
9841         * locales/fo_FO: Likewise.
9842         * locales/fr_CA: Likewise.
9843         * locales/fr_CH: Likewise.
9844         * locales/gv_GB: Likewise.
9845         * locales/he_IL: Likewise.
9846         * locales/hr_HR: Likewise.
9847         * locales/id_ID: Likewise.
9848         * locales/is_IS: Likewise.
9849         * locales/it_CH: Likewise.
9850         * locales/iw_IL: Likewise.
9851         * locales/kl_GL: Likewise.
9852         * locales/ko_KR: Likewise.
9853         * locales/kw_GB: Likewise.
9854         * locales/lg_UG: Likewise.
9855         * locales/lt_LT: Likewise.
9856         * locales/lv_LV: Likewise.
9857         * locales/mi_NZ: Likewise.
9858         * locales/nhn_MX: Likewise.
9859         * locales/nl_BE: Likewise.
9860         * locales/pl_PL: Likewise.
9861         * locales/sk_SK: Likewise.
9862         * locales/sl_SI: Likewise.
9863         * locales/sv_FI: Likewise.
9864         * locales/tl_PH: Likewise.
9865         * locales/tr_TR: Likewise.
9866         * locales/vi_VN: Likewise.
9868 2015-07-21  Khem Raj  <raj.khem@gmail.com>
9870         [BZ #17475]
9871         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
9872         of tu_IN and bh_IN.
9874 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
9876         [BZ #18694]
9877         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
9878         bits/wordsize.h.
9879         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
9881 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9883         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
9884         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
9885         (spawn_thread): New function.
9886         (load): Rename to reg_dtor_and_close.  Move dlopen to...
9887         (do_test): ... here.  Use IS_LOADED to test for its
9888         availability.
9890 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
9892         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9894 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
9896         [BZ #18696]
9897         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
9898         si_addr_bnd.
9899         (si_lower): New.
9900         (si_upper): Likewise.
9902 2015-07-16  David S. Miller  <davem@davemloft.net>
9904         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
9906 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9908         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
9909         buffer.
9910         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
9911         fail output information.
9913 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9915         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
9916         and strstr-ppc64..
9917         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
9918         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
9919         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
9920         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
9921         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
9923 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
9925         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
9926         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
9927         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
9928         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
9930 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
9932         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
9933         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
9934         rtld_hidden_proto.
9935         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
9937 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9939         * tst-nodelete-opened.c (do_test): Add comment to clarify how
9940         the test can fail.
9942         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
9944         [BZ #18676]
9945         * elf/tst-nodelete-opened.c: New test case.
9946         * elf/tst-nodelete-opened-lib.c: New test case module.
9947         * elf/Makefile (tests, modules-names): Use them.
9948         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
9949         early.
9951 2015-07-15  David S. Miller  <davem@davemloft.net>
9953         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
9954         futex-intenal.h
9955         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
9956         * sysdeps/sparc/sparc64/Makefile: Likewise.
9957         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
9958         Remove space from macro define.
9959         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
9961 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
9963         [BZ #17475]
9964         * locale/iso-639.def: Update Bhili and Tulu language codes as
9965         per iso639-3.
9967 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
9969         * elf/tst-leaks1.c (main): Converted to ...
9970         (do_test): ... this.
9971         (TEST_FUNCTION): New macro.
9972         Include test-skeleton.c.
9973         * localedata/tst-langinfo.c (main): Converted to ...
9974         (do_test): ... this.
9975         (TEST_FUNCTION): New macro.
9976         Include test-skeleton.c.
9977         * math/test-fpucw.c (main): Converted to ...
9978         (do_test): ... this.
9979         (TEST_FUNCTION): New macro.
9980         Include test-skeleton.c.
9981         * math/test-tgmath.c (main): Converted to ...
9982         (do_test): ... this.
9983         (TEST_FUNCTION): New macro.
9984         Include test-skeleton.c.
9985         * math/test-tgmath2.c (main): Converted to ...
9986         (do_test): ... this.
9987         (TEST_FUNCTION): New macro.
9988         Include test-skeleton.c.
9989         * setjmp/tst-setjmp.c (main): Converted to ...
9990         (do_test): ... this.
9991         (TEST_FUNCTION): New macro.
9992         Include test-skeleton.c.
9993         * stdio-common/tst-sscanf.c (main): Converted to ...
9994         (do_test): ... this.
9995         (TEST_FUNCTION): New macro.
9996         Include test-skeleton.c.
9997         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
9998         (do_test): ... this.
9999         (TEST_FUNCTION): New macro.
10000         Include test-skeleton.c.
10002         * elf/tst-audit9.c (main): Converted to ...
10003         (do_test): ... this.
10004         (TEST_FUNCTION): New macro.
10005         Include test-skeleton.c.
10007 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
10009         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
10011 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
10013         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
10014         New variable.
10016 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
10018         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10020 2015-07-14  Roland McGrath  <roland@hack.frob.com>
10022         * sysdeps/generic/dl-fileid.h: New file.
10023         * sysdeps/posix/dl-fileid.h: New file.
10024         * sysdeps/nacl/dl-fileid.h: New file.
10025         * include/link.h: Include <dl-fileid.h>.
10026         (struct link_map): Replace l_dev and l_ino with l_file_id.
10027         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
10028         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
10029         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
10031 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10033         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
10035 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10037         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
10038         Add iff $CXX is set.
10039         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
10040         Likewise.
10041         (tst-nodelete-zmodiff): Likewise.
10042         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
10044 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10046         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
10048 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
10050         * sysdeps/aarch64/fpu/math_private.h
10051         (define math_opt_barrier): Add AArch64 version.
10052         (math_force_eval): Likewise.
10054 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
10056         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
10058 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
10060         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
10061         %ld with %jd and cast to intmax_t.
10062         (do_test_length_zero): Likewise.
10064 2015-07-10  Roland McGrath  <roland@hack.frob.com>
10066         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
10068 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
10070         * sysdeps/tile/libm-test-ulps: Regenerated.
10072         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
10073         Comment out the whole function, not just its body.
10075 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10077         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
10078         locks.
10080         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
10082 2015-07-10  Torvald Riegel  <triegel@redhat.com>
10084         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
10085         (sem_assume_only_signals_cause_futex_EINTR): Remove.
10087 2015-07-10  Torvald Riegel  <triegel@redhat.com>
10089         * sysdeps/nptl/futex-internal.h: New file.
10090         * sysdeps/nacl/futex-internal.h: New file.
10091         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
10092         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
10093         error checking.
10094         (setxid_unmark_thread): Likewise.
10095         (__nptl_setxid): Likewise.
10096         (__wait_lookup_done): Likewise.
10097         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
10098         * nptl/nptl-init.c (sighandler_setxid): Likewise.
10099         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
10100         * nptl/pthread_once.c (clear_once_control): Likewise.
10101         (__pthread_once_slow): Likewise.
10102         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
10103         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
10104         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
10105         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
10106         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
10107         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
10108         Likewise.
10109         (__pthread_rwlock_rdlock): Likewise.
10110         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10111         Likewise.
10112         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
10113         Likewise.
10114         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
10115         Likewise.
10116         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
10117         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
10118         Likewise.
10119         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
10120         __ASSUME_PRIVATE_FUTEX check.
10121         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
10122         Check that shared futexes are supported.
10123         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
10124         wrappers with error checking.
10125         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
10126         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
10127         * nptl/pthread_barrierattr_setpshared.c
10128         (pthread_barrierattr_setpshared): Check that shared futexes are
10129         supported.
10130         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
10131         Likewise.
10132         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
10133         Likewise.
10134         * nptl/sem_init.c (futex_private_if_supported): Remove.
10135         (__new_sem_init): Adapt and check that shared futexes are supported.
10136         * nptl/sem_open.c (sem_open): Likewise.
10137         * nptl/sem_post.c (futex_wake): Remove.
10138         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
10139         (do_futex_wait): Use futex wrappers with error checking.
10140         * nptl/sem_wait.c: Include lowlevellock.h.
10141         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
10142         Use futex_supports_pshared.
10143         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
10144         Use futex wrappers with error checking.
10145         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
10146         Likewise.
10147         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
10148         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
10149         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
10150         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
10151         (futex_wake): Likewise.
10152         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
10153         (do_futex_wait): Use futex wrappers with error checking.
10154         (__new_sem_wait_slow): Update EINTR handling.
10155         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
10157 2015-07-09  Martin Sebor  <msebor@redhat.com>
10159         [BZ #18435]
10160         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
10161         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
10162         * nptl/Makefile (test-xfail-tst-once5): Define.
10164 2015-07-09  Roland McGrath  <roland@hack.frob.com>
10166         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
10167         * elf/dl-minimal.c: For readability, reorder some definitions and
10168         introduce more page breaks.  Include <stdio.h>.
10169         (__libc_fatal): New function.
10171         * include/unistd.h: Add rtld_hidden_proto for _exit.
10172         * posix/_exit.c: Add rtld_hidden_def.
10173         * sysdeps/mach/hurd/_exit.c: Likewise.
10174         * sysdeps/nacl/_exit.c: Likewise.
10175         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
10176         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
10178 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
10180         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
10181         bndmov encoding with zero displacement.
10183 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
10184             H.J. Lu  <hongjiu.lu@intel.com>
10186         [BZ #18134]
10187         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
10188         * sysdeps/i386/configure: Regenerated.
10189         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
10190         (_dl_runtime_profile): Save and restore Intel MPX return bound
10191         registers when calling _dl_call_pltexit.  Add
10192         PRESERVE_BND_REGS_PREFIX before return.
10193         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
10194         (LRV_BND1_OFFSET): Likewise.
10195         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
10196         lrv_bnd1.
10197         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
10198         typo in bndmov encoding.
10199         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
10200         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
10201         branch instructions to preserve bounds.
10203 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
10206         [GLIBC_2.22]: Add fmemopen.
10208 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10210         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
10211         returns an error, also try to use host port from __mach_host_self for
10212         the __vm_wire call.
10213         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
10215 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10217         [BZ #18400]
10218         [BZ #18648]
10219         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
10220         Fix pr_uid and pr_gid members.
10221         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
10222         definition to elf_greg_t.
10224 2015-07-08  Roland McGrath  <roland@hack.frob.com>
10226         [BZ #18383]
10227         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
10228         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
10229         * sysdeps/arm/configure: Regenerated.
10230         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
10231         (test-xfail-tst-tlsalign-static): Variable removed.
10233         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
10234         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
10235         rather than explicit 'ln -s'.
10237         * resolv/rpc/netdb.h: New file.
10238         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
10240 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10242         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
10243         length buffers.
10244         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
10245         test-skeleton.c.
10247         [BZ #6544]
10248         [BZ #11216]
10249         [BZ #12836]
10250         [BZ #13151]
10251         [BZ #13152]
10252         [BZ #14292]
10253         * include/stdio.h (fmemopen): Remove hidden prototype.
10254         (__fmemopen): Add new hidden prototype.
10255         * libio/Makefile: Add oldfmemopen object.
10256         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
10257         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
10258         compliance.
10259         * libio/oldfmemopen.c: New file: old fmemopen implementation for
10260         symbol compatibility.
10261         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
10262         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
10263         fmemopen.
10264         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
10265         on append and read mode.
10266         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
10267         fmemopen.
10268         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
10269         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
10270         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
10271         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
10272         Likewise.
10273         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
10274         [GLIBC_2.22]: Likewise.
10275         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
10276         Likewise.
10277         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
10278         Likewise.
10279         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
10280         [GLIBC_2.22]: Likewise.
10281         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
10282         [GLIBC_2.22]: Likewise.
10283         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
10284         [GLIBC_2.22]: Likewise.
10285         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
10286         [GLIBC_2.22]: Likewise.
10287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
10288         [GLIBC_2.22]: Likewise.
10289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
10290         [GLIBC_2.22]: Likewise.
10291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
10292         [GLIBC_2.22]: Likewise.
10293         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
10294         Likewise.
10295         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
10296         Likewise.
10297         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
10298         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
10299         [GLIBC_2.22]: Likewise.
10300         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
10301         [GLIBC_2.22]: Likewise.
10302         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
10303         [GLIBC_2.22]: Likewise.
10304         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
10305         [GLIBC_2.22]: Likewise.
10306         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
10307         Likewise.
10308         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
10309         Likewise.
10310         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
10311         Likewise.
10312         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
10313         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
10315 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
10317         [BZ #18643]
10318         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
10319         IPV6_PATHMTU, and IPV6_DONTFRAG.
10321 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
10323         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
10324         and _IO_UNBUFFERED.
10325         * libio/oldfileops.c: Likewise.
10326         * libio/wfileops.c: Likewise.
10328 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
10330         * nscd/selinux.c: Delete selinux/flask.h include.
10332 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
10334         [BZ #18641]
10335         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
10336         (putpwent): Likewise.
10337         (getpwnam): Likewise.
10338         (getpwent_r): Likewise.
10339         (getpwuid_r): Likewise.
10340         (getpwnam_r): Likewise.
10341         (fgetpwent_r): Likewise.
10343 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
10345         [BZ #18557]
10346         * inet/rcmd.c (__validuser2_sa): Check user first to
10347         short-circuit host check.
10349 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
10350             Mikhail Ilin  <m.ilin@samsung.com>
10352         [BZ #17833]
10353         * elf/Makefile (tests): Add tst-nodelete.
10354         (modules-names): Add tst-nodelete-uniquemod.
10355         (tst-nodelete-uniquemod.so-no-z-defs): New.
10356         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
10357         (tst-nodelete-zmod.so-no-z-defs): Likewise.
10358         ($(objpfx)tst-nodelete): Likewise.
10359         ($(objpfx)tst-nodelete.out): Likewise.
10360         (LDFLAGS-tst-nodelete): Likewise.
10361         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
10362         * elf/dl-close.c (_dl_close_worker): Add a parameter to
10363         implement forced object deletion.
10364         (_dl_close): Pass false to _dl_close_worker.
10365         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
10366         * elf/tst-nodelete.cc: New file.
10367         * elf/tst-nodeletelib.cc: Likewise.
10368         * elf/tst-znodeletelib.cc: Likewise.
10369         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
10371 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10373         [BZ #18508]
10374         * stdlib/Makefile ($(objpfx)tst-makecontext3):
10375         Depend on $(libdl).
10376         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
10377         is not called infinitely times.
10378         (backtrace_helper): New function.
10379         (trace_arg): New struct.
10380         (st1): Enlarge stack size.
10381         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10382         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
10383         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10384         Likewise.
10386 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10388         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10390 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10392         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
10393         Include sys/types.h instead of bits/types.h.
10394         Remove inclusion of bits/wordsize.h.
10396 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
10398         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
10399         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
10400         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
10401         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
10402         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
10403         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
10405 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
10407         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
10408         link-defines.sym.
10409         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
10410         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
10411         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
10412         and LR_SIZE.
10413         * sysdeps/i386/link-defines.sym: New file.
10415 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
10417         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
10418         (modules-names): Add tst-auditmod3a tst-auditmod3b.
10419         ($(objpfx)tst-audit3): New rule.
10420         ($(objpfx)tst-audit3.out): Likewise.
10421         * sysdeps/i386/tst-audit3.c: New file.
10422         * sysdeps/i386/tst-audit3.h: Likewise.
10423         * sysdeps/i386/tst-auditmod3a.c: Likewise.
10424         * sysdeps/i386/tst-auditmod3b.c: Likewise.
10426 2015-07-07  Torvald Riegel  <triegel@redhat.com>
10428         [BZ #18633]
10429         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
10430         pointer in C code.
10431         (__strcat_c): Likewise.
10432         (__strcat_g): Likewise.
10434 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
10436         [BZ #18592]
10437         * misc/sbrk.c: Set errno to ENOMEM on overflow.
10439 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
10441         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
10442         New function.  (__ieee754_sqrtf): New function.
10443         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
10444         New function.
10445         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
10446         New function.
10448 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
10450         * sysdeps/ieee754/support.c: Remove unused file.
10452 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10454         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
10455         registers instead of d ones so the layout is kernel abi compatible.
10456         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
10457         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
10458         Likewise.
10460 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10462         * sysdeps/aarch64/libm-test-ulps: Regenerated.
10464 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
10466         [BZ #18619]
10467         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
10468         and return argument in case of subnormal argument.
10470 2015-07-01  Martin Sebor  <msebor@redhat.com>
10472         [BZ #18435]
10473         * nptl/Makefile: Add tst-once5.cc.
10474         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
10475         Remove macro redefinitions.
10476         * nptl/tst-once5.cc: New test.
10478 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
10480         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10482         * sysdeps/arm/libm-test-ulps: Regenerated.
10484         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
10485         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10487 2015-06-30  Torvald Riegel  <triegel@redhat.com>
10489         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
10490         lll_lock_wait_private and lll_futex_wake probes.
10492         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
10493         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
10494         Likewise.
10495         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
10496         atomic_spin_nop.
10497         * sysdeps/x86_64/bits/atomic.h: Likewise.
10498         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
10499         to atomic_spin_nop and move ...
10500         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
10501         ... here and ...
10502         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
10503         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
10504         atomic_spin_nop instead of BUSY_WAIT_NOP.
10505         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
10506         Likewise.
10507         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
10508         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
10509         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
10510         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
10511         instead of atomic_delay.
10513 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
10515         [BZ #18613]
10516         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
10517         X_ADJ not X when adjusting exponent.
10518         (__ieee754_gamma_r): Do intermediate computations in
10519         round-to-nearest then adjust overflowing and underflowing results
10520         as needed.
10521         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
10522         of X_ADJ not X when adjusting exponent.
10523         (__ieee754_gammaf_r): Do intermediate computations in
10524         round-to-nearest then adjust overflowing and underflowing results
10525         as needed.
10526         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
10527         log of X_ADJ not X when adjusting exponent.
10528         (__ieee754_gammal_r): Do intermediate computations in
10529         round-to-nearest then adjust overflowing and underflowing results
10530         as needed.  Use 1.0L not 1.0f as numerator of division.
10531         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
10532         log of X_ADJ not X when adjusting exponent.
10533         (__ieee754_gammal_r): Do intermediate computations in
10534         round-to-nearest then adjust overflowing and underflowing results
10535         as needed.  Use 1.0L not 1.0f as numerator of division.
10536         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
10537         of X_ADJ not X when adjusting exponent.
10538         (__ieee754_gammal_r): Do intermediate computations in
10539         round-to-nearest then adjust overflowing and underflowing results
10540         as needed.  Use 1.0L not 1.0f as numerator of division.
10541         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
10542         to auto-libm-test-in.
10543         (tgamma_test): Use ALL_RM_TEST.
10544         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
10545         tests of tgamma with spurious-overflow.
10546         * math/auto-libm-test-out: Regenerated.
10547         * math/gen-libm-have-vector-test.sh: Do not check for START.
10548         * sysdeps/i386/fpu/libm-test-ulps: Update.
10549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10551         [BZ #18612]
10552         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
10553         arguments, just return 0.5 times the argument, with underflow
10554         forced as needed.
10555         * math/auto-libm-test-in: Add more tests of j1.
10556         * math/auto-libm-test-out: Regenerated.
10558         [BZ #16559]
10559         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
10560         (__ieee754_j1): Force underflow exception for small results.
10561         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10562         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
10563         (__ieee754_j1f): Force underflow exception for small results.
10564         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10565         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10566         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10567         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
10568         (__ieee754_j1l): Force underflow exception for small results.
10569         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10570         * math/auto-libm-test-in: Add more tests of j1 and jn.
10571         * math/auto-libm-test-out: Regenerated.
10573         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
10574         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
10575         (PF_MPLS): Likewise.
10576         (AF_IB): Likewise.
10577         (AF_MPLS): Likewise.
10578         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
10579         value and macro.
10580         (MS_RMT_MASK): Include MS_LAZYTIME.
10582 2015-06-26  Mel Gorman  <mgorman@suse.de>
10584         [BZ #18502]
10585         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
10586         already minimal.
10588 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
10590         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
10591         (DT_MIPS_NUM): Update.
10592         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
10593         DT_MIPS_RLD_MAP_REL.
10595 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
10597         [BZ #16559]
10598         [BZ #18602]
10599         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
10600         round-to-nearest internally then recompute results that
10601         underflowed to zero in the original rounding mode.
10602         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10603         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10604         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10605         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
10606         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
10607         * sysdeps/i386/fpu/libm-test-ulps: Update.
10608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10610 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
10612         * NEWS: Fixed description of link with vector math library.
10614 2015-06-25  Andreas Schwab  <schwab@suse.de>
10616         [BZ #18549]
10617         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
10618         * libio/test-fmemopen.c (do_test): Add test for it.
10620 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
10622         [BZ #17841]
10623         * Makeconfig (no-pie-ldflag): New.
10624         (+link): Set to $(+link-pie) if default to PIE.
10625         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
10626         * config.make.in (build-pie-default): New.
10627         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
10628         is default.  AC_SUBST.
10629         * configure: Regenerated.
10630         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
10632 2015-06-24  Roland McGrath  <roland@hack.frob.com>
10634         * nptl/descr.h (struct pthread): Change type of field setxid_futex
10635         to 'unsigned int'.
10637         * resolv/gai_misc.h (struct waitlist): Change type of field
10638         counterp to 'volatile unsigned int *'.
10639         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
10640         FUTEXADDR and OLDVAL.
10641         * resolv/getaddrinfo_a.c (getaddrinfo_a):
10642         Give local variable TOTAL type 'volatile unsigned int'.
10643         (struct async_waitlist): Change type of field counter to 'unsigned int'.
10644         * resolv/gai_suspend.c (gai_suspend):
10645         Give local variable CNTR type 'unsigned int'.
10647         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
10648         counterp to 'volatile unsigned int *'.
10649         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
10650         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
10651         (aio_suspend): Give local variable CNTR type 'unsigned int'.
10652         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
10653         Give local variable TOTAL type 'volatile unsigned int'.
10654         (struct async_waitlist): Change type of field counter to 'unsigned int'.
10656 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
10658         [BZ #18383]
10659         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
10660         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
10661         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
10662         comment for i386/x86-64.
10663         (test-xfail-tst-tlsalign-extern-static): Removed.
10665 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
10667         * math/test-double.h: New file.
10668         * math/test-float.h: Likewise.
10669         * math/test-ldouble.h: Likewise.
10670         * math/test-math-inline.h: Likewise.
10671         * math/test-math-no-inline.h: Likewise.
10672         * math/test-math-scalar.h: Likewise.
10673         * math/test-math-vector.h: Likewise.
10674         * math/test-vec-loop.h: Remove file.  Contents moved into
10675         test-math-vector.h.
10676         * math/libm-test.inc (MATHCONST): Do not document macro.
10677         * math/test-double.c: Include test-double.h, test-math-no-inline.h
10678         and test-math-scalar.h.
10679         (FUNC): Remove macro.
10680         (FUNC_TEST): Likewise.
10681         (FLOAT): Likewise.
10682         (MATHCONST): Likewise.
10683         (PRINTF_EXPR): Likewise.
10684         (PRINTF_XEXPR): Likewise.
10685         (PRINTF_NEXPR): Likewise.
10686         (TEST_DOUBLE): Likewise.
10687         (TEST_MATHVEC): Likewise.
10688         (__NO_MATH_INLINES): Likewise.
10689         * math/test-float.c: Include test-float.h, test-math-no-inline.h
10690         and test-math-scalar.h.
10691         (FUNC): Remove macro.
10692         (FUNC_TEST): Likewise.
10693         (FLOAT): Likewise.
10694         (MATHCONST): Likewise.
10695         (PRINTF_EXPR): Likewise.
10696         (PRINTF_XEXPR): Likewise.
10697         (PRINTF_NEXPR): Likewise.
10698         (TEST_FLOAT): Likewise.
10699         (TEST_MATHVEC): Likewise.
10700         (__NO_MATH_INLINES): Likewise.
10701         * math/test-idouble.c: Include test-double.h, test-math-inline.h
10702         and test-math-scalar.h.
10703         (FUNC): Remove macro.
10704         (FUNC_TEST): Likewise.
10705         (FLOAT): Likewise.
10706         (MATHCONST): Likewise.
10707         (PRINTF_EXPR): Likewise.
10708         (PRINTF_XEXPR): Likewise.
10709         (PRINTF_NEXPR): Likewise.
10710         (TEST_DOUBLE): Likewise.
10711         (TEST_MATHVEC): Likewise.
10712         (TEST_INLINE): Likewise.
10713         (__NO_MATH_INLINES): Likewise.
10714         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
10715         test-math-scalar.h.
10716         (FUNC): Remove macro.
10717         (FUNC_TEST): Likewise.
10718         (FLOAT): Likewise.
10719         (MATHCONST): Likewise.
10720         (PRINTF_EXPR): Likewise.
10721         (PRINTF_XEXPR): Likewise.
10722         (PRINTF_NEXPR): Likewise.
10723         (TEST_FLOAT): Likewise.
10724         (TEST_MATHVEC): Likewise.
10725         (TEST_INLINE): Likewise.
10726         (__NO_MATH_INLINES): Likewise.
10727         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
10728         and test-math-scalar.h.
10729         (FUNC): Remove macro.
10730         (FUNC_TEST): Likewise.
10731         (FLOAT): Likewise.
10732         (MATHCONST): Likewise.
10733         (PRINTF_EXPR): Likewise.
10734         (PRINTF_XEXPR): Likewise.
10735         (PRINTF_NEXPR): Likewise.
10736         (TEST_LDOUBLE): Likewise.
10737         (TEST_MATHVEC): Likewise.
10738         (TEST_INLINE): Likewise.
10739         (__NO_MATH_INLINES): Likewise.
10740         * math/test-ldouble.c: Include test-ldouble.h,
10741         test-math-no-inline.h and test-math-scalar.h.
10742         (FUNC): Remove macro.
10743         (FUNC_TEST): Likewise.
10744         (FLOAT): Likewise.
10745         (MATHCONST): Likewise.
10746         (PRINTF_EXPR): Likewise.
10747         (PRINTF_XEXPR): Likewise.
10748         (PRINTF_NEXPR): Likewise.
10749         (TEST_LDOUBLE): Likewise.
10750         (TEST_MATHVEC): Likewise.
10751         (__NO_MATH_INLINES): Likewise.
10752         * math/test-double-vlen2.h: Include test-double.h,
10753         test-math-no-inline.h and test-math-vector.h.
10754         (FLOAT): Remove macro.
10755         (FUNC): Likewise.
10756         (MATHCONST): Likewise.
10757         (PRINTF_EXPR): Likewise.
10758         (PRINTF_XEXPR): Likewise.
10759         (PRINTF_NEXPR): Likewise.
10760         (TEST_DOUBLE): Likewise.
10761         (TEST_MATHVEC): Likewise.
10762         (__NO_MATH_INLINES): Likewise.
10763         (CNCT): Likewise.
10764         (CONCAT): Likewise.
10765         (WRAPPER_NAME): Likewise.
10766         (WRAPPER_DECL): Likewise.
10767         (WRAPPER_DECL_ff): Likewise.
10768         (WRAPPER_DECL_fFF): Likewise.
10769         (VECTOR_WRAPPER): Likewise.
10770         (VECTOR_WRAPPER_ff): Likewise.
10771         (VECTOR_WRAPPER_fFF): Likewise.
10772         (VEC_LEN): New macro.
10773         * math/test-double-vlen4.h: Include test-double.h,
10774         test-math-no-inline.h and test-math-vector.h.
10775         (FLOAT): Remove macro.
10776         (FUNC): Likewise.
10777         (MATHCONST): Likewise.
10778         (PRINTF_EXPR): Likewise.
10779         (PRINTF_XEXPR): Likewise.
10780         (PRINTF_NEXPR): Likewise.
10781         (TEST_DOUBLE): Likewise.
10782         (TEST_MATHVEC): Likewise.
10783         (__NO_MATH_INLINES): Likewise.
10784         (CNCT): Likewise.
10785         (CONCAT): Likewise.
10786         (WRAPPER_NAME): Likewise.
10787         (WRAPPER_DECL): Likewise.
10788         (WRAPPER_DECL_ff): Likewise.
10789         (WRAPPER_DECL_fFF): Likewise.
10790         (VECTOR_WRAPPER): Likewise.
10791         (VECTOR_WRAPPER_ff): Likewise.
10792         (VECTOR_WRAPPER_fFF): Likewise.
10793         (VEC_LEN): New macro.
10794         * math/test-double-vlen8.h: Include test-double.h,
10795         test-math-no-inline.h and test-math-vector.h.
10796         (FLOAT): Remove macro.
10797         (FUNC): Likewise.
10798         (MATHCONST): Likewise.
10799         (PRINTF_EXPR): Likewise.
10800         (PRINTF_XEXPR): Likewise.
10801         (PRINTF_NEXPR): Likewise.
10802         (TEST_DOUBLE): Likewise.
10803         (TEST_MATHVEC): Likewise.
10804         (__NO_MATH_INLINES): Likewise.
10805         (CNCT): Likewise.
10806         (CONCAT): Likewise.
10807         (WRAPPER_NAME): Likewise.
10808         (WRAPPER_DECL): Likewise.
10809         (WRAPPER_DECL_ff): Likewise.
10810         (WRAPPER_DECL_fFF): Likewise.
10811         (VECTOR_WRAPPER): Likewise.
10812         (VECTOR_WRAPPER_ff): Likewise.
10813         (VECTOR_WRAPPER_fFF): Likewise.
10814         (VEC_LEN): New macro.
10815         * math/test-float-vlen4.h: Include test-float.h,
10816         test-math-no-inline.h and test-math-vector.h.
10817         (FLOAT): Remove macro.
10818         (FUNC): Likewise.
10819         (MATHCONST): Likewise.
10820         (PRINTF_EXPR): Likewise.
10821         (PRINTF_XEXPR): Likewise.
10822         (PRINTF_NEXPR): Likewise.
10823         (TEST_FLOAT): Likewise.
10824         (TEST_MATHVEC): Likewise.
10825         (__NO_MATH_INLINES): Likewise.
10826         (CNCT): Likewise.
10827         (CONCAT): Likewise.
10828         (WRAPPER_NAME): Likewise.
10829         (WRAPPER_DECL): Likewise.
10830         (WRAPPER_DECL_ff): Likewise.
10831         (WRAPPER_DECL_fFF): Likewise.
10832         (VECTOR_WRAPPER): Likewise.
10833         (VECTOR_WRAPPER_ff): Likewise.
10834         (VECTOR_WRAPPER_fFF): Likewise.
10835         (VEC_LEN): New macro.
10836         * math/test-float-vlen8.h: Include test-float.h,
10837         test-math-no-inline.h and test-math-vector.h.
10838         (FLOAT): Remove macro.
10839         (FUNC): Likewise.
10840         (MATHCONST): Likewise.
10841         (PRINTF_EXPR): Likewise.
10842         (PRINTF_XEXPR): Likewise.
10843         (PRINTF_NEXPR): Likewise.
10844         (TEST_FLOAT): Likewise.
10845         (TEST_MATHVEC): Likewise.
10846         (__NO_MATH_INLINES): Likewise.
10847         (CNCT): Likewise.
10848         (CONCAT): Likewise.
10849         (WRAPPER_NAME): Likewise.
10850         (WRAPPER_DECL): Likewise.
10851         (WRAPPER_DECL_ff): Likewise.
10852         (WRAPPER_DECL_fFF): Likewise.
10853         (VECTOR_WRAPPER): Likewise.
10854         (VECTOR_WRAPPER_ff): Likewise.
10855         (VECTOR_WRAPPER_fFF): Likewise.
10856         (VEC_LEN): New macro.
10857         * math/test-float-vlen16.h: Include test-float.h,
10858         test-math-no-inline.h and test-math-vector.h.
10859         (FLOAT): Remove macro.
10860         (FUNC): Likewise.
10861         (MATHCONST): Likewise.
10862         (PRINTF_EXPR): Likewise.
10863         (PRINTF_XEXPR): Likewise.
10864         (PRINTF_NEXPR): Likewise.
10865         (TEST_FLOAT): Likewise.
10866         (TEST_MATHVEC): Likewise.
10867         (__NO_MATH_INLINES): Likewise.
10868         (CNCT): Likewise.
10869         (CONCAT): Likewise.
10870         (WRAPPER_NAME): Likewise.
10871         (WRAPPER_DECL): Likewise.
10872         (WRAPPER_DECL_ff): Likewise.
10873         (WRAPPER_DECL_fFF): Likewise.
10874         (VECTOR_WRAPPER): Likewise.
10875         (VECTOR_WRAPPER_ff): Likewise.
10876         (VECTOR_WRAPPER_fFF): Likewise.
10877         (VEC_LEN): New macro.
10878         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
10879         test-vec-loop.h.
10880         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10881         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10882         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10883         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10884         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10885         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10886         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
10888 2015-06-24  Roland McGrath  <roland@hack.frob.com>
10890         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
10891         (__getlogin_r): ... this.
10893 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
10895         [BZ #18594]
10896         * math/s_ccosh.c (__ccosh): Compare with least normal value
10897         instead of comparing class with FP_SUBNORMAL.
10898         * math/s_ccoshf.c (__ccoshf): Likewise.
10899         * math/s_ccoshl.c (__ccoshl): Likewise.
10900         * math/s_cexp.c (__cexp): Likewise.
10901         * math/s_cexpf.c (__cexpf): Likewise.
10902         * math/s_cexpl.c (__cexpl): Likewise.
10903         * math/s_csin.c (__csin): Likewise.
10904         * math/s_csinf.c (__csinf): Likewise.
10905         * math/s_csinh.c (__csinh): Likewise.
10906         * math/s_csinhf.c (__csinhf): Likewise.
10907         * math/s_csinhl.c (__csinhl): Likewise.
10908         * math/s_csinl.c (__csinl): Likewise.
10909         * math/s_ctan.c (__ctan): Likewise.
10910         * math/s_ctanf.c (__ctanf): Likewise.
10911         * math/s_ctanh.c (__ctanh): Likewise.
10912         * math/s_ctanhf.c (__ctanhf): Likewise.
10913         * math/s_ctanhl.c (__ctanhl): Likewise.
10914         * math/s_ctanl.c (__ctanl): Likewise.
10915         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
10916         csin, csinh, ctan and ctanh.
10917         * math/auto-libm-test-out: Regenerated.
10918         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
10919         * sysdeps/i386/fpu/libm-test-ulps: Update.
10920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10922 2015-06-24  Roland McGrath  <roland@hack.frob.com>
10924         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
10925         return value is wrong, print the expected value too.
10927 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
10929         [BZ #18585]
10930         * elf/readlib.c (is_gdb_python_file): New.
10931         (process_file): Don't issue errors on filenames with -gdb.py
10932         suffix.
10934 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
10936         * math/auto-libm-test-in: Add more tests of csin and csinh.
10937         * math/auto-libm-test-out: Regenerated.
10938         * math/libm-test.inc (csin_test_data): Remove tests moved to
10939         auto-libm-test-in.
10940         (csinh_test_data): Likewise.
10942         [BZ #18593]
10943         * math/s_csin.c (__csin): Negate before rather than after possibly
10944         overflowing multiplication.
10945         * math/s_csinf.c (__csinf): Likewise.
10946         * math/s_csinh.c (__csinh): Likewise.
10947         * math/s_csinhf.c (__csinhf): Likewise.
10948         * math/s_csinhl.c (__csinhl): Likewise.
10949         * math/s_csinl.c (__csinl): Likewise.
10950         * math/auto-libm-test-in: Add some tests of csin and csinh.
10951         * math/auto-libm-test-out: Regenerated.
10952         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
10953         (csinh_test_data): Likewise.
10954         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10956         [BZ #18586]
10957         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
10958         underflow exception for small results.
10960 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
10962         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
10963         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
10964         variable and included header.
10965         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
10966         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
10967         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
10968         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
10969         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
10970         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
10971         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
10972         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
10973         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
10974         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
10975         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
10976         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
10977         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
10978         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
10979         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
10980         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
10982 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
10984         [BZ #16526]
10985         [BZ #16538]
10986         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
10987         (__sin): Force underflow exception for arguments with small
10988         absolute value.
10989         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
10990         (__kernel_sinf): Force underflow exception for arguments with
10991         small absolute value.
10992         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
10993         (__kernel_sincosl): Force underflow exception for arguments with
10994         small absolute value.
10995         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
10996         (__kernel_sinl): Force underflow exception for arguments with
10997         small absolute value.
10998         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
10999         (__kernel_sincosl): Force underflow exception for arguments with
11000         small absolute value.
11001         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
11002         (__kernel_sinl): Force underflow exception for arguments with
11003         small absolute value.
11004         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
11005         (__kernel_sinl): Force underflow exception for arguments with
11006         small absolute value.
11007         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
11008         (__kernel_sinf): Force underflow exception for arguments with
11009         small absolute value.
11010         * math/auto-libm-test-in: Add more tests of sin and sincos.
11011         * math/auto-libm-test-out: Regenerated.
11013         [BZ #18245]
11014         [BZ #18583]
11015         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
11016         (__kernel_standard_l): Use feholdexcept and fesetenv around
11017         conversion to double instead of special-casing overflow and
11018         underflow.
11019         * math/libm-test.inc (fmod_test_data): Add more tests.
11020         (remainder_test_data): Likewise.
11021         (sqrt_test_data): Likewise.
11023 2015-06-23  Torvald Riegel  <triegel@redhat.com>
11025         [BZ #17403]
11026         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
11027         atomic_read_barrier, atomic_write_barrier): Define.
11028         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
11029         atomic_read_barrier, atomic_write_barrier): Define.
11031 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
11033         * math/Makefile [$(PERL) != no]
11034         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
11035         dependency on libm-test.stmp below the inclusion of Rules.
11037 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
11039         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
11040         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
11041         and included header.
11042         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
11043         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
11044         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
11045         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
11046         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
11047         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
11048         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
11049         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
11050         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
11051         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
11052         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
11053         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
11054         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
11055         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
11056         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
11057         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
11058         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
11059         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
11060         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
11062 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
11064         [BZ #18371]
11065         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
11066         intermediate but not final result might underflow.
11067         * math/s_csqrtf.c (__csqrtf): Likewise.
11068         * math/s_csqrtl.c (__csqrtl): Likewise.
11069         * math/auto-libm-test-in: Add more tests of csqrt.
11070         * math/auto-libm-test-out: Regenerated.
11071         * sysdeps/i386/fpu/libm-test-ulps: Update.
11073         [BZ #18219]
11074         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
11075         threshold on absolute value of exponent for which scaling is used.
11076         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
11077         * math/auto-libm-test-in: Add more tests of exp2.
11078         * math/auto-libm-test-out: Regenerated.
11080 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
11082         [BZ #17977]
11083         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
11084         when initializing interface list, based on the bug analysis
11085         and the patch proposed by Eric Newton.
11086         * resolv/tst-res_hconf_reorder.c: New test.
11087         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
11088         tst-res_hconf_reorder.
11089         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
11090         and $(shared-thread-library).
11091         (tst-res_hconf_reorder-ENV): New variable.
11093         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
11094         in comment.
11096 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
11098         [BZ #16353]
11099         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
11100         (__expm1): Force underflow exception for arguments with small
11101         absolute value.
11102         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
11103         (__expm1f): Force underflow exception for arguments with small
11104         absolute value.
11105         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
11106         (__expm1): Force underflow exception for arguments with small
11107         absolute value.
11108         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
11109         (__expm1f): Force underflow exception for arguments with small
11110         absolute value.
11111         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11112         Check for small arguments before calling __expm1.
11113         * math/auto-libm-test-in: Do not mark underflow exceptions as
11114         possibly missing for bug 16353.
11115         * math/auto-libm-test-out: Regenerated.
11117 2015-06-22  Andreas Schwab  <schwab@suse.de>
11119         [BZ #18513]
11120         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
11121         PTR queries.
11123 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
11125         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
11127         * string/strcoll_l.c: Remove unused struct element idxnow.
11129 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
11131         [BZ #18569]
11132         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
11133         underflow and return argument in case of subnormal argument.
11134         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11135         Likewise.
11136         * math/auto-libm-test-in: Add more tests of expm1.
11137         * math/auto-libm-test-out: Regenerated.
11139         [BZ #16361]
11140         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
11141         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
11142         tiny results.
11143         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
11144         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
11145         tiny results.
11146         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
11147         mark underflow exceptions as possibly missing for bug 16361.
11148         * math/auto-libm-test-out: Regenerated.
11150 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
11152         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
11153         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
11154         Remove variable.
11155         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
11156         (test-xfail-XOPEN2K8/utmpx.h/conform).
11158         * conform/conformtest.pl ($xerrors): New variable.
11159         (note_error): New function.
11160         (compiletest): New argument $xfail.  Use not_error.
11161         (runtest): Likewise.
11162         (top level): Handle xfail- lines.  Update calls to compiletest and
11163         runtest.  Handle xfail- and optional- in headers listed with
11164         allow-header.
11165         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
11166         (O_EXEC): Likewise.
11167         (O_SEARCH): Likewise.
11168         * conform/data/stropts.h-data (ioctl): Likewise.
11169         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
11170         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
11171         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
11172         (msghdr.msg_controllen): Likewise.
11173         (cmsghdr.cmsg_len): Likewise.
11174         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
11175         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
11176         variable.
11177         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
11178         (test-xfail-XPG4/stropts.h/conform): Likewise.
11179         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
11180         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
11181         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
11182         (test-xfail-UNIX98/stropts.h/conform): Likewise.
11183         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
11184         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
11185         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
11186         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
11187         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
11188         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
11189         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
11190         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
11191         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
11192         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
11193         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
11194         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
11195         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
11196         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
11197         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
11199 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
11201         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
11202         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
11203         definitions for proper unfolding of __MATHDECL_VEC.
11205 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
11207         * benchtests/bench-strcoll.c:
11208         Include string.h.
11209         (main): Remove unused variable res.
11211 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
11213         * timezone/Makefile (%/UTC %/Universal):
11214         Generate test-result files for UTC and Universal.
11216 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
11218         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11220 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
11222         [BZ #16350]
11223         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
11224         for arguments with small absolute value.
11225         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
11226         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
11227         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
11228         (__asinh): Force underflow exception for arguments with small
11229         absolute value.
11230         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
11231         (__asinhf): Force underflow exception for arguments with small
11232         absolute value.
11233         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
11234         (__asinhl): Force underflow exception for arguments with small
11235         absolute value.
11236         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
11237         (__asinhl): Force underflow exception for arguments with small
11238         absolute value.
11239         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
11240         (__asinhl): Force underflow exception for arguments with small
11241         absolute value.
11242         * math/auto-libm-test-in: Do not mark underflow exceptions as
11243         possibly missing for bug 16350.
11244         * math/auto-libm-test-out: Regenerated.
11246         * include/bits/ipc.h: Remove file.
11247         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
11248         variable.
11249         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
11250         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
11251         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
11252         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
11253         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
11254         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
11255         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
11256         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
11257         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
11259         * math/auto-libm-test-in: Remove spurious underflow allowance for
11260         tests of cexp.
11261         * math/auto-libm-test-out: Regenerated.
11263         [BZ #18558]
11264         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
11265         unconditional definition.
11266         (MCAST_BLOCK_SOURCE): Likewise.
11267         (MCAST_UNBLOCK_SOURCE): Likewise.
11268         (MCAST_LEAVE_GROUP): Likewise.
11269         (MCAST_JOIN_SOURCE_GROUP): Likewise.
11270         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11271         (MCAST_MSFILTER): Likewise.
11272         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
11273         Remove variable.
11274         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
11275         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
11276         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
11277         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
11278         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
11280 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
11282         * NEWS: Mention addition of x86_64 vector sincosf.
11283         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
11284         * math/test-float-vlen4.h: Likewise.
11285         * math/test-float-vlen8.h: Likewise.
11286         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11287         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
11288         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11289         * sysdeps/x86_64/fpu/Versions: New versions added.
11290         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11291         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11292         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11293         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
11294         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
11295         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
11296         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
11297         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
11298         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
11299         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
11300         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
11301         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
11302         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
11303         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
11304         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
11305         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
11306         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
11307         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
11308         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11309         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11310         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11311         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11312         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11313         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11315         * NEWS: Mention addition of x86_64 vector sincos.
11316         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
11317         * math/math.h (__MATHDECL_VEC): New macro.
11318         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
11319         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
11320         declaration under condition.
11321         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
11322         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
11323         TEST_VEC_LOOP change.
11324         * math/test-double-vlen4.h: Likewise.
11325         * math/test-double-vlen8.h: Likewise.
11326         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
11327         * math/test-float-vlen4.h: Likewise.
11328         * math/test-float-vlen8.h: Likewise.
11329         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11330         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
11331         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11332         * sysdeps/x86_64/fpu/Versions: New versions added.
11333         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11334         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11335         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11336         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
11337         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
11338         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
11339         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
11340         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
11341         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
11342         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
11343         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
11344         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
11345         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
11346         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
11347         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
11348         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
11349         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
11350         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11351         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11352         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11353         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11354         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11355         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11356         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11358         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11359         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11360         redirections for powf.
11361         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11362         * sysdeps/x86_64/fpu/Versions: New versions added.
11363         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11364         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11365         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11366         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
11367         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
11368         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
11369         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
11370         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
11371         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
11372         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
11373         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
11374         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
11375         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
11376         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
11377         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
11378         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
11379         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
11380         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
11381         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11382         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11383         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11384         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11385         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11386         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11387         * math/test-float-vlen16.h: Fixed 2 argument macro.
11388         * math/test-float-vlen4.h: Likewise.
11389         * math/test-float-vlen8.h: Likewise.
11390         * NEWS: Mention addition of x86_64 vector powf.
11392 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
11394         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11395         and redefine.
11396         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11397         and redefine.
11398         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
11399         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
11400         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11402         [BZ #18553]
11403         * resource/getpriority.c (getpriority): Rename to __getpriority
11404         and define as weak alias of __getpriority.
11405         * resource/setpriority.c (setpriority): Rename to __setpriority
11406         and define as weak alias of __setpriority.
11407         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
11408         __getpriority and define as weak alias of __getpriority.
11409         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
11410         __setpriority and define as weak alias of __setpriority.
11411         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
11412         strong name.
11413         (setpriority): Use __setpriority as strong name.
11414         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
11415         __getpriority and define as weak alias of __getpriority.
11416         * include/sys/resource.h (__getpriority): Declare.  Use
11417         libc_hidden_proto.
11418         (__setpriority): Likewise.
11419         (getpriority): Don't use libc_hidden_proto.
11420         (setpriority): Likewise.
11421         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
11422         getpriority.  Call __setpriority instead of setpriority.
11423         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
11424         Remove variable.
11426         [BZ #18547]
11427         * misc/getttyent.c (getttynam): Rename to __getttynam and define
11428         as weak alias of __getttynam.  Use prototype function definition.
11429         Call __setttyent, __getttyent and __endttyent instead of
11430         setttyent, getttyent and endttyent.
11431         (getttyent): Rename to __getttyent and define as weak alias of
11432         __getttyent.  Call __setttyent instead of setttyent.  Call
11433         __fgets_unlocked instead of fgets_unlocked.
11434         (setttyent): Rename to __setttyent and define as weak alias of
11435         __setttyent.
11436         (endttyent): Rename to __endttyent and define as weak alias of
11437         __endttyent.
11438         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
11439         (__setttyent): Likewise.
11440         (__endttyent): Likewise.
11441         (getttyent): Don't use libc_hidden_proto.
11442         (setttyent): Likewise.
11443         (endttyent): Likewise.
11444         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
11445         __endttyent instead of setttyent, getttyent and endttyent.
11446         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
11447         Remove variable.
11449         [BZ #18546]
11450         * socket/recv.c (__recv): Use libc_hidden_def.
11451         * socket/socket.c (__socket): Likewise.
11452         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
11453         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
11454         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
11455         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
11456         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
11457         libc_hidden_def.
11458         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
11459         libc_hidden_weak.
11460         * include/sys/socket.h (__socket): Do not use attribute_hidden.
11461         Use libc_hidden_proto.
11462         (__recv): Likewise.
11463         * socket/Versions (libc): Export __recv and __socket at version
11464         GLIBC_PRIVATE.
11465         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
11466         instead of recv.
11467         (init_mq_netlink): Call __socket instead of socket.
11468         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
11469         Remove variable.
11471         [BZ #18545]
11472         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
11473         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
11474         hidden_weak.
11475         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
11476         define as alias of __mq_timedsend.  Use hidden_weak.
11477         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
11478         __mq_timedsend as strong name.
11479         (mq_timedreceive): Use __mq_timedreceive as strong name.
11480         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
11481         (__mq_timedreceive): Likewise.
11482         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
11483         __mq_timedreceive instead of mq_timedreceive.
11484         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
11485         instead of mq_timedsend.
11486         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
11487         Remove variable.
11489         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
11490         hidden_def and hidden_weak instead of libc_hidden_def and
11491         libc_hidden_weak.
11492         (top level): Refer to hidden_def in comment.
11493         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
11494         macro.  Use it instead of libc_hidden_def.
11495         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
11496         specify __GI_* name explicitly.
11497         (mq_timedreceive): Likewise.
11498         (mq_setattr): Likewise.
11500         [BZ #18544]
11501         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
11502         __pthread_barrier_init and define as weak alias of
11503         __pthread_barrier_init.
11504         * sysdeps/sparc/nptl/pthread_barrier_init.c
11505         (pthread_barrier_init): Likewise.
11506         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
11507         __pthread_barrier_wait and define as weak alias of
11508         __pthread_barrier_wait.
11509         * sysdeps/sparc/nptl/pthread_barrier_wait.c
11510         (pthread_barrier_wait): Likewise.
11511         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
11512         (pthread_barrier_wait): Likewise.
11513         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
11514         (pthread_barrier_wait): Likewise.
11515         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
11516         (pthread_barrier_wait): Likewise.
11517         * nptl/Versions (libpthread): Export __pthread_barrier_init and
11518         __pthread_barrier_wait at version GLIBC_PRIVATE.
11519         * include/pthread.h (__pthread_barrier_init): Declare.
11520         (__pthread_barrier_wait): Likewise.
11521         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
11522         Call __pthread_barrier_wait instead of pthread_barrier_wait.
11523         (helper_thread): Likewise.
11524         (init_mq_netlink): Call __pthread_barrier_init instead of
11525         pthread_barrier_init.
11527         [BZ #18542]
11528         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
11529         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
11530         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
11531         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
11532         vswscanf.
11533         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
11534         Remove variable.
11536         [BZ #18540]
11537         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
11538         strong alias of _IO_fflush.  Use libc_hidden_def.
11539         * libio/iofflush_u.c (fflush_unlocked): Rename to
11540         __fflush_unlocked and define as weak alias of __fflush_unlocked.
11541         Use libc_hidden_weak.
11542         * include/stdio.h (__fflush_unlocked): Declare.  Use
11543         libc_hidden_proto.
11544         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
11545         fflush_unlocked.
11546         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
11547         Remove variable.
11549         [BZ #18539]
11550         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
11551         define as weak alias of __addseverity.
11552         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
11553         Remove variable.
11554         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
11555         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
11556         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
11558         [BZ #18536]
11559         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
11560         (__tfind): Likewise.
11561         (__tdelete): Likewise.
11562         (__twalk): Likewise.
11563         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
11564         __twalk to GLIBC_PRIVATE.
11565         * include/search.h (__tsearch): Use libc_hidden_proto.
11566         (__tfind): Likewise.
11567         (__tdelete): Likewise.
11568         (__twalk): Likewise.
11569         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
11570         Call __tdelete instead of tdelete.
11571         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
11572         tfind.  Call __tsearch instead of tsearch.
11573         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
11574         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
11575         Remove variable.
11576         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
11578         [BZ #18534]
11579         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
11580         (dprintf): Define as a weak alias of __dprintf, not a strong
11581         alias.
11582         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
11583         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
11584         dprintf.
11585         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
11586         Remove variable.
11587         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
11588         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
11590         [BZ #18533]
11591         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
11592         not a strong alias.
11593         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
11594         Remove variable.
11596         [BZ #18532]
11597         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
11598         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
11599         (in6addr_loopback): Rename to __in6addr_loopback and define as
11600         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
11601         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
11602         libc_hidden_proto.
11603         (__in6addr_any): Likewise.
11604         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
11605         in6addr_any.
11606         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
11607         variable.
11608         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
11610 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
11612         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
11613         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
11614         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11615         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11616         redirections for pow.
11617         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11618         * sysdeps/x86_64/fpu/Versions: New versions added.
11619         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11620         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11621         build of SSE, AVX2 and AVX512 IFUNC versions.
11622         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
11623         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
11624         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
11625         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
11626         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
11627         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
11628         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
11629         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
11630         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
11631         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
11632         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
11633         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
11634         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
11635         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
11636         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11637         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11638         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11639         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11640         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11641         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11642         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11643         * NEWS: Mention addition of x86_64 vector pow.
11645         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11646         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11647         redirections for expf.
11648         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11649         * sysdeps/x86_64/fpu/Versions: New versions added.
11650         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11651         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11652         build of SSE, AVX2 and AVX512 IFUNC versions.
11653         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
11654         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
11655         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
11656         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
11657         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
11658         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
11659         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
11660         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
11661         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
11662         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
11663         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
11664         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
11665         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
11666         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
11667         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11668         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11669         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11670         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11671         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11672         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11673         * NEWS: Mention addition of x86_64 vector expf.
11675         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
11676         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
11677         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11678         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11679         redirections for exp.
11680         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11681         * sysdeps/x86_64/fpu/Versions: New versions added.
11682         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11683         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11684         build of SSE, AVX2 and AVX512 IFUNC versions.
11685         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
11686         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
11687         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
11688         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
11689         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
11690         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
11691         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
11692         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
11693         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
11694         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
11695         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
11696         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
11697         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
11698         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11699         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11700         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11701         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11702         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11703         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11704         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11705         * NEWS: Mention addition of x86_64 vector exp.
11707         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11708         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11709         redirections for logf.
11710         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11711         * sysdeps/x86_64/fpu/Versions: New versions added.
11712         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11713         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11714         build of SSE, AVX2 and AVX512 IFUNC versions.
11715         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
11716         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
11717         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
11718         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
11719         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
11720         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
11721         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
11722         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
11723         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
11724         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
11725         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
11726         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
11727         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
11728         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
11729         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11730         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11731         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11732         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11733         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11734         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11735         * NEWS: Mention addition of x86_64 vector logf.
11737         * bits/libm-simd-decl-stubs.h: Added stubs for log.
11738         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
11739         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11740         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11741         redirections for log.
11742         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11743         * sysdeps/x86_64/fpu/Versions: New versions added.
11744         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11745         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11746         build of SSE, AVX2 and AVX512 IFUNC versions.
11747         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
11748         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
11749         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
11750         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
11751         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
11752         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
11753         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
11754         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
11755         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
11756         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
11757         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
11758         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
11759         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
11760         test.
11761         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11762         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11763         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11764         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11765         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11766         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11767         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11768         * NEWS: Mention addition of x86_64 vector log.
11770 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11772         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
11773         cfi_adjust_cfa_offset argument.
11774         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
11775         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
11777         [BZ #18034]
11778         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
11779         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
11780         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
11781         ordering using ldar.
11782         (_dl_tlsdesc_dynamic): Likewise.
11783         (_dl_tlsdesc_return_lazy): Likewise.
11784         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
11785         relaxed atomics instead of volatile and synchronize with release store.
11786         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
11787         volatile.
11788         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
11790 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
11792         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11793         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
11794         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11795         * sysdeps/x86_64/fpu/Versions: New versions added.
11796         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11797         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11798         build of SSE, AVX2 and AVX512 IFUNC versions.
11799         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
11800         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
11801         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
11802         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
11803         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
11804         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
11805         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
11806         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
11807         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
11808         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
11809         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
11810         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
11811         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
11812         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
11813         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11814         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11815         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11816         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11817         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11818         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11819         * NEWS: Mention addition of x86_64 vector sinf.
11821 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
11823         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
11824         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
11825         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
11826         Remove variable.
11827         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
11828         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
11830 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
11832         [BZ #18530]
11833         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
11834         strong alias of _IO_fputs.  Use libc_hidden_def.
11835         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
11836         and define as weak alias of __fputs_unlocked.  Use
11837         libc_hidden_weak.
11838         * include/stdio.h (__fputs_unlocked): Declare.  Use
11839         libc_hidden_proto.
11840         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
11841         fputs_unlocked.
11843         [BZ #18529]
11844         * resolv/netdb.h [__USE_POSIX]: Change condition to
11845         [__USE_XOPEN2K].
11846         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
11847         not expect.
11848         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
11849         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
11850         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
11851         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
11852         [XPG4 || UNIX98] (AI_ALL): Likewise.
11853         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
11854         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
11855         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
11856         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
11857         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
11858         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
11859         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
11860         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
11861         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
11862         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
11863         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
11864         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
11865         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
11866         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
11867         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
11868         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
11869         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
11870         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
11871         [XPG4 || UNIX98] (gai_strerror): Likewise.
11872         [XPG4 || UNIX98] (getaddrinfo): Likewise.
11873         [XPG4 || UNIX98] (getnameinfo): Likewise.
11875         [BZ #18528]
11876         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
11877         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
11878         __USE_XOPEN2K8].
11879         (getgrent): Likewise.
11880         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
11881         expect.
11882         [XPG3 || POSIX2008] (endgrent): Likewise.
11883         [XPG3] (setgrent): Likewise.
11884         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
11885         variable.
11886         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
11888         [BZ #18527]
11889         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
11890         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
11891         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
11892         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
11893         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
11894         * include/unistd.h (__getlogin_r): Declare.  Use
11895         libc_hidden_proto.
11896         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
11897         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
11898         variable.
11899         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
11900         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
11901         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
11903 2015-06-12  Martin Sebor  <msebor@redhat.com>
11905         [BZ #18512]
11906         * Makerules (check-install-supported): New target.
11907         (install): Add check-install-supported as a dependency.
11908         * manual/install.texi (Installing the C Library): Document
11909         that overriding prefix and exec_prefix is not supported.
11910         Mention DESTDIR.
11911         * INSTALL: Regenerate from the above.
11913 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
11915         [BZ #18519]
11916         * posix/Versions (libc): Export __libc_pread at version
11917         GLIBC_PRIVATE.
11918         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
11919         instead of pread.
11920         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
11921         variable.
11923         [BZ #18522]
11924         * misc/efgcvt_r.c
11925         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
11926         (cvt_symbol): Use weak_alias instead of strong_alias.
11927         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
11928         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
11929         Remove variable.
11930         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
11931         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
11933         [BZ #18520]
11934         * inet/herrno.c (h_errno): Rename to __h_errno.
11935         (__libc_h_errno): Define as alias of __h_errno not h_errno.
11936         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
11937         to __h_errno instead of h_errno.
11938         * nptl/herrno.c (h_errno): Rename to __h_errno.
11939         (__h_errno_location): Refer to __h_errno not h_errno.
11940         * resolv/Versions (h_errno): Rename to __h_errno.
11941         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
11942         Remove variable.
11943         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
11945 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
11947         * configure.ac: More strict check for AVX512 assembler support.
11948         * configure: Regenerated.
11950         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
11951         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
11952         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11953         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
11954         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11955         * sysdeps/x86_64/fpu/Versions: New versions added.
11956         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11957         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11958         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11959         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
11960         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
11961         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
11962         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
11963         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
11964         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
11965         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
11966         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
11967         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
11968         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
11969         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
11970         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
11971         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
11972         test.
11973         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11974         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11975         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11976         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11977         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11978         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11979         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11980         * NEWS: Mention addition of x86_64 vector sin.
11982 2015-06-11  Florian Weimer  <fweimer@redhat.com>
11984         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
11985         comment.
11987 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
11989         [BZ #18479]
11990         * nptl/pt-interp.c: New file.
11991         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
11992         Add pt-interp.
11993         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
11994         $(common-objpfx)runtime-linker.h.
11996 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
11998         * Makeconfig (+interp): Remove unused variable.
11999         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
12000         only.  Depend on $(common-objpfx)runtime-linker.h instead of
12001         $(elf-objpfx)runtime-linker.h.
12002         ($(elf-objpfx)runtime-linker.h): Rename to
12003         $(common-objpfx)runtime-linker.h and move ...
12004         * Makerules [$(build-shared) = yes]: ... here.
12005         * elf/interp.c: Include <runtime-linker.h> instead of
12006         <elf/runtime-linker.h>.
12008 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12010         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
12011         (__gettimeofday_syscall): Remove vsyscall fallback.
12012         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
12013         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
12014         Add syscall fallback function.
12015         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
12016         if vDSO is not present.
12017         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
12018         fallback function.
12019         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
12020         present.
12021         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
12022         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12024 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
12026         [BZ #18497]
12027         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
12028         of wcscmp.
12029         (wcscmp): Define as weak alias of WCSCMP.
12030         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
12031         wcscoll.
12032         (USE_HIDDEN_DEF): Define.
12033         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
12034         __wcscoll.  Don't use libc_hidden_weak.
12035         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
12036         wcscmp.
12037         * sysdeps/i386/i686/multiarch/wcscmp-c.c
12038         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
12039         __GI_wcscmp.
12040         (weak_alias): Undefine and redefine.
12041         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
12042         __wcscmp and define as weak alias of __wcscmp.
12043         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
12044         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
12045         (__wcscoll): Likewise.
12046         (wcscmp): Don't use libc_hidden_proto.
12047         (wcscoll): Likewise.
12048         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
12049         wcscoll.
12050         * posix/regexec.c (check_node_accept_bytes): Likewise.
12051         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
12052         variable.
12053         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
12054         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
12056         [BZ #18507]
12057         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
12058         __fstatvfs and define as weak alias of __fstatvfs.  Use
12059         libc_hidden_weak.
12060         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
12061         and define as weak alias of __statvfs.  Use libc_hidden_weak.
12062         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
12063         Define as alias of __fstatvfs, not fstatvfs.
12064         (fstatvfs64): Likewise.
12065         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
12066         Define as alias of __statvfs, not statvfs.
12067         (statvfs64): Likewise.
12068         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
12069         Remove variable.
12071 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12074         (HAVE_GETCPU_VSYSCALL): Define.
12075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12076         (HAVE_GETCPU_VSYSCALL): Likewise.
12077         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
12078         * sysdeps/unix/sysv/linux/sched_getcpu.c
12079         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
12080         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
12081         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
12082         prototype.
12083         * sysdeps/unix/sysv/linux/x86_64/init-first.c
12084         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
12085         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
12086         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
12087         Define.
12088         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
12089         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12090         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
12091         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12093 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
12095         * sysdeps/x86_64/fpu/Makefile: New file.
12096         * sysdeps/x86_64/fpu/Versions: New file.
12097         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
12098         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
12099         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
12100         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
12101         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
12102         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
12103         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
12104         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
12105         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
12106         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
12107         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
12108         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
12109         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
12110         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12111         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12112         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
12113         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
12114         * sysdeps/x86_64/configure.ac: Options for libmvec build.
12115         * sysdeps/x86_64/configure: Regenerated.
12116         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
12117         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
12118         * manual/install.texi (Configuring and compiling): Document
12119         --disable-mathvec.
12120         * INSTALL: Regenerated.
12121         * NEWS: Mention addition of libmvec and x86_64 vector cos.
12123         * math/Makefile: Added rules for vector tests.
12124         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
12125         declaration under condition.
12126         * math/test-double-vlen2.h: New file.
12127         * math/test-double-vlen4.h: New file.
12128         * math/test-double-vlen8.h: New file.
12129         * math/test-vec-loop.h: Added initialization macro.
12130         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
12131         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
12132         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
12133         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
12134         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
12135         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
12136         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
12137         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
12138         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
12139         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
12140         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
12142         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12143         * sysdeps/x86_64/fpu/Versions: New versions added.
12144         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
12145         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
12146         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
12147         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
12148         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
12149         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
12150         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
12151         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
12152         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
12153         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
12154         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
12155         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
12156         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
12157         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12158         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12159         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12160         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
12161         * NEWS: Mention addition of x86_64 vector cosf.
12163         * math/Makefile: Added CFLAGS for new tests.
12164         * math/test-float-vlen16.h: New file.
12165         * math/test-float-vlen4.h: New file.
12166         * math/test-float-vlen8.h: New file.
12167         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
12168         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
12169         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12170         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
12171         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
12172         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
12173         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
12174         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
12175         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
12176         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
12177         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
12179 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
12181         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
12182         * locale/programs/ld-ctype.c: Likewise.
12184 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
12186         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
12187         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
12188         bit_ZMM16_31_state): New macro.
12189         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12190         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
12192 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
12194         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
12196 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
12198         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
12200 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
12202         [BZ #18498]
12203         * libio/memstream.c (open_memstream): Rename to __open_memstream
12204         and define as weak alias of __open_memstream.
12205         * include/stdio.h (__open_memstream): Declare.  Use
12206         libc_hidden_proto.
12207         (open_memstream): Don't use libc_hidden_proto.
12208         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
12209         open_memstream.
12210         * posix/getopt.c (_getopt_internal_r): Likewise.
12211         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
12212         variable.
12213         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
12214         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
12215         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
12217         [BZ #18496]
12218         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
12219         instead of wcrtomb.
12221         [BZ #18483]
12222         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
12223         [__USE_XOPEN2K8].  Remove redundant #endif.
12224         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
12225         Remove redundant #if.
12226         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
12227         Remove variable.
12228         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
12229         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
12231         [BZ #18495]
12232         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
12233         (__iswlower): Likewise.
12234         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
12235         (__iswlower): Likewise.
12236         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
12237         instead of towlower.
12238         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
12239         instead of iswlower.  Call __towupper instead of towupper.
12240         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
12241         instead of iswalnum.
12243 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12245         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
12246         errors to stderr.
12248 2015-06-05  Florian Weimer  <fweimer@redhat.com>
12250         [BZ #15661]
12251         [BZ #17322]
12252         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
12253         Check for overflow properly.  Check for O_APPEND.  Ignore large
12254         file system block sizes.  Add comments about problems.
12255         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
12256         * manual/filesys.texi (Storage Allocation): New node.
12258 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12260         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
12261         cancellable syscalls.
12262         (SYS_ify): Add guard to no redefine it.
12263         (INLINE_SYSCALL): Likewise.
12264         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
12265         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
12266         SYSCALL_CANCEL instead.
12267         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
12268         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
12269         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
12270         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
12271         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
12272         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
12273         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
12274         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
12275         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
12276         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
12277         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
12278         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
12279         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
12280         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
12281         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
12282         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
12283         Likewise.
12284         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
12285         (__libc_pread64): Likewise.
12286         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
12287         (__libc_preadv): Likewise.
12288         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
12289         (__libc_readv64): Likewise.
12290         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
12291         (__libc_pwrite): Likewise.
12292         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
12293         (__libc_pwrite64): Likewise.
12294         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
12295         (__libc_pwritev): Likewise.
12296         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
12297         (__libc_pwritev64): Likewise.
12298         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
12299         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
12300         (sync_file_range): Likewise.
12301         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
12302         Likewise.
12303         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
12304         Likewise.
12305         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
12306         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
12307         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
12308         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
12309         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
12310         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
12311         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
12312         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
12313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
12314         Likewise.
12315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
12316         (__libc_read64): Likewise.
12317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
12318         Likewise.
12319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
12320         Likewise.
12321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
12322         Likewise.
12323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
12324         Likewise.
12325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
12326         (__libc_pread64): Likewise.
12327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
12328         Likewise.
12329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
12330         (__libc_pwrite64): Likewise.
12331         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
12332         (sync_file_range): Likewise.
12333         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
12334         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
12335         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
12336         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
12337         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
12338         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
12339         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
12340         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
12341         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
12342         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
12343         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
12344         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
12345         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
12346         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
12347         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
12348         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
12349         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
12350         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
12351         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
12352         Likewise.
12353         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
12354         Likewise.
12355         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
12356         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
12357         Likewise.
12358         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
12359         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
12360         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
12361         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
12362         Likewise.
12363         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
12364         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
12365         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
12366         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
12367         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
12369 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
12371         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
12372         Include dl-vdso.
12373         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
12374         Use VDSO routines for gettimeofday, clock_gettime if
12375         available.
12376         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
12377         Declare VDSO symbols.
12378         * sysdeps/unix/sysv/linux/arm/sysdep.h:
12379         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
12380         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
12381         * sysdeps/unix/sysv/linux/arm/Versions: Add
12382         __vdso_clock_gettime.
12384 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12386         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
12387         be an inline implementation regardless of library is built within.
12388         (open_not_cancel_2): Likewise.
12389         (__read_nocancel): Likewise.
12390         (__write_nocancel): Likewise.
12391         (openat_not_cancel): Likewise.
12392         (openat_not_cancel_3): Likewise.
12393         (openat64_not_cancel): Likewise.
12394         (openat64_not_cancel_3): Likewise.
12395         (__close_nocancel): Likewise.
12396         (pause_not_cancel): Likewise.
12397         (nanosleep_not_cancel): Likewise.
12398         (sigsuspend_not_cancel): Likewise.
12400 2015-06-04  Torvald Riegel  <triegel@redhat.com>
12402         [BZ #14958]
12403         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
12404         wake-up.
12405         (__pthread_rwlock_rdlock_slow): Likewise.
12406         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
12407         Likewise.
12408         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
12409         Likewise.
12410         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
12411         * nptl/tst-rwlock16.c: New file.
12412         * nptl/Makefile (tests): Add new test.
12414 2015-06-04  Torvald Riegel  <triegel@redhat.com>
12416         [BZ #18324]
12417         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
12418         missing wake-up of readers.
12419         * nptl/tst-rwlock15.c: New file.
12420         * nptl/Makefile (tests): Add new test.
12422 2015-06-03  Roland McGrath  <roland@hack.frob.com>
12424         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
12425         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
12426         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
12427         and __nacl_supply_interface_rtld.
12428         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
12429         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
12430         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
12431         Add __nacl_supply_interface_rtld.
12432         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
12434 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
12436         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
12437         isfinite.
12438         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12439         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
12441 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
12443         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
12444         __signbit* with standard C99 macros.
12445         * math/e_exp10l.c: Likewise.
12446         * math/e_exp2l.c: Likewise.
12447         * math/e_scalb.c: Likewise.
12448         * math/e_scalbf.c: Likewise.
12449         * math/e_scalbl.c: Likewise.
12450         * math/s_ldexp.c: Likewise.
12451         * math/s_ldexpf.c: Likewise.
12452         * math/s_ldexpl.c: Likewise.
12453         * math/w_atan2.c: Likewise.
12454         * math/w_atan2f.c: Likewise.
12455         * math/w_atan2l.c: Likewise.
12456         * math/w_cosh.c: Likewise.
12457         * math/w_coshf.c: Likewise.
12458         * math/w_coshl.c: Likewise.
12459         * math/w_exp10.c: Likewise.
12460         * math/w_exp10f.c: Likewise.
12461         * math/w_exp10l.c: Likewise.
12462         * math/w_exp2.c: Likewise.
12463         * math/w_exp2f.c: Likewise.
12464         * math/w_exp2l.c: Likewise.
12465         * math/w_fmod.c: Likewise.
12466         * math/w_fmodf.c: Likewise.
12467         * math/w_fmodl.c: Likewise.
12468         * math/w_hypot.c: Likewise.
12469         * math/w_hypotf.c: Likewise.
12470         * math/w_hypotl.c: Likewise.
12471         * math/w_jnl.c: Likewise.
12472         * math/w_lgamma.c: Likewise.
12473         * math/w_lgamma_r.c: Likewise.
12474         * math/w_lgammaf.c: Likewise.
12475         * math/w_lgammaf_r.c: Likewise.
12476         * math/w_lgammal.c: Likewise.
12477         * math/w_lgammal_r.c: Likewise.
12478         * math/w_pow.c: Likewise.
12479         * math/w_powf.c: Likewise.
12480         * math/w_powl.c: Likewise.
12481         * math/w_remainder.c: Likewise.
12482         * math/w_remainderf.c: Likewise.
12483         * math/w_remainderl.c: Likewise.
12484         * math/w_scalb.c: Likewise.
12485         * math/w_scalbf.c: Likewise.
12486         * math/w_scalbl.c: Likewise.
12487         * math/w_scalbln.c: Likewise.
12488         * math/w_scalblnf.c: Likewise.
12489         * math/w_scalblnl.c: Likewise.
12490         * math/w_sinh.c: Likewise.
12491         * math/w_sinhf.c: Likewise.
12492         * math/w_sinhl.c: Likewise.
12493         * math/w_tgamma.c: Likewise.
12494         * math/w_tgammaf.c: Likewise.
12495         * math/w_tgammal.c: Likewise.
12496         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12497         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
12498         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12499         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12500         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12501         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12502         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
12503         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12504         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12505         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12506         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12507         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
12508         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12509         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12510         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12511         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12512         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12513         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
12514         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12515         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12516         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12517         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12518         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12519         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12520         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
12521         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12522         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
12523         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12524         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12525         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12526         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
12527         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
12528         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
12529         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
12530         * stdio-common/printf_fp.c: Likewise.
12531         * stdio-common/printf_fphex.c: Likewise.
12532         * stdio-common/printf_size.c: Likewise.
12534 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
12536         [BZ #18470]
12537         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
12538         strnlen.
12539         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
12540         Remove variable.
12541         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
12542         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
12543         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
12544         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
12545         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
12546         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
12547         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
12548         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
12549         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
12550         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
12552         [BZ #18468]
12553         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
12554         weak alias of __wmemchr.  Use libc_hidden_weak.
12555         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
12556         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
12557         instead of wmemchr.
12559 2015-06-02  Roland McGrath  <roland@hack.frob.com>
12561         [BZ #18383]
12562         * elf/tst-tlsalign-extern.c: New file.
12563         * elf/tst-tlsalign-extern-static.c: New file.
12564         * elf/tst-tlsalign-vars.c: New file.
12565         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
12566         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
12567         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
12568         ($(objpfx)tst-tlsalign-extern-static): Likewise.
12569         (test-xfail-tst-tlsalign-extern-static): New variable.
12571 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
12573         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
12574         Use variable name _sc_err instead of err.
12575         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
12576         instead of ret.
12577         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
12578         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
12579         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
12580         (INLINE_SYSCALL): Likewise.
12582         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
12583         * include/string.h (__strnlen): Use libc_hidden_proto.
12584         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
12585         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
12586         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
12587         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
12588         (libc_hidden_def): Undefine and redefine.
12589         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
12590         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
12591         __GI_strnlen.
12592         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
12593         libc_hidden_def.
12594         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
12596         [BZ #18469]
12597         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
12598         weak alias of __towlower.  Use libc_hidden_weak.
12599         (towupper): Rename to __towupper and define as weak alias of
12600         __towupper.  Use libc_hidden_weak.
12601         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
12602         (__towupper): Likewise.
12603         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
12604         __towlower instead of towlower.
12606 2015-06-02  Roland McGrath  <roland@hack.frob.com>
12608         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
12609         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
12611 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12613         * sysdeps/aarch64/libm-test-ulps: Update.
12615 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12617         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
12618         Define.
12619         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12620         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
12621         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
12622         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12623         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
12624         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
12625         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
12627 2015-06-01  Martin Sebor  <msebor@redhat.com>
12629         [BZ #18116]
12630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
12631         (__setcontext): Use extended four-operand version of mtsf whenever
12632         possible.
12633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
12634         (__novec_swapcontext): Likewise.
12636 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
12638         * benchtests/scripts/compare_bench.py: New file.
12639         * benchtests/scripts/import_bench.py (mean): New function.
12640         (split_list): Likewise.
12641         (do_for_all_timings): Likewise.
12642         (compress_timings): Likewise.
12644         * benchtests/scripts/import_bench.py: New file.
12645         * benchtests/scripts/validate_benchout.py: Import import_bench
12646         instead of jsonschema.
12647         (validate_bench): Remove function.
12648         (main): Use import_bench.
12650 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
12652         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
12653         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
12655 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12657         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12659 2015-05-28  Roland McGrath  <roland@hack.frob.com>
12661         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
12662         set THREAD_SELF->tid to a magic value and futex-wake it.
12663         Pass its address to the thread_exit system call.
12664         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
12665         bit is clear.
12666         * sysdeps/nacl/lowlevellock.h: New file.
12667         * sysdeps/nacl/lll_timedwait_tid.c: New file.
12669         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
12670         Add TIMEOUT to current time, don't subtract it.
12672 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
12674         [BZ #2981]
12675         [BZ #18422]
12676         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
12677         ($(objpfx)tst-audit2.out): Also depend on
12678         $(objpfx)tst-auditmod9b.so.
12679         * elf/tst-audit2.c: Include <dlfcn.h>.
12680         (calloc_called): New.
12681         (calloc): Allow to be called more than once.
12682         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
12684 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
12686         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
12687         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
12689 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
12691         * stdlib/monetary.h: Fix comment.
12693 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
12695         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
12696         Avoid using variables in #defines that might cause shadowing.
12697         (INTERNAL_VSYSCALL_CALL): Likewise.
12699 2015-05-26  Roland McGrath  <roland@hack.frob.com>
12701         * sysdeps/nacl/lll_timedlock_wait.c: New file.
12703         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
12704         * nptl/lll_timedlock_wait.c: ... to this new file.
12705         * nptl/Makefile (libpthread-routines): Add it.
12706         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
12707         * nptl/lll_timedwait_tid.c: ... to this new file.
12708         * nptl/Makefile (libpthread-routines): Add it.
12709         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
12710         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
12711         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
12712         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
12713         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
12714         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
12715         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
12716         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
12717         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
12718         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
12720 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12722         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
12723         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12724         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
12725         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
12726         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
12727         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12728         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12729         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12730         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12731         * sysdeps/unix/sysv/linux/tile/sysdep.h
12732         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12733         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
12734         using vDSO syscall macro.
12736 2015-05-26  Andriy Rysin  <arysin@gmail.com>
12738         [BZ #17293]
12739         * uk_UA: Fix sorting order for Ukrainian locale
12741 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
12743         * stdlib/monetary.h: Fix comment.
12745 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12747         [BZ #18234]
12748         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
12749         st_mtim and st_ctim members.
12750         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
12751         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
12752         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
12753         (struct stat64): Likewise.
12754         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
12755         (struct stat64): Likewise.
12756         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
12757         (struct stat64): Likewise.
12759 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12761         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
12762         Define and include sysdep-vdso.h.
12763         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
12764         Likewise.
12765         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
12766         Likewise.
12767         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
12768         Define with VDSO_SYMBOL and use PTR_MANGLE.
12769         (__vdso_clock_gettime): Likewise.
12770         (__vdso_clock_getres): Likewise.
12771         (_libc_vdso_platform_setup): Likewise.
12772         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
12773         Likewise.
12774         (_libc_vdso_platform_setup): Likewise.
12775         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
12776         Likewise.
12777         (__vdso_clock_gettime): Likewise.
12778         (__vdso_clock_getres): Likewise.
12779         (__vdso_get_tbfreq): Likewise.
12780         (__vdso_getcpu): Likewise.
12781         (__vdso_time): Likewise.
12782         (__vdso_sigtramp_rt64): Likewise.
12783         (__vdso_signtramp32): Likewise.
12784         (__vdso_sigtramp_rt32): Likewise.
12785         (_libc_vdso_platform_setup): Likewise.
12786         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
12787         Likewise.
12788         (__vdso_clock_gettime): Likewise.
12789         (__vdso_clock_getres): Likewise.
12790         (_libc_vdso_platform_setup): Likewise.
12791         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
12792         Likewise.
12793         (__vdso_clock_gettime): Likewise.
12794         (_libc_vdso_platform_setup): Likewise.
12795         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
12796         Likewise.
12797         (__vdso_getcpu): Likewise.
12798         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
12799         Use VDSO_SYMBOL macro to define.
12800         (__vdso_clock_gettime): Likewise.
12801         (__vdso_clock_getres): Likewise.
12802         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
12803         Likewise.
12804         (__vdso_clock_gettime): Likewise.
12805         (__vdso_clock_getres): Likewise.
12806         (__vdso_get_tbfreq): Likewise.
12807         (__vdso_getcpu): Likewise.
12808         (__vdso_time): Likewise.
12809         (__vdso_sigtramp_rt64): Likewise.
12810         (__vdso_signtramp32): Likewise.
12811         (__vdso_sigtramp_rt32): Likewise.
12812         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
12813         Likewise.
12814         (__vdso_clock_gettime): Likewise.
12815         (__vdso_clock_getres): Likewise.
12816         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
12817         Likewise.
12818         (__vdso_clock_gettime): Likewise.
12819         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
12820         Likewise.
12821         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
12822         macro.
12823         (INTERNAL_VSYSCALL): Likewise.
12824         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
12825         Remove macro.
12826         (INTERNAL_VSYSCALL): Likewise.
12827         (INTERNAL_VSYSCALL_NCS): Likewise.
12828         (INTERNAL_VSYSCALL_CALL): New macro.
12829         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
12830         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
12831         Likewise.
12832         (INTERNAL_VSYSCALL): Likewise.
12833         (INTERNAL_VSYSCALL_NCS): Likewise.
12834         (INTERNAL_VSYSCALL_CALL): New macro.
12835         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
12836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12837         (INLINE_VSYSCALL): Remove macro.
12838         (INTERNAL_VSYSCALL): Remove macro.
12839         (INTERNAL_VSYSCALL_NCS): Remove macro.
12840         (INTERNAL_VSYSCALL_CALL): New macro.
12841         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
12842         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
12843         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
12844         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
12845         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
12846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12847         (INLINE_VSYSCALL): Remove macro.
12848         (INTERNAL_VSYSCALL): Likewise.
12849         (INTERNAL_VSYSCALL_NCS): Likewise.
12850         (INTERNAL_VSYSCALL_CALL): New macro.
12851         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
12852         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
12853         PTR_DEMANGLE on vDSO pointer.
12854         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
12855         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
12856         macro.
12857         (INTERNAL_SYSCALL): Likewise.
12858         (INTERNAL_VSYSCALL_NCS): Remove macro.
12859         (INTERNAL_VSYSCALL_CALL): New macro.
12860         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
12861         Remove macro.
12862         (INTERNAL_VSYSCALL): Likewise.
12863         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
12864         sysdep-vdso.h instead of libc-vdso.h.
12865         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
12866         definition.
12867         (INLINE_VSYSCALL): Likewise.
12868         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
12869         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
12870         definition.
12871         (INLINE_VSYSCALL): Likewise.
12872         (INTERNAL_VSYSCALL): Likewise.
12873         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
12874         * sysdeps/unix/sysv/linux/timespec_get.c
12875         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
12876         (timespec_get): Use ANSI prototype.
12877         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
12878         and definition for Linux.
12880 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
12882         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
12883         * include/libc-symbols.h: libmvec_hidden_* macro series added.
12885 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12887         [BZ #2981]
12888         [BZ #18410]
12889         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
12890         for missing DT_PLTRELSZ.
12892 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
12894         Remove obsolete aliases that broke 'locale -a'
12895         [BZ #18412]
12896         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
12897         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
12898         breaking some applications that use 'locale -a' output.
12899         Change the encoding of this file from Latin-1 to ASCII to avoid
12900         other potential problems with people grepping this file.
12902 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12904         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
12905         -fasynchronous-unwind-tables.
12906         (CFLAGS-sendto.c): Likewise.
12907         (CFLAGS-sendmsg.c): Likewise.
12908         (CFLAGS-connect.c): Likewise.
12909         (CFLAGS-recvmsg.c): Likewise.
12910         (CFLAGS-recvfrom.c): Likewise.
12911         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
12912         (SOCKETCALL): New macro: non-cancellable socketcall.
12913         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
12914         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
12915         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
12916         * sysdeps/unix/sysv/linux/accept.c: New file.
12917         * sysdeps/unix/sysv/linux/bind.c: Likewise.
12918         * sysdeps/unix/sysv/linux/connect.c: Likewise.
12919         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
12920         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
12921         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
12922         * sysdeps/unix/sysv/linux/listen.c: Likewise.
12923         * sysdeps/unix/sysv/linux/recv.c: Likewise.
12924         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
12925         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
12926         * sysdeps/unix/sysv/linux/send.c: Likewise.
12927         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
12928         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
12929         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
12930         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
12931         * sysdeps/unix/sysv/linux/socket.c: Likewise.
12932         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
12933         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
12934         prototype.
12935         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
12936         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
12937         instead of __internal_xxx function.
12938         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
12939         prototype.
12940         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
12941         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
12942         instead of __internal_xxx function.
12943         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
12944         prototype.
12945         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
12946         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
12947         instead of __internal_xxx function.
12948         * sysdeps/unix/sysv/linux/accept.S: Remove file.
12949         * sysdeps/unix/sysv/linux/bind.S: Likewise.
12950         * sysdeps/unix/sysv/linux/connect.S: Likewise.
12951         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
12952         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
12953         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
12954         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
12955         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
12956         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
12957         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
12958         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
12959         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
12960         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
12961         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
12962         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
12963         * sysdeps/unix/sysv/linux/listen.S: Likewise.
12964         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
12965         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
12966         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
12967         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
12968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
12969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
12970         * sysdeps/unix/sysv/linux/recv.S: Likewise.
12971         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
12972         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
12973         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
12974         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12975         * sysdeps/unix/sysv/linux/send.S: Likewise.
12976         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
12977         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
12978         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
12979         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
12980         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
12981         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
12982         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
12983         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
12984         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
12985         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
12986         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
12987         socketcall is implemented in GLIBC.
12989 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
12991         * soft-fp/fmadf4.c: Include <libc-internal.h>.
12992         (__fma): Ignore uninitialized warnings around packing.
12993         * soft-fp/fmasf4.c: Include <libc-internal.h>.
12994         (__fmaf): Ignore uninitialized warnings around packing.
12995         * soft-fp/fmatf4.c: Include <libc-internal.h>.
12996         (__fmal): Ignore uninitialized warnings around packing.
12998         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
12999         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
13000         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
13001         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
13003         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
13004         switch statement into default case.
13005         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
13007         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
13008         a conditional in forcing "inexact".
13009         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
13010         Likewise.
13012 2015-05-22  Roland McGrath  <roland@hack.frob.com>
13014         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
13015         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
13016         for each INTERNAL_SYSCALL use.
13018 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
13020         [BZ #438]
13021         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
13022         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
13023         variable.
13025         [BZ #18444]
13026         * string/basename.c (basename): Rename to __basename and define as
13027         weak alias of __basename.  Use libc_hidden_weak.
13028         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
13029         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
13030         __basename instead of basename.
13031         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
13032         Remove variable.
13033         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
13035 2015-05-18  Florian Weimer  <fweimer@redhat.com>
13037         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
13038         (_IO_JUMPS_FILE_plus): New.
13039         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
13040         _IO_CAST_FIELD_ACCESS.
13041         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
13042         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
13043         * libio/freopen.c (freopen): Likewise.
13044         * libio/freopen64.c (freopen64): Likewise.
13045         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
13046         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
13047         * libio/iofwide.c (_IO_fwide): Likewise.
13048         * libio/memstream.c (open_memstream): Likewise.
13049         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13050         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
13051         * libio/oldiopopen.c (_IO_old_popen): Likewise.
13053 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
13055         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
13056         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
13057         NADJ.
13058         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
13059         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
13060         NADJ.
13061         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
13062         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
13063         NADJ.
13065         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
13066         (p == 4) case.
13068         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
13069         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
13070         Remove variable.
13071         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
13072         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
13073         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
13075 2015-05-21  Florian Weimer  <fweimer@redhat.com>
13077         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
13078         Adjust jump table label generation macros.
13080 2015-05-21  Florian Weimer  <fweimer@redhat.com>
13082         * stdio-common/vfprintf.c (vfprintf): Move local variables
13083         args_malloced, specs, specs_malloced, and the code after
13084         do_positional to the printf_positional function.
13085         (printf_positional): New function.
13087 2015-05-21  Florian Weimer  <fweimer@redhat.com>
13089         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
13090         function.
13091         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
13092         STEP4_TABLE, process_arg): Move macro definitions
13093         out of the vfprintf function.  (Cosmetic change only.)
13095 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
13097         * benchtests/Makefile (stdio-common-bench): Define.
13098         (benchset): Add stdio-common-bench.
13099         * sprintf-inputs: New file.
13100         * sprintf-source.c: New file.
13102 2015-05-21  Andreas Schwab  <schwab@suse.de>
13104         [BZ #13028]
13105         [BZ #17053]
13106         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
13107         of struct __res_state.
13108         * resolv/res_send.c (__libc_res_nsend): Likewise.
13109         (get_nsaddr): New function.
13110         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
13111         statp directly.
13113 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
13115         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
13116         -D_POSIX_C_SOURCE=199506L.
13118         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
13120         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
13121         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
13122         Do not mention otherwise.
13123         [POSIX] (_XOPEN_VERSION): Do not expect.
13124         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
13125         [POSIX] (_POSIX2_C_BIND): Likewise.
13126         [POSIX] (_POSIX2_VERSION): Likewise.
13127         [POSIX] (_XOPEN_XPG2): Likewise.
13128         [POSIX] (_XOPEN_XPG3): Likewise.
13129         [POSIX] (_XOPEN_XPG4): Likewise.
13130         [POSIX] (_XOPEN_UNIX): Likewise.
13131         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
13132         [POSIX] (_POSIX_BARRIERS): Likewise.
13133         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
13134         [POSIX] (_POSIX_CPUTIME): Likewise.
13135         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
13136         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
13137         [POSIX] (_POSIX_SHELL): Likewise.
13138         [POSIX] (_POSIX_SPAWN): Likewise.
13139         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
13140         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
13141         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
13142         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
13143         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
13144         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
13145         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
13146         [POSIX] (_XBS5_LP64_OFF64): Likewise.
13147         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
13148         [POSIX] (_POSIX_TIMEOUTS): Likewise.
13149         [POSIX] (_POSIX2_PBS): Likewise.
13150         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
13151         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
13152         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
13153         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
13154         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
13155         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
13156         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
13157         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
13158         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
13159         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
13160         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
13161         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
13162         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
13163         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
13164         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
13165         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
13166         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
13167         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
13168         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
13169         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
13170         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
13171         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
13172         [POSIX] (_SC_2_C_BIND): Likewise.
13173         [POSIX] (_SC_2_C_VERSION): Likewise.
13174         [POSIX] (_SC_2_PBS): Likewise.
13175         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
13176         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
13177         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
13178         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
13179         [POSIX] (_SC_2_PBS_TRACK): Likewise.
13180         [POSIX] (_SC_ATEXIT_MAX): Likewise.
13181         [POSIX] (_SC_BARRIERS): Likewise.
13182         [POSIX] (_SC_BASE): Likewise.
13183         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
13184         [POSIX] (_SC_DEVICE_IO): Likewise.
13185         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
13186         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
13187         [POSIX] (_SC_FD_MGMT): Likewise.
13188         [POSIX] (_SC_FIFO): Likewise.
13189         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
13190         [POSIX] (_SC_FILE_LOCKING): Likewise.
13191         [POSIX] (_SC_FILE_SYSTEM): Likewise.
13192         [POSIX] (_SC_IOV_MAX): Likewise.
13193         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
13194         [POSIX] (_SC_NETWORKING): Likewise.
13195         [POSIX] (_SC_PAGE_SIZE): Likewise.
13196         [POSIX] (_SC_PASS_MAX): Likewise.
13197         [POSIX] (_SC_PIPE): Likewise.
13198         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
13199         [POSIX] (_SC_REGEXP): Likewise.
13200         [POSIX] (_SC_SHELL): Likewise.
13201         [POSIX] (_SC_SIGNALS): Likewise.
13202         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
13203         [POSIX] (_SC_SPIN_LOCKS): Likewise.
13204         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
13205         [POSIX] (_SC_USER_GROUPS): Likewise.
13206         [POSIX] (_SC_USER_GROUPS_R): Likewise.
13207         [POSIX] (_SC_STREAMS): Likewise.
13208         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
13209         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
13210         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
13211         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
13212         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
13213         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
13214         [POSIX] (_PC_FILESIZEBITS): Likewise.
13215         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
13216         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
13217         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
13218         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
13219         [POSIX] (uid_t): Likewise.
13220         [POSIX] (gid_t): Likewise.
13221         [POSIX] (off_t): Likewise.
13222         [POSIX] (pid_t): Likewise.
13223         [POSIX] (cuserid): Allow.
13224         (_SC_2_CHAR_TERM): Require constant.
13225         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
13226         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
13227         variable.
13229 2015-05-20  Roland McGrath  <roland@hack.frob.com>
13231         * sysdeps/nacl/pthread-pids.h: New file.
13232         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
13233         (create_thread): Use __nacl_get_tid to initialize PD->tid.
13235         * nptl/pthread-pids.h: New file.
13236         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
13237         * nptl/nptl-init.c: Include <pthread-pids.h>.
13238         (__pthread_initialize_minimal_internal):
13239         Call __pthread_initialize_pids instead of set_tid_address syscall.
13241         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
13242         * sysdeps/posix/usleep.c: ... here.
13244 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13246         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
13247         call_pselect6 object.
13248         [$(subdir) = io]: Remove call_sync_file_range object.
13249         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
13250         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
13251         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
13252         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
13254 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
13256         * math/s_cproj.c: Add include "math_private.h".
13257         * math/s_cprojf.c: Likewise.
13258         * math/s_cprojl.c: Likewise.
13260 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
13262         [BZ #18244]
13263         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
13264         high mantissa bit when testing whether P is a NaN.
13265         * math/libm-test.inc (remainder_test_data): Add more tests.
13266         (remquo_test_data): Likewise.
13268         [BZ #18049]
13269         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
13270         below -32, return the argument, with underflow if subnormal.
13271         * math/auto-libm-test-in: Add more tests of atanh.
13272         * math/auto-libm-test-out: Regenerated.
13274 2015-05-19  Roland McGrath  <roland@hack.frob.com>
13276         [BZ #18434]
13277         * nptl/tst-sem15.c: New file.
13278         * nptl/Makefile (tests): Add it.
13279         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
13280         s/<</>>/ to fix typo in EOVERFLOW check.
13281         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
13283 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13285         * manual/strings.texi (envz_remove): Fix typo in safety
13286         annotations.
13288 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
13289             Steve Ellcey  <sellcey@imgtec.com>
13291         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
13292         in order to avoid strict alias warnings.
13293         (iruserok_af): Ditto for ra.
13295 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
13297         [BZ #17581]
13298         * malloc/hooks.c
13299         (magicbyte): Convert to a function and avoid returning 0x01.
13300         (mem2mem_check): Avoid using a length byte equal to the magic byte.
13301         (mem2chunk_check): Fix unsigned comparisons to zero.
13302         Hoist defs of sz and magic.
13304 2015-05-19  Richard Henderson  <rth@redhat.com>
13306         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
13308         * sysdeps/alpha/fpu/libm-test-ulps: Update.
13310 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13312         [BZ #16159]
13313         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
13314         * malloc/arena.c (arena_lock): Check if arena is corrupt.
13315         (reused_arena): Find a non-corrupt arena.
13316         (heap_trim): Pass arena to unlink.
13317         * malloc/hooks.c (malloc_check_get_size): Pass arena to
13318         malloc_printerr.
13319         (top_check): Likewise.
13320         (free_check): Likewise.
13321         (realloc_check): Likewise.
13322         * malloc/malloc.c (malloc_printerr): Add arena argument.
13323         (unlink): Likewise.
13324         (munmap_chunk): Adjust.
13325         (ARENA_CORRUPTION_BIT): New macro.
13326         (arena_is_corrupt): Likewise.
13327         (set_arena_corrupt): Likewise.
13328         (sysmalloc): Use mmap if there are no usable arenas.
13329         (_int_malloc): Likewise.
13330         (__libc_malloc): Don't fail if arena_get returns NULL.
13331         (_mid_memalign): Likewise.
13332         (__libc_calloc): Likewise.
13333         (__libc_realloc): Adjust for additional argument to
13334         malloc_printerr.
13335         (_int_free): Likewise.
13336         (malloc_consolidate): Likewise.
13337         (_int_realloc): Likewise.
13338         (_int_memalign): Don't touch corrupt arenas.
13339         * malloc/tst-malloc-backtrace.c: New test case.
13341         * Makefile (summarize-tests): Fix return value on success.
13343         * manual/string.texi (Envz Functions): Add envz_remove.
13345 2015-05-18  Roland McGrath  <roland@hack.frob.com>
13347         * sysdeps/posix/opendir.c: Include <stdbool.h>.
13348         (invalid_name): New function, broken out of ...
13349         (__opendirat): ... here.  Call it.
13350         (need_isdir_precheck): New function, broken out of ...
13351         (__opendirat): ... here.  Call it.
13352         Use __fxstatat64, not __xstatat64.
13353         (opendir_oflags): New function, broken out of ...
13354         (__opendirat): ... here.  Call it.
13355         (opendir_tail): New function, broken out of ...
13356         (__opendirat): ... here.  Call it.
13357         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
13358         opendir_tail, rather than punting to __opendirat.
13359         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
13361 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13363         * .gitignore: Ignore generated *.pyc.
13365 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
13367         * include/stdio.h: Define __need_wint_t.
13368         * test-skeleton.c: Avoid `for' loop initial declaration.
13369         * nptl/tst-initializers1.c: Use test-skeleton.c.
13371 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13373         [BZ #18418]
13374         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
13376 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
13378         [BZ #16352]
13379         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
13380         (__ieee754_atanh): Force underflow exception for results with
13381         small absolute value.
13382         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
13383         (__ieee754_atanhf): Force underflow exception for results with
13384         small absolute value.
13385         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
13386         (__ieee754_atanh): Force underflow exception for results with
13387         small absolute value.
13388         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
13389         (__ieee754_atanhf): Force underflow exception for results with
13390         small absolute value.
13391         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
13392         (__ieee754_atanhl): Force underflow exception for results with
13393         small absolute value.
13394         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
13395         (__ieee754_atanhl): Force underflow exception for results with
13396         small absolute value.
13397         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
13398         (__ieee754_atanhl): Force underflow exception for results with
13399         small absolute value.
13400         * math/auto-libm-test-in: Do not allow missing underflow
13401         exceptions from atanh.
13402         * math/auto-libm-test-out: Regenerated.
13404         [BZ #18221]
13405         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
13406         2**-28 as threshold for returning x or +/- 1/x.
13407         * math/auto-libm-test-in: Add more tests of tan.
13408         * math/auto-libm-test-out: Regenerated.
13410         [BZ #18220]
13411         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
13412         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
13413         * math/auto-libm-test-in: Add another test of lgamma.
13414         * math/auto-libm-test-out: Regenerated.
13416 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
13418         * stdio-common/printf_fp.c (___printf_fp): Use abs.
13419         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
13420         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
13421         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
13422         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
13423         (ADD2A): Use fabs.  (SUB2A): Use fabs.
13424         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
13425         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
13426         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
13427         (log1): Use fabs.  (my_log2): Use fabs.
13428         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
13429         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
13430         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
13431         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
13432         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
13433         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
13434         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
13435         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
13436         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
13437         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
13438         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
13440 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
13442         [BZ #18217]
13443         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
13444         as threshold for returning 1 - x.
13445         * math/auto-libm-test-in: Add more tests of erfc.
13446         * math/auto-libm-test-out: Regenerated.
13448 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
13450         [BZ #18196]
13451         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
13452         threshold for large arguments.
13453         * math/auto-libm-test-in: Add another test of atan.
13454         * math/auto-libm-test-out: Regenerated.
13456         [BZ #16339]
13457         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
13458         (__log1p): Force underflow exception for results with small
13459         absolute value.
13460         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
13461         (__log1pf): Force underflow exception for results with small
13462         absolute value.
13463         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
13464         (__log1p): Force underflow exception for results with small
13465         absolute value.
13466         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
13467         (__log1pf): Force underflow exception for results with small
13468         absolute value.
13469         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
13470         (__log1pl): Force underflow exception for results with small
13471         absolute value.
13472         * math/auto-libm-test-in: Do not allow missing underflow
13473         exceptions from log1p.
13474         * math/auto-libm-test-out: Regenerated.
13476 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
13477             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13479         [BZ #16704]
13480         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
13482 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
13484         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
13485         (libmvec): New variable.
13486         * configure.ac: Added option for mathvec build.
13487         * configure: Regenerated.
13488         * mathvec/Depend: New file.
13489         * mathvec/Makefile: New file.
13490         * shlib-versions: Added libmvec.
13491         * math/Makefile: Added rule for libm.so installation.
13493         * bits/math-vector.h: New file.
13494         * bits/libm-simd-decl-stubs.h: New header.
13495         * math/Makefile (headers): Added new header
13496         libm-simd-decl-stubs.h.
13497         * math/math.h (__MATHCALL_VEC): New macro.
13499         * math/gen-libm-have-vector-test.sh: Script generates series of macros
13500         for conditions in testing functions.
13501         * math/Makefile: Added call of libm-have-vector-test.sh.
13502         * math/libm-test.inc (HAVE_VECTOR): New macros.
13504         * math/libm-test.inc: START refactored.
13505         * math/test-double.c (TEST_MATHVEC): Add define.
13506         * math/test-float.c: Likewise.
13507         * math/test-idouble.c: Likewise.
13508         * math/test-ifloat.c: Likewise.
13509         * math/test-ildoubl.c: Likewise.
13510         * math/test-ldouble.c: Likewise.
13511         * sysdeps/generic/math-tests-arch.h
13512         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
13513         architecture check.
13515         * math/test-double.c (FUNC_TEST): New macro.
13516         * math/test-float.c: Likewise.
13517         * math/test-idouble.c: Likewise.
13518         * math/test-ifloat.c: Likewise.
13519         * math/test-ildoubl.c: Likewise.
13520         * math/test-ldouble.c: Likewise.
13521         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
13523 2015-05-13  Roland McGrath  <roland@hack.frob.com>
13525         * sysdeps/nacl/fdopendir.c: New file.
13527         * dirent/scandir-tail.c: New file.
13528         * dirent/scandir64-tail.c: New file.
13529         * dirent/Makefile (routines): Add them.
13530         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
13531         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
13532         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
13533         [!SCANDIR] (SCANDIR_TAIL): New macro.
13534         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
13535         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
13536         (SCANDIRAT): Macro removed.
13537         (SCANDIR_TAIL): New macro.
13538         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
13539         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
13540         (SCANDIRAT): Just call __opendirat and __scandir_tail.
13541         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
13542         (READDIR): Macro removed.
13543         (SCANDIR_TAIL): New macro.
13544         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
13545         (SCANDIR_TAIL): New macro.
13547         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
13548         * dirent/scandir-cancel.c: ... to this new file.
13549         * dirent/Makefile (routines): Add it.
13550         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
13551         * sysdeps/unix/sysv/linux/i386/scandir64.c
13552         (SKIP_SCANDIR_CANCEL): Macro removed.
13553         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
13555         * dirent/tst-scandir.c: New file.
13556         * dirent/tst-scandir64.c: New file.
13557         * dirent/Makefile (tests): Add them.
13559 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
13561         [BZ #18409]
13562         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
13564 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13566         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
13567         list.
13569 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
13571         * benchtests/bench-strcoll.c: New benchmark.
13572         * benchtests/Makefile: Generate locales and run benchmark.
13573         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
13574         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
13575         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
13576         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
13577         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
13578         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
13579         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
13580         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
13581         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
13582         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
13583         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
13584         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
13585         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
13586         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
13587         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
13588         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
13589         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
13590         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
13591         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
13592         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
13593         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
13594         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
13595         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
13596         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
13598 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
13600         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
13601         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13603 2015-05-12  Roland McGrath  <roland@hack.frob.com>
13605         * posix/uname-values.h: New file.
13606         * posix/uname.c: Include that instead of <config-name.h>.
13607         * sysdeps/nacl/uname-values.h: New file.
13608         * sysdeps/arm/nacl/uname-values.h: New file.
13610 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
13612         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
13613         splitting into fields.
13615 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
13617         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
13618         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
13619         * locale/localeinfo.h: Add enum collation_encoding_type.
13620         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
13621         * programs/ld-collate.c (collate_output): Add encoding type info.
13622         * string/strcoll_l.c (STRDIFF): New function.
13623         * (STRCOLL): Use STRDIFF to skip over equal prefix.
13624         * wcsmbs/wcscoll_l.c: Define STRDIFF.
13626 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
13628         [BZ #18397]
13629         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
13630         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
13631         <fpu_control.h> instead of <math/fpu_control.c>.
13632         * sysdeps/mips/mips32/fpu/Makefile: New file.
13634 2015-05-11  Andreas Schwab  <schwab@suse.de>
13636         [BZ #18007]
13637         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
13638         nss_endgrent.
13639         (_nss_compat_endgrent): Call nss_endgrent.
13640         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
13641         nss_endpwent.
13642         (_nss_compat_endpwent): Call nss_endpwent.
13643         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
13644         needent, call nss_setspent only if non-zero.
13645         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
13646         (internal_endspent): Don't call nss_endspent.
13647         (_nss_compat_endspent): Call nss_endspent.
13648         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
13649         Remove.  All uses removed.
13650         (internal_setent): Remove parameter stayopen, add parameter
13651         stream.  Use it instead of global variable.
13652         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
13653         (internal_endent, internal_getent): Add parameter stream.  Use it
13654         instead of global variable.
13655         (CONCAT(_nss_files_end,ENTNAME))
13656         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
13657         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
13658         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
13659         uses removed.
13660         (internal_setent, internal_endent): Add parameter stream.  Use it
13661         instead of global variable.
13662         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
13663         stream.
13664         (get_next_alias): Add parameter stream.
13665         (_nss_files_getaliasent_r): Pass global stream.
13666         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
13667         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
13668         (_nss_files_gethostbyname4_r): Pass local stream to
13669         internal_setent, internal_getent and internal_endent.  Remove
13670         locking.
13672 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
13674         * tst-strfmon1.c (tests): Update expected currency symbol.
13676 2015-05-08  Roland McGrath  <roland@hack.frob.com>
13678         * sysdeps/nacl/gethostname.c: New file.
13680 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
13682         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
13683         and sinh.
13684         * math/auto-libm-test-out: Regenerated.
13685         * sysdeps/i386/fpu/libm-test-ulps: Update.
13686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13688 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
13690         [BZ #18125]
13691         * stdlib/tst-setcontext3.c: New file.
13692         * stdlib/tst-setcontext3.sh: New file.
13693         * stdlib/Makefile (tests): Add tst-setcontext3.
13694         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
13695         to verify test program created output file.
13696         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
13697         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
13698         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
13699         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
13701 2015-05-06  Roland McGrath  <roland@hack.frob.com>
13703         [BZ #18383]
13704         * elf/tst-tlsalign.c: New file.
13705         * elf/tst-tlsalign-static.c: New file.
13706         * elf/tst-tlsalign-lib.c: New file.
13707         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
13708         (tests-static): Add tst-tlsalign-static.
13709         (modules-names): Add tst-tlsalign-lib.
13710         (test-xfail-tst-tlsalign): New variable.
13711         (test-xfail-tst-tlsalign-static): New variable.
13713         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
13714         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
13716 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
13718         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
13719         csqrt, erfc, sin and sincos.
13720         * math/auto-libm-test-out: Regenerated.
13721         * sysdeps/i386/fpu/libm-test-ulps: Update.
13722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13724 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13726         * sysdeps/aarch64/libm-test-ulps: Update.
13728 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
13730         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
13731         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
13732         * math/auto-libm-test-out: Regenerated.
13733         * sysdeps/i386/fpu/libm-test-ulps: Update.
13734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13736 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
13738         [BZ #18265]
13739         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
13740         (wcsncpy): Likewise.
13742 2015-05-05  Florian Weimer  <fweimer@redhat.com>
13744         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
13745         Assume __ASSUME_FALLOCATE is always true.
13746         * sysdeps/unix/sysv/linux/posix_fallocate64.c
13747         (__posix_fallocate64_l64): Likweise.
13748         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
13749         (posix_fallocate): Likewise.
13750         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
13751         (__posix_fallocate64_l64): Likewise.
13752         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13753         [!__ASSUME_FALLOCATE]: Add comment.
13755 2015-05-05  Florian Weimer  <fweimer@redhat.com>
13757         * sysdeps/unix/sysv/linux/i386/Makefile
13758         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
13759         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
13760         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
13761         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
13762         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
13763         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
13764         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
13766 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
13768         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
13769         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
13770         tgamma.
13771         * math/auto-libm-test-out: Regenerated.
13772         * sysdeps/i386/fpu/libm-test-ulps: Update.
13773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13775 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
13777         * math/auto-libm-test-in: Add more tests of tgamma.
13778         * math/auto-libm-test-out: Regenerated.
13779         * sysdeps/i386/fpu/libm-test-ulps: Update.
13780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13782         * math/auto-libm-test-in: Add more tests of tanh.
13783         * math/auto-libm-test-out: Regenerated.
13784         * sysdeps/i386/fpu/libm-test-ulps: Update.
13785         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13787         * math/auto-libm-test-in: Add more tests of tan.
13788         * math/auto-libm-test-out: Regenerated.
13789         * sysdeps/i386/fpu/libm-test-ulps: Update.
13790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13792         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
13793         * math/auto-libm-test-out: Regenerated.
13794         * sysdeps/i386/fpu/libm-test-ulps: Update.
13795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13797         * math/auto-libm-test-in: Add another test of pow.
13798         * math/auto-libm-test-out: Regenerated.
13799         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13801         * math/auto-libm-test-in: Add more tests of lgamma.
13802         * math/auto-libm-test-out: Regenerated.
13803         * sysdeps/i386/fpu/libm-test-ulps: Update.
13804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13806         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
13807         log1p.
13808         * math/auto-libm-test-out: Regenerated.
13809         * sysdeps/i386/fpu/libm-test-ulps: Update.
13810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13812 2015-05-01  Mark Wielaard  <mjw@redhat.com>
13814         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
13815         Elf64_Chdr structs and ELFCOMPRESS constants.
13817 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
13819         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
13820         expm1.
13821         * math/auto-libm-test-out: Regenerated.
13822         * sysdeps/i386/fpu/libm-test-ulps: Update.
13823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13825         * math/auto-libm-test-in: Add more tests of erf and erfc.
13826         * math/auto-libm-test-out: Regenerated.
13827         * sysdeps/i386/fpu/libm-test-ulps: Update.
13828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13830 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13832         * config.h.in (HAVE_AARCH64_BE): Add.
13834 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
13836         * math/auto-libm-test-in: Add more tests of csqrt.
13837         * math/auto-libm-test-out: Regenerated.
13838         * sysdeps/i386/fpu/libm-test-ulps: Update.
13839         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13841         * math/auto-libm-test-in: Add more tests of cosh and sinh.
13842         * math/auto-libm-test-out: Regenerated.
13843         * sysdeps/i386/fpu/libm-test-ulps: Update.
13844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13846         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
13848 2015-04-29  Roland McGrath  <roland@hack.frob.com>
13850         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
13851         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
13853         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
13854         (euidaccess, eaccess): Define as weak aliases.
13856         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
13857         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
13858         but __suseconds_t is often 'long int' so some sources assume that
13859         type is being used (e.g. they use %ld to print tv_usec).
13861 2015-04-29  Florian Weimer  <fweimer@redhat.com>
13863         [BZ #18007]
13864         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
13865         (CVE-2014-8121)
13866         * nss/tst-nss-getpwent.c: New file.
13867         * nss/Makefile (tests): Add new test.
13869 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
13871         [BZ #18346]
13872         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
13873         exponents less than 48 as cases where high part of mantissa needs
13874         examining to determine whether argument is integral.
13875         * math/libm-test.inc (round_test_data): Add more tests.
13877 2015-04-28  Mark Wielaard  <mjw@redhat.com>
13879         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
13881 2015-04-27  David S. Miller  <davem@davemloft.net>
13883         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
13884         __tls_get_addr.
13885         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
13887 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
13889         [BZ#18333]
13890         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
13892 2015-04-27  Florian Weimer  <fweimer@redhat.com>
13894         [BZ#18333]
13895         * time/tzset.c (parse_tzname): Return error on memory allocation
13896         failure.
13897         * test-skeleton.c (struct temp_name_list): Change type of name
13898         member to non-const.
13899         (add_temp_file): Create a copy of the file name.
13900         (delete_temp_files): Deallocate memory.
13901         (create_temp_file): Add comment.
13903 2015-04-24  Florian Weimer  <fweimer@redhat.com>
13905         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
13906         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
13908 2015-04-24  Roland McGrath  <roland@hack.frob.com>
13910         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
13911         * sysdeps/arm/configure: Regenerated.
13913 2015-04-24  Florian Weimer  <fweimer@redhat.com>
13915         [BZ #17715]
13916         * time/tzfile.c (__tzfile_read): Check for large values of
13917         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
13918         * time/tzset.c (__tzstring_len): New function, based on the old
13919         __tzstring function.
13920         (__tzstring): Call __tzstring_len.
13921         (parse_tzname): New helper function extracted from
13922         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
13923         the input string.
13924         (parse_offset): New helper function extracted from
13925         __tzset_parse_tz.  Replace switch with fallthrough with
13926         initialization before sscanf.
13927         (parse_rule): Likewise.
13928         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
13929         new-style function definition.
13930         * timezone/Makefile (tests): Add tst-tzset.
13931         (tst-tzset.out): Dependencies on time zone files.
13932         (tst-tzset-ENV): Set TZDIR.
13933         (testdata/XT%): Copy crafted time zone files.
13934         * timezone/README: Mention crafted time zone files.
13935         * timezone/testdata/XT1, timezone/testdata/XT2,
13936         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
13937         files.
13938         * timezone/tst-tzset.c: New test.
13940 2015-04-24  Florian Weimer  <fweimer@redhat.com>
13942         * Makeconfig (+gccwarn): Remove -Winline.
13944 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
13946         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
13948 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
13950         * NEWS: Mention sysconf() cache information support for s390.
13951         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
13953 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
13955         * math/k_casinh.c (__kernel_casinh): Use __copysign.
13956         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
13957         (__nearbyint): Likewise.
13958         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
13959         (copysignl): Likewise.
13961 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
13963         [BZ #18287]
13964         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
13965         based on padding.  (CVE-2015-1781)
13967 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13969         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
13970         libc-vdso.h.
13971         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
13972         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
13973         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
13974         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
13975         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
13976         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
13977         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
13978         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
13979         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
13980         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
13981         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13982         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13983         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
13984         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
13985         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
13986         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
13987         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
13988         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
13989         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
13990         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
13991         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
13992         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
13993         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
13995 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
13997         * stdlib/setenv.c (__add_to_environ):
13998         Dump core quickly if setenv (..., NULL, ...) is called.
13999         This time, do it the right way, and pacify GCC with a pragma.
14001 2015-04-17  Roland McGrath  <roland@hack.frob.com>
14003         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
14004         IMAP->l_prev cannot be null, and #if out the code for the contrary
14005         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
14006         believe that NS (&_dl_ns[NSID]) could point outside the array.
14008         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
14009         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
14010         before using NSID as an index.
14012 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
14014         [BZ #17825]
14015         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
14016         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
14017         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
14019 2015-04-17  Roland McGrath  <roland@hack.frob.com>
14021         Add preliminary port to Google Native Client on ARM.
14022         * abi-tags (.*-.*-nacl.*): New entry.
14023         * sysdeps/arm/nacl: New directory.
14024         * sysdeps/nacl: New directory.
14026 2015-04-16  David S. Miller  <davem@davemloft.net>
14028         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
14029         lowlevellock-futex.h
14031 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
14033         * sysdeps/tile/configure.ac: New file.
14034         * sysdeps/tile/configure: Regenerated.
14036 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14038         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
14039         conditionals for weak_alias and libc_hidden_weak.
14040         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
14041         libc_hidden_weak and weak_alias.
14042         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
14043         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
14044         and weak_alias for static one.
14046 2015-04-15  David S. Miller  <davem@davemloft.net>
14048         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
14050 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
14052         [BZ #18206]
14053         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
14054           Use signed comparision instead of substraction to avoid
14055           overflow bug.
14056         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
14057           Take the sign of ret.
14058         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
14059           Do not expect precise return values. Only the sign matters.
14060         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
14061         * wcsmbs/test-wcsncmp.c: New File.
14062         * string/test-strncmp.c: Add wcsncmp support.
14064 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
14066         [BZ #6792]
14067         * math/w_log1p.c: New file.
14068         * math/w_log1pf.c: Likewise.
14069         * math/w_log1pl.c: Likewise.
14070         * math/Makefile (libm-calls): Add w_log1p.
14071         * math/s_log1pl.c (log1pl): Remove weak_alias.
14072         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
14073         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
14074         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
14075         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
14076         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
14077         [NO_LONG_DOUBLE] (log1pl): Likewise.
14078         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
14079         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
14080         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
14081         (log1p): Remove long_double_symbol.
14082         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
14083         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
14084         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
14085         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
14086         remove weak_alias for corresponding log1p function.
14087         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
14088         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
14089         * sysdeps/ia64/fpu/w_log1p.c: New file.
14090         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
14091         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
14092         * math/libm-test.inc (log1p_test_data): Add errno expectations.
14094 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
14096         [BZ #18247]
14097         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
14098         decimal exponent by 1.
14099         * stdlib/tst-strtod-round-data: Add more tests.
14100         * stdlib/tst-strtod-round.c (tests): Regenerated.
14102 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
14104         * math/auto-libm-test-in: Add more tests of clog and clog10.
14105         * math/auto-libm-test-out: Regenerated.
14106         * sysdeps/i386/fpu/libm-test-ulps: Update.
14107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14109 2015-04-09  Roland McGrath  <roland@hack.frob.com>
14111         * Makeconfig (module-cppflags): Exclude all .v.i files.
14112         (skip-module-cppflags): Variable removed.
14114         * configure.ac (libc_config_ok): Initialize before reading
14115         preconfigure scripts, not after.
14116         * configure: Regenerated.
14118         * test-skeleton.c (TIMEOUT): Move #define to top level.
14119         (main): Grok environment variable TEST_DIRECT.  If set, print
14120         test expectation details into that file and then behave as if
14121         given --direct.
14123 2015-04-09  Florian Weimer  <fweimer@redhat.com>
14125         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
14126         warning on 32-bit.
14128 2015-04-08  David S. Miller  <davem@davemloft.net>
14130         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14132 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
14134         * math/auto-libm-test-in: Add more tests of atanh.
14135         * math/auto-libm-test-out: Regenerated.
14136         * sysdeps/i386/fpu/libm-test-ulps: Update.
14137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14139         * math/auto-libm-test-in: Add more tests of atan.
14140         * math/auto-libm-test-out: Regenerated.
14141         * sysdeps/i386/fpu/libm-test-ulps: Update.
14142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14144 2015-04-08  Florian Weimer  <fweimer@redhat.com>
14146         * elf/pldd.c (main): Rewrite to use struct
14147         scratch_buffer instead of extend_alloca.
14148         * elf/pldd-xx.c (find_maps): Likewise.
14149         * grp/initgroups.c: Include <scratch_buffer.h> instead of
14150         <alloca.h>.
14151         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
14152         scratch_buffer instead of extend_alloca.
14153         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
14154         grp/compat-initgroups.c.
14155         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
14156         Rewrite to use struct scratch_buffer instead of extend_alloca.
14157         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
14158         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
14160 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
14162         * math/auto-libm-test-in: Add more tests of cbrt.
14163         * math/auto-libm-test-out: Regenerated.
14164         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14166         * math/auto-libm-test-in: Add more tests of cabs.
14167         * math/auto-libm-test-out: Regenerated.
14168         * sysdeps/i386/fpu/libm-test-ulps: Update.
14169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14171         [BZ #18210]
14172         [BZ #18211]
14173         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
14174         (__ieee754_atan2): Set FE_TONEAREST mode for internal
14175         computations.
14176         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
14177         clog10.
14178         * math/auto-libm-test-out: Regenerated.
14179         * sysdeps/i386/fpu/libm-test-ulps: Update.
14180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14182         [BZ #18197]
14183         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
14184         (atan): Set FE_TONEAREST mode for internal computations.
14185         * math/auto-libm-test-in: Add more tests of atan.
14186         * math/auto-libm-test-out: Regenerated.
14188 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
14190         [BZ #17930]
14191         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
14193 2015-04-07  Florian Weimer  <fweimer@redhat.com>
14195         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
14197 2015-04-07  Florian Weimer  <fweimer@redhat.com>
14199         * include/scratch_buffer.h: New file.
14200         * malloc/scratch_buffer_grow.c: Likewise.
14201         * malloc/scratch_buffer_grow_preserve.c: Likewise.
14202         * malloc/scratch_buffer_set_array_size.c: Likewise.
14203         * malloc/tst-scratch_buffer.c: Likewise.
14204         * malloc/Makefile (routines): Add scratch_buffer_grow.
14205         (tests): Add test case.
14206         * malloc/Versions (GLIBC_PRIVATE): Export
14207         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
14208         __libc_scratch_buffer_set_array_size.
14210 2015-04-06  Richard Henderson  <rth@redhat.com>
14212         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
14213         * sysdeps/alpha/fpu/libm-test-ulps: Update.
14215         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
14216         unsigned int before printing.
14218 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14220         [BZ #17596]
14221         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
14222         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
14224 2015-04-02  Florian Weimer  <fweimer@redhat.com>
14226         * include/libc-internal.h (libc_max_align_t): Define.
14228 2015-04-02  Andreas Schwab  <schwab@suse.de>
14230         [BZ #16850]
14231         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
14233 2015-04-02  Mel Gorman  <mgorman@suse.de>
14235         [BZ #17195]
14236         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
14237         as well as the main arena.
14239 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
14241         [BZ #18185]
14242         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
14243         sharing L2 cache to 2 for Silvermont/Knights Landing.
14245 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
14247         [BZ #17711]
14248         * config.make.in (have-protected-data): New.
14249         * configure.ac: Check linker support for protected data symbol.
14250         * configure: Regenerated.
14251         * elf/Makefile (modules-names): Add tst-protected1moda and
14252         tst-protected1modb if $(have-protected-data) is yes.
14253         (tests): Add tst-protected1a and tst-protected1b if
14254         $(have-protected-data) is yes.
14255         ($(objpfx)tst-protected1a): New.
14256         ($(objpfx)tst-protected1b): Likewise.
14257         (tst-protected1modb.so-no-z-defs): Likewise.
14258         * elf/tst-protected1a.c: New file.
14259         * elf/tst-protected1b.c: Likewise.
14260         * elf/tst-protected1mod.h: Likewise.
14261         * elf/tst-protected1moda.c: Likewise.
14262         * elf/tst-protected1modb.c: Likewise.
14264 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
14266         [BZ #17711]
14267         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
14268         indicates it is called from do_lookup_x on relocation against
14269         protected data, skip the data definion in the executable from
14270         copy reloc.
14271         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
14272         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
14273         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
14274         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
14275         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
14276         otherwise to 0.
14277         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
14278         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
14279         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
14280         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
14281         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
14282         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
14284 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
14286         * sysdeps/nptl/pthread.h: Remove duplicate definition of
14287         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
14289 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
14291         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
14292         THREAD_SETMEM_NC.
14293         * sysdeps/x86_64/nptl/tls.h: Ditto.
14295 2015-03-27  Roland McGrath  <roland@hack.frob.com>
14297         * dlfcn/tststatic.c (main): Converted to ...
14298         (do_test): ... this.
14299         (TEST_FUNCTION): New macro.
14300         Include test-skeleton.c.
14302 2015-03-26  Alan Modra  <amodra@gmail.com>
14304         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
14305         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
14306         zero for undefined weak.
14307         (elf_machine_plt_conflict): Similarly.
14309 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
14311         * math/auto-libm-test-in: Add more tests of acosh, asinh and
14312         atanh.
14313         * math/auto-libm-test-out: Regenerated.
14314         * sysdeps/i386/fpu/libm-test-ulps: Update.
14315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14317         * math/auto-libm-test-in: Add another test of asin.
14318         * math/auto-libm-test-out: Regenerated.
14319         * sysdeps/i386/fpu/libm-test-ulps: Update.
14320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14322         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
14323         Remove macro.
14324         (LLL_EBX_REG): Likewise.
14325         (LLL_ENTER_KERNEL): Likewise.
14327         * math/auto-libm-test-in: Add more tests of asin.
14328         * math/auto-libm-test-out: Regenerated.
14329         * sysdeps/i386/fpu/libm-test-ulps: Update.
14330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14332         [BZ #18138]
14333         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
14334         libc_do_syscall_args): New structure.
14335         (INTERNAL_SYSCALL_MAIN_0): New macro.
14336         (INTERNAL_SYSCALL_MAIN_1): Likewise.
14337         (INTERNAL_SYSCALL_MAIN_2): Likewise.
14338         (INTERNAL_SYSCALL_MAIN_3): Likewise.
14339         (INTERNAL_SYSCALL_MAIN_4): Likewise.
14340         (INTERNAL_SYSCALL_MAIN_5): Likewise.
14341         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
14342         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
14343         Replace conditional definitions by conditional definitions of ....
14344         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
14345         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
14346         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
14347         (libpthread-sysdep_routines): Add libc-do-syscall.
14348         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
14349         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
14350         to __NR_futex not 240.
14352 2015-03-25  Alan Modra  <amodra@gmail.com>
14354         * NEWS: Advertise TLS optimization.
14355         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
14356         (DT_PPC_NUM): Increment.
14357         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
14358         (CHECK_STATIC_TLS): Use here.
14359         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
14360         TLS descriptors.
14361         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14362         * sysdeps/powerpc/dl-tls.c: New file.
14363         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
14364         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
14365         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
14366         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
14367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
14368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
14369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
14371 2015-03-25  Alan Modra  <amodra@gmail.com>
14373         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
14374         for overlapping .opd entries" to "support...".
14375         * sysdeps/powerpc/powerpc64/configure: Regenerate
14377 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
14379         * math/auto-libm-test-in: Add more tests of acos.
14380         * math/auto-libm-test-out: Regenerated.
14381         * sysdeps/i386/fpu/libm-test-ulps: Update.
14382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14384         * math/auto-libm-test-in: Add more tests of expm1.
14385         * math/auto-libm-test-out: Regenerated.
14386         * sysdeps/i386/fpu/libm-test-ulps: Update.
14387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14389 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
14391         * math/auto-libm-test-in: Add more tests of cosh and sinh.
14392         * math/auto-libm-test-out: Regenerated.
14393         * sysdeps/i386/fpu/libm-test-ulps: Update.
14394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14396         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14399         * math/auto-libm-test-in: Add more tests of log2.
14400         * math/auto-libm-test-out: Regenerated.
14401         * sysdeps/i386/fpu/libm-test-ulps: Update.
14402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14404 2015-03-23  Roland McGrath  <roland@hack.frob.com>
14406         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
14407         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
14408         _IO_IS_APPENDING bit in READ_WRITE instead.
14410 2015-03-23  Florian Weimer  <fweimer@redhat.com>
14412         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
14413         (__determine_cpumask_size): Replace extend_alloca with a
14414         variable-length array.  Do not treat res == 0 as an error.
14416 2015-03-23  Florian Weimer  <fweimer@redhat.com>
14418         [BZ #18100]
14419         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
14420         and integer overflow.
14421         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
14422         (main): Add integer overflow tests.
14423         * manual/pattern.texi (Calling Wordexp): Document additional use
14424         for WRDE_SYNTAX.
14426 2015-03-23  Alan Modra  <amodra@gmail.com>
14428         * config.h.in: Remove HAVE_ASM_PPC_REL16.
14429         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
14430         and false branch of conditional.
14431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
14432         Likewise.
14434 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
14436         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
14437         libc-modules.h
14438         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
14439         unused declaration of _hurd_intr_rpc_msg_in_trap.
14440         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
14441         defined instead of whether it is non-zero.
14442         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
14443         input constraint instead of both input and output constraint.  Use ecx
14444         clobber instead of %ecx.
14445         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
14446         mutex_unlock): Use a statement expression instead of an expression list.
14447         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
14448         type to vm_size_t instead of vm_address_t.
14449         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
14450         defined instead of whether it is non-zero.
14451         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
14452         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
14453         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
14454         comparisons with mapaddr.
14455         * nscd/nscd-client.h: Include <time.h>.
14456         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
14457         9th parameter to __vm_region instead of int.
14458         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
14459         * scripts/check-local-headers.sh (exclude): Add device/,
14460         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
14461         cthreads.h.
14463 2015-03-19  Roland McGrath  <roland@hack.frob.com>
14465         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
14466         to account for alignment padding.
14467         * sysdeps/arm/memmove.S: Likewise.
14469 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
14471         * sysdeps/unix/sysv/linux/generic/README: New file.
14473 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
14475         [BZ #18138]
14476         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
14477         (futex_abstimed_wait)
14478         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
14479         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
14480         of lll_futex_timed_wait.
14482 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
14484         [BZ #17542]
14485         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
14487 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
14489         [BZ #17090]
14490         [BZ #17620]
14491         [BZ #17621]
14492         [BZ #17628]
14493         * NEWS: Update.
14494         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
14495         entries with Static TLS too.  Skip entries past the end of the
14496         allocated DTV, from Alan Modra.
14497         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
14498         Static TLS DTV entry set up from...
14499         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
14500         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
14501         * nptl/allocatestack.c (init_one_static_tls): ... and here...
14502         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
14503         for Static TLS.
14504         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
14505         that the slot we find is associated with the given map before
14506         using its generation count.
14507         * nptl_db/db_info.c: Include ldsodefs.h.
14508         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
14509         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
14510         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
14511         (link_map::l_tls_offset): New struct field.
14512         (dtv_t::counter): Likewise.
14513         (rtld_global): New struct.
14514         (_rtld_global): New rtld variable.
14515         (dl_tls_dtv_slotinfo_list): New rtld global field.
14516         (dtv_slotinfo_list): New struct.
14517         (dtv_slotinfo): Likewise.
14518         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
14519         (td_lookup): Rename to...
14520         (td_mod_lookup): ... this.  Use new mod parameter instead of
14521         LIBPTHREAD_SO.
14522         * nptl_db/td_thr_tlsbase.c: Include link.h.
14523         (dtv_slotinfo_list, dtv_slotinfo): New functions.
14524         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
14525         addresses even if the DTV is out of date or missing them.
14526         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
14527         index zero-length arrays.
14528         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
14529         (td_lookup): Make it a macro implemented in terms of...
14530         (td_mod_lookup): ... this declaration.
14531         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
14532         (DB_MAIN_VARIABLE): Likewise.
14534 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
14536         [BZ #18134]
14537         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
14539 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
14541         * stdlib/setenv.c (__add_to_environ): Revert previous change.
14543 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
14545         [BZ #18128]
14546         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
14547         (atomic_add, atomic_increment_and_test)
14548         (atomic_decrement_and_test): Fix 64-bit arithmetic.
14550 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
14552         * stdlib/setenv.c (__add_to_environ):
14553         Dump core quickly if setenv (..., NULL, ...) is called.
14555 2015-03-13  Roland McGrath  <roland@hack.frob.com>
14557         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
14558         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
14559         all the necessary asm magic in one place.
14560         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
14561         using those.
14563 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
14565         [BZ #14906]
14566         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
14567         traced file mtime. Use consistent log message.
14568         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
14569         (register_traced_file): Call install_watches. Always set mtime.
14570         (invalidate_cache): Iterate over all trace files. Call install_watches.
14571         (inotify_check_files): Don't inline. Handle watching parent
14572         directories and configuration file movement in and out.
14573         (handle_inotify_events): New function.
14574         (main_loop_poll): Call handle_inotify_events.
14575         (main_loop_epoll): Likewise.
14576         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
14577         (struct traced_file): Use array of inotify fds. Add parent directory,
14578         and basename.
14579         (struct database_dyn): Remove unused file_mtime.
14580         (init_traced_file): New inline function.
14581         (define_traced_file): New macro.
14582         * nss/nss_db/db-init.c: Use define_traced_file.
14583         (_nss_db_init): Use init_traced_file.
14584         * nss/nss_files/files-init.c: Use define_traced_file.
14585         (_nss_files_init): Use init_traced_file.
14587 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
14589         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
14590         [_LIBC]: Do not include <stdlib.h>.
14591         [!_LIBC] (abort): Remove declaration.
14592         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
14593         _FP_STATIC_ASSERT instead of conditionally calling abort.
14594         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
14595         (_FP_EXTEND_CNAN): Likewise.
14596         (FP_TRUNC): Likewise.
14597         (__FP_CLZ): Likewise.
14598         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
14600 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
14602         * manual/string.texi (XPG basename): Fix prototype.
14604 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
14606         [BZ #18080]
14607         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
14608         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
14609         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
14610         (__setcontext): Likewise.
14611         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
14612         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
14613         Call rt_sigprocmask syscall one time to set new signal mask
14614         and retrieve the current signal mask instead of two calls.
14615         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
14616         (__swapcontext): Likewise.
14617         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
14618         * stdlib/tst-setcontext2.c: New file.
14620 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
14622         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14624 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
14626         [BZ #18093]
14627         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
14628         the wrong size.
14630 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
14632         [BZ #18043]
14633         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
14635 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
14637         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
14638         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
14639         Remove define.
14640         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
14641         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
14642         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
14643         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
14644         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
14645         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
14646         define.
14647         * nptl_db/td_symbol_list.c (td_lookup): Remove
14648         HAVE_ASM_GLOBAL_DOT_NAME code.
14649         * sysdeps/powerpc/powerpc64/configure.ac: Remove
14650         HAVE_ASM_GLOBAL_DOT_NAME check.
14651         * sysdeps/powerpc/powerpc64/configure: Regenerate.
14652         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
14653         (DOT_LABEL): Remove define.
14654         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
14655         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
14656         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
14657         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
14658         (__TLS_GET_ADDR): Likewise.
14659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
14660         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
14662 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
14664         [BZ #18111]
14665         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
14666         (_FPU_SETCW): Initialize cw from fpsr before storing.
14667         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
14668         (fesetexceptflag): Rewrite using fpu_control.h.
14669         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
14671 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
14673         [BZ #18110]
14674         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
14675         asms.
14676         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
14678 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
14680         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
14681         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
14682         abort.
14683         (_FP_FMA): Likewise.
14684         (_FP_DIV): Likewise.
14686 2015-03-10  Roland McGrath  <roland@hack.frob.com>
14688         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
14689         with 0 in that case.
14690         * Makefile (summarize-tests): New canned sequence, factored out of
14691         commands for targets tests and xtests.  Display summary lines that
14692         don't start with PASS: or XFAIL: rather than ones that do start with
14693         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
14694         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
14695         do start with ERROR: or FAIL:.
14696         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
14697         (except for [$(build-shared) = yes]).
14698         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
14699         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
14700         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
14701         * nptl/Makefile: Revert 2015-03-04 changes.
14702         [$(CXX) empty] (tests-unsupported): New variable.
14703         * debug/Makefile: Likewise.
14705         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
14706         gnulib file.  Replace __attribute with __attribute__ throughout.
14708 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
14710         * sysdeps/hppa/fpu/libm-test-ulps: Update.
14712 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
14714         [BZ #18104]
14715         * math/auto-libm-test-in: Add another test of pow.
14716         * math/auto-libm-test-out: Regenerated.
14718 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14720         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
14721         $(config-cflags-nofma).
14723 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
14725         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
14726         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
14727         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
14728         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
14729         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
14730         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
14731         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
14732         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
14733         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
14734         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
14735         Add comment on closing #endif.
14737 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
14739         * posix/wordexp.c (CHAR_IN_SET): New macro.
14740         (parse_param): Use it.
14742 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14744         * sysdeps/powerpc/fpu/libm-test-ulps: update.
14746 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
14748         [BZ #18043]
14749         * posix/wordexp.c (parse_param): Fix buffer overflow.
14750         * posix/wordexp-test.c (test_case): Add test case.
14752 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
14754         [BZ #18042]
14755         * posix/wordexp.c (parse_backtick): Fix off-by-one.
14756         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
14758 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
14760         [BZ #18043]
14761         * posix/wordexp-test.c (test_case): Add test for BZ #18043
14762         (do_bz18043): Delete.
14763         (at_page_end): New.
14764         (testit): Refactor to have words at the edge of unreadable page.
14766 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
14768         [BZ #16734]
14769         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
14770         Cleanup read-only streams as well.
14771         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
14773 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14775         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
14776         <bits/libc-lockP.h>
14778 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
14780         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
14781         on [__KERNEL__].
14782         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
14783         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
14784         * soft-fp/op-common.h (_FP_DECL): Likewise.
14786 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
14788         * elf/ifuncdep2.c (global): Replace
14789         __attribute__((visibility("protected"))) with
14790         asm (".protected global").
14791         * elf/ifuncmod1.c (global): Likewise.
14792         * elf/ifuncmod5.c (global): Likewise.
14794 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
14796         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
14797         <asm/sfp-machine.h> instead of <sfp-machine.h>.
14799 2015-03-06  Roland McGrath  <roland@hack.frob.com>
14801         * manual/install.texi (Configuring and compiling):
14802         Document test-wrapper-env-only.
14803         * INSTALL: Regenerated.
14805 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
14807         [BZ #18043]
14808         * posix/wordexp.c (parse_param): Fix buffer overflow.
14809         * posix/wordexp-test.c (do_bz18043): Add test case.
14811 2015-03-06  Vincent Bernat  <vincent@bernat.im>
14813         * time/tst-strptime2.c (do_test): Ensure failing tests are
14814         reported correctly.
14815         * time/tst-strptime3.c (do_test): Likewise.
14817 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
14819         Fix aio_error thread-safety.
14820         * sysdeps/pthread/aio_error.c: New file
14821         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
14822         synchronization.
14824 2015-03-06  Florian Weimer  <fweimer@redhat.com>
14826         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
14827         (group_number, vfprintf): Use it.
14828         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
14829         (JUMP, REF): Use it.
14830         (WORK_BUFFER_SIZE): New enum constant.
14831         (process_arg, vfprintf): Use it.
14833 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
14835         * manual/errno.texi (Error Messages): Complete example function
14836         by adding missing #define.
14837         (program_invocation_name): Add statement indicating GNU
14838         extension and reference which header file declares the variable.
14839         (program_invocation_short_name): Likewise.
14841 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
14843         * manual/errno.texi (Error Messages): Delete strerror ISO C89
14844         compatibility note.
14846 2015-03-05  Roland McGrath  <roland@hack.frob.com>
14848         * Makeconfig (test-wrapper-env-only): New variable.
14849         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
14850         then use that with $(test-wrapper-env-only) rather than using
14851         $(test-wrapper-env) $(run-program-env) $($*-ENV).
14853 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
14855         [BZ #18082]
14856         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
14857         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
14858         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
14859         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
14860         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
14861         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
14862         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
14863         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
14864         Likewise.
14865         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
14866         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
14867         Likewise.
14868         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
14869         Likewise.
14870         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
14871         Likewise.
14872         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
14873         Likewise.
14874         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
14875         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
14876         Likewise.
14877         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
14878         Likewise.
14879         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
14880         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
14882 2015-03-04  Roland McGrath  <roland@hack.frob.com>
14884         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
14885         (ETH_ALEN): New macro.
14886         (struct ether_addr): Use it for length of ether_addr_octet.
14888         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
14889         (setdb): Don't call __nss_configure_lookup for "rpc".
14890         (do_test): Don't call test_rpc.
14891         (output_rpcent, test_rpc): Functions moved ...
14892         * sunrpc/test-rpcent.c: ... to this new file.
14893         * sunrpc/Makefile (tests): Add it.
14895         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
14896         __xpg_sigpause.
14897         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
14898         * nptl/tst-signal6.c: Likewise.
14899         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
14900         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
14902         * configure.ac (libc_cv_cxx_link_ok): New check.
14903         Reset CXX to empty if it fails to link.
14904         * configure: Regenerated.
14905         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
14906         bug-atexit3-lib only if $(CXX) is nonempty.
14907         * nptl/Makefile (tests): Likewise for tst-cancel24.
14908         (tests, tests-static): Likewise for tst-cancel24-static.
14909         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
14910         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
14911         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
14912         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
14914 2015-03-04  Andreas Schwab  <schwab@suse.de>
14916         [BZ #17631]
14917         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
14918         for non-GCC compilers.
14919         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
14920         Likewise.
14922 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
14924         [BZ #17776]
14925         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
14926         integer before bitwise and assembly operations.
14927         (feclearexcept): Likewise.
14928         * math/test-fenvinline.c: New file.
14929         * math/Makefile: Add test-fenvinline test.
14931 2015-03-03  Alan Modra  <amodra@gmail.com>
14933         [BZ #16512]
14934         * scripts/localplt.awk: Strip off symbol version.
14935         * NEWS: Mention bug fix.
14937 2015-03-02  Roland McGrath  <roland@hack.frob.com>
14939         * sysdeps/pthread/timer_routines.c
14940         (timer_free_list, thread_free_list, thread_active_list): Make static.
14942 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
14944         [BZ #17779]
14945         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14946         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
14947         Undefine.
14948         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14949         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
14950         Likewise.
14951         * sysdeps/unix/sysv/linux/sh/kernel-features.h
14952         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
14953         Likewise.
14955 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
14957         [BZ #18036]
14958         * posix/fnmatch_loop.c (END): Detect invalid pattern.
14959         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
14961 2015-03-02  Andreas Schwab  <schwab@suse.de>
14963         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
14964         variable name.
14966 2015-03-02  Florian Weimer  <fweimer@redhat.com>
14968         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
14969         Return error status.
14971 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
14973         [BZ #15969]
14974         * locale/findlocale.c (_nl_find_locale): Introduce const
14975         version of loc_name and drop unsafe type casts.
14977 2015-02-27  Roland McGrath  <roland@hack.frob.com>
14979         * dlfcn/tststatic2.c (main): Converted to ...
14980         (do_test): ... this.
14981         (TEST_FUNCTION): New macro.
14982         Include test-skeleton.c.
14984 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
14986         [BZ #17711]
14987         * elf/Makefile (tests): Add vismain only if PIE is enabled.
14988         (tests-pie): Add vismain.
14989         (CFLAGS-vismain.c): New.
14990         * elf/vismain.c: Add comments for PIE requirement.
14992 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
14994         [BZ #18046]
14995         [BZ #18047]
14996         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
14997         0x1p-56L as threshold for just returning the argument.
14998         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
14999         0x1p-32L as threshold for just returning the argument.
15000         * math/auto-libm-test-in: Add more tests of atanh.
15001         * math/auto-libm-test-out: Regenerated.
15002         * sysdeps/i386/fpu/libm-test-ulps: Update.
15003         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
15005 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
15007         * string/bcopy.c (bcopy): Call memmove for performance.
15009 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
15011         * string/bzero.c (__bzero): Call memset for performance.
15013 2015-02-27  John David Anglin  <dave.anglin@bell.net>
15015         [BZ #18068]
15016         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
15017         to 00100000.
15019 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
15021         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
15023 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
15025         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
15026         (__kernel_standard): Use CSTR macro when setting exc.name.
15027         * sysdeps/ieee754/Makefile [$(subdir) = math]
15028         (CFLAGS-k_standard.c): Remove variable.
15030         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
15031         setting p and q from "else if" to "else".
15032         (qzero): Likewise.
15033         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
15034         (qone): Likewise.
15035         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
15036         (qzerof): Likewise.
15037         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
15038         (qonef): Likewise.
15039         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
15040         (qzero): Likewise.
15041         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
15042         (qone): Likewise.
15044         [BZ #18038]
15045         [BZ #18039]
15046         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
15047         return pi/2 for arguments below 0x1p-113L.
15048         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
15049         return pi/2 for arguments below 0x1p-106L.
15050         * math/auto-libm-test-in: Add more tests of acos.
15051         * math/auto-libm-test-out: Regenerated.
15053         [BZ #16351]
15054         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
15055         (MO): New macro.
15056         (__ieee754_asin): Force underflow exception for results with small
15057         absolute value.
15058         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
15059         (MO): New macro.
15060         (__ieee754_asinf): Force underflow exception for results with
15061         small absolute value.
15062         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
15063         (__ieee754_asin): Force underflow exception for results with small
15064         absolute value.
15065         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
15066         (__ieee754_asinf): Force underflow exception for results with
15067         small absolute value.
15068         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
15069         (__ieee754_asinl): Force underflow exception for results with
15070         small absolute value.
15071         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
15072         (__ieee754_asinl): Force underflow exception for results with
15073         small absolute value.
15074         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
15075         (__ieee754_asinl): Force underflow exception for results with
15076         small absolute value.
15077         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
15078         Include <math.h>.
15079         * math/auto-libm-test-in: Do not mark underflow exceptions as
15080         possibly missing for bug 16351.
15081         * math/auto-libm-test-out: Regenerated.
15083         [BZ #18030]
15084         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
15085         of power of 2 down when low part has opposite sign.
15086         * math/libm-test.inc (logb_test_data): Add more tests.
15088 2015-02-26  Andreas Schwab  <schwab@suse.de>
15090         [BZ #18032]
15091         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
15092         over collating symbol inside a bracket expression.  Minor cleanup.
15093         * posix/tst-fnmatch3.c (do_test): Add test case.
15095 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
15097         [BZ #18029]
15098         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
15099         Adjust exponent of power of 2 down when low part has opposite
15100         sign.
15101         * math/libm-test.inc (ilogb_test_data): Add more tests.
15103 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
15105         [BZ #15969]
15106         * locale/findlocale.c (_nl_find_locale): Fix constness error in
15107         the previous change.
15109         [BZ #15969]
15110         * locale/findlocale.c (_nl_find_locale): Retry archive search
15111         after alias expansion.
15113 2015-02-25  Roland McGrath  <roland@hack.frob.com>
15115         * iconv/tst-iconv3.c (main): Converted to ...
15116         (do_test): ... this.
15117         (TEST_FUNCTION): New macro.
15118         Include test-skeleton.c.
15120         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
15121         (convert): Make function static.
15122         (test_unalign): Likewise.  Add const to argument pointee types.
15123         (main): Replace with static function do_test.
15124         Print "Succeeded." only if RET is zero.
15125         (TEST_FUNCTION): New macro.
15126         Include test-skeleton.c.
15128         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
15129         returns a null pointer.
15131 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15133         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
15134         to __memcpy_ppc only for static builds.
15136 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
15138         [BZ #18020]
15139         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
15140         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
15141         * math/auto-libm-test-in: Add more tests of asinh.
15142         * math/auto-libm-test-out: Regenerated.
15143         * sysdeps/i386/fpu/libm-test-ulps: Update.
15144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15146 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
15148         [BZ #15850]
15149         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
15150         and ip6_mtuinfo definitions here.
15151         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
15152         in this define too.  Update comment.
15154 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
15156         * elf/sprof.c (load_shobj): Tweak error message to match others.
15158 2015-02-24  Kevin Easton  <kevin@guarana.org>
15160         [BZ #16145] (partial fix)
15161         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
15162         to reduce lock contention.
15164 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
15166         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
15167         (struct timex): Update time comment.
15168         (ADJ_SETOFFSET): Define.
15170 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
15172         [BZ #18019]
15173         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
15174         2**56 not 2**28 as threshold for log (2x) formula.
15175         * math/auto-libm-test-in: Add more tests of acosh.
15176         * math/auto-libm-test-out: Regenerated.
15177         * sysdeps/i386/fpu/libm-test-ulps: Update.
15178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15180 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
15182         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
15183         parenthesis around the buf assignment.
15184         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
15186 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
15188         [BZ #16783]
15189         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
15190         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
15191         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
15192         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
15193         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
15194         * math/libm-test.inc (scalb_test_data): Add more tests.
15196 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
15198         [BZ #17916]
15199         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
15200         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
15202 2015-02-24  Eric Rannaud  <e@nanocritical.com>
15204         [BZ #17523]
15205         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
15206         * io/bits/fcntl2.h (open): Use it.
15207         (openat): Likewise.
15208         * io/open.c (__libc_open): Likewise.
15209         * io/open64.c (__libc_open64): Likewise.
15210         * io/open64_2.c (__open64_2): Likewise.
15211         * io/open_2.c (__open_2): Likewise.
15212         * io/openat.c (__openat): Likewise.
15213         * io/openat64.c (__openat64): Likewise.
15214         * io/openat64_2.c (__openat64_2): Likewise.
15215         * io/openat_2.c (__openat_2): Likewise.
15216         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
15217         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
15218         * sysdeps/posix/open64.c (__libc_open64): Likewise.
15219         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
15220         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
15221         (__open_nocancel): Likewise.
15222         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
15223         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
15224         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
15226 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15228         [BZ #14841]
15229         * resolv/gethnamaddr.c (getanswer): Skip logging if
15230         RES_USE_DNSSEC is set.
15231         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15233 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
15235         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
15237 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
15239         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
15240         201304L, for Unicode 7.
15242 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
15244         [BZ #17836]
15245         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
15246         shared library.  Add gmon-start.os otherwise.
15247         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
15248         $(objpfx)gmon-start.os if builing shared library.
15249         ($(objpfx)g$(static-start-installed-name)): Likewise.
15251 2015-02-23  Andreas Schwab  <schwab@suse.de>
15253         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
15255 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
15257         [BZ #17269]
15258         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
15259         (enlarge_userbuf): Likewise.
15261 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
15263         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
15264         * math/atest-exp.c (TIMEOUT): Adjust to 200.
15265         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
15266         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
15268 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
15270         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
15271         expression inside statement expression.
15273 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
15275         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
15276         <sysdeps/nptl/lowlevellock.h> and remove macros and
15277         functions that are now defined there.
15278         (SYS_futex): Remove.
15279         (lll_compare_and_swap): Remove.
15280         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
15282 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
15284         [BZ #17999]
15285         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
15286         instead of scandirat.
15287         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
15288         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
15289         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
15290         __scandirat.
15291         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
15292         (__scandirat): Declare.  Use libc_hidden_proto.
15293         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
15294         Remove variable.
15295         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
15297 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
15299         [BZ #15319]
15300         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
15301         (MO): New macro.
15302         (__ieee754_atan2): For results with small absolute value, force
15303         underflow exception and remove excess range and precision from
15304         return value.
15305         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
15306         (MO): New macro.
15307         (__ieee754_atan2f): For results with small absolute value, force
15308         underflow exception and remove excess range and precision from
15309         return value.
15310         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
15311         (MO): New macro.
15312         (__atan): For results with small absolute value, force underflow
15313         exception and remove excess range and precision from return value.
15314         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
15315         (MO): New macro.
15316         (__atanf): For results with small absolute value, force underflow
15317         exception and remove excess range and precision from return value.
15318         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
15319         <math.h>.
15320         (__ieee754_atan2): Force underflow exception for results with
15321         small absolute value.
15322         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
15323         <math_private.h>.
15324         (atan): Force underflow exception for results with small absolute
15325         value.
15326         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
15327         (__atanf): Force underflow exception for results with small
15328         absolute value.
15329         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
15330         <math.h>.
15331         (__atanl): Force underflow exception for results with small
15332         absolute value.
15333         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
15334         (__atanl): Force underflow exception for results with small
15335         absolute value.
15336         * sysdeps/x86/fpu/bits/mathinline.h
15337         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
15338         (__ieee754_atan2): Only define inline for long double.
15339         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
15340         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
15341         * math/auto-libm-test-in: Do not mark underflow exceptions as
15342         possibly missing for bug 15319.  Add more tests of atan2.
15343         * math/auto-libm-test-out: Regenerated.
15344         * math/libm-test.inc (casin_test_data): Do not mark underflow
15345         exceptions as possibly missing for bug 15319.
15346         (casinh_test_data): Likewise.
15347         * sysdeps/i386/fpu/libm-test-ulps: Update.
15349 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
15351         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
15352         * sysdeps/mips/bits/endian.h: Fix comments.
15354 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
15356         [BZ #17996]
15357         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
15358         (hdestroy_r): Likewise.
15359         (hsearch_r): Likewise.
15360         (__hcreate_r): Declare and use libc_hidden_proto.
15361         (__hdestroy_r): Likewise.
15362         (__hsearch_r): Likewise.
15363         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
15364         (hcreate): Call __hcreate_r instead of hcreate_r.
15365         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
15366         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
15367         as weak alias of __hcreate_r.
15368         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
15369         __hdestroy_r.
15370         (hsearch_r): Rename to __hsearch_r and define as weak alias of
15371         __hsearch_r.
15372         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
15373         Remove variable.
15374         (test-xfail-XPG4/search.h/linknamespace): Likewise.
15375         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
15376         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
15377         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
15379 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15381         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
15382         arena_lock into a single arena_get.
15384 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
15386         * dl-reloc.c: Inlucde libc-internal.h.
15387         (_dl_try_allocate_static_tls): Call ALIGN_UP.
15388         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
15389         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
15390         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
15391         (grow_heap): Likewise.
15392         * malloc/malloc.c: Include libc-internal.h.
15393         (do_check_malloc): Call powerof2.
15394         (sysmalloc): Use pagesize. Call ALIGN_UP.
15395         (systrim): Use pagesize.
15396         (mremap_chunk): Use pagesize. Call ALIGN_UP.
15397         (__libc_valloc): Use pagesize.
15398         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
15400 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
15402         [BZ #17991]
15403         * include/sys/resource.h (__getrlimit64): Declare.  Use
15404         libc_hidden_proto.
15405         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
15406         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
15407         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
15408         getrlimit64.
15409         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
15410         __getrlimit64.
15411         [!getrlimit64] (getrlimit64): Define as weak alias of
15412         __getrlimit64.  Use libc_hidden_weak.
15413         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
15414         using __getrlimit64 not __new_getrlimit64.
15415         (__GI_getrlimit64): Likewise.
15416         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
15417         Likewise.
15418         (__GI_getrlimit64): Likewise.
15419         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
15420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
15421         (getrlimit): Add __getrlimit64 alias.
15422         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
15423         Likewise.
15424         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
15425         Remove variable.
15426         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
15427         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
15429 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
15431         * libio/fileops.c: Add missing sys/mman.h
15432         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
15434 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
15436         * manual/math.texi (Errors in Math Functions): Clarify goals
15437         regarding inexact and underflow exceptions.
15439 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
15441         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
15442         * sysdeps/mips/memset.S: Ditto.
15444 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
15446         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
15448 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
15450         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
15451         (__v1longjmp): Remove versioned symbol.
15452         (__v1siglongjmp): Remove alias and versioned symbol.
15453         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
15454         (__v2siglongjmp): Likewise.
15456 2015-02-16  Torvald Riegel  <triegel@redhat.com>
15458         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
15460 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
15462         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
15464 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
15466         [BZ #17987]
15467         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
15468         zero result does not depend on the sign resulting from
15469         subtraction.
15470         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
15471         Likewise.
15472         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
15473         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
15474         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15475         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
15476         * math/libm-test.inc (remquo_test_data): Add more tests.
15478 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
15480         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
15481         Problem reported by J William Piggott.
15483 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
15485         [BZ #17978]
15486         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
15487         products 4 * y and 2 * y where those would overflow.
15488         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
15489         Likewise.
15490         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
15491         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
15492         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15493         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
15494         * math/libm-test.inc (remquo_test_data): Add more tests.
15496         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
15498         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
15499         [defined _COMPILING_NEWLIB].
15500         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
15501         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
15503         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
15504         [!defined __mips_isa_rev || __mips_isa_rev < 6].
15506 2015-02-16  Torvald Riegel  <triegel@redhat.com>
15508         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
15509         acquired.
15511 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
15513         [BZ #17792]
15514         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
15515         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
15516         HOST_STACK_END_ADDR): Likewise.
15518 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
15520         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
15521         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
15522         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
15524 2015-02-13  Roland McGrath  <roland@hack.frob.com>
15526         * sysdeps/generic/c++-types.data: New file.
15527         * sysdeps/generic/ld.abilist: New file.
15528         * sysdeps/generic/libBrokenLocale.abilist: New file.
15529         * sysdeps/generic/libanl.abilist: New file.
15530         * sysdeps/generic/libc.abilist: New file.
15531         * sysdeps/generic/libcrypt.abilist: New file.
15532         * sysdeps/generic/libdl.abilist: New file.
15533         * sysdeps/generic/libm.abilist: New file.
15534         * sysdeps/generic/libpthread.abilist: New file.
15535         * sysdeps/generic/libresolv.abilist: New file.
15536         * sysdeps/generic/librt.abilist: New file.
15538 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
15540         [BZ #17569]
15541         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
15542         Compute absolute value of x as modified by fmod, not original
15543         value of x.
15544         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
15545         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
15546         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
15547         RUN_TEST_ffI_f1_mod8.
15548         (remquo_test_data): Add more tests.
15550 2015-02-13  Roland McGrath  <roland@hack.frob.com>
15552         * sysdeps/init_array/pt-crti.S: New file.
15554 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
15556         [BZ #17967]
15557         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
15558         __builtin_fmaf instead of relying on contraction of a * b + c.
15560 2015-02-12  J William Piggott  <elseifthen@gmx.com>
15562         [BZ #17969]
15563         * manual/time.texi: correct the zoneinfo path in the TZ Variable
15564         node.
15566 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
15568         [BZ #17964]
15569         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
15570         __builtin_fma instead of relying on contraction of a * b + c.
15572 2015-02-12  Roland McGrath  <roland@hack.frob.com>
15574         * Makeconfig (ASFLAGS): Add -Werror=undef.
15575         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
15576         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
15577         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
15579         * Makeconfig (after-link): New variable.
15580         (+link-pie, +link-pie-tests): Use it.
15581         (+link-static, +link-static-tests): Likewise.
15582         (+link, +link-tests): Likewise.
15583         * Makerules (build-module, build-module-asneeded): Likewise.
15584         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
15585         Likewise.
15586         * elf/Makefile ($(objpfx)ld.so): Likewise.
15588 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
15590         [BZ #17965]
15591         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
15592         both struct timeval and struct timespec.
15594 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
15596         [BZ #16560]
15597         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15598         and redefine.
15599         (__ieee754_exp2l): Do not multiply small fractional parts by
15600         M_LN2l.
15601         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
15602         small argument.
15603         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15604         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
15605         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
15606         * math/auto-libm-test-in: Add more tests of exp2.
15607         * math/auto-libm-test-out: Regenerated.
15609 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15611         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
15612         unaligned path.
15614 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15616         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
15617         little endian.
15619 2015-02-12  Andreas Schwab  <schwab@suse.de>
15621         [BZ #15790]
15622         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
15623         Filter out elision flags from value returned in kind.
15624         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
15625         * nptl/tst-pthread-mutexattr.c: New file.
15627 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15629         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
15630         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
15631         into gnu-gnu, and update comment to refer to abi-tags.
15633 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
15635         [BZ #15467]
15636         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
15637         (__sincos): Set errno to EDOM for infinite argument.
15638         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
15639         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
15640         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
15641         (__sincosl): Set errno to EDOM for infinite argument.
15642         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
15643         (__sincosl): Set errno to EDOM for infinite argument.
15644         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
15645         (__sincosl): Set errno to EDOM for infinite argument.
15646         * math/libm-test.inc (sincos_test_data): Test errno setting.
15648 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
15650         * string/strxfrm_l.c: Remove #define STRCMP.
15651         * string/strcoll_l.c: Remove #define STRLEN.
15652         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
15653         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
15655 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
15657         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
15658         * sysdeps/mips/mips32/sfp-machine.h: ... here.
15659         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
15660         * sysdeps/mips/mips64/Makefile: ... here.
15661         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
15662         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
15663         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
15664         * sysdeps/mips/mips64/sfp-machine.h: ... here.
15665         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
15666         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
15667         * sysdeps/mips/mips64/n64/Implies: Likewise.
15669 2015-02-10  Roland McGrath  <roland@hack.frob.com>
15671         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
15672         <sys/time.h>, <string.h>, and <errno.h>.
15673         (dest_offset, dest_address, value, zero): Remove unused variables.
15674         (ldouble): Remove typedef.
15675         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
15676         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
15677         1).  Fix code style.
15678         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
15679         (check): Function removed.
15680         (CHECK): New macro.
15681         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
15682         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
15683         Don't call set_sigaction_FP and remove_sigaction_FP here.
15684         (ldouble_test): Just use 'long double' as macro argument, no need for
15685         the 'ldouble' typedef.
15686         (do_test): Set up SIGFPE handler at start, using plain signal rather
15687         than sigaction.  Fix code style.
15689 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
15691         [BZ #17949]
15692         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
15693         jump label.
15695 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
15697         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
15698         * sysdeps/powerpc/powerpc32/configure: Regenerated.
15700         * sysdeps/powerpc/configure.ac: Remove file.
15701         * sysdeps/powerpc/configure: Likewise.
15703         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
15704         [sysdep_routines]: Remove wordcopy-power6 object.
15705         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
15706         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
15707         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
15708         (__memmove_ppc32): Likewise.
15709         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
15710         file.
15711         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
15712         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
15713         Remove preprocessor.
15715         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
15716         [sysdep_routines]: Remove wide chars objects.
15717         [wcsmbs]: New rule for wide char objects.
15719         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15720         Remove wordcopy-power6 obejct.
15721         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
15722         Use local call for wordcopy and memcpy symbols.
15723         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
15724         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
15725         implementation for loader.
15726         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
15728         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15729         Remove wordcopy-power7 object.
15730         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
15731         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
15732         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
15733         (_wordcopy_fwd_dest_aligned): Likewise.
15734         (_wordcopy_bwd_aligned): Likewise.
15735         (_wordcopy_bwd_dest_aligned): Likewise.
15737         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
15738         Rewrite to call __memmove_ppc instead of include default
15739         implementation.
15741         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15742         Remove wide chars objects.
15743         [wcsmbs]: New rule for wide char objects.
15745 2015-02-09  Andreas Schwab  <schwab@suse.de>
15747         [BZ #17912]
15748         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15749         in terms of __O_DIRECTORY.
15751 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15753         * time/getdate.c: Include <stdbool.h>.
15754         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
15755         call PTR_MANGLE.
15756         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
15757         PTR_DEMANGLE.
15759 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
15761         Add ersatz _Static_assert on older C hosts
15762         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
15763         pre-C11 C platform that is not known to support _Static_assert.
15765 2015-02-07  Richard Braun  <rbraun@sceen.net>
15767         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
15768         sigstate.
15769         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
15771 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15773         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
15774         priority against unexistent AIO_PRIO_DELTA_MAX.
15775         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
15776         instead of int.
15777         * misc/fchflags.c (fchflags): Likewise.
15778         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
15779         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
15780         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
15781         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
15782         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
15783         Declare macros.
15784         [__USE_MISC] (chflags, fchflags): Declare functions.
15785         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
15786         EINVAL when nfds is greater than FD_SETSIZE.
15787         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
15788         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
15789         45.
15790         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
15791         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
15792         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
15793         MACH_RCV_TIMED_OUT.
15794         * hurd/hurd/signal.h (_hurd_self_sigstate,
15795         _hurd_critical_section_lock, _hurd_critical_section_unlock):
15796         Explicit casts from void *.
15797         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
15798         * abi-tags: Rename gnu-gnu os into gnu.
15800         [BZ #4719]
15801         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
15802         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
15803         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
15804         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
15805         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
15806         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
15808         [BZ #17944]
15809         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
15810         duplicates ADDR->sun_path with sockaddr LEN limitation.
15811         * sysdeps/mach/hurd/connect.c: Include <string.h>
15812         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
15813         * sysdeps/mach/hurd/sendmsg.c: Likewise.
15814         * sysdeps/mach/hurd/sendto.c: Likewise.
15815         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
15816         implementing it by hand.
15818 2015-02-06  Roland McGrath  <roland@hack.frob.com>
15820         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
15821         Use sfi_breg on ldr.
15822         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
15823         Likewise.
15825         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
15826         it's defined.
15827         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
15828         Test SIGSETXID only if it's defined.
15830         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
15832         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
15833         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
15835         * nptl/tst-align2.c: Moved ...
15836         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
15837         * nptl/Makefile (tests): Remove tst-align2.
15838         * sysdeps/unix/sysv/linux/Makefile
15839         [$(subdir) = nptl] (tests): Add tst-align-clone.
15840         * nptl/tst-getpid1.c: Moved ...
15841         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
15842         * nptl/tst-getpid2.c: Moved ...
15843         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
15844         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
15845         * sysdeps/unix/sysv/linux/Makefile
15846         [$(subdir) = nptl] (tests): ... here.
15847         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
15848         * sysdeps/unix/sysv/linux/Makefile
15849         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
15851         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
15852         Drop trailing \n from perror argument.  Use return rather than exit.
15854         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
15855         on [SA_SIGINFO].
15856         * nptl/tst-cancel21.c (do_test): Likewise.
15857         * debug/tst-backtrace6.c: Include <signal.h> first thing.
15858         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
15859         [!SA_SIGINFO]: Make it a stub test.
15861         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
15862         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
15864         * posix/tst-getlogin.c: Move to ...
15865         * login/tst-getlogin.c: ... here.
15866         * posix/Makefile (tests): Move tst-getlogin to ...
15867         * login/Makefile (tests): ... here.
15869         * libio/tst-atime.c (do_test): Move local variables SV and E
15870         inside [ST_NOATIME] conditional.
15872         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
15874         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
15876         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
15877         (wait_code): New function replaces macro.
15878         Call nanosleep rather than syscall.
15880         * nptl/pt-system.c: Rewritten.  Put everything under
15881         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
15882         Use IFUNC to redirect when possible.
15884         * nptl/pt-longjmp.c: Rewritten.  Put everything under
15885         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
15886         Use IFUNC to redirect when possible.
15888         * nptl/pt-fork.c: Rewritten.  Put everything under
15889         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
15890         Use IFUNC to redirect when possible.
15891         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
15893         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
15894         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
15895         unconditionally nowadays.  This included the only reference to
15896         __vdso_clock_gettime that appears outside libc proper.
15897         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
15898         Remove version set (containing only __vdso_clock_gettime).
15899         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
15900         Add attribute_hidden.
15901         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
15902         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
15903         libc_hidden_data_def.
15904         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
15905         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15907         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
15908         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
15909         setrpcent, and getrpcport to ...
15910         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
15911         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
15912         getrpcbynumber_r, and getrpcent_r to ...
15913         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
15914         * inet/getrpcbyname.c: Moved ...
15915         * sunrpc/getrpcbyname.c: ... here.
15916         * inet/getrpcbyname_r.c: Moved ...
15917         * sunrpc/getrpcbyname_r.c: ... here.
15918         * inet/getrpcbynumber.c: Moved ...
15919         * sunrpc/getrpcbynumber.c: ... here.
15920         * inet/getrpcbynumber_r.c: Moved ...
15921         * sunrpc/getrpcbynumber_r.c: ... here.
15922         * inet/getrpcent.c: Moved ...
15923         * sunrpc/getrpcent.c: ... here.
15924         * inet/getrpcent_r.c: Moved ...
15925         * sunrpc/getrpcent_r.c: ... here.
15926         * inet/Makefile (routines): Move those to ...
15927         * sunrpc/Makefile (routines): ... here.
15928         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
15929         the $(subdirs) list.
15930         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
15931         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
15932         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
15933         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
15935         * elf/Makefile (routines): Include $(all-dl-routines), not just
15936         $(dl-routines).
15937         (rtld-routines): Likewise.  Use = rather than :=.
15938         * sysdeps/aarch64/Makefile [$(subdir) = elf]
15939         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
15940         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
15941         * sysdeps/arm/Makefile: Likewise.
15942         * sysdeps/i386/Makefile: Likewise.
15943         * sysdeps/x86_64/Makefile: Likewise.
15944         * sysdeps/hppa/Makefile [$(subdir) = elf]
15945         (sysdep_routines, sysdep-rtld-routines): Don't add
15946         $(sysdep-dl-routines) to these.
15947         * sysdeps/ia64/Makefile: Likewise.
15948         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
15949         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
15950         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
15951         Don't add dl-static to these; sysdep-dl-routines alone is enough.
15952         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
15953         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
15954         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
15955         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
15956         * sysdeps/powerpc/Makefile [$(subdir) = elf]
15957         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
15958         these; sysdep-dl-routines alone is enough.
15960 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
15962         [BZ #17932]
15963         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
15964         where multiplication results in zero and third argument is finite
15965         and nonzero.
15966         * math/auto-libm-test-in: Add more tests of fma.
15967         * math/auto-libm-test-out: Regenerated.
15969         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
15970         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
15971         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
15972         (_FP_CMP_EQ): Likewise.
15973         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
15975         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
15976         extra argument CHECK_NAN.  Redefine as wrapper around
15977         _FP_EXTEND_CNAN.
15979 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
15981         * version.h (RELEASE): Set to "stable".
15982         (VERSION): Set to "2.21"
15983         * include/features.h (__GLIBC_MINOR__): Set to 21.
15985         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
15987 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
15988             Paul Eggert  <eggert@cs.ucla.edu>
15990         [BZ #16618]
15991         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
15992         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
15993         size in bytes. Store needed elements in wpmax. Use needed size
15994         in bytes for extend_alloca.
15996 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
15998         * manual/install.texi: Latest tested versions are GCC 4.9.2,
15999         binutls 2.25, and texinfo 5.2.
16000         * INSTALL: Regenerate.
16001         * sysdeps/nios2/configure: Regenerate.
16002         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
16003         * manual/contrib.texi: Update.
16004         * po/be.po: Update.
16005         * po/bg.po: Update.
16006         * po/ca.po: Update.
16007         * po/cs.po: Update.
16008         * po/da.po: Update.
16009         * po/de.po: Update.
16010         * po/el.po: Update.
16011         * po/eo.po: Update.
16012         * po/es.po: Update.
16013         * po/fi.po: Update.
16014         * po/fr.po: Update.
16015         * po/gl.po: Update.
16016         * po/hr.po: Update.
16017         * po/hu.po: Update.
16018         * po/ia.po: Update.
16019         * po/id.po: Update.
16020         * po/it.po: Update.
16021         * po/ja.po: Update.
16022         * po/ko.po: Update.
16023         * po/lt.po: Update.
16024         * po/nb.po: Update.
16025         * po/nl.po: Update.
16026         * po/pl.po: Update.
16027         * po/pt_BR.po: Update.
16028         * po/ru.po: Update.
16029         * po/rw.po: Update.
16030         * po/sk.po: Update.
16031         * po/sl.po: Update.
16032         * po/sv.po: Update.
16033         * po/tr.po: Update.
16034         * po/uk.po: Update.
16035         * po/vi.po: Update.
16036         * po/zh_CN.po: Update.
16037         * po/zh_TW.po: Update.
16039         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
16040         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
16041         * sysdeps/hppa/dl-irel.h: Remove #warning.
16042         * sysdeps/hppa/entry.h: Provide prototype for
16043         __canonicalize_funcptr_for_compare and cast argument.
16044         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
16045         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
16046         * sysdeps/hppa/sotruss-lib.c: New file.
16047         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
16048         (atomic_compare_and_exchange_val_acq): Use __typeof__.
16049         (atomic_compare_and_exchange_bool_acq): Likewise.
16050         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
16051         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
16053         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
16054         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
16055         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
16057 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
16059         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
16060         called function in non-PIC case.
16062 2015-01-31  David S. Miller  <davem@davemloft.net>
16064         * sysdeps/sparc/sparc32/bits/atomic.h
16065         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
16066         unlock not after it.
16067         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
16068         volatile register usage warnings from the compiler.
16070         * sysdeps/sparc/nptl/sem_init.c: Delete.
16071         * sysdeps/sparc/nptl/sem_post.c: Delete.
16072         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
16073         * sysdeps/sparc/nptl/sem_wait.c: Delete.
16074         * sysdeps/sparc/sparc32/sem_init.c: New file.
16075         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
16076         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
16077         padding explicitly initialized.
16078         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
16079         padding for in-semaphore spinlock.
16080         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
16081         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
16082         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
16083         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
16084         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
16085         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
16086         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
16087         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
16088         version.
16089         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
16090         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
16092 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
16094         [BZ #17801]
16095         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16096         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
16097         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
16098         New.
16099         (index_AVX_Fast_Unaligned_Load): Likewise.
16100         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
16101         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
16102         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
16103         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
16104         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
16105         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
16106         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
16107         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
16108         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
16110 2015-01-29  Andreas Schwab  <schwab@suse.de>
16112         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
16114 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
16116         [BZ #17892]
16117         * nscd/nscd_stat.c (send_stats): Initialize DATA.
16119 2015-01-28  Martin Sebor  <msebor@redhat.com>
16121         * math/README.libm-test: Clarify. Add "How to read the test output."
16123 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
16125         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
16126         Define to 0.
16128 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
16130         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
16131         (__HAVE_64B_ATOMICS): Define to 0.
16133 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
16135         [BZ #17885]
16136         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
16137         value to set as new flag.
16139         [BZ #16576]
16140         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
16141         and use _ARCH_PPCSQ instead.
16142         (__ieee754_sqrt): Likewise.
16143         (__ieee754_sqrtf): Likewise.
16144         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
16145         _ARCH_PPCSQ is defined.
16146         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
16147         fsqrt instruction.
16148         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
16149         _ARCH_PPCSQ is defined.
16150         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
16151         fsqrts instruction.
16152         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
16154 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16156         * iconv/loop.c: Suppress array out of bound warning caused by GCC
16157         bug (GCC BZ #64739).
16159 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
16161         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
16162         Mark _retval as used.
16163         (lll_futex_wake_unlock): Likewise.
16164         (lll_futex_timed_wait_requeue_pi): Likewise.
16166         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
16167         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
16168         register variables.
16170         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
16171         libm_hidden_def.
16173         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
16174         (__bswap_64): Mark as __always_inline.
16176 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
16178         [BZ #15378]
16179         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
16180         when none of the search directories exist.
16182 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
16184         [BZ #17869]
16185         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
16186         power8 in .machine directive.
16188         [BZ #17868]
16189         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
16190         set dependency from opd value.
16192 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
16194         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16195         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
16196         architecture.
16198 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
16200         [BZ #17870]
16201         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
16202         with uint64_t.
16203         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
16204         (uint64_t) 1.
16205         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
16206         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
16207         Replace 1UL with (uint64_t) 1.
16208         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
16209         int with uint64_t.
16211 2015-01-23  Roland McGrath  <roland@hack.frob.com>
16213         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
16214         (if_freenameindex): Likewise.
16216         * resource/getrlimit64.c: Add missing libc_hidden_def.
16218 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
16220         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
16221         __label__.
16222         (_FP_FMA): Likewise.
16223         (_FP_TO_INT_ROUND): Likewise.
16224         (_FP_FROM_INT): Likewise.
16226 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16228         [BZ #16418]
16229         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
16230         Make code racy and cancel safe.
16232 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
16234         * sysdeps/arm/unwind-resume.h: Fix copyright year.
16235         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
16236         attribution.
16238         * pwd/tst-getpw.c: Rewrite.
16240         [BZ #17702]
16241         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
16242         (modules-names): Add moddummy1 and moddummy2.
16243         ($(objpfx)tst-rec-dlopen): Define.
16244         * dlfcn/moddummy1.c: New file.
16245         * dlfcn/moddummy2.c: New file.
16246         * dlfcn/tst-rec-dlopen.c: New file.
16247         * elf/dl-cache.c (_dl_load_cache_lookup):
16248         Return char*. Copy result with alloca/strcpy/strdup.
16249         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
16250         returns char*. Free cached. If not saving realname
16251         free cached.
16252         * elf/dl-open.c (dl_open_worker): Do not assert that
16253         _r_debug->r_state is RT_CONSISTENT.
16254         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
16255         returns char*.
16257 2015-01-21  Torvald Riegel  <triegel@redhat.com>
16258             Carlos O'Donell  <carlos@redhat.com>
16260         [BZ #12674]
16261         * nptl/sem_waitcommon.c: New file.
16262         * nptl/sem_wait.c: Include sem_waitcommon.c.
16263         (__sem_wait_cleanup, do_futex_wait): Remove.
16264         (__new_sem_wait): Adapt.
16265         (__new_sem_trywait): New function.
16266         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
16267         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
16268         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
16269         (sem_timedwait): Adapt.
16270         * nptl/sem_post.c (__new_sem_post): Adapt.
16271         (futex_wake): New function.
16272         (__old_sem_post): Add release MO fence.
16273         * nptl/sem_open.c (sem_open): Adapt.
16274         * nptl/sem_init.c (__new_sem_init): Adapt.
16275         (futex_private_if_supported): New function.
16276         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
16277         (__old_sem_getvalue): Add using previous code.
16278         * sysdeps/nptl/internaltypes.h: Adapt.
16279         * nptl/tst-sem13.c (do_test): Adapt.
16280         * nptl/tst-sem11.c (main): Adapt.
16281         * nptl/sem_trywait.c: Remove.
16282         * nptl/DESIGN-sem.txt: Remove.
16283         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
16284         (gen-as-const-headers): Remove structsem.sym.
16285         * nptl/structsem.sym: Remove.
16286         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
16287         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
16288         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
16289         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
16290         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
16291         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
16292         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
16293         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
16294         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
16295         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
16296         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
16297         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
16298         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
16299         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
16300         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
16301         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
16302         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
16303         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
16304         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
16305         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
16306         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
16307         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
16309 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
16311         * INSTALL: Regenerated.
16313         * po/libc.pot: Regenerated.
16315 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
16316             Sandra Loosemore  <sandra@codesourcery.com>
16317             Andrew Jenner  <andrew@codesourcery.com>
16318             Joseph Myers  <joseph@codesourcery.com>
16319             Nathan Sidwell  <nathan@codesourcery.com>
16321         * NEWS: Mention new Nios II port.
16322         * sysdeps/nios2/Implies: New file.
16323         * sysdeps/nios2/Makefile: New file.
16324         * sysdeps/nios2/Subdirs: New file.
16325         * sysdeps/nios2/Versions: New file.
16326         * sysdeps/nios2/__longjmp.S: New file.
16327         * sysdeps/nios2/abort-instr.h: New file.
16328         * sysdeps/nios2/backtrace.c: New file.
16329         * sysdeps/nios2/bits/endian.h: New file.
16330         * sysdeps/nios2/bits/fenv.h: New file.
16331         * sysdeps/nios2/bits/link.h: New file.
16332         * sysdeps/nios2/bits/setjmp.h: New file.
16333         * sysdeps/nios2/bsd-_setjmp.S: New file.
16334         * sysdeps/nios2/bsd-setjmp.S: New file.
16335         * sysdeps/nios2/configure: New generated file.
16336         * sysdeps/nios2/configure.ac: New file.
16337         * sysdeps/nios2/crti.S: New file.
16338         * sysdeps/nios2/crtn.S: New file.
16339         * sysdeps/nios2/dl-init.c: New file.
16340         * sysdeps/nios2/dl-machine.h: New file.
16341         * sysdeps/nios2/dl-sysdep.h: New file.
16342         * sysdeps/nios2/dl-tls.h: New file.
16343         * sysdeps/nios2/dl-trampoline.S: New file.
16344         * sysdeps/nios2/gccframe.h: New file.
16345         * sysdeps/nios2/gmp-mparam.h: New file.
16346         * sysdeps/nios2/jmpbuf-offsets.h: New file.
16347         * sysdeps/nios2/jmpbuf-unwind.h: New file.
16348         * sysdeps/nios2/ldsodefs.h: New file.
16349         * sysdeps/nios2/libc-tls.c: New file.
16350         * sysdeps/nios2/libm-test-ulps: New file.
16351         * sysdeps/nios2/machine-gmon.h: New file.
16352         * sysdeps/nios2/math-tests.h: New file.
16353         * sysdeps/nios2/math_private.h: New file.
16354         * sysdeps/nios2/memusage.h: New file.
16355         * sysdeps/nios2/nptl/Makefile: New file.
16356         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
16357         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
16358         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
16359         * sysdeps/nios2/nptl/pthreaddef.h: New file.
16360         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
16361         * sysdeps/nios2/nptl/tls.h: New file.
16362         * sysdeps/nios2/preconfigure: New file.
16363         * sysdeps/nios2/s_fma.c: New file.
16364         * sysdeps/nios2/s_fmaf.c: New file.
16365         * sysdeps/nios2/setjmp.S: New file.
16366         * sysdeps/nios2/sfp-machine.h: New file.
16367         * sysdeps/nios2/sotruss-lib.c: New file.
16368         * sysdeps/nios2/stackguard-macros.h: New file.
16369         * sysdeps/nios2/stackinfo.h: New file.
16370         * sysdeps/nios2/start.S: New file.
16371         * sysdeps/nios2/sysdep.h: New file.
16372         * sysdeps/nios2/tls-macros.h: New file.
16373         * sysdeps/nios2/tst-audit.h: New file.
16374         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
16375         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
16376         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
16377         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
16378         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
16379         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
16380         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
16381         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
16382         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
16383         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
16384         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
16385         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
16386         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
16387         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
16388         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
16389         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
16390         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
16391         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
16392         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
16393         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
16394         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
16395         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
16396         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
16397         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
16398         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
16399         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
16400         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
16401         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
16402         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
16403         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
16404         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
16405         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
16406         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
16407         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
16408         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
16409         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
16410         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
16411         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
16412         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
16413         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
16414         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
16415         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
16416         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
16417         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
16419 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
16421         [BZ #17844]
16422         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
16423         (getutent): Use weak_alias in non SHARED case
16424         and default_symbol_version in SHARED case.
16425         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
16426         (getutent_r, pututline): Likewise.
16427         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
16428         (getutid): Likewise.
16429         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
16430         (getutid_r): Likewise.
16431         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
16432         (getutline): Likewise.
16433         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
16434         (getutline_r): Likewise.
16435         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
16436         (updwtmp): Likewise.
16438 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
16440         [BZ #17848]
16441         * sysdeps/s390/s390-32/memcmp.S
16442         (memcmp_g5): Rename to __memcmp_g5.
16443         * sysdeps/s390/s390-32/memcpy.S
16444         (memcpy_g5): Rename to __memcpy_g5.
16445         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16446         (memcpy_mvcle) Rename to __memcpy_mvcle.
16447         * sysdeps/s390/s390-32/memset.S
16448         (memset_g5): Rename to __memset_g5.
16449         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
16450         (IFUNC_RESOLVE): Prefix ifunc-resolve function
16451         and use prefixed functions.
16452         * sysdeps/s390/s390-32/multiarch/memcmp.S
16453         (memcmp_z196): Rename to __memcmp_z196.
16454         (memcmp_z10): Rename to __memcmp_z10.
16455         (memcmp): Set alias to __memcmp_g5.
16456         (bcmp): Set alias to __memcmp_g5.
16457         * sysdeps/s390/s390-32/multiarch/memcpy.S
16458         (memcpy_z196): Rename to __memcpy_z196.
16459         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16460         (memcpy_z10): Rename to __memcpy_z10.
16461         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16462         (memcpy): Set alias to __memcpy_g5.
16463         * sysdeps/s390/s390-32/multiarch/memset.S
16464         (memset_z196): Rename to __memset_z196.
16465         Jump to __memset_mvcle instead of memset_mvcle.
16466         (memset_z10): Rename to __memset_z10.
16467         Jump to __memset_mvcle instead of memset_mvcle.
16468         (memset_mvcle) Rename to __memset_mvcle.
16469         (memset): Set alias to __memset_g5.
16470         * sysdeps/s390/s390-64/memcmp.S
16471         (memcmp_z900): Rename to __memcmp_z900.
16472         * sysdeps/s390/s390-64/memcpy.S
16473         (memcpy_z900): Rename to __memcpy_z900.
16474         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16475         (memcpy_mvcle) Rename to __memcpy_mvcle.
16476         * sysdeps/s390/s390-64/memset.S
16477         (memset_z900): Rename to __memset_z900.
16478         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
16479         (IFUNC_RESOLVE): Prefix ifunc-resolve function
16480         and use prefixed functions.
16481         * sysdeps/s390/s390-64/multiarch/memcmp.S
16482         (memcmp_z196): Rename to __memcmp_z196.
16483         (memcmp_z10): Rename to __memcmp_z10.
16484         (memcmp): Set alias to __memcmp_z900.
16485         (bcmp): Set alias to __memcmp_z900.
16486         * sysdeps/s390/s390-64/multiarch/memcpy.S
16487         (memcpy_z196): Rename to __memcpy_z196.
16488         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16489         (memcpy_z10): Rename to __memcpy_z10.
16490         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16491         (memcpy): Set alias to __memcpy_z900.
16492         * sysdeps/s390/s390-64/multiarch/memset.S
16493         (memset_z196): Rename to __memset_z196.
16494         Jump to __memset_mvcle instead of memset_mvcle.
16495         (memset_z10): Rename to __memset_z10.
16496         Jump to __memset_mvcle instead of memset_mvcle.
16497         (memset_mvcle) Rename to __memset_mvcle.
16498         (memset): Set alias to __memset_z900.
16500 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
16502         [BZ #17748]
16503         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
16504         __fesetenv instead of fesetenv.
16506 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16508         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
16509         macro.
16511 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16513         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
16514         regression on LE.
16516         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
16517         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
16518         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
16519         strncmp-power8 object.
16520         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16521         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
16522         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
16523         * NEWS: Update.
16525 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16526             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16528         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
16529         trailing byte check.
16531 2015-01-13  David S. Miller  <davem@davemloft.net>
16533         * include/signal.h (__sigreturn): Guard with __USE_MISC.
16535 2015-01-13  Roland McGrath  <roland@hack.frob.com>
16537         * login/logout.c (logout): Use memset rather than bzero.
16538         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
16539         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
16540         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
16541         (_gethtbyaddr): Likewise.
16542         * locale/programs/simple-hash.c (bcopy): Macro removed.
16544 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16546         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16547         Add strcmp-power8 object.
16548         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16549         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
16550         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
16551         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
16552         __strcmp_power8 implementation.
16553         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
16554         * NEWS: Update.
16556         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16557         Add strncpy-power8 and stpncpy-power8 objects.
16558         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16559         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
16560         implementations.
16561         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
16562         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
16563         __stpncpy_power8 implementation.
16564         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
16565         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
16566         __strncpy_power8 implementation.
16567         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
16568         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
16569         * NEWS: Update.
16571         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
16572         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
16573         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
16575         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
16576         strncat-power8 object.
16577         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
16578         __strcat_power8 implementation.
16579         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16580         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
16581         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
16582         optimized strcat for power8.
16584         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
16585         strcpy-power8 and stpcpy-power8 objects.
16586         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16587         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
16588         implementations.
16589         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
16590         multiarch stpcpy implementation for POWER8.
16591         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
16592         multiarch strcpy implementation for POWER8.
16593         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
16594         __strcpy_power8 function.
16595         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
16596         stpcpy for POWER8.
16597         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
16598         strcpy for POWER8.
16599         * NEWS: Update.
16601 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
16603         [BZ #16009]
16604         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
16605         weights and rules. Use do_xfrm_cached if data fits in cache,
16606         do_xfrm otherwise.  Moved former main loop to...
16607         * (do_xfrm_cached): New function.
16608         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
16609         find_idx, find_position and stack_push.
16610         * (find_idx): New function.
16611         * (find_position): Likewise.
16612         * localedata/sort-test.sh: Added test run for do_xfrm.
16613         * localedata/xfrm-test.c (main): Added command line option
16614         -nocache to run the test with strings that are too large for
16615         the STRXFRM cache.
16617 2015-01-13  Torvald Riegel  <triegel@redhat.com>
16619         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
16620         variable to lll_futex_wake call, not the value itself.
16622 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
16624         [BZ #17803]
16625         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
16626         twom64.  Adjust value to 0x1p-64L.
16627         (__scalblnl): Only return standard underflowing result for K <=
16628         -64 not K <= -63; adjust exponent for underflowing result by 64
16629         not 63.
16630         * math/libm-test.inc (scalbn_test_data): Add more tests.
16631         (scalbln_test_data): Likewise.
16633         [BZ #17834]
16634         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
16635         0x1p63L.
16636         (__scalblnl): Get new exponent of adjusted subnormal value from ES
16637         not HX.
16638         * math/libm-test.inc (scalbn_test_data): Add more tests.
16639         (scalbln_test_data): Likewise.
16641 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16642             Stefani Seibold  <stefani@seibold.net>
16644         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
16645         (sysdep_routines): Add dl-vdso here, ...
16646         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
16647         (sysdep_routines): ... not here.
16648         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
16649         fallback when vDSO is not presented.
16650         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
16651         Define with libc_hidden_proto/libc_hidden_data_def definitions.
16652         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
16653         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
16654         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
16655         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
16656         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
16657         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
16658         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
16659         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
16660         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
16661         fallback configurable symbol when vDSO is not available.
16662         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
16663         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
16664         be able to redefine fallback symbol when vDSO is not available.
16665         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
16666         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
16668 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16670         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
16671         (TLS_INIT_TP): Add tm_capable initialization.
16672         (TLS_DEFINE_INIT_TP): Likewise.
16673         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
16674         TCB.
16675         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
16676         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
16677         calculation.
16678         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
16679         transactoion is lock elision is built and TCB tm_capable is set.
16680         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
16681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16682         (INTERNAL_SYSCALL_NCS): Likewise.
16683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16684         (INTERNAL_SYSCALL_NCS): Likewise.
16685         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
16687         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
16688         for powerpc.
16689         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
16690         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
16691         and remove it for 32 bits case.
16692         [pthread_rwlock_t] (__rwelision): New field for lock elision.
16693         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
16694         initialization.
16695         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
16696         Disable lock elision with rdlocks if elision is not available.
16698         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
16699         (sysdep_routines): Add lock elision objects.
16700         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
16701         [pthread_mutex_t] (__spins): Rework to add lock elision field.
16702         [pthread_mutex_t] (__elision): Add field.
16703         [__PTHREAD_SPINS]: Adjust to init lock elision field.
16704         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
16705         elision definitions for powerpc.
16706         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
16707         implementation of lock elision for powerpc.
16708         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
16709         implementation of timed lock elision for powerpc.
16710         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
16711         implementation of trylock with lock elision for powerpc.
16712         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
16713         implementaion of unlock for lock elision for powerpc.
16714         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
16715         automatic enable lock elision for mutexes.
16716         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
16717         transaction execution definitions for powerpc.
16718         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
16719         definitions.
16720         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
16721         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
16722         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
16723         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
16724         * NEWS: Update.
16726 2015-01-09  Roland McGrath  <roland@hack.frob.com>
16728         * sysdeps/posix/shm-directory.c: Use <> rather than ""
16729         for #include of <shm-directory.h>.
16731 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
16733         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
16734         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
16736 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
16738         [BZ #17791]
16739         * NEWS: Mention bug fix.
16740         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
16741         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
16742         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
16744 2015-01-09  Torvald Riegel <triegel@redhat.com>
16746         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
16748 2015-01-09  Torvald Riegel <triegel@redhat.com>
16750         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
16752 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
16754         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
16755         pointer and cast to uintptr_t.
16757 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
16759         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
16760         removed.
16761         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
16763 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
16765         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
16766         of 0.
16768 2015-01-08  Roland McGrath  <roland@hack.frob.com>
16770         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
16771         <nptl/pthreadP.h> instead.
16772         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
16774         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
16775         already defined.
16776         [__SIGRTMIN] (init): Function removed.
16777         [__SIGRTMIN] (initialized): Variable removed.
16778         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
16779         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
16780         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
16781         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
16782         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
16783         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
16784         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
16785         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
16786         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
16787         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
16788         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
16789         * sysdeps/nptl/allocrtsig.c: New file.
16790         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
16791         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
16792         * sysdeps/generic/testrtsig.h: File removed.
16794         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
16795         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
16797         * nptl/nptl-init.c (pthread_functions): Conditionalize
16798         .ptr__nptl_setxid initialization on [SIGSETXID].
16800         * sysdeps/nptl/sys/procfs.h: New file.
16801         * nptl_db/Makefile (headers): Add it.
16802         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
16804         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
16805         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
16806         * nptl/pthread_attr_setaffinity.c: Include it.
16807         * nptl/pthread_setattr_default_np.c: Likewise.
16808         * nptl/check-cpuset.h: New file.
16810 2015-01-08  Richard Henderson  <rth@redhat.com>
16812         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
16813         (CFLAGS-tst-execstack-prog.c): Likewise.
16814         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
16816 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
16817             Sandra Loosemore  <sandra@codesourcery.com>
16818             Andrew Jenner  <andrew@codesourcery.com>
16819             Joseph Myers  <joseph@codesourcery.com>
16820             Nathan Sidwell  <nathan@codesourcery.com>
16822         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
16823         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
16824         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
16825         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
16826         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
16827         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
16828         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
16829         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
16830         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
16831         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
16832         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
16833         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
16834         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
16835         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
16836         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
16837         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
16838         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
16840 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16842         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
16843         timespec struct member in syscall macro.
16844         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
16845         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
16846         first timeval struct member in syscall macro.
16847         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
16849 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
16851         [BZ #17748]
16852         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
16853         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
16854         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
16855         __feupdateenv and define as weak alias of __feupdateenv.  Use
16856         libm_hidden_weak.
16857         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
16858         libm_hidden_def.
16859         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
16860         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
16861         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
16862         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
16863         libm_hidden_def.
16864         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
16865         __feupdateenv and define as weak alias of __feupdateenv.  Use
16866         libm_hidden_weak.
16867         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
16868         libm_hidden_def.
16869         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
16870         __feupdateenv and define as weak alias of __feupdateenv.  Use
16871         libm_hidden_weak.
16872         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
16873         libm_hidden_def.
16874         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
16875         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
16876         (__feupdateenv): Likewise.
16877         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
16878         __feupdateenv and define as weak alias of __feupdateenv.  Use
16879         libm_hidden_weak.
16880         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16881         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
16882         libm_hidden_def.
16883         * sysdeps/tile/math_private.h (__feupdateenv): New inline
16884         function.
16885         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
16886         libm_hidden_def.
16887         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
16888         __feupdateenv instead of feupdateenv.
16889         (default_libc_feupdateenv_test): Likewise.
16890         (libc_feresetround_ctx): Likewise.
16892 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16894         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
16895         prototype.
16897 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
16899         * posix/regcomp.c (parse_bracket_exp): Initialize type to
16900         COLL_SYM in a couple of places to avoid uninitialized variable
16901         wanings on tilegx gcc 4.8.2.
16903 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
16905         * sysdeps/aarch64/strcpy.S: New file.
16906         * sysdeps/aarch64/stpcpy.S: New file.
16907         * NEWS: Updated.
16909 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
16911         * sysdeps/aarch64/strrchr.S: New file.
16912         * NEWS: Updated.
16914 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
16916         [BZ #17658]
16917         * stdlib/setenv.c: Fix memory leak when setting large,
16918         duplicate string.
16920 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
16922         [BZ #17273]
16923         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
16924         and tabs from buffer before parsing fstab entry.
16925         * misc/tst-mntent.c (main): Add test for mount entry with
16926         trailing spaces and tabs.
16928 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
16930         [BZ #17748]
16931         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
16932         * math/fesetround.c (fesetround): Rename to __fesetround and
16933         define as weak alias of __fesetround.  Use libm_hidden_weak.
16934         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
16935         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
16936         * sysdeps/arm/fesetround.c (fesetround): Likewise.
16937         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
16938         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
16939         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
16940         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
16941         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
16942         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
16943         __fesetround_inline.
16944         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
16945         __fesetround_inline instead of __fesetround.
16946         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
16947         __fesetround and define as weak alias of __fesetround.  Use
16948         libm_hidden_weak.  Call __fesetround_inline instead of
16949         __fesetround.
16950         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
16951         __fesetround and define as weak alias of __fesetround.  Use
16952         libm_hidden_weak.
16953         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
16954         Likewise.
16955         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
16956         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16957         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
16958         * sysdeps/tile/math_private.h (__fesetround): New inline function.
16959         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
16960         __fesetround and define as weak alias of __fesetround.  Use
16961         libm_hidden_weak.
16962         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
16963         __fesetround instead of fesetround.
16964         (default_libc_feholdexcept_setround): Likewise.
16965         (libc_feholdsetround_ctx): Likewise.
16966         (libc_feholdsetround_noex_ctx): Likewise.
16968         [BZ #17748]
16969         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
16970         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
16971         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
16972         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
16973         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
16974         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
16975         define as weak alias of __fesetenv.  Use libm_hidden_weak.
16976         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
16977         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
16978         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
16979         define as weak alias of __fesetenv.  Use libm_hidden_weak.
16980         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
16981         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
16982         define as weak alias of __fesetenv.  Use libm_hidden_weak.
16983         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
16984         libm_hidden_def.
16985         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
16986         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
16987         Likewise.
16988         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
16989         define as weak alias of __fesetenv.  Use libm_hidden_weak.
16990         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
16991         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
16992         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
16993         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
16994         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
16995         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
16996         __fesetenv instead of fesetenv.
16997         (libc_feresetround_noex_ctx): Likewise.
16998         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
16999         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
17000         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
17001         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
17002         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
17003         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
17004         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
17005         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
17006         (__feupdateenv): Likewise.
17007         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17008         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17009         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
17010         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
17012 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
17014         [BZ #17806]
17015         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
17016         addresses have been freed.
17018 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
17020         * resolv/res_init.c (__res_vinit): Improve comments about nserv
17021         and nservall.
17023 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
17025         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
17026         Clean up check_pf allocation pattern. addresses
17028 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17030         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
17031         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
17032         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
17033         * nptl/pthread_exit.c (__pthread_exit): Likewise.
17034         * nptl/pthread_join.c (pthread_join): Likewise.
17035         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
17036         * sysdeps/posix/waitid.c (__waitid): Likewise.
17037         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
17038         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
17039         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
17040         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
17041         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
17042         Likewise.
17043         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
17044         (__libc_pread64): Likewise.
17045         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
17046         (__libc_pwrite): Likewise.
17047         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
17048         (__libc_pwrite64): Likewsie.
17049         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
17050         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
17051         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
17052         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
17053         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
17054         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
17055         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
17056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
17057         Likewise.
17058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17059         (__libc_pread64): Likewise.
17060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
17061         Likewise.
17062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
17063         (__libc_pwrite64): Likewise.
17064         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
17065         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
17066         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
17067         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
17068         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
17069         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
17070         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
17071         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
17072         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
17073         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
17074         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
17075         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
17076         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
17077         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
17078         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
17079         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
17080         Likewise.
17082 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
17084         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
17085         (CFLAGS-test-double.c): Likewise.
17086         (CFLAGS-test-ldouble.c): Likewise.
17087         (CPPFLAGS-test-ifloat.c): Likewise.
17088         (CPPFLAGS-test-idouble.c): Likewise.
17089         (CPPFLAGS-test-ildoubl.c): Likewise.
17090         (CFLAGS-test-test-fenv.c): Remove variable.
17091         (CFLAGS-test-misc.c): Likewise.
17093 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
17095         [BZ #17797]
17096         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
17097         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
17098         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
17099         CLOCKS_PER_SEC == 1000000.
17100         * time/clocktest.c (main): Replace %ld with %jd and cast to
17101         intmax_t.
17103 2015-01-05  Roland McGrath  <roland@hack.frob.com>
17105         * sysdeps/generic/unwind-resume.h: New file.
17106         * sysdeps/gnu/unwind-resume.c: Include it.
17107         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
17108         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
17109         argument list.
17110         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
17111         global rather than static.
17112         (_Unwind_Resume): Update user.
17113         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
17114         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
17115         rather than static.  Add __attribute__ ((cold)).
17116         (_Unwind_Resume, __gcc_personality_v0): Update callers.
17117         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
17118         * sysdeps/arm/arm-unwind-resume.S: New file.
17119         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
17120         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
17121         * sysdeps/arm/Makefile [$(subdir) = csu]
17122         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
17123         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
17124         Add rt-arm-unwind-resume.
17125         [$(subdir) = nptl]
17126         (libpthread-sysdep_routines, libpthread-shared-only-routines):
17127         Add pt-arm-unwind-resume.
17128         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
17129         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
17131 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
17133         [BZ #17748]
17134         * include/fenv.h (__feholdexcept): Declare.  Use
17135         libm_hidden_proto.
17136         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
17137         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
17138         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17139         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
17140         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
17141         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
17142         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
17143         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17144         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
17145         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
17146         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
17147         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
17148         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
17149         (feholdexcept): Likewise.
17150         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
17151         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17152         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
17153         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17154         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
17155         __feholdexcept instead of feholdexcept.
17156         (default_libc_feholdexcept_setround): Likewise.
17158 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
17160         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
17161         to avoid using stl/str to align destination.
17163 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
17165         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
17167 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
17169         [BZ #17796]
17170         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
17171         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
17172         Define as weak alias not strong alias.
17174 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
17176         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
17177         bltzal with addiupc.
17178         (RTLD_START): Ditto.
17180 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
17182         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
17183         for __vdso_* functions in declarations.
17184         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
17185         definitions.
17186         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
17187         INTERNAL_VSYSCALL): Use struct return types to check for error.
17189         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
17190         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
17191         function with cast from llround().
17192         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
17193         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
17194         Define.
17196 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
17198         [BZ #17793]
17199         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
17200         Define as weak alias not strong alias.
17202         [BZ #17635]
17203         * ctype/ctype-c99.c: New file.  isblank implementation moved from
17204         ...
17205         * ctype/ctype-extn.c: ... here.
17206         (__isblank_l): Move to ...
17207         * ctype/ctype-c99_l.c: ... here.  New file.
17208         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
17209         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
17210         Remove variable.
17211         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
17212         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
17213         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
17214         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
17215         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
17217         [BZ #17777]
17218         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
17219         (posix_fadvise64): Define as weak alias not strong alias.
17220         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17221         (posix_fallocate64): Likewise.
17222         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
17223         Remove variable.
17224         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
17225         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
17226         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
17227         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
17228         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
17230 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
17232         [BZ #16191]
17233         * NEWS: Mention bug fix.
17234         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
17235         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
17236         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
17237         (HOST_STACK_END_ADDR): Likewise.
17239 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
17241         [BZ #17748]
17242         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
17243         * math/fegetround.c (fegetround): Rename to __fegetround and
17244         define as weak alias of __fegetround.  Use libm_hidden_weak.
17245         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
17246         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
17247         * sysdeps/arm/fegetround.c (fegetround): Likewise.
17248         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
17249         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
17250         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
17251         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
17252         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
17253         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
17254         Undefine after rather than before function definition; use
17255         parentheses around function name in definition.
17256         (__fegetround): Also undefine macro after function definition.
17257         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
17258         __fegetround and define as weak alias of __fegetround.  Use
17259         libm_hidden_weak.  Do not undefine as macro.
17260         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
17261         Likewise.
17262         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
17263         __fegetround and define as weak alias of __fegetround.  Use
17264         libm_hidden_weak.
17265         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17266         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
17267         * sysdeps/tile/math_private.h (__fegetround): New inline function.
17268         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
17269         __fegetround and define as weak alias of __fegetround.  Use
17270         libm_hidden_weak.
17271         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
17272         __fegetround instead of fegetround.
17274         [BZ #17782]
17275         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
17276         Condition macro definition on [__USE_MISC].
17278         [BZ #17781]
17279         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
17280         (struct sigaction): Change type of sa_flags field to int.
17282         [BZ #17780]
17283         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
17284         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
17285         __glibc_reserved0.
17287         * nptl/version.c (banner): Use single year in copyright notice.
17289         * NEWS: Update copyright dates.
17290         * catgets/gencat.c (print_version): Likewise.
17291         * csu/version.c (banner): Likewise.
17292         * debug/catchsegv.sh: Likewise.
17293         * debug/pcprofiledump.c (print_version): Likewise.
17294         * debug/xtrace.sh (do_version): Likewise.
17295         * elf/ldconfig.c (print_version): Likewise.
17296         * elf/ldd.bash.in: Likewise.
17297         * elf/pldd.c (print_version): Likewise.
17298         * elf/sotruss.sh: Likewise.
17299         * elf/sprof.c (print_version): Likewise.
17300         * iconv/iconv_prog.c (print_version): Likewise.
17301         * iconv/iconvconfig.c (print_version): Likewise.
17302         * locale/programs/locale.c (print_version): Likewise.
17303         * locale/programs/localedef.c (print_version): Likewise.
17304         * login/programs/pt_chown.c (print_version): Likewise.
17305         * malloc/memusage.sh (do_version): Likewise.
17306         * malloc/memusagestat.c (print_version): Likewise.
17307         * malloc/mtrace.pl: Likewise.
17308         * manual/libc.texinfo: Likewise.
17309         * nptl/version.c (banner): Likewise.
17310         * nscd/nscd.c (print_version): Likewise.
17311         * nss/getent.c (print_version): Likewise.
17312         * nss/makedb.c (print_version): Likewise.
17313         * posix/getconf.c (main): Likewise.
17314         * scripts/test-installation.pl: Likewise.
17315         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
17317 2015-01-02  Will Newton  <will.newton@linaro.org>
17319         * sysdeps/arm/armv7/configure: Removed.
17320         * sysdeps/arm/armv7/configure.ac: Likewise.
17322 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
17324         * All files with FSF copyright notices: Update copyright dates
17325         using scripts/update-copyrights.
17326         * intl/plural.c: Regenerated.
17327         * locale/programs/charmap-kw.h: Likewise.
17328         * locale/programs/locfile-kw.h: Likewise.
17330 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17332         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
17334 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
17336         [BZ #17748]
17337         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
17338         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
17339         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
17340         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
17341         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
17342         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
17343         define as weak alias of __fegetenv.  Use libm_hidden_weak.
17344         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
17345         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
17346         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
17347         define as weak alias of __fegetenv.  Use libm_hidden_weak.
17348         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
17349         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
17350         define as weak alias of __fegetenv.  Use libm_hidden_weak.
17351         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
17352         libm_hidden_def.
17353         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
17354         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
17355         Likewise.
17356         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
17357         define as weak alias of __fegetenv.  Use libm_hidden_weak.
17358         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17359         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
17360         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
17361         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
17362         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
17363         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
17364         __fegetenv instead of fegetenv.
17365         (libc_feholdsetround_noex_ctx): Likewise.
17367 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
17369         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
17370         (Elf_MIPS_ABIFlags_v0): New structure.
17371         (EF_MIPS_FP64): Define.
17372         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
17373         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
17374         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
17375         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
17376         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
17377         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
17378         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
17379         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
17380         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
17381         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
17382         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
17383         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
17384         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
17385         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
17386         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
17387         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
17388         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
17389         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
17390         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
17391         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
17392         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
17393         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
17394         field.
17395         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
17396         EF_MIPS_FP64.
17397         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
17398         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
17399         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
17400         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
17401         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
17402         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
17403         * sysdeps/mips/tst-abi-interlink.c: Likewise.
17404         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
17405         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
17406         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
17407         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
17408         record the current FP ABI extension.
17409         (mips-mode-switch): Define to show if kernel headers support mode
17410         switching.
17411         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17412         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
17413         supported SYSV ABI version to 3.
17414         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
17415         feature.
17417 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17418             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17420         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
17421         path.
17422         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
17424 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
17426         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
17427         __fegetround and redefine to call __fegetround.  Remove condition
17428         on [!__NO_MATH_INLINES].
17429         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
17430         function.
17431         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
17432         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
17433         Remove macro.
17434         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
17435         instead of <fenv_libc.h>.
17436         (__llrintl): Call fegetround instead of __fegetround.
17437         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
17438         instead of <fenv_libc.h>.
17439         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
17440         (__lrintl): Call fegetround instead of __fegetround.
17441         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
17442         instead of <fenv_libc.h>.
17443         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17444         (__rintl): Call fegetround instead of __fegetround.
17446 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
17448         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
17449         arrays.
17451 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
17453         [BZ #17775]
17454         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
17455         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
17456         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
17458 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
17460         * sysdeps/i386/tls-macros.h: Include <features.h>.
17461         (TLS_LE): Use non-PIC version for GCC >= 5.0.
17462         (TLS_IE): Likewise.
17463         (TLS_LD): Likewise.
17464         (TLS_GD): Likewise.
17465         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
17466         define for GCC >= 5.0.
17468 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
17470         * math/test-fenv.c (test_single_exception, set_single_exc,
17471         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
17472         feexcp_mask_test, feenable_test, fe_single_test): Add
17473         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
17474         case where they are not used.
17475         * math/libm-test.inc: Likewise.
17476         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
17477         unused in the absence of FP rounding/exception support.
17478         * stdio-common/tst-printf-round.c: Likewise.
17479         * stdlib/tst-strtod-round.c: Likewise.
17480         * stdlib/tst-strtod-underflow.c: Likewise.
17482 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
17484         [BZ #17723]
17485         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
17486         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
17487         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
17488         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
17489         libm_hidden_weak.
17490         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
17491         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
17492         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
17493         libm_hidden_def.
17494         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
17495         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
17496         libm_hidden_weak.
17497         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
17498         Likewise.
17499         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
17500         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
17501         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
17502         libm_hidden_weak.
17503         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
17504         libm_hidden_def.
17505         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
17506         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
17507         (__feraiseexcept): Likewise.
17508         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
17509         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
17510         libm_hidden_weak.
17511         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
17512         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
17513         libm_hidden_def.
17514         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
17515         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
17516         Use libm_hidden_def.
17517         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
17518         libm_hidden_def.
17519         (feraiseexcept): Define as weak not strong alias.  Use
17520         libm_hidden_weak.
17521         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
17522         New inline function.  Factored out of ...
17523         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
17524         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
17525         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
17526         feraiseexcept.
17527         * math/w_acos.c (__acos): Likewise.
17528         * math/w_asin.c (__asin): Likewise.
17529         * math/w_ilogb.c (__ilogb): Likewise.
17530         * math/w_j0.c (y0): Likewise.
17531         * math/w_j1.c (y1): Likewise.
17532         * math/w_jn.c (yn): Likewise.
17533         * math/w_log.c (__log): Likewise.
17534         * math/w_log10.c (__log10): Likewise.
17535         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
17536         * sysdeps/aarch64/fpu/math_private.h
17537         (libc_feupdateenv_test_aarch64): Likewise.
17538         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
17539         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
17540         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
17541         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
17542         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
17543         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
17544         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
17545         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17546         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17547         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
17549 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
17551         [BZ #17732]
17552         * io/test-utime.c (main): Replace %ld with %jd and cast to
17553         intmax_t.
17554         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
17555         * nptl/tst-mutex5.c: Include <stdint.h>.
17556         (do_test): Replace %ld with %jd and cast to intmax_t.
17557         * posix/tst-regex.c (run_test): Likewise.
17558         (run_test_backwards): Likewise.
17559         * rt/tst-clock.c: Include <stdint.h>.
17560         (clock_test): Replace %ld with %jd and cast to intmax_t.
17561         * rt/tst-cpuclock1.c: Include <stdint.h>.
17562         (do_test): Replace %lu with %ju and cast to uintmax_t.
17563         * rt/tst-cpuclock2.c: Include <stdint.h>.
17564         (do_test): Replace %lu with %ju and cast to uintmax_t.
17565         * rt/tst-mqueue1.c: Include <stdint.h>.
17566         (check_attrs): Replace %ld with %jd and cast to intmax_t.
17567         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
17568         intmax_t.
17569         * rt/tst-mqueue4.c (do_test): Likewise.
17570         * rt/tst-timer4.c: Include <stdint.h>.
17571         (check_ts): Replace %ld with %jd and cast to intmax_t.
17572         (do_test): Likewise.
17573         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
17574         and cast to intmax_t.
17575         * sysdeps/pthread/tst-timer.c (main): Likewise.
17576         * time/clocktest.c (main): Likewise.
17577         * time/tst-posixtz.c (do_test): Likewise.
17578         * timezone/tst-timezone.c (main): Likewise.
17580 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
17581             H.J. Lu  <hongjiu.lu@intel.com>
17583         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
17584         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
17585         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
17586         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
17587         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
17588         version if bit_Fast_Unaligned_Load is set.
17589         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17590         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17591         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17592         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17593         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17594         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17595         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17596         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
17597         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
17598         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
17599         to 4.
17600         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
17601         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
17602         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
17603         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
17605 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
17607         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
17608         instead of #if to avoid a Wundef warning.
17609         * stdlib/tst-limits.c (do_test): Likewise.
17611         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
17612         parallel other exception macros.
17613         (fegetenv): Convert from macro to extern inline so that it applies
17614         retroactively to inline functions already seen by the compiler.
17615         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
17617         * posix/Makefile (before-compile): Use $(objpfx) for
17618         posix-conf-vars-def.h.
17620 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17622         * posix/getconf.c (main): Use size_t for type of I.
17623         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
17624         NSPEC.
17626         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
17627         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
17628         * posix/posix-envs.def: Likewise.
17629         * sysdeps/posix/sysconf.c: Likewise.
17630         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
17631         (specs): Remove array.
17632         * scripts/gen-posix-conf-vars.awk: Support generation of specs
17633         array.
17635         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
17636         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
17637         (__sysconf): Use CONF_IS_* macros.
17639         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
17640         ($(objpfx)posix-conf-vars-def.h): New target.
17641         * posix/posix-conf-vars.list: New file.
17642         * posix/posix-conf-vars.h: New file.
17643         * posix/confstr.c: Include posix-conf-vars.h.
17644         (confstr): Use CONF_IS_* macros.
17645         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
17646         CONF_IS_* macros.
17647         * scripts/gen-posix-conf-vars.awk: New file.
17649 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
17651         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
17652         fegetround): Add no-op macros to avoid linknamespace issues.
17654         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
17655         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
17657         * sysdeps/unix/sysv/linux/tile/sysdep.h
17658         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
17659         assembly-specific section to avoid a redefinition warning.
17661         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
17662         long before casting to pointer to avoid a cast warning.
17664 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
17666         * sysdeps/tile/tilegx/Implies: New file.
17668 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
17670         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
17672 2014-12-23  Florian Weimer  <fweimer@redhat.com>
17674         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
17676 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
17678         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
17679         not define.
17680         * sysdeps/unix/sysv/linux/utimes.c: Do not include
17681         <kernel-features.h>.
17682         (__utimes) [__NR_utimes]: Make code unconditional.
17683         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
17684         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17685         (__ASSUME_UTIMES): Do not undefine.
17686         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17687         (__ASSUME_UTIMES): Likewise.
17688         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17689         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
17690         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
17691         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
17693 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
17695         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
17697 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
17699         [BZ #17747]
17700         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
17701         alias to weak alias for j0l, y0l.
17702         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
17703         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
17705         [BZ #17746]
17706         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
17707         conversion.
17709 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
17711         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
17712         to zero if not already defined.
17714 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
17716         [BZ #17724]
17717         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
17718         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
17719         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
17720         (char *) casts added.
17721         * sysdeps/ieee754/k_standardf.c: New file.
17722         * sysdeps/ieee754/k_standardl.c: Likewise.
17723         * math/Makefile (libm-support): Remove k_standard.
17724         (libm-calls): Add k_standard.
17726 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
17728         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
17729         Optimize to avoid an unnecessary FPCR read.
17731 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
17733         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
17734         Optimize to reduce FPCR/FPSR accesses.
17736 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
17738         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
17739         Call libc_fetestexcept_aarch64.
17741 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
17743         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
17744         Call libc_fesetround_aarch64.
17746 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
17748         [BZ #17733]
17749         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
17750         (__bind): Do not define as weak alias.
17751         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
17752         define.
17753         (__getsockname): Do not define as weak alias.
17755 2014-12-22  Will Newton  <will.newton@linaro.org>
17757         * manual/install.texi: Document that we require bison 2.7
17758         or above.
17759         * INSTALL: Regenerate.
17760         * configure.ac: Use AC_CHECK_PROG_VER instead of
17761         AC_PATH_PROG when checking for bison and check for
17762         version 2.7 or above.
17763         * configure: Regenerate.
17765 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
17767         [BZ #17745]
17768         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
17769         * sysdeps/tile/ffsll.c (ffsll): To here.
17771         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
17773 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
17775         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
17776         if not defined.
17777         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
17778         definition.
17779         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
17780         hidden ___tls_get_addr.
17781         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
17782         hidden __tls_get_addr.
17783         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
17784         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
17785         Likewise.
17787 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
17789         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
17790         _dl_init call.
17792 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
17794         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
17795         from "call _dl_init@PLT".
17796         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
17798 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
17800         * manual/search.texi: (Array Sort Function): Clarify stable sorting
17801         guarantees.
17803 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
17805         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
17807 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
17809         [BZ #17744]
17810         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
17811         strnlen.
17813 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
17815         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
17816         of multu on MIPSr6.
17817         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
17818         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
17819         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
17820         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
17821         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
17823 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
17825         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
17826         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
17827         (PTR_SUBU): Use subu for mips32r6/mips64r6.
17828         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
17829         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
17830         mips32r6/mips64r6.
17831         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
17833 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
17835         * string/strncat.c (STRNCAT): Simplify implementation.
17837 2014-12-19  David S. Miller  <davem@davemloft.net>
17839         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
17840         access the quad as both a long double and as a series of 4 words.
17842         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
17843         link_map->l_info array access.
17845 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
17847         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
17849         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
17850         * math/atest-exp2.c (TIMEOUT): Likewise.
17851         * math/atest-sincos.c (TIMEOUT): Likewise.
17853 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
17855         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
17856         -Wno-error with -fno-builtin-lround.
17858 2014-12-19  Torvald Riegel  <triegel@redhat.com>
17860         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
17861         Contains futex constants and functions moved over from ...
17862         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
17863         <lowlevellock-futex.h>.
17864         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
17865         (lll_timedwait_tid): Add comments and parentheses around macro
17866         arguments.
17868 2014-12-19  Torvald Riegel  <triegel@redhat.com>
17870         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
17871         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
17872         (__lll_private_flag): Remove.
17873         (lll_futex_wait): Likewise.
17874         (lll_futex_timed_wait): Likewise.
17875         (lll_futex_wake): Likewise.
17876         (lll_futex_requeue): Likewise.
17877         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
17878         (__lll_timedwait_tid): Spell out argument names.
17879         (lll_timedwait_tid): Add comments and parentheses around macro
17880         arguments.
17881         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
17882         LLL_SHARED and LLL_PRIVATE usable from assembly code.
17884 2014-12-19  Torvald Riegel  <triegel@redhat.com>
17886         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
17887         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
17888         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17889         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
17890         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
17891         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
17892         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
17893         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
17894         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
17895         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
17896         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
17897         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
17898         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
17899         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
17900         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
17901         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
17902         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
17903         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
17904         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
17906 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
17908         * sysdeps/x86_64/x32/Makefile: New file.
17910 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
17912         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
17913         1L with (mp_limb_t) 1.
17915 2014-12-17  Roland McGrath  <roland@hack.frob.com>
17917         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
17918         * nptl/libc_pthread_init.c: ... here.
17919         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
17920         * nptl/register-atfork.c: ... here.
17922         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
17923         Use pthread_sigmask rather than INTERNAL_SYSCALL.
17924         Use assert_perror to check its return value.
17925         (__gai_create_helper_thread): Likewise.
17927         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
17929         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
17931 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
17933         [BZ #17725]
17934         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
17935         __profil_counter.
17936         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
17937         Likewise.
17938         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
17939         Likewise.
17940         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
17941         Likewise.
17942         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
17943         (profil_counter): Likewise.
17944         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
17945         (profil_counter): Likewise.
17946         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
17947         Likewise.
17948         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
17949         Likewise.
17950         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
17951         (profil_counter): Likewise.
17952         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
17953         Likewise.
17954         [!__profil_counter] (profil_counter): Define as weak alias of
17955         __profil_counter.
17956         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
17957         (profil_counter): Rename to __profil_counter.
17958         [!__profil_counter] (profil_counter): Define as weak alias of
17959         __profil_counter.
17960         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
17961         (profil_counter): Rename to __profil_counter.
17962         [!__profil_counter] (profil_counter): Define as weak alias of
17963         __profil_counter.
17964         * sysdeps/posix/profil.c: Update comment referring to
17965         profil_counter.
17966         (__profil): Use __profil_counter instead of profil_counter.
17967         * sysdeps/posix/sprofil.c (profil_counter): Rename to
17968         __profil_counter.  Use __profil_counter_ushort and
17969         __profil_counter_uint in definitions.
17970         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
17971         instead of profil_counter_uint and profil_counter_ushort.
17973         [BZ #17722]
17974         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
17975         define as weak alias of __inet_makeaddr.
17976         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
17977         as weak alias of __inet_addr.
17978         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
17979         as weak alias of __inet_pton.  Use libc_hidden_weak.
17980         * include/arpa/inet.h (__inet_pton): Declare.  Use
17981         libc_hidden_proto.
17982         (inet_makeaddr): Don't use libc_hidden_proto.
17983         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
17984         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
17985         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
17986         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
17987         Remove variable.
17988         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
17989         (test-xfail-POSIX/time.h/linknamespace): Likewise.
17991 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
17993         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
17995 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
17997         * stdio-common/bug-vfprintf-nargs.c (do_test):
17998         Cast value to intptr_t to avoid format warning
17999         for usage with PRIdPTR printing macro.
18001 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
18003         * libio/tst-widetext.c (do_test):
18004         Use format type %td instead of %Zd for ptrdiff_t
18005         in order to avoid format warning.
18007 2014-12-17  Andreas Schwab  <schwab@suse.de>
18009         * nscd/mem.c (gc): Add size_t cast to match printf format.
18011 2014-12-16  Roland McGrath  <roland@hack.frob.com>
18013         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
18014         (init): Apply PTR_MANGLE to pointers before storing them.
18015         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
18016         before using them.
18018 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
18020         [BZ #17719]
18021         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
18022         define as weak alias of __memrchr.
18023         (__memrchr): Do not define as strong alias of memrchr.
18024         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
18025         Remove variable.
18026         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
18027         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
18028         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
18030         [BZ #17717]
18031         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
18032         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
18033         (if_indextoname): Rename to __if_indextoname and define as weak
18034         alias of __if_indextoname.  Use libc_hidden_weak.
18035         (if_freenameindex): Rename to __if_freenameindex and define as
18036         weak alias of __if_freenameindex.
18037         (if_nameindex): Rename to __if_nameindex and define as weak alias
18038         of __if_nameindex.
18039         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
18040         __if_nametoindex and define as weak alias of __if_nametoindex.
18041         Use libc_hidden_weak.
18042         (if_freenameindex): Rename to __if_freenameindex and define as
18043         weak alias of __if_freenameindex.
18044         (if_nameindex): Rename to __if_nameindex and define as weak alias
18045         of __if_nameindex.
18046         (if_indextoname): Rename to __if_indextoname and define as weak
18047         alias of __if_indextoname.  Use libc_hidden_weak.
18048         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
18049         __if_nametoindex and define as weak alias of __if_nametoindex.
18050         Use libc_hidden_weak.
18051         (if_freenameindex): Rename to __if_freenameindex and define as
18052         weak alias of __if_freenameindex.  Use libc_hidden_weak.
18053         (if_nameindex_netlink): Use __if_freenameindex instead of
18054         if_freenameindex.
18055         (if_nameindex): Rename to __if_nameindex and define as weak alias
18056         of __if_nameindex.  Use libc_hidden_weak.
18057         (if_indextoname): Rename to __if_indextoname and define as weak
18058         alias of __if_indextoname.  Use libc_hidden_weak.
18059         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
18060         libc_hidden_proto.
18061         [!_ISOMAC] (__if_freenameindex): Likewise.
18062         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
18063         if_nametoindex.
18064         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
18065         variable.
18066         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
18067         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
18068         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
18069         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
18070         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
18071         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
18072         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
18074         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
18075         Remove variable.
18076         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
18077         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
18079 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18081         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
18082         subscript above bounds'
18084         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
18085         bounds.
18087 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
18089         * libio/tst-fopenloc.c: Use test-skeleton.c.
18091         * stdlib/tst-bsearch.c: Use test-skeleton.c.
18092         (entry): Rename to ITEM.
18093         (do_test, comp): Adjust.
18095         * stdio-common/tst-fseek.c: Use test-skeleton.c.
18097 2014-12-16  Torvald Riegel  <triegel@redhat.com>
18099         * string/tester.c: Include <libc-internal.h>.
18100         (test_memset): Ignore -Wmemset-transposed-args.
18102 2014-12-16  Torvald Riegel  <triegel@redhat.com>
18104         * misc/tst-mntent2.c (do_test): Fix warning.
18106 2014-12-16  Torvald Riegel  <triegel@redhat.com>
18108         * elf/tst-unique4lib.cc(a): Mark as used.
18110 2014-12-16  Florian Weimer  <fweimer@redhat.com>
18112         [BZ #17630]
18113         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
18114         names.
18116 2014-12-16  Allan McRae  <allan@archlinux.org>
18118         * stdio-common/Makefile (tests): Re-add bug26.
18120 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
18122         [BZ #17657]
18123         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
18124         static array.
18126 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
18128         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
18129         (__lll_lock_wait): Likewise.
18130         (__lll_timedlock_wait): Likewise.
18131         (__lll_timedwait_tid): Likewise.
18132         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
18133         (__lll_robust_timedlock_wait): Likewise.
18134         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
18135         (lll_cond_trylock): Likewise.
18136         (__lll_lock): Likewise.
18137         (__lll_robust_lock): Likewise.
18138         (__lll_cond_lock): Likewise.
18139         (lll_robust_cond_lock): Likewise.
18140         (__lll_timedlock): Likewise.
18141         (__lll_robust_timedlock): Likewise.
18142         (__lll_unlock): Likewise.
18143         (__lll_robust_unlock): Likewise.
18144         (lll_wait_tid): Likewise.
18145         (lll_timedwait_tid): Likewise.
18147 2014-12-15  Torvald Riegel  <triegel@redhat.com>
18149         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
18151 2014-12-15  Torvald Riegel  <triegel@redhat.com>
18153         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
18155 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
18157         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
18158         * stdio-common/tst-sprintf.c: Likewise.
18160 2014-12-15  Torvald Riegel  <triegel@redhat.com>
18162         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
18164 2014-12-15  Jeff Law  <law@redhat.com>
18166         [BZ #16617]
18167         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
18168         on the heap.  (CVE-2012-3406)
18169         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
18170         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
18171         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
18173 2014-12-15  Will Newton  <will.newton@linaro.org>
18175         * manual/install.texi: Bump required version of texinfo
18176         to 4.7 from 4.5.
18177         * INSTALL: Regenerated.
18178         * configure.ac: Check for makeinfo version 4.7 and above.
18179         * configure: Regenerated.
18181 2014-12-12  Roland McGrath  <roland@hack.frob.com>
18183         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
18184         PREFIX, string constant to insert between directory and name.
18185         * sysdeps/posix/shm_open.c: Update caller.
18186         * sysdeps/posix/shm_unlink.c: Likewise.
18187         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
18188         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
18189         (SEM_SHM_PREFIX): New macro.
18190         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
18191         [$(have-thread-library) = no].
18192         * nptl/Makefile (libpthread-routines): Add shm-directory.
18193         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
18194         * sysdeps/nptl/shm-directory.h: New file.
18195         * sysdeps/posix/shm-directory.c
18196         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
18197         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
18198         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
18199         INTERNAL_SYSCALL.
18200         (__where_is_shmfs): Function removed.
18201         (mountpoint, defaultmount, defaultdir, __namedsem_once):
18202         Variables removed.
18203         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
18204         Use SHM_GET_NAME.
18205         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
18207         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
18208         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
18209         unconditional for use inside libpthread.
18210         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
18212 2014-12-12  Roland McGrath  <roland@hack.frob.com>
18214         * nptl/pthread_getaffinity.c: New file.
18215         * nptl/pthread_setaffinity.c: New file.
18216         * nptl/pthread_getname.c: New file.
18217         * nptl/pthread_setname.c: New file.
18219         * nptl/pthread_create.c (START_THREAD_DEFN)
18220         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
18222 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18223             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18225         * resolv/res_send.c (send_vc): Disable warning resplen may
18226         be used uninitialized.
18228 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18230         * nptl/tst-mutex6.c
18231         (ATTR_NULL): New define checks ATTR against NULL.
18232         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
18233         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
18235 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
18237         [BZ #17581]
18238         * malloc/hooks.c
18239         (mem2mem_check): Revert my previous change.
18240         (malloc_check_get_size): Revert my previous change.
18241         (mem2chunk_check): Revert my previous change.
18243 2014-12-11  Roland McGrath  <roland@hack.frob.com>
18245         * sysdeps/posix/shm-directory.c: New file.
18246         * sysdeps/posix/shm-directory.h: New file.
18247         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
18248         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
18249         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
18250         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
18251         Transmute EPERM to EACCES.
18252         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
18253         from ...
18254         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
18255         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
18257 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18259         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
18260         pointer and cast to uintptr_t.
18261         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
18262         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
18263         Add cast to avoid warning.
18264         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
18266 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
18268         * nptl/semaphore.h: Move to ...
18269         * sysdeps/pthread/semaphore.h: ... here.
18270         * Makefile (installed-headers): Change nptl/semaphore.h to
18271         sysdeps/pthread/semaphore.h.
18273 2014-12-11  Roland McGrath  <roland@hack.frob.com>
18275         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
18276         generated error format strings.
18278         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
18279         -Wformat-extra-args warnings for scanf formats.
18280         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
18281         test of zero-length format (duh).
18282         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
18283         corner-case scanf format test.
18284         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
18285         generated fprintf format string.
18286         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
18287         corner-case sprintf format tests.
18288         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
18289         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
18290         -Wformat-extra-args warnings throughout.
18291         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
18292         (CFLAGS-scanf4.c): Likewise.
18293         (CFLAGS-scanf7.c): Likewise.
18294         (CFLAGS-tst-sprintf.c): Likewise.
18295         (CFLAGS-tst-printf.c): Likewise.
18296         (CFLAGS-tst-printfsz.c): Likewise.
18298 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
18300         * include/cpio.h: New file.
18301         * include/fmtmsg.h: Likewise.
18303         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
18304         corresponding format argument to size_t.
18305         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
18306         arguments.
18307         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
18308         corresponding format argument to size_t.
18309         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
18310         arguments.
18311         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
18312         corresponding format argument to size_t.
18313         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
18314         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
18315         (CFLAGS-tst-mbswcs2.c): Likewise.
18316         (CFLAGS-tst-mbswcs3.c): Likewise.
18317         (CFLAGS-tst-mbswcs4.c): Likewise.
18318         (CFLAGS-tst-mbswcs5.c): Likewise.
18319         (CFLAGS-tst-trans.c): Likewise
18321 2014-12-11  Roland McGrath  <roland@hack.frob.com>
18323         * posix/regexbug1.c (main): Use "%s" format with regerror results,
18324         rather than assuming they won't contain any '%'s.
18326 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
18328         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
18329         inhibit_loop_to_libcall to avoid recursive calls.
18330         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
18331         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
18333 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
18335         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
18336         prototype.
18338 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
18340         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
18341         integer value instead of boolean.
18343 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
18345         * malloc/malloc.c: Fix powerof2 check.
18347 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18349         * locale/programs/locfile.h (maybe_swap_uint32):
18350         Remove inline and add unused attribute.
18352 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18354         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
18355         Truncating assembler expression to a .long expression.
18357 2014-12-11  Andreas Schwab  <schwab@suse.de>
18359         * elf/rtld.c (struct map_args): Constify str member.
18360         (do_preload): Constify fname argument.
18362 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18364         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
18365         constants definition.
18367 2014-12-11  Andreas Schwab  <schwab@suse.de>
18369         [BZ #16657]
18370         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
18371         FORCE_ELISION instead of DO_ELISION.
18372         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
18373         Remove.
18374         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
18375         Likewise.
18377         * iconvdata/gconv-modules: Remove duplicate entry.
18379 2014-12-11  Will Newton  <will.newton@linaro.org>
18381         Merge gettext 0.19.3 into intl/.
18383         This involves a number of cosmetic changes to comments
18384         and ANSI function definitions and prototypes throughout
18385         all the files. The gettext copyright header is used but
18386         with the date ranges taken from the glibc copy.
18388         * NEWS: Add gettext merge to 2.21.
18389         * intl/bindtextdom.c: Switch to gettext copyright.
18390         Use ANSI definitions and prototypes.
18391         Use gl_* locking primitives rather than __libc_* ones.
18392         Use __builtin_expect rather than __glibc_likely/unlikely.
18393         * intl/dcgettext.c: Switch to gettext copyright.
18394         Use ANSI definitions and prototypes.
18395         * intl/dcigettext.c: Switch to gettext copyright.
18396         Use ANSI definitions and prototypes.
18397         (INTDIV0_RAISES_SIGFPE): New define.
18398         Use gl_* locking primitives rather than __libc_* ones.
18399         Include eval-plural.h instead of plural-eval.c.
18400         Use __builtin_expect rather than __glibc_likely/unlikely.
18401         * intl/dcngettext.c: Switch to gettext copyright.
18402         Use ANSI definitions and prototypes.
18403         * intl/dgettext.c: Likewise.
18404         * intl/dngettext.c: Likewise.
18405         * intl/plural-eval.c: Renamed to...
18406         * intl/eval-plural.h: ...this.
18407         * intl/explodename.c: Switch to gettext copyright.
18408         Use ANSI definitions and prototypes.
18409         (_nl_explode_name): Use strchr instead of __rawmemchr.
18410         * intl/finddomain.c: Switch to gettext copyright.
18411         Use ANSI definitions and prototypes.
18412         Use gl_* locking primitives rather than __libc_* ones.
18413         (_nl_find_domain): Use malloc rather than alloca for
18414         allocation of temporary locale name.
18415         * intl/gettext.c: Switch to gettext copyright.
18416         Use ANSI definitions and prototypes.
18417         * intl/gettextP.h: Switch to gettext copyright.
18418         Use ANSI definitions and prototypes.
18419         Use gl_* locking primitives rather than __libc_* ones.
18420         * intl/gmo.h: Switch to gettext copyright.
18421         (struct sysdep_string): Move struct segment_pair outside of
18422         struct definition.
18423         * intl/hash-string.c: Use ANSI definitions and prototypes.
18424         * intl/hash-string.h: Switch to gettext copyright.
18425         Use ANSI definitions and prototypes.
18426         * intl/l10nflist.c: Switch to gettext copyright.
18427         Use ANSI definitions and prototypes.
18428         (_nl_normalize_codeset): Avoid integer overflow.
18429         * intl/loadinfo.h: Switch to gettext copyright.
18430         Use ANSI definitions and prototypes.
18431         (LIBINTL_DLL_EXPORTED): New define.
18432         (PATH_SEPARATOR): New define.
18433         * intl/loadmsgcat.c: Switch to gettext copyright.
18434         * intl/localealias.c: Switch to gettext copyright.
18435         Use ANSI definitions and prototypes.
18436         (_nl_expand_alias): Use PATH_SEPARATOR.
18437         * intl/ngettext.c: Switch to gettext copyright.
18438         Use ANSI definitions and prototypes.
18439         * intl/plural-exp.c: Likewise.
18440         * intl/plural-exp.h: Switch to gettext copyright.
18441         Use ANSI definitions and prototypes.
18442         (struct expression): Move definition of enum operator outside
18443         of struct definition.
18444         * intl/plural.c: Regenerate.
18445         * intl/plural.y: Switch to gettext copyright.
18446         Use ANSI definitions and prototypes.
18447         Port to bison 3.0.
18448         * intl/textdomain.c: Switch to gettext copyright.
18449         Use ANSI definitions and prototypes.
18450         Use gl_* locking primitives rather than __libc_* ones.
18452 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
18454         * debug/warning-nop.c: Add used atrribute.
18456 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
18458         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
18460         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
18461         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
18462         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
18464 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
18465             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18467         [BZ #17634]
18468         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
18469         Undefine after defining function.  Define as weak alias of
18470         __wcschr.  Use libc_hidden_weak.
18471         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
18472         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
18473         (libc_hidden_def): Also define __GI___wcschr alias.
18474         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
18475         __wcschr and define as weak alias of __wcschr.
18476         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
18477         __wcschr.
18478         [!WCSCHR] (DEFAULT_WCSCHR): Define.
18479         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
18480         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
18481         libc_hidden_weak.  Do not use libc_hidden_def.
18482         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
18483         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
18484         __GI___wcschr alias.
18485         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
18486         [IS_IN (libc)] (wcschr): Define as macro expanding to
18487         __redirect_wcschr.
18488         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
18489         [IS_IN (libc)] (__wcschr_power6): Likewise.
18490         [IS_IN (libc)] (__wcschr_power7): Likewise.
18491         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
18492         instead of wcschr.
18493         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
18494         __libc_wcschr.
18495         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
18496         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
18497         __wcschr and define as weak alias of __wcschr.  Use
18498         libc_hidden_builtin_def.
18499         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
18500         as weak alias of __wcschr.  Use libc_hidden_weak.
18501         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
18502         wcschr.
18503         * time/era.c (_nl_init_era_entries): Likewise.
18504         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
18505         variable.
18506         (test-xfail-XPG3/time.h/linknamespace): Likewise.
18507         (test-xfail-XPG4/time.h/linknamespace): Likewise.
18509 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
18511         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
18512         format for long int variable.
18514 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
18516         [BZ #10672]
18517         * manual/search.texi: (Array Sort Function): Remove claim how to make
18518         qsort stable.
18520 2014-12-10  Andreas Schwab  <schwab@suse.de>
18522         [BZ #12847]
18523         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
18524         user-controlled locks.
18526 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
18528         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
18529         register.
18531 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
18533         * configure.ac (--disable-werror): New configure option.
18534         (enable_werror): New AC_SUBST.
18535         * configure: Regenerated.
18536         * config.make.in (enable-werror): New variable.
18537         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
18538         -Wno-error=undef.
18539         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
18540         * manual/install.texi (Configuring and compiling): Document
18541         --disable-werror.
18542         * INSTALL: Regenerated.
18543         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
18544         (CFLAGS-tst-chk2.c): Likewise.
18545         (CFLAGS-tst-chk3.c): Likewise.
18546         (CFLAGS-tst-chk4.cc): Likewise.
18547         (CFLAGS-tst-chk5.cc): Likewise.
18548         (CFLAGS-tst-chk6.cc): Likewise.
18549         (CFLAGS-tst-lfschk1.c): Likewise.
18550         (CFLAGS-tst-lfschk2.c): Likewise.
18551         (CFLAGS-tst-lfschk3.c): Likewise.
18552         (CFLAGS-tst-lfschk4.cc): Likewise.
18553         (CFLAGS-tst-lfschk5.cc): Likewise.
18554         (CFLAGS-tst-lfschk6.cc): Likewise.
18556         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
18557         (main): Disable -Wdeprecated-declarations around calls to
18558         register_printf_function.
18560         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
18561         (do_test): Disable -Wdiv-by-zero around some calls to
18562         fwrite_unlocked and fread_unlocked.
18564         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
18565         (DIAG_POP_NEEDS_COMMENT): Likewise.
18566         (_DIAG_STR1): Likewise.
18567         (_DIAG_STR): Likewise.
18568         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
18569         * stdio-common/bug21.c: Include <libc-internal.h>.
18570         (do_test): Disable -Wformat around call to sscanf.
18571         * stdio-common/scanf14.c: Include <libc-internal.h>.
18572         (main): Disable -Wformat around some calls to scanf functions.
18574 2014-12-09  Torvald Riegel  <triegel@redhat.com>
18576         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
18578 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18580         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
18581         stack variable alignment.
18583 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
18585         [BZ #17682]
18586         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
18587         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
18588         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
18589         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
18590         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
18591         __getrlimit instead of getrlimit.
18592         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
18593         __gettimeofday instead of gettimeofday.
18594         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
18595         Likewise.
18596         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
18597         Likewise.
18598         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18599         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
18600         Remove variable.
18601         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
18602         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
18604 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18606         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
18607         for wide-character tests.
18609 2014-12-04  Roland McGrath  <roland@hack.frob.com>
18611         * io/openat64.c: #include <libc-internal.h>
18612         (__openat64): Prototypify.  Use ignore_value on MODE.
18613         * io/openat.c: Likewise.
18614         * misc/reboot.c: #include <libc-internal.h>
18615         (reboot): Prototypify.  Use ignore_value on HOWTO.
18616         * misc/ptrace.c: #include <libc-internal.h>
18617         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
18619 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
18621         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
18622         XPG4, UNIX98 and XOPEN2K.
18623         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
18624         Remove variable.
18625         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
18627 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18629         * libio/fileops.c: Use ISO C style for function definitions.
18630         * libio/iofopen.c: Likewise.
18631         * libio/wfileops.c: Likewise.
18633         [BZ #17653]
18634         * libio/fileops.c (_IO_new_file_underflow): Unset cached
18635         offset on EOF.
18636         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
18637         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
18638         (fgets_func): Function pointer to fgets and fgetws.
18639         (do_ftell_test): Add test to verify ftell value after read
18640         EOF.
18641         (do_test): Set fgets_func.
18643         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
18644         O_TRUNC flag for w and w+ modes.
18645         (do_rewind_test): Likewise.
18646         (do_ftell_test): Likewise.
18647         (do_write_test): Likewise.
18649         [BZ #17647]
18650         * libio/fileops.c (do_ftell): Seek only when there are
18651         unflushed writes.
18652         * libio/wfileops.c (do_ftell_wide): Likewise.
18653         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
18654         test case.
18655         (do_one_test): Call it.
18657 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
18659         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
18660         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
18661         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
18662         Remove variable.
18663         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
18664         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
18665         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
18667 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
18669         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
18670         Remove variable.
18671         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
18673         [BZ #17668]
18674         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
18675         as weak alias of __getifaddrs.  Use libc_hidden_weak.
18676         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
18677         __freeifaddrs.  Use libc_hidden_weak.
18678         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
18679         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
18680         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
18681         __freeifaddrs.  Use libc_hidden_weak.
18682         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
18683         __getifaddrs and define as weak alias of __getifaddrs.  Use
18684         libc_hidden_weak.
18685         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
18686         __freeifaddrs.  Use libc_hidden_weak.
18687         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
18688         Remove variable.
18689         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
18690         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
18692 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
18694         [BZ #17601]
18695         * sysdeps/mips/start.S (__start): Use indirect jump to call
18696         __libc_start_main.
18698 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
18700         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
18702         * nptl/tst-mutex1.c: Include <stdbool.h>.
18703         [!ATTR] (ATTR_NULL): New macro.
18704         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
18705         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
18706         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
18708         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
18709         to char *.
18711         [BZ #17665]
18712         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
18713         Change conditional to [__USE_MISC].
18715         [BZ #17664]
18716         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
18717         fgets_unlocked.
18718         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
18719         __fgets_unlocked.
18720         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
18721         fgets_unlocked.
18722         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
18723         Remove variable.
18724         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
18725         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
18726         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
18727         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
18728         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
18729         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
18730         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
18731         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
18732         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
18734         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
18736 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18738         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18739         Remove strpbrk objects.
18740         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18741         (__libc_ifunc_impl_list): Remove strpbrk implementation.
18742         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
18743         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
18744         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
18745         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
18747         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18748         Remove strcspn objects.
18749         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18750         (__libc_ifunc_impl_list): Remove strcspn implementation.
18751         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
18752         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
18753         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
18754         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
18756         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18757         Remove strspn objetcs.
18758         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18759         (__libc_ifunc_impl_list): Remove strspn implementation.
18760         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
18761         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
18762         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
18763         * sysdeps/powerpc/powerpc64/strspn.S: New file.
18765 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
18767         [BZ #17581]
18768         * malloc/hooks.c
18769         (mem2mem_check): Add a terminator to the chain of checking blocks.
18770         (malloc_check_get_size): Use it here.
18771         (mem2chunk_check): Ditto.
18773 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18775         * sysdeps/powerpc/powerpc64/strtok.S: New file.
18776         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
18778 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
18780         * bits/ioctl-types.h: Indent preprocessor directives correctly.
18782         * nptl/nptl-init.c: Include libc-internal.h.
18783         (__pthread_initialize_minimal_internal): Use ROUND_UP.
18785         * elf/ldconfig.c (search_dir): Expand comment.
18787 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
18789         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
18790         variable.
18791         (linknamespace-symlist-stdlibs-tests): Likewise.
18792         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
18793         instead of $(objpfx)symlist-stdlibs.
18794         (linknamespace-libs-isoc): New variable.
18795         (linknamespace-libs): Use $(linknamespace-libs-isoc).
18796         (linknamespace-libs-ISO): New variable.
18797         (linknamespace-libs-ISO99): Likewise.
18798         (linknamespace-libs-ISO11): Likewise.
18799         (linknamespace-libs-XPG3): Likewise.
18800         (linknamespace-libs-XPG4): Likewise.
18801         (linknamespace-libs-POSIX): Likewise.
18802         (linknamespace-libs-UNIX98): Likewise.
18803         (linknamespace-libs-XOPEN2K): Likewise.
18804         (linknamespace-libs-POSIX2008): Likewise.
18805         (linknamespace-libs-XOPEN2K8): Likewise.
18806         ($(objpfx)symlist-stdlibs): Replace by
18807         $(linknamespace-symlist-stdlibs-tests).  Use
18808         $(linknamespace-libs-$*) as set of libraries.
18809         ($(linknamespace-header-tests)): Update dependencies.  Use
18810         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
18811         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
18812         * conform/linknamespace.pl: Remove comment about considering
18813         definitions of symbols from irrelevant libraries.
18815 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
18817         [BZ #13862]
18818         * elf/dl-tls.c: Include <atomic.h>.
18819         (oom): Remove #ifdef SHARED/#endif.
18820         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
18821         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
18822         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
18823         big enough.
18824         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
18825         * nptl/Makefile (tests): Add tst-stack4.
18826         (modules-names): Add tst-stack4mod.
18827         ($(objpfx)tst-stack4): New.
18828         (tst-stack4mod.sos): Likewise.
18829         ($(objpfx)tst-stack4.out): Likewise.
18830         ($(tst-stack4mod.sos)): Likewise.
18831         (clean): Likewise.
18832         * nptl/tst-stack4.c: New file.
18833         * nptl/tst-stack4mod.c: Likewise.
18835 2014-11-27  J. Brown  <jb999@gmx.de>
18837         * sysdeps/x86/bits/string.h: Add recent CPUs.
18839 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
18841         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
18842         sigblock.
18844         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
18845         feof.
18847         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
18848         variable.
18850 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
18852         * nscd/connections.c: Include libc-internal.h because of macro
18853         usage ignore_value.
18855 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18857         * string/bits/string3.h (__warn_memset_zero_len): Don't
18858         declare for gcc newer than 5.0.
18859         (memset): Don't test for zero-length __LEN for gcc newer than
18860         5.0.
18862 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
18864         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
18865         size_t for %zu format.
18867         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
18868         difference, not %ju.
18870 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
18872         * include/libc-internal.h (ignore_value): New macro.
18873         * nscd/connections.c (restart): Wrap calls to setuid and setgid
18874         with ignore_value.
18876         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
18877         definition.
18879         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
18880         pthread_cleanup_push to void *.
18882         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
18883         Undefine.
18885         [BZ #16619]
18886         [BZ #16740]
18887         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
18888         instead of 1L << 52.
18890         * libio/bug-rewind.c (do_test): Check fwscanf return values.
18891         * libio/bug-rewind2.c (do_test): Likewise.
18893         * debug/test-stpcpy_chk-ifunc.c: Remove file.
18894         * debug/test-strcpy_chk-ifunc.c: Likewise.
18895         * wcsmbs/test-wcschr-ifunc.c: Likewise.
18896         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18897         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
18898         * wcsmbs/test-wcslen-ifunc.c: Likewise.
18899         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
18900         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
18901         * Rules [$(multi-arch) = no] (tests): Do not filter out
18902         $(tests-ifunc).
18903         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
18904         * debug/Makefile (tests-ifunc): Remove variable.
18905         (tests): Do not add $(tests-ifunc).
18906         * wcsmbs/Makefile (tests-ifunc): Remove variable.
18907         (tests): Do not add $(tests-ifunc).
18908         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
18909         [TEST_IFUNC]: Remove conditionals.
18910         * string/test-string.h (TEST_IFUNC): Remove macro.
18911         [TEST_IFUNC]: Remove conditionals.
18913         * string/test-strchr.c [!WIDE] (L): New macro.
18914         [WIDE] (L): Likewise.
18915         (check1): Use CHAR instead of char.  Use L on string and character
18916         constants.
18918 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
18920         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
18921         tests.
18922         * sysdeps/powerpc/bits/atomic.h
18923         (__arch_atomic_exchange_and_add_32_acq): Add definition.
18924         (__arch_atomic_exchange_and_add_32_rel): Likewise.
18925         (atomic_exchange_and_add_acq): Likewise.
18926         (atomic_exchange_and_add_rel): Likewise.
18927         * sysdeps/powerpc/powerpc32/bits/atomic.h
18928         (__arch_atomic_exchange_and_add_64_acq): Add definition.
18929         (__arch_atomic_exchange_and_add_64_rel): Likewise.
18930         * sysdeps/powerpc/powerpc64/bits/atomic.h
18931         (__arch_atomic_exchange_and_add_64_acq): Add definition.
18932         (__arch_atomic_exchange_and_add_64_rel): Likewise.
18934 2014-11-26  Torvald Riegel  <triegel@redhat.com>
18936         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
18937         Change synchronization of __sched_fifo_min_prio and
18938         __sched_fifo_max_prio.
18939         * nptl/pthread_mutexattr_getprioceiling.c
18940         (pthread_mutexattr_getprioceiling): Likewise.
18941         * nptl/pthread_mutexattr_setprioceiling.c
18942         (pthread_mutexattr_setprioceiling): Likewise.
18943         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
18944         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
18945         Likewise.
18947 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
18949         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
18950         void.
18952 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
18954         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
18955         third argument const.
18957 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
18959         fnmatch: work around GCC compiler warning bug with uninit var
18960         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
18961         This works around a bug with x86-64 GCC 4.9.2 and earlier
18962         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
18963         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
18964         used uninitialized in this function [-Wmaybe-uninitialized]".
18966 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
18968         * posix/bug-regex31.c (main): Return RES not 0.
18970 2014-11-25  Anton Blanchard <anton@samba.org>
18972         * sysdeps/powerpc/bits/atomic.h
18973         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
18975 2014-11-24  Sterling Augustine  <saugustine@google.com>
18977         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
18979 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
18981         [BZ #17608]
18982         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
18984 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
18986         [BZ #17633]
18987         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
18988         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
18989         variable.
18990         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
18991         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
18993 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
18995         * string/strncpy.c (strncpy): Improve performance by using memset.
18997 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
18999         * string/strcpy.c (strcpy):
19000         Improve performance by using strlen and memcpy.
19002 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
19004         * string/strcoll_l.c (get_next_seq): __always_inline.
19005         * string/strcoll_l.c (do_compare): __always_inline.
19007 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19009         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
19010         defined.
19011         * include/mqueue.h: Likewise.
19012         * include/stdlib.h: Likewise.
19014         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
19015         (get_null_defines): Adjust.
19016         * sunrpc/Makefile: Adjust comment.
19017         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
19018         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
19019         (CFLAGS-interp.c): Likewise.
19020         (CFLAGS-ldconfig.c): Likewise.
19021         (CPPFLAGS-.os): Likewise.
19022         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19023         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
19024         * extra-modules.mk (extra-modules.mk): Likewise.
19025         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
19026         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
19027         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
19028         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
19029         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
19030         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
19031         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
19032         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
19033         * iconvdata/Makefile (CPPFLAGS): Likewise.
19034         (cpp-srcs-left): Add libof for all iconvdata routines.
19035         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
19036         * include/assert.h: Likewise.
19037         * include/ctype.h: Likewise.
19038         * include/errno.h: Likewise.
19039         * include/libc-symbols.h: Likewise.
19040         * include/math.h: Likewise.
19041         * include/netdb.h: Likewise.
19042         * include/resolv.h: Likewise.
19043         * include/stdio.h: Likewise.
19044         * include/stdlib.h: Likewise.
19045         * include/string.h: Likewise.
19046         * include/sys/stat.h: Likewise.
19047         * include/wctype.h: Likewise.
19048         * intl/l10nflist.c: Likewise.
19049         * libidn/idn-stub.c: Likewise.
19050         * libio/libioP.h: Likewise.
19051         * nptl/libc_multiple_threads.c: Likewise.
19052         * nptl/pthreadP.h: Likewise.
19053         * posix/regex_internal.h: Likewise.
19054         * resolv/res_hconf.c: Likewise.
19055         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
19056         * sysdeps/arm/memmove.S: Likewise.
19057         * sysdeps/arm/sysdep.h: Likewise.
19058         * sysdeps/generic/_itoa.h: Likewise.
19059         * sysdeps/generic/symbol-hacks.h: Likewise.
19060         * sysdeps/gnu/errlist.awk: Likewise.
19061         * sysdeps/gnu/errlist.c: Likewise.
19062         * sysdeps/i386/i586/memcpy.S: Likewise.
19063         * sysdeps/i386/i586/memset.S: Likewise.
19064         * sysdeps/i386/i686/memcpy.S: Likewise.
19065         * sysdeps/i386/i686/memmove.S: Likewise.
19066         * sysdeps/i386/i686/mempcpy.S: Likewise.
19067         * sysdeps/i386/i686/memset.S: Likewise.
19068         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19069         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19070         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
19071         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
19072         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19073         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19074         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
19075         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19076         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19077         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19078         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19079         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19080         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19081         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19082         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19083         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19084         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
19085         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
19086         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
19087         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19088         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19089         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19090         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19091         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19092         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19093         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19094         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
19095         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19096         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
19097         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
19098         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19099         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19100         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19101         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19102         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19103         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
19104         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19105         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19106         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19107         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19108         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19109         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19110         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19111         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
19112         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19113         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19114         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
19115         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
19116         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19117         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
19118         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19119         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
19120         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
19121         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19122         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
19123         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
19124         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19125         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
19126         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
19127         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19128         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
19129         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19130         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
19131         * sysdeps/nptl/bits/libc-lock.h: Likewise.
19132         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
19133         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
19134         * sysdeps/posix/closedir.c: Likewise.
19135         * sysdeps/posix/opendir.c: Likewise.
19136         * sysdeps/posix/readdir.c: Likewise.
19137         * sysdeps/posix/rewinddir.c: Likewise.
19138         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
19139         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
19140         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
19141         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19142         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
19143         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
19144         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
19145         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
19146         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
19147         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
19148         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
19149         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
19150         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
19151         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
19152         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
19153         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
19154         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
19155         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
19156         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
19157         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
19158         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
19159         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
19160         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
19161         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
19162         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
19163         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
19164         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
19165         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
19166         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
19167         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
19168         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
19169         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
19170         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
19171         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
19172         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
19173         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
19174         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19175         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19176         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
19177         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
19178         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
19179         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
19180         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
19181         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
19182         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
19183         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
19184         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
19185         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
19186         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
19187         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
19188         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
19189         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
19190         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
19191         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
19192         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
19193         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
19194         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
19195         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
19196         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
19197         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
19198         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
19199         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
19200         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
19201         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
19202         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
19203         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
19204         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
19205         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
19206         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
19207         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
19208         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
19209         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
19210         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
19211         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
19212         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
19213         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
19214         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
19215         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
19216         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
19217         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
19218         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
19219         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
19220         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
19221         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
19222         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
19223         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
19224         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
19225         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19226         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19227         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19228         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
19229         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
19230         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
19231         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
19232         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19233         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
19234         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
19235         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19236         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
19237         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
19238         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19239         * sysdeps/unix/alpha/sysdep.S: Likewise.
19240         * sysdeps/unix/alpha/sysdep.h: Likewise.
19241         * sysdeps/unix/make-syscalls.sh: Likewise.
19242         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
19243         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
19244         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
19245         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
19246         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
19247         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
19248         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
19249         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
19250         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
19251         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
19252         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
19253         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
19254         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19255         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
19256         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
19257         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
19258         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19259         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
19260         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
19261         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
19262         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
19263         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
19264         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
19265         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
19266         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
19267         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
19268         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
19269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
19270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
19271         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
19272         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
19273         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
19274         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
19275         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19276         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
19277         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
19278         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
19279         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19280         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
19281         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
19282         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
19283         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
19284         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19285         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19286         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
19287         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
19288         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19289         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19290         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
19291         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19292         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
19293         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
19294         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
19295         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
19296         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
19297         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
19298         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
19299         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19300         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
19301         * sysdeps/x86_64/memcpy.S: Likewise.
19302         * sysdeps/x86_64/memmove.c: Likewise.
19303         * sysdeps/x86_64/memset.S: Likewise.
19304         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
19305         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19306         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
19307         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
19308         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
19309         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19310         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19311         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19312         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19313         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19314         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19315         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19316         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
19317         * sysdeps/x86_64/multiarch/memset.S: Likewise.
19318         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19319         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
19320         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
19321         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
19322         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19323         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
19324         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
19325         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19326         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19327         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
19328         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
19329         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
19330         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19331         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
19332         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
19333         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
19334         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
19335         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
19336         * sysdeps/x86_64/strcmp.S: Likewise.
19338         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
19340         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
19341         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
19342         * elf/rtld-Rules: Likewise.
19343         * elf/setup-vdso.h: Likewise.
19344         * include/assert.h: Likewise.
19345         * include/bits/stdlib-float.h: Likewise.
19346         * include/errno.h: Likewise.
19347         * include/sys/stat.h: Likewise.
19348         * include/unistd.h: Likewise.
19349         * sysdeps/aarch64/setjmp.S: Likewise.
19350         * sysdeps/alpha/setjmp.S: Likewise.
19351         * sysdeps/arm/__longjmp.S: Likewise.
19352         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
19353         * sysdeps/arm/setjmp.S: Likewise.
19354         * sysdeps/arm/sysdep.h: Likewise.
19355         * sysdeps/generic/_itoa.h: Likewise.
19356         * sysdeps/generic/dl-sysdep.h: Likewise.
19357         * sysdeps/generic/ldsodefs.h: Likewise.
19358         * sysdeps/i386/dl-tls.h: Likewise.
19359         * sysdeps/i386/setjmp.S: Likewise.
19360         * sysdeps/m68k/setjmp.c: Likewise.
19361         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
19362         * sysdeps/mach/hurd/opendir.c: Likewise.
19363         * sysdeps/posix/getcwd.c: Likewise.
19364         * sysdeps/posix/opendir.c: Likewise.
19365         * sysdeps/posix/profil.c: Likewise.
19366         * sysdeps/powerpc/dl-procinfo.h: Likewise.
19367         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19368         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
19369         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
19370         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
19371         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
19372         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
19373         * sysdeps/s390/dl-tls.h: Likewise.
19374         * sysdeps/s390/s390-32/setjmp.S: Likewise.
19375         * sysdeps/s390/s390-64/setjmp.S: Likewise.
19376         * sysdeps/sh/sh3/setjmp.S: Likewise.
19377         * sysdeps/sh/sh4/setjmp.S: Likewise.
19378         * sysdeps/unix/alpha/sysdep.h: Likewise.
19379         * sysdeps/unix/arm/sysdep.S: Likewise.
19380         * sysdeps/unix/i386/sysdep.S: Likewise.
19381         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
19382         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
19383         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
19384         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
19385         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19386         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
19387         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
19388         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19389         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
19390         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
19391         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
19392         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
19393         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
19394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19396         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
19397         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19398         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19399         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
19400         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19401         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
19402         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19403         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19404         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
19405         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
19406         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
19407         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19408         * sysdeps/unix/x86_64/sysdep.S: Likewise.
19409         * sysdeps/x86_64/setjmp.S: Likewise.
19411         * include/math.h: Use IS_IN instead of IS_IN_libm.
19412         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
19413         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19414         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
19415         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
19416         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19417         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
19418         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
19419         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19420         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19421         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
19422         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
19423         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
19424         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
19425         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
19426         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
19427         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
19428         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
19429         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
19430         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
19431         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
19432         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
19433         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
19434         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
19435         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
19436         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
19437         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
19438         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
19439         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
19440         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
19441         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
19442         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
19443         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
19444         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
19446         Likewise.
19447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
19448         Likewise.
19449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
19450         Likewise.
19451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
19452         Likewise.
19453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
19454         Likewise.
19455         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
19456         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
19457         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
19458         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19459         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19460         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19461         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
19462         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
19463         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
19464         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
19465         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
19466         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
19467         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
19468         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19469         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19470         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
19471         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19472         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19473         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
19474         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
19475         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
19476         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
19477         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
19478         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
19479         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
19480         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
19481         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
19483         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
19484         * nptl/pthreadP.h: Likewise.
19485         * nptl_db/structs.def: Likewise.
19486         * sysdeps/arm/sysdep.h: Likewise.
19487         * sysdeps/nptl/bits/libc-lock.h: Likewise.
19488         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
19489         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
19490         * sysdeps/unix/alpha/sysdep.h: Likewise.
19491         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
19492         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
19493         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
19494         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
19495         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
19496         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
19497         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19498         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
19499         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19500         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
19501         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
19502         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
19503         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
19504         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
19505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
19506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
19507         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
19508         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
19509         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
19510         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
19511         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
19512         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
19513         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
19514         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
19515         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
19516         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
19518         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
19519         * nptl/pthreadP.h: Likewise.
19520         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
19521         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
19522         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
19523         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
19524         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
19525         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
19526         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19527         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
19528         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
19529         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
19530         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
19531         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
19532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
19533         Likewise.
19534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
19535         Likewise.
19536         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
19537         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
19538         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
19539         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
19540         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
19541         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
19542         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
19543         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
19545         * dlfcn/dladdr.c: Use IS_IN.
19546         * dlfcn/dladdr1.c: Likewise.
19547         * dlfcn/dlclose.c: Likewise.
19548         * dlfcn/dlerror.c: Likewise.
19549         * dlfcn/dlinfo.c: Likewise.
19550         * dlfcn/dlmopen.c: Likewise.
19551         * dlfcn/dlopen.c: Likewise.
19552         * dlfcn/dlsym.c: Likewise.
19553         * dlfcn/dlvsym.c: Likewise.
19555         * include/ifaddrs.h: Use IS_IN.
19556         * inet/check_pf.c: Likewise.
19557         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19558         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
19560         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
19561         IS_IN_ldconfig.
19562         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
19563         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
19565         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
19566         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
19567         IS_IN (libc).
19569         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
19571         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
19572         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19573         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
19574         * include/libc-symbols.h (IS_IN_LIB): New macro.
19575         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
19576         * include/netdb.h: Likewise.
19577         * include/stap-probe.h: Remove all uses of IN_LIB.
19579         * Makeconfig (module-cppflags-real): Define MODULE_NAME
19580         instead of IN_MODULE.
19581         * include/libc-symbols.h (IN_MODULE): Define using
19582         MODULE_NAME.
19583         (PASTE_NAME, PASTE_NAME1): New macros.
19584         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
19585         of IN_LIB.
19586         (STAP_PROBE_ASM): Likewise.
19588 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19590         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
19591         __mach_init in dlopened libc.
19593 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
19595         * sysdeps/arm/preconfigure.ac: Delete EABI check.
19596         * sysdeps/arm/preconfigure: Regenerate.
19598 2014-11-21  Roland McGrath  <roland@hack.frob.com>
19600         * nptl/pthread_create.c (__pthread_create_2_1): Set
19601         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
19602         when copying values from IATTR into PD.
19604 2014-11-21  Will Newton  <will.newton@linaro.org>
19605             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
19607         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
19608         Refactor inline-asm.  Also add comment.
19610         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
19611         ElfW macro instead of hardcoded Elf64 types.
19612         (la_aarch64_gnu_pltenter): Likewise.
19613         * sysdeps/aarch64/dl-machine.h
19614         (elf_machine_runtime_setup): Use ElfW(Addr).
19616         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
19617         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
19618         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
19619         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
19620         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
19621         (R_AARCH64_TLS_DTPMOD64): Rename to ..
19622         (R_AARCH64_TLS_DTPMOD): This.
19623         (R_AARCH64_TLS_DTPREL64): Rename to ...
19624         (R_AARCH64_TLS_DTPREL): This.
19625         (R_AARCH64_TLS_TPREL64): Rename to ...
19626         (R_AARCH64_TLS_TPREL): This.
19627         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
19628         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
19629         R_AARCH64_TLS_TPREL64.
19630         (elf_machine_rela): Likewise.
19632 2014-11-21  Torvald Riegel  <triegel@redhat.com>
19634         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
19635         by setting it to 0.  64b atomics are not supported currently.
19637 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19639         [BZ #16469]
19640         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
19641         search domain names.
19643 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19645         [BZ #16469]
19646         * NEWS: Update.
19647         * resolv/res_query.c (__libc_res_nquerydomain): Retain
19648         trailing dot.
19649         * posix/tst-getaddrinfo5.c: New.
19650         * posix/Makefile (tests): Add it.
19652 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19654         [BZ #14498]
19655         * NEWS: Fixed.
19656         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
19657         after parsing line but before break_if_match.
19658         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
19659         if there is a protocol mismatch.
19661 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
19663         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
19664         because the potential race is on the user-supplied stream.
19666 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19668         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
19669         string literal if not passed a buffer.
19670         * manual/job.texi (ctermid): Update reasoning, note deviation
19671         from posix, suggest mtasurace when not passed a buffer, for
19672         future non-preliminary safety notes.
19674 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19676         * manual/users.texi (cuserid): Fix MT-Safety note for the case
19677         of not passing it a buffer.
19678         Reported by Peng Haitao.
19680 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19682         * manual/Makefile ($(objpfx)stamp-summary): Require
19683         check-safety.sh to pass.
19684         * manual/check-safety.sh: Wish for verification that every
19685         @deftypefn and @deftypefun is followed by a @safety remark.
19687 2014-11-20  Roland McGrath  <roland@hack.frob.com>
19689         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
19691         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
19692         PTHREAD_CANCEL_ASYNCHRONOUS.
19693         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
19694         send SIGCANCEL.
19696         * nptl/default-sched.h: New file.
19697         * sysdeps/unix/sysv/linux/default-sched.h: New file.
19698         * nptl/pthread_create.c: Include it.
19699         (__pthread_create_2_1): Use collect_default_sched instead of making
19700         Linux syscalls here directly.
19702 2014-11-20  Torvald Riegel  <triegel@redhat.com>
19704         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
19705         __pthread_once): Use C11 atomics.
19707 2014-11-20  Torvald Riegel  <triegel@redhat.com>
19709         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
19711 2014-11-20  Torvald Riegel  <triegel@redhat.com>
19713         * include/atomic.h (__atomic_link_error, __atomic_check_size,
19714         atomic_thread_fence_acquire, atomic_thread_fence_release,
19715         atomic_thread_fence_seq_cst, atomic_load_relaxed,
19716         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
19717         atomic_compare_exchange_weak_relaxed,
19718         atomic_compare_exchange_weak_acquire,
19719         atomic_compare_exchange_weak_release,
19720         atomic_exchange_acquire, atomic_exchange_release,
19721         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
19722         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
19723         atomic_fetch_and_acquire,
19724         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
19726 2014-11-20  Torvald Riegel  <triegel@redhat.com>
19728         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
19729         USE_ATOMIC_COMPILER_BUILTINS): Define.
19730         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
19731         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19732         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
19733         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19734         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
19735         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19736         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
19737         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19738         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
19739         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19740         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
19741         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19742         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
19743         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19744         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
19745         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19746         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
19747         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19748         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
19749         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19750         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
19751         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19752         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
19753         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19754         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
19755         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19756         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
19757         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19758         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
19759         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19760         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
19761         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19762         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
19763         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19764         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
19765         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19766         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
19767         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19768         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
19769         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19771 2014-11-19  Roland McGrath  <roland@hack.frob.com>
19773         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
19774         the sched_priority value here.  It was already checked when the user
19775         called pthread_attr_setschedparam.
19777         * nptl/tst-bad-schedattr.c: New file.
19778         * nptl/Makefile (tests): Add it.
19780 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
19781             Florian Weimer  <fweimer@redhat.com>
19782             Joseph Myers  <joseph@codesourcery.com>
19783             Adam Conrad  <adconrad@0c3.net>
19784             Andreas Schwab  <schwab@suse.de>
19785             Brooks  <bmoses@google.com>
19787         [BZ #17625]
19788         * wordexp-test.c (__dso_handle): Add prototype.
19789         (__register_atfork): Likewise.
19790         (__app_register_atfork): New function.
19791         (registered_forks): New global.
19792         (register_fork): New function.
19793         (test_case): Add 3 new tests for WRDE_CMDSUB.
19794         (main): Call __app_register_atfork.
19795         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
19796         fork count is non-zero fail the test.
19797         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
19798         is set.
19799         (parse_dollars): Remove check for WRDE_NOCMD.
19800         (parse_dquote): Likewise.
19802 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19804         * Makeconfig (built-modules): List non-library modules to be
19805         built.
19806         (module-cppflags): Include libc-modules.h for
19807         everything except shlib-versions.v.i.
19808         (CPPFLAGS): Use it.
19809         (before-compile): Add libc-modules.h.
19810         ($(common-objpfx)libc-modules.h,
19811         $(common-objpfx)libc-modules.stmp): New targets.
19812         (common-generated): Add libc-modules.h and libc-modules.stmp.
19813         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
19814         * include/libc-symbols.h: Don't include libc-modules.h.
19815         * include/libc-modules.h: Remove file.
19816         * scripts/gen-libc-modules.awk: New script to generate
19817         libc-modules.h.
19818         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
19819         Depend on libc-modules.stmp.
19821         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
19823         * Makeconfig (in-module): Get value of libof set for the
19824         translation unit.
19825         (CPPFLAGS): Use $(in-module).
19826         * Makerules: Don't suffix routine names for nonlib.
19827         * include/libc-modules.h: New file.
19828         * include/libc-symbols.h: Include libc-modules.h
19829         (IS_IN): New macro to replace IS_IN_* macros.
19830         * elf/Makefile: Set libof-* for each routine.
19831         * elf/rtld-Rules: Likewise.
19832         * extra-modules.mk: Likewise.
19833         * iconv/Makefile: Likewise.
19834         * iconvdata/Makefile: Likewise.
19835         * locale/Makefile: Likewise.
19836         * malloc/Makefile: Likewise.
19837         * nss/Makefile: Likewise.
19838         * sysdeps/gnu/Makefile: Likewise.
19839         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
19840         * sysdeps/unix/sysv/linux/Makefile: Likewise.
19841         * sysdeps/s390/s390-64/Makefile: Likewise.
19842         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
19843         CPPFLAGS for nscd instead of nonlib.
19845 2014-11-18  Roland McGrath  <roland@hack.frob.com>
19847         * nptl/createthread.c: New file.
19849         * nptl/createthread.c: Moved ...
19850         * sysdeps/unix/sysv/linux/createthread.c: ... here.
19852         * nptl/createthread.c: Add proper top-line comment.
19853         (do_clone): Folded into ...
19854         (create_thread): ... here.  Take new arguments STOPPED_START and
19855         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
19856         increment __nptl_threads, do event-reporting logic, do
19857         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
19858         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
19859         resource cleanup if sched_setaffinity or sched_setscheduler fails,
19860         just send SIGCANCEL.
19861         * nptl/pthread_create.c: Forward-declare create_thread before
19862         including createthread.c.
19863         (start_thread): Use new macro START_THREAD_DEFN to replace defining
19864         declaration, and new macro START_THREAD_SELF to replace argument.
19865         Remove return statement.
19866         (report_thread_creation): New function.
19867         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
19868         synchronization logic, and __nptl_nthreads increment here, around
19869         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
19870         PD->parent_cancelhandling here, before create_thread.  When
19871         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
19872         __deallocate_stack, and ENOMEM translation here.
19874 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
19876         [BZ #17616]
19877         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
19878         (mptwo): Rename to __mptwo.
19879         (__inv): Use __mptwo instead of mptwo.
19880         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
19881         (mptwo): Rename to __mptwo.
19882         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
19883         of mpone and __mptwo instead of mptwo.
19884         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
19885         instead of mpone.
19886         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19887         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
19888         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
19889         of mpone and __mptwo instead of mptwo.
19890         (__mpranred): Use __mpone instead of mpone.
19891         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
19892         variable.
19893         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
19894         (test-xfail-ISO99/math.h/linknamespace): Likewise.
19895         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
19896         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
19897         (test-xfail-ISO11/math.h/linknamespace): Likewise.
19898         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
19899         (test-xfail-XPG3/math.h/linknamespace): Likewise.
19900         (test-xfail-XPG4/math.h/linknamespace): Likewise.
19901         (test-xfail-POSIX/math.h/linknamespace): Likewise.
19902         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
19903         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
19904         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
19905         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
19906         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
19907         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
19908         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
19909         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
19910         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
19911         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
19913 2014-11-18  Tom de Vries  <tom@codesoucery.com>
19915         * manual/signal.texi (Primitives Interrupted by Signals): In section,
19916         replace BSD Handler xref with BSD Signal Handling.
19918 2014-11-17  Richard Henderson  <rth@redhat.com>
19920         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
19921         (_FP_PACK_RAW_2): Remove.
19922         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
19923         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
19924         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
19925         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
19926         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
19927         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
19928         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
19929         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
19930         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
19931         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
19932         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
19933         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
19934         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
19935         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
19936         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
19937         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
19939 2014-11-14  Roland McGrath  <roland@hack.frob.com>
19941         * signal/signal.h [__USE_MISC]
19942         (struct sigvec): Remove type.
19943         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
19944         (sigvec): Remove declaration.
19945         * sysdeps/posix/sigvec.c: Moved ...
19946         * signal/sigvec.c: ... here, replacing old file.
19947         (struct sigvec): New type, copied from old signal.h definition.
19948         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
19949         (__sigvec): Convert definition to prototype.
19950         (sigvec): Replace weak_alias with compat_symbol.
19951         * signal/Versions (libc: GLIBC_2.21): New version set.
19952         * include/signal.h: Remove __sigvec declaration.
19953         * sysdeps/unix/bsd/sigvec.c: Remove file.
19954         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
19955         * manual/signal.texi (BSD Handler): Remove subsection.
19956         Move siginterrupt up to ...
19957         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
19958         (Blocking in BSD): Fold subsection into its parent.
19959         * NEWS: Mention sigvec removal.
19961 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
19963         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
19964         (DLA_FMS): Make definition conditional only on [__FMA4__].
19965         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
19966         definition.
19968         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
19969         Make definition conditional only on [PROF].
19970         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
19971         definition.
19972         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
19973         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
19975         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
19976         !__GNUC__].
19977         * include/signal.h (__sigpause): Move declaration above call to
19978         libc_hidden_proto.
19979         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
19980         variable.
19981         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
19982         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
19984 2014-11-14  David S. Miller  <davem@davemloft.net>
19986         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
19987         Define before including <string/memcpy.c> and <string/mempcpy.c>.
19989 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
19991         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
19992         * configure: Regenerated.
19993         * manual/install.texi (Tools for Compilation): Document a
19994         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
19995         compiler verified to work.
19996         * INSTALL: Regenerated.
19998         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
19999         redeclare with asm name.
20000         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
20001         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
20002         including <string.h>.
20003         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
20004         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
20005         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
20006         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
20007         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
20008         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
20009         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
20011 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
20013         * stdlib/strtol.c (__strtol): Use prototype definition.
20015         [BZ #17594]
20016         * stdlib/strtol.c (SYM__): New macro.
20017         (SYM__1): Likewise.
20018         (__strtol): Likewise.
20019         (strtol): Rename to __strtol and define as weak alias of
20020         __strtol.  Use libc_hidden_weak.
20022 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20024         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
20025         Use numbered labels in inline assembly.
20027 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20029         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
20030         Add setjmp LIBC_PROBE.
20031         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
20032         Likewise.
20033         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
20034         Add longjmp, longjmp_target LIBC_PROBE.
20035         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
20036         Likewise.
20038 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20040         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
20041         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
20042         to get rid of unused variable warning.
20044 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20046         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
20047         Check for unwind_backtrace ==  NULL only in SHARED case.
20048         (__backchain_backtrace): Compile only in SHARED case.
20049         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
20050         Likewise.
20051         (__backchain_backtrace): Declare as static.
20053 2014-11-12  Roland McGrath  <roland@hack.frob.com>
20055         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
20056         (__libc_multiple_threads_ptr): Variable moved ...
20057         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
20059 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
20061         * conform/GlibcConform.pm: New file.
20062         * conform/conformtest.pl: Use GlibcConform module.
20063         * conform/linknamespace.pl: New file.
20064         * conform/list-header-symbols.pl: Likewise.
20065         * conform/Makefile (linknamespace-symlists-base): New variable.
20066         (linknamespace-symlists-tests): Likewise.
20067         (linknamespace-header-base): Likewise.
20068         (linknamespace-header-tests): Likewise.
20069         (tests-special): Add new tests.
20070         ($(linknamespace-symlists-tests)): New rule.
20071         (linknamespace-libs): New variable.
20072         ($(objpfx)symlist-stdlibs): New rule.
20073         ($(linknamespace-header-tests)): Likewise.
20074         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
20075         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
20076         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
20077         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
20078         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
20079         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
20080         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
20081         (test-xfail-ISO/math.h/linknamespace): Likewise.
20082         (test-xfail-ISO/signal.h/linknamespace): Likewise.
20083         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
20084         (test-xfail-ISO/time.h/linknamespace): Likewise.
20085         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
20086         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
20087         (test-xfail-ISO99/math.h/linknamespace): Likewise.
20088         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
20089         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
20090         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
20091         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
20092         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
20093         (test-xfail-ISO11/math.h/linknamespace): Likewise.
20094         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
20095         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
20096         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
20097         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
20098         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
20099         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
20100         (test-xfail-XPG3/math.h/linknamespace): Likewise.
20101         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
20102         (test-xfail-XPG3/search.h/linknamespace): Likewise.
20103         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
20104         (test-xfail-XPG3/time.h/linknamespace): Likewise.
20105         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
20106         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
20107         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
20108         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
20109         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
20110         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
20111         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
20112         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
20113         (test-xfail-XPG4/math.h/linknamespace): Likewise.
20114         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
20115         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
20116         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
20117         (test-xfail-XPG4/search.h/linknamespace): Likewise.
20118         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
20119         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
20120         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
20121         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
20122         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
20123         (test-xfail-XPG4/time.h/linknamespace): Likewise.
20124         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
20125         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
20126         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
20127         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
20128         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
20129         (test-xfail-POSIX/math.h/linknamespace): Likewise.
20130         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
20131         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
20132         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
20133         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
20134         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
20135         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
20136         (test-xfail-POSIX/time.h/linknamespace): Likewise.
20137         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
20138         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
20139         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
20140         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
20141         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
20142         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
20143         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
20144         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
20145         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
20146         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
20147         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
20148         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
20149         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
20150         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
20151         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
20152         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
20153         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
20154         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
20155         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
20156         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
20157         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
20158         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
20159         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
20160         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
20161         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
20162         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
20163         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
20164         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
20165         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
20166         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
20167         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
20168         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
20169         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
20170         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
20171         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
20172         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
20173         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
20174         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
20175         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
20176         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
20177         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
20178         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
20179         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
20180         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
20181         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
20182         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
20183         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
20184         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
20185         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
20186         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
20187         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
20188         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
20189         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
20190         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
20191         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
20192         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
20193         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
20194         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
20195         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
20196         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
20197         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
20198         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
20199         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
20200         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
20201         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
20202         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
20203         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
20204         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
20205         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
20206         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
20207         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
20208         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
20209         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
20210         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
20211         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
20212         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
20213         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
20214         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
20215         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
20216         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
20217         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
20218         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
20219         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
20220         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
20221         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
20222         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
20223         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
20224         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
20225         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
20226         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
20227         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
20228         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
20229         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
20230         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
20231         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
20232         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
20233         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
20234         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
20236         [BZ #17589]
20237         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
20238         of fgets_unlocked.
20240         [BZ #17585]
20241         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
20242         (memmem): Rename to __memmem and define as weak alias of
20243         __memmem.  Use libc_hidden_weak.
20244         (__memmem): Use libc_hidden_def.
20245         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
20246         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
20247         memmem.
20249         [BZ #17582]
20250         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
20251         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
20252         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
20253         and define as weak alias of __fgets_unlocked.  Use
20254         libc_hidden_weak.
20255         (__fgets_unlocked): Use libc_hidden_def.
20256         * include/stdio.h (__fgets_unlocked): Declare.  Use
20257         libc_hidden_proto.
20258         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
20259         __fgets_unlocked instead of fgets_unlocked.
20260         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
20261         (GET_NPROCS_CONF_PARSER): Likewise.
20262         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
20263         (GET_NPROCS_CONF_PARSER): Likewise.
20265         [BZ #17574]
20266         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
20267         weak alias of __wmemset.  Use libc_hidden_weak.
20268         (__wmemset): Use libc_hidden_def.
20269         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
20270         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
20271         of wmemset.
20273         [BZ #17573]
20274         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
20275         with asm name __mempcpy.
20276         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
20278         [BZ #17572]
20279         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
20280         and define as weak alias of __rawmemchr.
20281         (__rawmemchr): Do not define as strong alias of rawmemchr.
20283         [BZ #17571]
20284         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
20285         alias of __qsort_r.
20286         (qsort): Call __qsort_r instead of qsort_r.
20287         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
20288         (__qsort_r): Declare.  Call libc_hidden_proto.
20289         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
20290         instead of qsort_r.
20291         * nscd/gai.c (__qsort_r): Define to qsort_r.
20292         * posix/tst-rfc3484.c (__qsort_r): Likewise.
20293         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
20294         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
20296         [BZ #17570]
20297         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
20298         define as weak alias of __malloc_info.
20300         [BZ #17584]
20301         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
20302         as weak alias of __rewinddir.  Don't use libc_hidden_def.
20303         (__rewinddir): Use libc_hidden_def.
20304         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
20305         as weak alias of __rewinddir.  Don't use libc_hidden_def.
20306         (__rewinddir): Use libc_hidden_def.
20307         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
20308         weak alias of __rewinddir.  Don't use libc_hidden_def.
20309         (__rewinddir): Use libc_hidden_def.
20310         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
20311         (__rewinddir): Use libc_hidden_proto.
20312         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
20313         rewinddir.
20314         (__getcwd): Use __rewinddir instead of rewinddir.
20316         [BZ #17583]
20317         * libio/fileno.c (fileno): Rename to __fileno and define as weak
20318         alias of __fileno.  Use libc_hidden_weak.
20319         (__fileno): Use libc_hidden_def.
20320         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
20321         * libio/ftello.c (ftello): Rename to __ftello and define as weak
20322         alias of __ftello.
20323         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
20324         __ftello.
20325         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
20326         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
20327         libc_hidden_def.
20328         (fread_unlocked): Don't use libc_hidden_ver.
20329         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
20330         and define as weak alias of __fread_unlocked.  Don't use
20331         libc_hidden_def.
20332         (__fread_unlocked): Use libc_hidden_def.
20333         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
20334         (ftello): Don't use libc_hidden_proto.
20335         (__ftello): Declare.  Use libc_hidden_proto.
20336         (fread_unlocked): Don't use libc_hidden_proto.
20337         (__fread_unlocked): Declare.  Use libc_hidden_proto.
20338         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
20339         and __ftello instead of fileno, fread_unlocked and ftello.
20341 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20343         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
20344         GOT12.
20345         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
20346         Likewise.
20347         (_dl_start_user): Likewise.
20348         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
20350 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
20351             Siddhesh Poyarekar  <siddhesh@redhat.com>
20353         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
20354         Move argv and envp down instead of moving argc up.
20355         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
20357 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
20359         [BZ #17506]
20360         * test-skeleton.c (main): Return successful if one of
20361         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
20362         * string/tst-strcoll-overflow.c: Define expected status.
20364 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
20366         [BZ #17475]
20367         * locale/iso-639.def: Define Bhili and Tulu language codes.
20369 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
20371         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
20373 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
20375         [BZ #17555]
20376         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
20378 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
20380         * configure.ac: Updated check of minimal required version to
20381         2.22.
20382         * manual/install.texi (Tools for Compilation): Updated version
20383         number.
20384         * configure: Regenerated.
20385         * INSTALL: Likewise.
20387 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
20389         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
20390         __tls_get_addr.
20392 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
20394         * include/sys/wait.h (__libc_waitpid): Remove declaration.
20395         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
20396         (__waitpid): Don't define as alias.  Use libc_hidden_def not
20397         libc_hidden_weak.
20398         (waitpid): Define as alias of __waitpid.
20399         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
20400         __waitpid.
20401         (__waitpid): Don't define as alias.  Use libc_hidden_def not
20402         libc_hidden_weak.
20403         (waitpid): Define as alias of __waitpid.
20404         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
20405         __libc_waitpid alias.
20406         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
20407         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
20408         Likewise.
20409         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
20410         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
20411         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
20412         alias.
20413         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
20414         __waitpid.
20415         (__waitpid): Don't define as alias.  Use libc_hidden_def not
20416         libc_hidden_weak.
20417         (waitpid): Define as alias of __waitpid.
20419 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
20421         * manual/llio.texi: Add comment that write safety has been
20422         fixed in Linux.
20424         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
20425         (localplt-build-dso): Add elf/ld.so.
20426         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
20427         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
20428         and free for ld.so.
20429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
20430         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
20431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
20432         Likewise.
20433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
20434         Likewise.
20435         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
20436         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
20437         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
20438         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
20439         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
20440         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
20441         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
20442         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
20443         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
20444         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
20445         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
20447 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
20449         [BZ #14132]
20450         * include/libc-symbols.h (INTUSE): Remove macro.
20451         (INTDEF): Likewise.
20452         (INTVARDEF): Likewise.
20453         (_INTVARDEF): Likewise.
20454         (INTDEF2): Likewise.
20455         (INTVARDEF2): Likewise.
20456         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
20457         rtld_hidden_def instead of INTVARDEF.
20458         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
20459         (_dl_starting_up_internal): Remove declaration.
20460         (_dl_starting_up): Use rtld_hidden_proto.
20461         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
20462         declaration.
20463         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
20464         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
20465         _dl_starting_up.
20466         * elf/dl-writev.h (_dl_writev): Likewise.
20467         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
20468         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
20469         _dl_starting_up_internal.
20471 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20473         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
20474         test-skeleton.c.
20476 2014-11-05  Will Newton  <will.newton@linaro.org>
20478         * benchtests/Makefile: (bench-malloc): Add malloc thread
20479         scalability benchmark.
20480         * benchtests/bench-malloc-threads.c: New file.
20482 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
20484         * sysdeps/aarch64/strchrnul.S: New file.
20486 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20488         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
20489         definition.
20490         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
20491         Likwise.
20492         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
20493         Likewise.
20494         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
20495         Likewise.
20496         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
20497         Likewise.
20498         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
20499         Likewise.
20501 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
20503         * catgets/test-gencat.c: Use test-skeleton.c.
20504         * catgets/tst-catgets.c: Likewise.
20505         * csu/tst-empty.c: Likewise.
20506         * elf/tst-audit2.c: Likewise.
20507         * elf/tst-global1.c: Likewise.
20508         * elf/tst-pathopt.c: Likewise.
20509         * elf/tst-piemod1.c: Likewise.
20510         * elf/tst-tls10.c: Likewise.
20511         * elf/tst-tls11.c: Likewise.
20512         * elf/tst-tls12.c: Likewise.
20513         * gnulib/tst-gcc.c: Likewise.
20514         * iconvdata/tst-e2big.c: Likewise.
20515         * iconvdata/tst-loading.c: Likewise.
20516         * iconv/tst-iconv1.c: Likewise.
20517         * iconv/tst-iconv2.c: Likewise.
20518         * inet/test-inet6_opt.c: Likewise.
20519         * inet/tst-gethnm.c: Likewise.
20520         * inet/tst-network.c: Likewise.
20521         * inet/tst-ntoa.c: Likewise.
20522         * intl/tst-codeset.c: Likewise.
20523         * intl/tst-gettext2.c: Likewise.
20524         * intl/tst-gettext3.c: Likewise.
20525         * intl/tst-ngettext.c: Likewise.
20526         * intl/tst-translit.c: Likewise.
20527         * io/test-stat.c: Likewise.
20528         * libio/test-fmemopen.c: Likewise.
20529         * libio/tst-freopen.c: Likewise.
20530         * libio/tst-sscanf.c: Likewise.
20531         * libio/tst-ungetwc1.c: Likewise.
20532         * libio/tst-ungetwc2.c: Likewise.
20533         * libio/tst-widetext.c: Likewise.
20534         * localedata/tst-ctype.c: Likewise.
20535         * localedata/tst-digits.c: Likewise.
20536         * localedata/tst-leaks.c: Likewise.
20537         * localedata/tst-mbswcs1.c: Likewise.
20538         * localedata/tst-mbswcs2.c: Likewise.
20539         * localedata/tst-mbswcs3.c: Likewise.
20540         * localedata/tst-mbswcs4.c: Likewise.
20541         * localedata/tst-mbswcs5.c: Likewise.
20542         * localedata/tst-setlocale.c: Likewise.
20543         * localedata/tst-trans.c: Likewise.
20544         * localedata/tst-wctype.c: Likewise.
20545         * localedata/tst-xlocale1.c: Likewise.
20546         * login/tst-grantpt.c: Likewise.
20547         * malloc/tst-calloc.c: Likewise.
20548         * malloc/tst-malloc.c: Likewise.
20549         * malloc/tst-mallocstate.c: Likewise.
20550         * malloc/tst-mcheck.c: Likewise.
20551         * malloc/tst-mtrace.c: Likewise.
20552         * malloc/tst-obstack.c: Likewise.
20553         * math/atest-exp2.c: Likewise.
20554         * math/atest-exp.c: Likewise.
20555         * math/atest-sincos.c: Likewise.
20556         * math/test-matherr.c: Likewise.
20557         * math/test-misc.c: Likewise.
20558         * math/test-powl.c: Likewise.
20559         * math/tst-definitions.c: Likewise.
20560         * misc/tst-dirname.c: Likewise.
20561         * misc/tst-efgcvt.c: Likewise.
20562         * misc/tst-fdset.c: Likewise.
20563         * misc/tst-hsearch.c: Likewise.
20564         * misc/tst-mntent2.c: Likewise.
20565         * nptl/tst-sem7.c: Likewise.
20566         * nptl/tst-sem8.c: Likewise.
20567         * nptl/tst-sem9.c: Likewise.
20568         * nss/test-netdb.c: Likewise.
20569         * posix/tst-fnmatch.c: Likewise.
20570         * posix/tst-getlogin.c: Likewise.
20571         * posix/tst-gnuglob.c: Likewise.
20572         * posix/tst-mmap.c: Likewise.
20573         * pwd/tst-getpw.c: Likewise.
20574         * resolv/tst-inet_ntop.c: Likewise.
20575         * rt/tst-timer.c: Likewise.
20576         * stdio-common/test-fseek.c: Likewise.
20577         * stdio-common/test-popen.c: Likewise.
20578         * stdio-common/test-vfprintf.c: Likewise.
20579         * stdio-common/tst-cookie.c: Likewise.
20580         * stdio-common/tst-fileno.c: Likewise.
20581         * stdio-common/tst-gets.c: Likewise.
20582         * stdio-common/tst-obprintf.c: Likewise.
20583         * stdio-common/tst-perror.c: Likewise.
20584         * stdio-common/tst-sprintf2.c: Likewise.
20585         * stdio-common/tst-sprintf3.c: Likewise.
20586         * stdio-common/tst-sprintf.c: Likewise.
20587         * stdio-common/tst-swprintf.c: Likewise.
20588         * stdio-common/tst-tmpnam.c: Likewise.
20589         * stdio-common/tst-unbputc.c: Likewise.
20590         * stdio-common/tst-wc-printf.c: Likewise.
20591         * stdlib/tst-environ.c: Likewise.
20592         * stdlib/tst-fmtmsg.c: Likewise.
20593         * stdlib/tst-limits.c: Likewise.
20594         * stdlib/tst-rand48-2.c: Likewise.
20595         * stdlib/tst-rand48.c: Likewise.
20596         * stdlib/tst-random2.c: Likewise.
20597         * stdlib/tst-random.c: Likewise.
20598         * stdlib/tst-strtol.c: Likewise.
20599         * stdlib/tst-strtoll.c: Likewise.
20600         * stdlib/tst-tls-atexit.c: Likewise.
20601         * stdlib/tst-xpg-basename.c: Likewise.
20602         * string/test-ffs.c: Likewise.
20603         * string/tst-bswap.c: Likewise.
20604         * string/tst-inlcall.c: Likewise.
20605         * string/tst-strtok.c: Likewise.
20606         * string/tst-strxfrm.c: Likewise.
20607         * sysdeps/x86_64/tst-audit10.c: Likewise.
20608         * sysdeps/x86_64/tst-audit3.c: Likewise.
20609         * sysdeps/x86_64/tst-audit4.c: Likewise.
20610         * sysdeps/x86_64/tst-audit5.c: Likewise.
20611         * time/tst-ftime_l.c: Likewise.
20612         * time/tst-getdate.c: Likewise.
20613         * time/tst-mktime3.c: Likewise.
20614         * time/tst-mktime.c: Likewise.
20615         * time/tst-posixtz.c: Likewise.
20616         * time/tst-strptime2.c: Likewise.
20617         * time/tst-strptime3.c: Likewise.
20618         * wcsmbs/tst-btowc.c: Likewise.
20619         * wcsmbs/tst-mbrtowc.c: Likewise.
20620         * wcsmbs/tst-mbsrtowcs.c: Likewise.
20621         * wcsmbs/tst-wchar-h.c: Likewise.
20622         * wcsmbs/tst-wcpncpy.c: Likewise.
20623         * wcsmbs/tst-wcrtomb.c: Likewise.
20624         * wcsmbs/tst-wcsnlen.c: Likewise.
20625         * wcsmbs/tst-wcstof.c: Likewise.
20627 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
20629         [BZ #14132]
20630         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
20631         INTDEF.
20632         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
20633         declaration.
20634         (_dl_mcount): Use rtld_hidden_proto.
20635         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
20636         _dl_mcount.
20637         * elf/rtld.c (_rtld_global_ro): Likewise.
20639         [BZ #14132]
20640         * elf/dl-init.c (_dl_init): Don't use INTDEF.
20641         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
20642         of _dl_init_internal.
20643         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
20644         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
20645         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
20646         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
20647         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
20648         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
20649         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
20650         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
20651         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
20652         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
20653         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
20654         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
20655         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
20656         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
20657         * sysdeps/tile/dl-start.S (_start): Likewise.
20658         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
20659         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
20661         [BZ #14132]
20662         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
20663         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
20664         (rtld_progname): Make macro definition unconditional.
20665         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
20666         INTDEF.
20667         (dlmopen_doit): Do not use INTUSE with _dl_argv.
20668         (dl_main): Likewise.
20669         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
20670         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
20671         instead of _dl_argv_internal.
20672         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
20673         __GI__dl_argv instead of INTUSE(_dl_argv).
20674         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
20675         __GI__dl_argv instead of _dl_argv_internal.
20677         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
20678         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
20679         macro.
20680         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
20681         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
20682         New macro.
20683         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
20684         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
20685         macro.
20686         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
20687         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
20689 2014-11-04  Andreas Schwab  <schwab@suse.de>
20691         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
20693 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20695         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
20696         mtvsrd instruction in binary form.
20698 2014-11-03  Andreas Schwab  <schwab@suse.de>
20700         [BZ #17522]
20701         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
20702         for less than MB_LEN_MAX use a local buffer of that size.
20703         * libio/tst-fputws.c: New file.
20704         * libio/Makefile (tests): Add tst-fputws.
20706 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
20708         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
20709         the size of the fpu_fr.fpu_dregs[] array.
20711 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
20713         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
20714         (__nanosleep): Do not define as alias.
20715         (nanosleep): Define as alias of __nanosleep.
20716         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
20717         __libc_nanosleep name.
20719 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
20721         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
20722         install.texi in comment.
20724 2014-10-31  Torvald Riegel  <triegel@redhat.com>
20726         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
20727         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
20728         ... add here and use lwsync or sync ...
20729         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
20730         ... and add here using lwsync.
20732 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
20734         * elf/dl-machine-reject-phdr.h: New file.
20735         * elf/dl-load.c: #include that.
20736         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
20737         if that returned true.
20739 2014-10-31  Roland McGrath  <roland@hack.frob.com>
20741         [BZ #17496]
20742         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
20743         gen-as-const-headers chunk.  Add a big scare comment after the last
20744         safe place to touch before-compile.
20746 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
20748         * manual/install.texi (Tools for Compilation): Update autoconf
20749         version requirements.
20750         * INSTALL: Regenerated.
20752         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
20753         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
20754         (__libc_pselect): Likewise.
20756         [BZ #14138]
20757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
20758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
20759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
20760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
20762 2014-10-31  Torvald Riegel  <triegel@redhat.com>
20764         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
20765         correct barrier instruction.
20766         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
20767         Likewise.
20768         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
20769         Likewise.
20771 2014-10-30  Roland McGrath  <roland@hack.frob.com>
20773         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
20774         after defining inlines.  Instead, just use parens to defeat macro
20775         expansion of __isctype in its declaration.
20777 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
20779         * include/sys/uio.h (__libc_readv): Remove declaration.
20780         (__libc_writev): Likewise.
20781         * misc/readv.c (__libc_readv): Rename to __readv.
20782         (__readv): Do not define as alias.
20783         (readv): Define as alias of __readv.
20784         * misc/writev.c (__libc_writev): Rename to __writev.
20785         (__writev): Do not define as alias.
20786         (writev): Define as alias of __writev.
20787         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
20788         (__readv): Do not define as alias.
20789         (readv): Define unconditionally as alias of __readv.
20790         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
20791         (__writev): Do not define as alias.
20792         (writev): Define unconditionally as alias of __writev.
20793         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
20794         name.
20795         (writev): Do not define __libc_writev name.
20797 2014-10-30  Roland McGrath  <roland@hack.frob.com>
20799         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
20800         (convert_charseq): New function, broken out of ...
20801         (use_from_charmap): ... here.  Call it.
20802         (use_to_charmap): Use convert_charseq and free instead of duplicating
20803         its code with a variable-length stack struct.
20805 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
20807         * include/fcntl.h (__libc_creat): Remove declaration.
20808         * io/creat.c (__libc_creat): Rename to creat.
20809         (creat): Do not define as alias.
20810         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
20811         of creat instead of __libc_creat.
20812         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
20813         to creat.
20814         (creat): Do not define as alias.
20815         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
20816         __libc_creat.
20817         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
20818         __libc_creat name.
20819         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
20820         Likewise.
20822 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
20824         * manual/llio.texi: Add comments discussing why write() may be
20825         considered MT-unsafe on Linux.
20827 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
20829         * dl-load.c (local_strdup): Remove.
20830         (expand_dynamic_string_token): Use __strdup.
20831         (decompose_rpath): Likewise.
20832         (_dl_map_object): Likewise.
20834 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
20836         [BZ #14132]
20837         * sysdeps/generic/unwind-dw2-fde.c
20838         (__register_frame_info_bases_internal): Do not declare.
20839         (__register_frame_info_table_bases_internal): Likewise.
20840         (__deregister_frame_info_bases_internal): Likewise.
20841         (__register_frame_info_bases): Declare and use hidden_proto before
20842         definition.  Use hidden_def instead of INTDEF.
20843         (__register_frame_info_table_bases): Likewise.
20844         (__deregister_frame_info_bases): Likewise.
20845         (__register_frame_info): Do not use INTUSE.
20846         (__register_frame): Likewise.
20847         (__register_frame_info_table): Likewise.
20848         (__register_frame_table): Likewise.
20849         (__deregister_frame_info): Likewise.
20850         (__deregister_frame): Likewise.
20852 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
20854         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20855         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
20856         not undefine.
20857         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
20858         Likewise.
20859         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
20860         Likewise.
20862 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
20864         [BZ #14138]
20865         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
20866         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
20867         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
20868         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
20869         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
20870         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
20871         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
20872         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
20873         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
20874         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
20875         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
20876         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
20877         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
20878         syscall.
20879         (setfsuid): Likewise.
20880         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
20881         (setfsuid): Likewise.
20882         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
20883         (setfsuid): Likewise.
20884         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
20885         Likewise.
20886         (setfsuid): Likewise.
20887         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
20888         (setfsuid): Likewise.
20889         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
20890         Likewise.
20891         (setfsuid): Likewise.
20893 2014-10-27  Andreas Schwab  <schwab@suse.de>
20895         [BZ #17501]
20896         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
20897         check for Slow_SSE4_2 feature bit.
20898         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
20899         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
20900         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
20901         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
20903 2014-10-24  Roland McGrath  <roland@hack.frob.com>
20905         * configure.ac: Validate compiler version with a empirical test of
20906         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
20907         $CC -v output.
20908         * configure: Regenerated.
20910         * inet/htons.c (htons): Prototypify.
20911         * inet/htonl.c (htonl): Likewise.
20913 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20915         * string/strncat.c (strncat): Improve performance by using strlen.
20917 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20919         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
20921 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20923         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
20924         Call libc_fetestexcept_aarch64.
20926 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20928         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
20929         Call libc_feholdexcept_aarch64.
20931 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20933         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
20934         Call get_rounding_mode.
20936 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20938         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
20939         Simplify logic.
20941 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20943         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
20944         Simplify logic.
20946 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
20948         [BZ #14138]
20949         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
20950         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
20951         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
20952         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
20953         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
20954         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
20955         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
20956         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
20957         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
20958         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
20959         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
20960         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
20961         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
20962         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
20963         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
20964         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
20965         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
20966         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
20967         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
20968         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
20969         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
20970         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
20971         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
20972         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
20973         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
20974         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
20975         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
20976         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
20977         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
20978         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
20979         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
20980         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
20981         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
20982         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
20983         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
20984         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
20985         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
20986         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
20987         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
20988         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
20989         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
20990         syscall.
20991         (geteuid): Likewise.
20992         (getgid): Likewise.
20993         (getuid): Likewise.
20994         (getresgid): Likewise.
20995         (getresuid): Likewise.
20996         (getgroups): Likewise.
20997         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
20998         (geteuid): Likewise.
20999         (getgid): Likewise.
21000         (getuid): Likewise.
21001         (getresgid): Likewise.
21002         (getresuid): Likewise.
21003         (getgroups): Likewise.
21004         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
21005         (geteuid): Likewise.
21006         (getgid): Likewise.
21007         (getuid): Likewise.
21008         (getresgid): Likewise.
21009         (getresuid): Likewise.
21010         (getgroups): Likewise.
21011         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
21012         Likewise.
21013         (geteuid): Likewise.
21014         (getgid): Likewise.
21015         (getuid): Likewise.
21016         (getresgid): Likewise.
21017         (getresuid): Likewise.
21018         (getgroups): Likewise.
21019         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
21020         (geteuid): Likewise.
21021         (getgid): Likewise.
21022         (getuid): Likewise.
21023         (getresgid): Likewise.
21024         (getresuid): Likewise.
21025         (getgroups): Likewise.
21026         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
21027         Likewise.
21028         (geteuid): Likewise.
21029         (getgid): Likewise.
21030         (getuid): Likewise.
21031         (getgroups): Likewise.
21033         [BZ #14138]
21034         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
21035         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
21036         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
21037         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
21038         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
21039         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
21040         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
21041         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
21042         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
21043         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
21044         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
21045         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
21046         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
21047         __chown.
21048         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
21049         (lchown): Likewise.
21050         (fchown): Likewise.
21051         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
21052         Likewise.
21053         (lchown): Likewise.
21054         (fchown): Likewise.
21055         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
21056         (lchown): Likewise.
21057         (fchown): Likewise.
21058         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
21059         Likewise.
21060         (lchown): Likewise.
21061         (fchown): Likewise.
21063 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
21065         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
21066         Simplify logic.
21068 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
21070         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
21071         Cleanup logic.
21073 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
21075         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
21076         Remove unused include.
21078 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
21080         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
21081         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
21082         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
21083         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
21085 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
21086             Helge Deller <deller@gmx.de>
21088         [BZ #17508]
21089         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
21090         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
21091         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
21093 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
21095         [BZ #14132]
21096         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
21097         Remove macro definition.
21098         (__ashrdi3_v_glibc20): Likewise.
21099         (__lshrdi3_v_glibc20): Likewise.
21100         (__cmpdi2_v_glibc20): Likewise.
21101         (__ucmpdi2_v_glibc20): Likewise.
21102         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
21103         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
21104         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
21105         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
21106         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
21107         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
21109 2014-10-22  Roland McGrath  <roland@hack.frob.com>
21111         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
21112         old GNU extension [0] syntax.
21113         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
21114         alloca rather than an array member with variable length.
21115         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
21116         * nscd/nscd.c (invalidate_db): New function, broken out of ...
21117         (parse_opt): ... here.  Likewise use alloca there.
21118         Validate the -i argument before checking for rootness.
21119         (send_shutdown): New function, broken out of ...
21120         (parse_opt): ... here.
21122 2014-10-22  Roland McGrath  <roland@hack.frob.com>
21124         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
21125         macro to get at the _rt_local_ro field.
21126         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
21127         ([PIC] case) or _dl_hwcap ([!PIC] case).
21128         * sysdeps/arm/setjmp.S: Likewise.
21130         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
21131         * sysdeps/arm/configure.ac: New check to define it.
21132         * sysdeps/arm/configure: Regenerated.
21133         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
21134         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
21135         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
21136         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
21137         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
21138         Use move/movt pair instead of a load.
21139         (LDST_GLOBAL): Macro removed.
21140         (LDR_GLOBAL): New macro replaces it.
21141         (LDR_HIDDEN): New macro.
21142         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
21143         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
21145         * setjmp/tst-setjmp-static.c: New file.
21146         * setjmp/Makefile (tests): Add it.
21147         (tests-static): New variable.
21149 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
21151         [BZ #17485]
21152         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
21154 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
21156         [BZ #14132]
21157         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
21159 2014-10-21  Roland McGrath  <roland@hack.frob.com>
21161         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
21163 2014-10-20  Roland McGrath  <roland@hack.frob.com>
21165         * io/fts.c (dirent_not_directory): New function.
21166         (fts_build): Call it.
21168 2014-10-20  Roland McGrath  <roland@hack.frob.com>
21170         * nptl/version.c (__nptl_main): Use normal __write rather than
21171         INTERNAL_SYSCALL.
21172         (banner): Update copyright years.
21174         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
21175         gettimeofday.
21176         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
21177         * nptl/pthread_cond_timedwait.c: Likewise.
21178         * nptl/pthread_mutex_timedlock.c: Likewise.
21179         * nptl/sem_timedwait.c: Likewise.
21181         * sysdeps/nptl/bits/libc-lock.h
21182         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
21183         (__libc_lock_init_recursive): Return void, not 0.
21184         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
21185         (__libc_rwlock_init): Likewise.
21186         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
21188 2014-10-20  Torvald Riegel  <triegel@redhat.com>
21190         [BZ #15215]
21191         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
21192         (__pthread_once_slow): ... here.
21193         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
21194         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
21196 2014-10-20  Torvald Riegel  <triegel@redhat.com>
21198         [BZ #15215]
21199         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
21200         __PTHREAD_ONCE_FORK_GEN_INCR): New.
21201         * sysdeps/nptl/fork.c (__libc_fork): Use them.
21202         * nptl/pthread_once.c (__pthread_once): Likewise.
21203         Update comments.
21205 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
21207         [BZ #14138]
21208         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
21209         name.
21210         (writev): Use __libc_writev as strong name.
21211         * sysdeps/unix/sysv/linux/readv.c: Remove file.
21212         * sysdeps/unix/sysv/linux/writev.c: Likewise.
21214 2014-10-17  Roland McGrath  <roland@hack.frob.com>
21216         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
21218         * sysdeps/i386/nptl/tls.h
21219         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
21220         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
21221         New macros.
21222         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
21223         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
21224         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
21225         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
21226         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
21227         Call CHECK_THREAD_SYSINFO instead of doing an assert.
21229         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
21230         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
21231         on [__NR_futex].
21232         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
21233         broken out of ...
21234         (__pthread_mutex_init): ... here.  Call it.
21235         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
21236         Conditionalize PI cases on [__NR_futex].
21237         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
21238         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
21239         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
21241         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
21242         conditional on [SIGSETXID].
21243         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
21244         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
21245         is defined.  Likewise for SIGSETXID.
21246         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
21247         Conditionalize definitions on [SIGSETXID].
21248         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
21249         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
21250         unblocking on [SIGCANCEL].
21252         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
21253         [__NR_set_robust_list].
21255 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21257         * string/strcoll_l.c (get_next_seq): Fix up formatting.
21258         (do_compare): Likewise.
21260 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
21262         [BZ #15884]
21263         * string/strcoll_l.c: Don't include stdio.h.
21264         (coll_seq): Remove members idxarr and rulearr.
21265         (get_next_seq_cached): Remove function.
21266         (get_next_seq): Likewise.
21267         (get_next_seq_nocache): Rename to get_next_seq.
21268         (do_compare): Remove function.
21269         (do_compare_nocache): Rename to do_compare.
21270         (STRCOLL): Remove weight and rules cache.
21272 2014-10-16  Roland McGrath  <roland@hack.frob.com>
21274         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
21275         * sysdeps/arm/sfp-machine.h: ... to here.
21276         * sysdeps/arm/Implies: Remove arm/soft-fp.
21278 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
21280         * conform/data/sys/utsname.h-data (*_t): Allow.
21281         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
21282         [POSIX] (WEXITED): Do not expect constant.
21283         [POSIX] (WSTOPPED): Likewise.
21284         [POSIX] (WNOHANG): Likewise.
21285         [POSIX] (WNOWAIT): Likewise.
21286         [POSIX] (siginfo_t): Do not expect type or elements.
21287         [POSIX] (pid_t): Do not expect type.
21288         [POSIX] (signal.h): Do not allow header.
21289         [POSIX] (sys/resource.h): Likewise.
21290         [POSIX] (si_*): Do not allow pattern.
21291         [POSIX] (W*): Likewise.
21292         [POSIX] (P_*): Likewise.
21293         [POSIX] (BUS_*): Likewise.
21294         [POSIX] (CLD_*): Likewise.
21295         [POSIX] (FPE_*): Likewise.
21296         [POSIX] (ILL_*): Likewise.
21297         [POSIX] (POLL_*): Likewise.
21298         [POSIX] (SEGV_*): Likewise.
21299         [POSIX] (SI_*): Likewise.
21300         [POSIX] (TRAP_*): Likewise.
21301         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
21302         variable.
21304 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
21306         [BZ #12926]
21307         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
21308         infinite loop when __recvmsg returns 0.
21310 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
21312         * CANCEL-FCT-WAIVE: Remove file.
21313         * CANCEL-FILE-WAIVE: Likewise.
21315         [BZ #14132]
21316         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
21317         instead of INTVARDEF.
21318         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
21319         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
21320         rtld_hidden_data_def instead of INTVARDEF.
21321         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
21322         * elf/dl-deps.c (expand_dst): Likewise.
21323         * elf/dl-load.c (_dl_dst_count): Likewise.
21324         (_dl_dst_substitute): Likewise.
21325         (decompose_rpath): Likewise.
21326         (_dl_init_paths): Likewise.
21327         (open_path): Likewise.
21328         (_dl_map_object): Likewise.
21329         * elf/rtld.c (dl_main): Likewise.
21330         (process_dl_audit): Likewise.
21331         (process_envvars): Likewise.
21332         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
21333         Remove declaration.
21334         (__libc_enable_secure): Use rtld_hidden_proto.
21336 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21338         * elf/dl-load.c
21339         (add_path): New function broken out of _dl_rtld_di_serinfo.
21340         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
21342 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
21344         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
21345         parentheses around macro arguments.
21346         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
21347         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
21348         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
21349         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
21350         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
21351         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
21352         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
21353         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
21354         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
21355         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
21356         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
21357         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
21358         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
21359         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
21360         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
21361         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
21362         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
21363         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
21364         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
21365         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
21366         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
21367         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
21368         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
21369         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
21370         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
21371         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
21372         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
21373         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
21374         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
21375         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
21376         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
21377         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
21378         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
21379         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
21380         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
21381         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
21382         Likewise.
21383         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
21384         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
21385         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
21386         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
21387         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
21388         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
21389         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
21390         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
21391         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
21392         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
21393         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
21394         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
21395         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
21396         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
21397         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
21398         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
21399         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
21400         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
21401         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
21402         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
21403         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
21404         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
21405         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
21406         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
21407         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
21408         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
21409         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
21410         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
21411         (_FP_FRAC_SRS_1): Likewise.
21412         (_FP_FRAC_CLZ_1): Likewise.
21413         (_FP_MUL_MEAT_1_imm): Likewise.
21414         (_FP_MUL_MEAT_1_wide): Likewise.
21415         (_FP_MUL_MEAT_1_hard): Likewise.
21416         (_FP_SQRT_MEAT_1): Likewise.
21417         (_FP_FRAC_ASSEMBLE_1): Likewise.
21418         (_FP_FRAC_DISASSEMBLE_1): Likewise.
21419         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
21420         (__FP_CLZ_2): Likewise.
21421         (_FP_MUL_MEAT_2_wide): Likewise.
21422         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
21423         (_FP_MUL_MEAT_2_gmp): Likewise.
21424         (_FP_MUL_MEAT_2_120_240_double): Likewise.
21425         (_FP_SQRT_MEAT_2): Likewise.
21426         (_FP_FRAC_ASSEMBLE_2): Likewise.
21427         (_FP_FRAC_DISASSEMBLE_2): Likewise.
21428         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
21429         (_FP_FRAC_CLZ_4): Likewise.
21430         (_FP_MUL_MEAT_4_wide): Likewise.
21431         (_FP_MUL_MEAT_4_gmp): Likewise.
21432         (_FP_SQRT_MEAT_4): Likewise.
21433         (_FP_FRAC_ASSEMBLE_4): Likewise.
21434         (_FP_FRAC_DISASSEMBLE_4): Likewise.
21435         * soft-fp/op-common.h (_FP_CMP): Likewise.
21436         (_FP_CMP_EQ): Likewise.
21437         (_FP_CMP_UNORD): Likewise.
21438         (_FP_TO_INT): Likewise.
21439         (_FP_FROM_INT): Likewise.
21440         [!__FP_CLZ] (__FP_CLZ): Likewise.
21441         (_FP_DIV_HELP_imm): Likewise.
21442         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
21443         Likewise.
21444         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
21445         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
21446         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
21447         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
21448         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
21449         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
21450         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
21451         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
21452         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
21453         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
21454         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
21455         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
21456         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
21457         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
21458         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
21459         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
21460         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
21461         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
21462         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
21463         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
21464         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
21465         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
21466         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
21467         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
21468         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
21469         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
21470         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
21471         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
21472         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
21473         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
21474         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
21475         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
21476         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
21477         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
21478         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
21479         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
21480         (FP_UNPACK_RAW_SP): Likewise.
21481         (FP_PACK_RAW_S): Likewise.
21482         (FP_PACK_RAW_SP): Likewise.
21483         (FP_UNPACK_S): Likewise.
21484         (FP_UNPACK_SP): Likewise.
21485         (FP_UNPACK_SEMIRAW_S): Likewise.
21486         (FP_UNPACK_SEMIRAW_SP): Likewise.
21487         (FP_PACK_S): Likewise.
21488         (FP_PACK_SP): Likewise.
21489         (FP_PACK_SEMIRAW_S): Likewise.
21490         (FP_PACK_SEMIRAW_SP): Likewise.
21491         (_FP_SQRT_MEAT_S): Likewise.
21492         (FP_CMP_S): Likewise.
21493         (FP_CMP_EQ_S): Likewise.
21494         (FP_CMP_UNORD_S): Likewise.
21495         (FP_TO_INT_S): Likewise.
21496         (FP_FROM_INT_S): Likewise.
21498         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
21500         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
21501         (FP_EX_INVALID_IMZ): Likewise.
21502         (FP_EX_INVALID_IMZ_FMA): Likewise.
21503         (FP_EX_INVALID_ISI): Likewise.
21504         (FP_EX_INVALID_ZDZ): Likewise.
21505         (FP_EX_INVALID_IDI): Likewise.
21506         (FP_EX_INVALID_SQRT): Likewise.
21507         (FP_EX_INVALID_CVI): Likewise.
21508         (FP_EX_INVALID_VC): Likewise.
21509         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
21510         "invalid" exceptions.
21511         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
21512         (_FP_ADD_INTERNAL): Likewise.
21513         (_FP_MUL): Likewise.
21514         (_FP_FMA): Likewise.
21515         (_FP_DIV): Likewise.
21516         (_FP_CMP_CHECK_NAN): Likewise.
21517         (_FP_SQRT): Likewise.
21518         (_FP_TO_INT): Likewise.
21519         (FP_EXTEND): Likewise.
21521 2014-10-09  Allan McRae  <allan@archlinux.org>
21523         * po/fr.po: Update French translation from translation project.
21525 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
21527         [BZ #14132]
21528         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
21529         of INTDEF.
21530         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
21531         (__cxa_atexit): Use libc_hidden_proto.
21532         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
21534         [BZ #14132]
21535         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
21536         declaration.
21537         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
21538         [!_ISOMAC] (__iswspace_l_internal): Likewise.
21539         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
21540         [!_ISOMAC] (__iswctype_internal): Likewise.
21541         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
21542         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
21543         alias.
21544         (fcntl): Remove __fcntl_internal alias.
21545         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
21546         __connect_internal alias.
21547         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
21548         Likewise.
21550         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
21551         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
21552         FP_DENORM_ZERO.
21553         (_FP_CHECK_FLUSH_ZERO): New macro.
21554         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
21555         (_FP_CMP): Likewise.
21556         (_FP_CMP_EQ): Likewise.
21557         (_FP_TO_INT): Do not set inexact for subnormal arguments if
21558         FP_DENORM_ZERO.
21559         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
21560         (FP_TRUNC): Likewise.
21562         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
21563         treated as invalid conversion, not as normal exponent.
21565         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
21566         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
21567         (_FP_CMP_EQ): Likewise.
21568         (_FP_CMP_UNORD): Likewise.
21569         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
21570         (FP_CMP_EQ_D): Likewise.
21571         (FP_CMP_UNORD_D): Likewise.
21572         * soft-fp/extended.h (FP_CMP_E): Likewise.
21573         (FP_CMP_EQ_E): Likewise.
21574         (FP_CMP_UNORD_E): Likewise.
21575         * soft-fp/quad.h (FP_CMP_Q): Likewise.
21576         (FP_CMP_EQ_Q): Likewise.
21577         (FP_CMP_UNORD_Q): Likewise.
21578         * soft-fp/single.h (FP_CMP_S): Likewise.
21579         (FP_CMP_EQ_S): Likewise.
21580         (FP_CMP_UNORD_S): Likewise.
21581         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
21582         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
21583         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
21584         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
21585         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
21586         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
21587         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
21588         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
21589         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
21590         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
21591         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
21592         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
21593         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
21594         to FP_CMP_Q.
21595         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
21596         FP_CMP_Q.
21597         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
21598         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
21599         FP_CMP_EQ_Q.
21600         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
21601         FP_CMP_Q.
21602         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
21603         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
21604         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
21605         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
21606         FP_CMP_EQ_Q.
21607         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
21608         FP_CMP_Q.
21609         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
21610         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
21611         FP_CMP_EQ_Q.
21612         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
21613         FP_CMP_Q.
21614         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
21615         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
21616         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
21617         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
21618         FP_CMP_EQ_Q.
21620         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
21621         a subnormal result, set the underflow exception if trapping on
21622         underflow is enabled.
21623         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
21624         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
21625         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
21626         redefine to 0.
21627         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
21628         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
21629         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
21630         * soft-fp/extendxftf2.c (__extendxftf2): Use
21631         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
21633         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
21634         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
21635         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
21636         FP_HANDLE_EXCEPTIONS.
21637         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
21638         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
21639         FP_HANDLE_EXCEPTIONS.
21640         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
21641         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
21642         FP_HANDLE_EXCEPTIONS.
21643         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
21644         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
21645         FP_HANDLE_EXCEPTIONS.
21647 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
21649         [BZ #14132]
21650         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
21651         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
21652         use INTUSE.
21653         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
21654         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
21655         Remove alias.
21656         (__adjtimex): Define using libc_hidden_ver.
21657         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
21658         Remove declaration.
21659         (ntp_gettime): Call __adjtimex directly.
21660         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
21661         Remove declaration.
21662         (ntp_gettimex): Call __adjtimex directly.
21663         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
21664         __adjtimex_internal alias.
21666 2014-10-08  Roland McGrath  <roland@hack.frob.com>
21668         [BZ #17460]
21669         * nscd/nscd.c (more_help): Rewrite list of tables collection
21670         using xstrdup and asprintf.
21672         * nscd/nscd_conf.c: Remove local xstrdup declaration.
21674 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21675             Roland McGrath  <roland@hack.frob.com>
21677         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
21678         (do_lookup_unique): ... local function 'enter' here; update callers.
21680 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
21682         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
21683         compat_symbol calls on [SHARED].
21684         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
21685         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
21686         Remove.
21687         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
21688         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
21689         (oldsetrlimit): Remove.
21690         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
21691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
21692         (lchown): New syscall entry.
21693         (oldsetrlimit): Remove.
21694         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
21695         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
21696         (oldsetrlimit): Remove.
21697         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
21699         [BZ #14138]
21700         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
21701         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
21702         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
21703         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
21704         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
21705         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
21706         (fchown): Likewise.
21707         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
21708         (fchown): Likewise.
21709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
21710         Likewise.
21712 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21714         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
21715         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
21716         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
21717         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
21718         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
21719         Likewise.
21720         (__old_sem_post): Likewise.
21722 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
21724         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
21725         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
21726         HAVE_CLOCK_GETTIME_VSYSCALL macros.
21727         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
21728         Use INLINE_VSYSCALL macro.
21729         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
21730         __vdso_clock_gettime.
21731         * sysdeps/unix/sysv/linux/tile/init-first.c
21732         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
21733         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
21734         __vdso_clock_gettime.
21736         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
21737         to set up frame more cleanly.
21739         * sysdeps/tile/memcmp.c: New file.
21741         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
21743         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
21744         * sysdeps/tile/tilegx/strcasestr.c: New file.
21745         * sysdeps/tile/tilegx/strnlen.c: New file.
21746         * sysdeps/tile/tilegx/strstr.c: New file.
21748         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
21750 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
21752         * nptl/tst-setuid3.c: Write errors to stdout.
21754 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21756         * elf/dl-deps.c
21757         (preload): New functions broken out of _dl_map_object_deps.
21758         (_dl_map_object_deps):  Remove a nested function. Update call sites.
21760 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
21762         [BZ #14138]
21763         * sysdeps/unix/sysv/linux/execve.c: Remove file.
21764         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
21766 2014-10-01  Steve Ellcey  <sellcey@mips.com>
21768         * sysdeps/mips/strcmp.S: New.
21770 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
21772         [BZ #14138]
21773         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
21774         (linkat): Likewise.
21775         (mkdirat): Likewise.
21776         (readlinkat): Likewise.
21777         (renameat): Likewise.
21778         (symlinkat): Likewise.
21779         (unlinkat): Likewise.
21780         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
21781         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
21782         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
21783         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
21784         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
21785         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
21786         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
21788 2014-09-30  Will Newton  <will.newton@linaro.org>
21790         * math/math.h: Define long double math functions if
21791         _LIBC_TEST is defined.
21792         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
21794         * localedata/Makefile: Move assignment to tests-special
21795         into an ifdef testing run-built-tests.
21796         * timezone/Makefile: Likewise.
21798 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
21800         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
21801         with $(BASH) not $(SHELL).
21803 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
21804             Matthew LeGendre  <legendre1@llnl.gov>
21806         [BZ #17411]
21807         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
21808         l_reloc_result.
21810 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21812         * stdio-common/printf_fp.c
21813         (hack_digit): New function, broken out of ...
21814         (__printf_fp): ... local function here.  Update call sites.
21815         hack_digit now takes an additional parameter that is a pointer
21816         to a struct of the referenced locals.  Those locals moved inside
21817         the struct and references updated.
21819 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
21821         * aclocal.m4: Require autoconf 2.69.
21822         * configure: Regenerated.
21823         * sysdeps/aarch64/configure: Likewise.
21824         * sysdeps/alpha/configure: Likewise.
21825         * sysdeps/arm/armv7/configure: Likewise.
21826         * sysdeps/arm/configure: Likewise.
21827         * sysdeps/ia64/configure: Likewise.
21828         * sysdeps/mach/configure: Likewise.
21829         * sysdeps/mips/configure: Likewise.
21830         * sysdeps/s390/configure: Likewise.
21831         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
21832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
21834         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
21835         file.
21836         * sysdeps/ia64/configure.ac: Likewise.
21838 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
21840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
21841         specify symbol version for ld.so.  Do not include entry for
21842         libpthread.
21843         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
21844         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
21845         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
21847         [BZ #14171]
21848         * Makeconfig [$(build-shared) = yes]
21849         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
21850         makefiles.
21851         [$(build-shared) = yes && $(soversions.mk-done) = t]
21852         ($(common-objpfx)gnu/lib-names.h): Remove rule.
21853         [$(build-shared) = yes && $(soversions.mk-done) = t]
21854         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
21855         to Makerules.
21856         [$(build-shared) = yes && $(soversions.mk-done) = t]
21857         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
21858         here.
21859         [$(build-shared) = yes && $(soversions.mk-done) = t]
21860         (common-generated): Don't append gnu/lib-names.h and
21861         gnu/lib-names.stmp here.
21862         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
21863         (lib-names-h-abi): New variable.
21864         [$(build-shared) = yes && $(soversions.mk-done) = t]
21865         (lib-names-stmp-abi): Likewise.
21866         [$(build-shared) = yes && $(soversions.mk-done) = t &&
21867         abi-variants] (before-compile): Append
21868         $(common-objpfx)$(lib-names-h-abi).
21869         [$(build-shared) = yes && $(soversions.mk-done) = t &&
21870         abi-variants] (common-generated): Append gnu/lib-names.h.
21871         [$(build-shared) = yes && $(soversions.mk-done) = t &&
21872         abi-variants] (install-others-nosubdir): Depend on
21873         $(inst_includedir)/$(lib-names-h-abi).
21874         [$(build-shared) = yes && $(soversions.mk-done) = t &&
21875         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
21876         [$(build-shared) = yes && $(soversions.mk-done) = t]
21877         ($(common-objpfx)$(lib-names-h-abi)): New rule.
21878         [$(build-shared) = yes && $(soversions.mk-done) = t]
21879         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
21880         [$(build-shared) = yes && $(soversions.mk-done) = t]
21881         (common-generated): Append $(lib-names-h-abi) and
21882         $(lib-names-stmp-abi).
21883         * scripts/lib-names.awk: Do not handle multi being set.
21884         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
21885         Remove variable.
21886         (abi-lp64_be-ld-soname): Likewise.
21887         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
21888         Likewise.
21889         (abi-hard-ld-soname): Likewise.
21890         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
21891         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
21892         Remove variable.
21893         (abi-o32_hard-ld-soname): Likewise.
21894         (abi-o32_soft_2008-ld-soname): Likewise.
21895         (abi-o32_hard_2008-ld-soname): Likewise.
21896         (abi-n32_soft-ld-soname): Likewise.
21897         (abi-n32_hard-ld-soname): Likewise.
21898         (abi-n32_soft_2008-ld-soname): Likewise.
21899         (abi-n32_hard_2008-ld-soname): Likewise.
21900         (abi-n64_soft-ld-soname): Likewise.
21901         (abi-n64_hard-ld-soname): Likewise.
21902         (abi-n64_soft_2008-ld-soname): Likewise.
21903         (abi-n64_hard_2008-ld-soname): Likewise.
21904         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
21905         Likewise.
21906         (abi-64-v2-ld-soname): Likewise.
21907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
21908         ld.so entries.
21909         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
21910         variable.
21911         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
21912         entry.
21913         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
21914         variable.
21915         (abi-64-ld-soname): Likewise.
21916         (abi-x32-ld-soname): Likewise.
21917         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
21918         entry.
21919         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
21921 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
21923         [BZ #14138]
21924         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
21925         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
21926         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
21927         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
21928         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
21929         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
21930         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
21931         syscall entry for GLIBC_2.2 symbol version.
21932         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
21933         Likewise.
21934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
21935         (setrlimit): Likewise.
21936         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
21937         Likewise.
21939 2014-09-23  Will Newton  <will.newton@linaro.org>
21941         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
21942         _LINUX_ARM_SYSDEP_H include guard too.
21943         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
21944         define.
21946 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
21948         * sysdeps/unix/sysv/linux/eventfd.c:
21949         Make first argument unsigned.
21950         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
21951         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
21953 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
21955         * socket/recvmmsg.c (recvmmsg): Drop const argument.
21956         * socket/sys/socket.h: Likewise
21957         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
21959 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21961         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
21963 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
21965         * time/tst-ftime.c: New test.
21966         * time/Makefile (tests): Add tst-ftime.
21968 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
21970         * soft-fp/extended.h: Fix comment formatting.
21971         * soft-fp/op-1.h: Likewise.
21972         * soft-fp/op-2.h: Likewise.
21973         * soft-fp/op-4.h: Likewise.
21974         * soft-fp/op-8.h: Likewise.
21975         * soft-fp/op-common.h: Likewise.
21976         * soft-fp/soft-fp.h: Likewise.
21978         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
21980 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
21982         [BZ #6652]
21983         * Makeconfig (soversions-default-setname): Remove variable.
21984         ($(common-objpfx)soversions.i): Don't pass default_setname to
21985         soversions.awk.
21986         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
21987         oldest_abi to abi-versions.awk.
21988         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
21989         * config.make.in (oldest-abi): Remove variable.
21990         * configure.ac (--enable-oldest-abi): Remove configure option.
21991         * configure: Regenerated.
21992         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
21993         text.
21994         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
21995         * scripts/soversions.awk: Do not handle default_setname variable.
21996         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
21997         variable.
21998         * sysdeps/mach/hurd/configure: Regenerated.
21999         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
22000         variable.
22001         * sysdeps/unix/sysv/linux/configure: Regenerated.
22003 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22005         * elf/Makefile (CFLAGS-interp.c): Remove.
22006         ($(elf-objpfx)runtime-linker.h): Generate header with linker
22007         path string.
22008         * elf/interp.c: Include generated runtime-linker.h
22010         * Makerules (lib%.so): Don't include $(+interp) in
22011         prerequisites.
22012         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
22013         * dlfcn/eval.c: Remove file.
22015         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
22016         macros.
22018         [BZ #17266]
22019         * misc/sys/cdefs.h: Define __extern_always_inline for clang
22020         4.2 and newer.
22022         [BZ #17370]
22023         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
22025 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22026             Jakub Jelinek  <jakub@redhat.com>
22028         [BZ #17266]
22029         * libio/stdio.h: Check definition of __fortify_function
22030         instead of __extern_always_inline to include bits/stdio2.h.
22031         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
22032         check if __extern_always_inline is defined.
22033         [__USE_MISC || __USE_XOPEN]: Likewise.
22034         [__USE_ISOC99] Likewise.
22035         * misc/sys/cdefs.h (__fortify_function): Define only if
22036         __extern_always_inline is defined.
22037         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
22038         __extern_always_inline and __extern_inline only for g++-4.3
22039         and newer or a compatible gcc.
22041 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
22043         [BZ #17371]
22044         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
22045         last change to handle zero prefix length.
22047 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22049         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
22050         _SC_REGEX_VERSION.
22052         * posix/getconf.c (vars): Add _POSIX_IPV6 and
22053         _POSIX_RAW_SOCKETS.
22055 2014-09-13  Allan McRae  <allan@archlinux.org>
22057         * po/ru.po: Update Russian translation from translation project.
22059 2014-09-12  Roland McGrath  <roland@hack.frob.com>
22061         * locale/programs/locale.c (show_locale_vars): Inline local function
22062         into its sole call site.  Clean up some style nits.
22063         (print_item): New function, broken out of ...
22064         (show_info): ... local function here.  Clean up style nits.
22066         * locale/programs/ld-ctype.c (set_one_default): New function, broken
22067         out of ...
22068         (set_class_defaults): ... local function set_default here.
22069         Define set_default as a macro locally to pass constant parameters.
22070         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
22071         rather than a shared local.
22073         * stdlib/rpmatch.c (try): New function, broken out of ...
22074         (rpmatch): ... local function here.  Also, prototypify definition.
22076 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
22078         * scripts/soversions.awk: Do not handle configuration names.
22079         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
22080         vendor and os variables to soversions.awk.
22081         * configure.ac: Do not modify gnu-* host_os.
22082         * configure: Regenerated
22083         * shlib-versions: Remove first column with configuration names.
22084         * nptl/shlib-versions: Likewise.
22085         * nptl_db/shlib-versions: Likewise.
22086         * sysdeps/hppa/shlib-versions: Likewise.
22087         * sysdeps/m68k/shlib-versions: Likewise.
22088         * sysdeps/mach/hurd/shlib-versions: Likewise.
22089         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
22090         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
22091         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
22092         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
22093         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
22094         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
22095         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
22096         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
22097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
22098         Likewise.
22099         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
22100         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
22101         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
22102         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
22103         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
22104         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
22105         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
22106         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
22108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
22109         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
22110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
22111         Regenerated.
22112         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
22113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
22114         Condition symbol version definitions on [HAVE_ELFV2_ABI].
22116         * shlib-versions: Remove OS-specific entries.  Moved to files in
22117         sysdeps.
22118         * sysdeps/mach/hurd/shlib-versions: New file.
22119         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
22121         * nptl/shlib-versions: Remove architecture-specific entries.
22122         Moved to files in sysdeps.
22123         * shlib-versions: Likewise.
22124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
22125         file.
22126         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
22127         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
22128         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
22129         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
22131         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
22132         (UDP_NO_CHECK6_RX): Likewise.
22134 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22136         * sysdeps/posix/sysconf.c (__sysconf): Spell
22137         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
22139 2014-08-12  Florian Weimer  <fweimer@redhat.com>
22141         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
22142         loading.
22143         * iconv/Versions (__gconv_transliterate): Export for use from
22144         gconv modules.
22145         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
22146         (struct __gconv_trans_data, __gconv_trans_fct,
22147         __gconv_trans_context_fct, __gconv_trans_query_fct,
22148         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
22149         definitions.
22150         (struct __gconv_step_data): Remove __trans member.
22151         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
22152         longer hidden.  Remove unused trans_data argument.
22153         * iconv/gconv_int.h (struct trans_struct): Remove definition.
22154         (__gconv_translit_find): Remove declaration.
22155         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
22156         prototype.
22157         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
22158         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
22159         trans_data argument.  Add hidden definition.
22160         (__gconv_translit_find): Remove.
22161         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
22162         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
22163         * iconv/skeleton.c: Remove transliteration initialization.
22164         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
22165         __gconv_step_data initialization.
22166         * libio/iofwide.c (__libio_translit_): Remove.
22167         (_IO_fwide): Adjust struct __gconv_step_data initialization.
22168         * wcsmbs/btowc.c (__btowc): Likewise.
22169         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
22170         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
22171         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
22172         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
22173         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
22174         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
22175         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
22176         * wcsmbs/wctob.c (wctob): Likewise.
22178 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22180         [BZ #16194]
22181         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
22182         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
22183         register usage.
22184         * sysdeps/x86/Makefile: Adjust.
22186 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22187             Roland McGrath  <roland@hack.frob.com>
22189         * locale/weight.h: Add include guard.
22190         (findidx): Make static rather than auto; take new parameters
22191         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
22192         * locale/weightwc.h: Likewise.
22193         * posix/fnmatch_loop.c
22194         (FCT): Change type of EXTRA from int32_t to wint_t.
22195         Don't include either header inside the function.
22196         Call FINDIDX rather than findidx, and pass new arguments.
22197         #undef FINDIDX at the end of the file.
22198         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
22199         FINDIDX before including fnmatch_loop.c for the non-wide version.
22200         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
22201         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
22202         for the wide version.
22203         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
22204         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
22205         Pass new arguments to findidx.
22206         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
22207         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
22208         Don't #include it inside the function.  Pass new arguments to findidx.
22209         * posix/regex_internal.h
22210         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
22211         (re_string_elem_size_at): Don't #include it inside the function.
22212         Pass new arguments to findidx.
22213         * string/strcoll_l.c: #include WEIGHT_H at top level.
22214         (get_next_seq): Don't #include it inside the function.
22215         Pass new arguments to findidx.
22216         (get_next_seq_nocache): Likewise.
22217         * string/strxfrm_l.c: #include WEIGHT_H at top level.
22218         (STRXFRM): Don't #include it inside the function.
22219         Pass new arguments to findidx.
22221 2014-09-11  Florian Weimer  <fweimer@redhat.com>
22223         [BZ #17344]
22224         * malloc/malloc.c (unlink): Turn asserts into a call to
22225         malloc_printerr.
22227 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
22229         [BZ #17370]
22230         * libio/wfileops (do_ftell_wide): Free OUT.
22232 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
22234         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
22236 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22238         [BZ #17363]
22239         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
22240         group if the current group is empty.
22242 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22244         * benchtests/bench-memset.c (test_main): Add more test from size
22245         from 32 to 512 bytes.
22246         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22247         Add POWER8 memset object.
22248         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22249         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
22250         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
22251         implementation.
22252         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
22253         Likewise.
22254         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
22255         multiarch POWER8 memset optimization.
22256         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
22257         POWER8 memset optimization.
22259         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22260         Remove bzero multiarch objects.
22261         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
22262         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
22263         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
22264         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
22265         Remove define.
22266         [__bzero]: Redefine to specific name.
22267         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
22268         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
22269         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
22270         define.
22271         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22272         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
22274 2014-09-10  Florian Weimer  <fweimer@redhat.com>
22276         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
22277         warnings into errors.
22279         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
22280         __cxa_thread_atexit_impl prototype.
22282 2014-09-09  Steve Ellcey  <sellcey@mips.com>
22284         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
22285         Fix capitalization of error message.
22287 2014-09-09  Steve Ellcey  <sellcey@mips.com>
22289         * sysdeps/mips/preconfigure: Modify ABI tests.
22291 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
22293         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
22295 2014-09-07  Roland McGrath  <roland@hack.frob.com>
22296             Carlos O'Donell  <carlos@systemhalted.org>
22298         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
22299         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
22300         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
22301         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
22302         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
22303         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
22304         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
22305         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
22306         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
22307         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
22308         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
22309         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
22310         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
22311         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
22312         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
22313         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
22314         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
22315         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
22316         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
22317         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
22318         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
22319         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
22320         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
22321         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
22322         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
22323         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
22324         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
22325         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
22326         Deconditionalize the code that was previously under [RESET_PID].
22327         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
22328         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
22329         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
22330         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
22331         include sysdep.h.
22333 2014-09-08  Allan McRae  <allan@archlinux.org>
22335         * version.h (RELEASE): Set to "development".
22336         (VERSION): Set to "2.20.90"
22338 2014-09-07  Allan McRae  <allan@archlinux.org
22340         * version.h (RELEASE): Set to "stable".
22341         (VERSION): Set to "2.20"
22342         * include/features.h (__GLIBC_MINOR__): Set to 20.
22344         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
22345         Liebler.
22347         * po/ko.po: Update Korean translation from translation project.
22349 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
22351         [BZ #17354]
22352         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
22353         macro for handling signed relocations.
22355 2014-09-03  Florian Weimer  <fweimer@redhat.com>
22357         [BZ #17325]
22358         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
22359         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
22360         assert.
22361         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
22362         * iconvdata/ibm935.c (BODY): Likewise.
22363         * iconvdata/ibm937.c (BODY): Likewise.
22364         * iconvdata/ibm939.c (BODY): Likewise.
22365         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
22366         assert.
22367         * iconvdata/Makefile (iconv-test.out): Pass module list to test
22368         script.
22369         * iconvdata/run-iconv-test.sh: New test loop for checking for
22370         decoder crashers.
22372 2014-09-02  Khem Raj  <raj.khem@gmail.com>
22374         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
22375         libm_hidden_ver.
22377 2014-09-01  Allan McRae  <allan@archlinux.org>
22379         * po/eo.po: Update Esperanto translation from translation project.
22381         * po/ca.po: Update Catalan translation from translation project.
22383 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22385         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
22386         __proc_dostop call.
22388 2014-08-27  Mark Wielaard  <mjw@redhat.com>
22390         [BZ #17319]
22391         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
22392         to call set_thread_area instead of hand written asm.
22393         (__NR_set_thread_area): Removed define.
22394         (TLS_FLAG_WRITABLE): Likewise.
22395         (__ASSUME_SET_THREAD_AREA): Remove check.
22396         (TLS_EBX_ARG): Remove define.
22397         (TLS_LOAD_EBX): Likewise.
22399 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22401         Simplify atomicity of socket creation in bind.
22403         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
22404         looking up the name after linking the file.
22406 2014-08-27  Allan McRae  <allan@archlinux.org>
22408         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22410 2014-08-26  Florian Weimer  <fweimer@redhat.com>
22412         [BZ #17187]
22413         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
22414         trans_compare, open_translit, __gconv_translit_find):
22415         Remove module loading code.
22417 2014-08-26  Allan McRae  <allan@archlinux.org>
22419         * po/vi.po: Update Vietnamese translation from translation project.
22421         * po/uk.po: Update Ukrainian translation from translation project.
22423         * po/fr.po: Update French translation from translation project.
22425         * po/ru.po: Update Russian translation from translation project.
22427         * po/pl.po: Update Polish translation from translation project.
22429         * po/cs.po: Update Czech translation from translation project.
22431         * po/de.po: Update German translation from translation project.
22433         * po/bg.po: Update Bulgarian translation from translation project.
22435         * po/sv.po: Update Sweedish translation from translation project.
22437         * po/nl.po: Update Dutch translation from translation project.
22439         * po/es.po: Update Spanish translation from translation project.
22441 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22443         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
22445         * catgets/Makefile (CPPFLAGS-gencat): Remove.
22446         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
22447         (CPPFLAGS-iconvconfig): Likewise.
22448         * timezone/Makefile (CPPFLAGS-zic): Likewise.
22450         * include/libc-symbols.h: Remove unnecessary check for
22451         NOT_IN_libc.
22452         * nptl/pthreadP.h: Likewise.
22453         * sysdeps/aarch64/setjmp.S: Likewise.
22454         * sysdeps/alpha/setjmp.S: Likewise.
22455         * sysdeps/arm/sysdep.h: Likewise.
22456         * sysdeps/i386/setjmp.S: Likewise.
22457         * sysdeps/m68k/setjmp.c: Likewise.
22458         * sysdeps/posix/getcwd.c: Likewise.
22459         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
22460         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
22461         * sysdeps/s390/s390-32/setjmp.S: Likewise.
22462         * sysdeps/s390/s390-64/setjmp.S: Likewise.
22463         * sysdeps/sh/sh3/setjmp.S: Likewise.
22464         * sysdeps/sh/sh4/setjmp.S: Likewise.
22465         * sysdeps/unix/alpha/sysdep.h: Likewise.
22466         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
22467         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22468         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
22469         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
22471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22472         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22473         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22474         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22475         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22476         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22477         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
22478         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22479         * sysdeps/x86_64/setjmp.S: Likewise.
22481 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
22483         [BZ #17263]
22484         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
22485         <stdint.h>.
22486         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
22487         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
22489 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
22491         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
22493         [BZ #17262]
22494         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
22495         and __x86_64__ when disabling x87 inline functions.
22497 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
22499         [BZ #17259]
22500         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
22501         asm statement with __cpuid_count.
22503 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
22505         * configure.ac: Change __ehdr_start code to dereference the struct.
22506         Run readelf on the output to look for relocations.
22507         * configure: Regenerated.
22509 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
22511         [BZ #17261]
22512         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
22513         value to 0.
22514         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
22516 2014-08-12  Roland McGrath  <roland@hack.frob.com>
22518         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
22520 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
22522         [BZ #16892]
22523         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
22524         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
22526 2014-08-12  Sean Anderson  <seanga2@gmail.com>
22528         * malloc/malloc.c: Fix typo in comment.
22530 2014-08-09  Allan McRae  <allan@archlinux.org>
22532         * Regenerate libc.po.
22534 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
22536         * intl/tst-gettext2.sh: Check every lang file for creation.
22538 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
22540         * sysdeps/aarch64/fpu/math_private.h
22541         (libc_feholdsetround_noex_aarch64_ctx): New function.
22543 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
22545         * sysdeps/arm/armv6/strcpy.S (strcpy):
22546         Fix performance issue in misaligned cases.
22548 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22550         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
22551         Move definition from termios.h.
22552         (struct termio): Likewise.
22553         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
22554         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
22555         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
22556         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
22557         Likewise.
22558         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
22559         Move definition to ioctl-types.h
22560         (struct termio): Likewise.
22561         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
22562         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
22563         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
22564         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
22565         Likewise.
22567 2014-08-05  Richard Henderson  <rth@redhat.com>
22569         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
22570         exceptions.
22571         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
22572         Add fraiseexcpt.
22573         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
22574         Use __feraiseexcept.
22575         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
22576         Protect libm symbols with IS_IN_libm.
22578         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
22580 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
22582         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
22584 2014-08-04  Will Newton  <will.newton@linaro.org>
22586         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
22587         file.
22589 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
22591         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
22592         variants for each function.
22594 2014-08-04  Roland McGrath  <roland@hack.frob.com>
22596         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
22597         appended ...
22598         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
22599         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
22600         appended ...
22601         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
22602         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
22603         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
22604         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
22605         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
22606         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
22607         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
22608         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
22609         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
22610         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
22611         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
22612         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
22613         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
22614         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
22615         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
22616         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
22617         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
22618         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
22619         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
22620         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
22621         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
22622         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
22623         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
22624         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
22625         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
22626         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
22627         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
22628         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
22629         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
22630         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
22631         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
22632         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
22633         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
22634         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
22635         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
22636         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
22637         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
22638         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
22639         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
22640         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
22641         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
22642         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
22643         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
22644         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
22645         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
22646         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
22647         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
22648         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
22649         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
22650         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
22651         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
22652         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
22653         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
22654         Update #include.
22655         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
22656         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
22658 2014-08-04  Roland McGrath  <roland@hack.frob.com>
22660         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
22661         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
22662         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
22663         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
22664         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
22665         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
22667 2014-08-04  Roland McGrath  <roland@hack.frob.com>
22669         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
22670         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
22671         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
22672         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
22674 2014-08-04  Roland McGrath  <roland@hack.frob.com>
22676         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
22677         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
22678         (__libc_vfork): Define function under this name.
22679         (__vfork): Define as an alias.
22680         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
22681         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
22683 2014-08-04  Roland McGrath  <roland@hack.frob.com>
22685         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
22686         that was previously under [RESET_PID].
22687         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
22689 2014-08-04  Andreas Schwab  <schwab@suse.de>
22691         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
22693 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
22695         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
22696         (main): Likewise.
22698 2014-08-01  Roland McGrath  <roland@hack.frob.com>
22700         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
22702 2014-08-01  Richard Henderon  <rth@redhat.com>
22704         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
22705         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
22706         typo in exact zero test.
22707         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22708         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22709         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22711 2014-08-01  Roland McGrath  <roland@hack.frob.com>
22713         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
22714         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
22715         * sysdeps/arm/sysdep.h: ... here.
22716         [!__ASSEMBLER__]: Include <stdint.h>.
22718 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
22720         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
22721         (HAVE_WCTYPE_H): Likewise.
22722         (HAVE_ISWCTYPE): Likewise.
22723         (ENABLE_NLS): Likewise.
22724         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
22725         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
22727         * posix/regex_internal.c: Check if DEBUG is defined and is
22728         set.
22730         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
22731         (HAVE_MBSRTOWCS): Likewise.
22732         * posix/fnmatch.c: Include string.h unconditionally.
22734 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
22736         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
22737         reversal.
22739 2014-07-31  Roland McGrath  <roland@hack.frob.com>
22741         * sysdeps/generic/safe-fatal.h: New file.
22742         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
22743         * nptl/forward.c: Include it.
22744         (__pthread_unwind): Use __safe_fatal as default action, rather
22745         than a bogus use of INTERNAL_SYSCALL that could never work.
22747         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
22748         * configure.ac (libc_cv_builtin_trap): New test.
22749         * configure: Regenerated.
22750         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
22751         (ABORT_INSTRUCTION): Define using __builtin_trap.
22753         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
22754         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
22755         * sysdeps/nptl/nptl-signals.h: New file.
22756         * nptl/pthreadP.h: Include <nptl-signals.h>.
22758 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
22760         * sysdeps/s390/s390-64/utf16-utf32-z9.c
22761         (ONE_DIRECTION): Define.
22762         * sysdeps/s390/s390-64/utf8-utf16-z9.c
22763         (ONE_DIRECTION): Define.
22764         * sysdeps/s390/s390-64/utf8-utf32-z9.c
22765         (ONE_DIRECTION): Define.
22767 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
22769         * sysdeps/s390/Makefile: Delete file.
22770         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
22771         * sysdeps/s390/__longjmp.c: Delete file.
22772         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
22773         Remove fields __flags and __reserved.
22774         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
22775         and add versioning.
22776         * sysdeps/s390/rtld-__longjmp.c: Delete file.
22777         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
22778         * sysdeps/s390/rtld-setjmp.S: Likewise.
22779         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
22780         * sysdeps/s390/s390-32/__longjmp.c: ... here.
22781         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
22782         * sysdeps/s390/s390-32/setjmp.S: ... here.
22783         Add versioning.
22784         (__sigsetjmp): Remove setting __flags field.
22785         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
22786         * sysdeps/s390/s390-64/__longjmp.c: ... here.
22787         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
22788         * sysdeps/s390/s390-64/setjmp.S: ... here.
22789         Add versioning.
22790         (__sigsetjmp): Remove setting __flags field.
22791         * sysdeps/s390/setjmp.S: Delete file.
22792         * sysdeps/s390/sigjmp.c: Likewise.
22793         * sysdeps/s390/v1-longjmp.c: Likewise.
22794         * sysdeps/s390/v1-setjmp.h: Likewise.
22795         * sysdeps/s390/v1-sigjmp.c: Likewise.
22796         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
22797         Remove v1-longjmp_chk.
22798         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
22799         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
22800         Include debug/longjmp_chk.c and add versioning.
22801         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
22802         Include nptl/pt-longjmp.c and add versioning.
22803         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
22804         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
22805         Include __longjmp.c.
22806         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
22807         Move to ...
22808         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
22809         (__getcontext): Remove setting __flags field.
22810         Add versioning.
22811         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22812         Don't restore upper high grps.
22813         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
22814         Likewise.
22815         (__swapcontext): Remove setting uc_flags field.
22816         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
22817         Delete file.
22818         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
22819         Include __longjmp.c.
22820         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
22821         Move to ...
22822         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
22823         (__getcontext): Remove setting __flags field.
22824         Add versioning.
22825         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
22826         (__swapcontext): Remove setting uc_flags field.
22827         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
22828         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
22829         Remove fields uc_high_gprs and __reserved.
22830         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
22831         New file with reverted content.
22832         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
22833         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
22834         Regenerated.
22835         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
22836         Regenerated.
22838 2014-07-31  Andreas Schwab  <schwab@suse.de>
22840         * config.h.in (HAVE_IFUNC): Define to 0.
22841         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
22842         definedness.
22844 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
22846         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22847         memmove-avx-unaligned, memcpy-avx-unaligned and
22848         mempcpy-avx-unaligned.
22849         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22850         Add tests for AVX memcpy functions.
22851         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
22852         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
22853         memcpy_chk.
22854         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
22855         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
22856         memmove_chk.
22857         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
22858         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
22859         mempcpy_chk.
22860         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
22861         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
22862         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
22864 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22866         [BZ #17213]
22867         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
22868         powerpc64le.
22870 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
22872         [BZ #16839]
22873         * manual/llio.texi: Add section about open file description locks.
22874         * manual/examples/ofdlocks.c: Example of open file description
22875         lock usage.
22876         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
22877         F_OFD_SETLK, and F_OFD_SETLKW.
22879 2014-07-23  Allan McRae  <allan@archlinux.org>
22881         * po/es.po: Update Spanish translation from translation project.
22883 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
22885         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
22887 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
22889         [BZ #17078]
22890         * sysdeps/arm/dl-machine.h (elf_machine_rela)
22891         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
22892         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
22894 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
22896         [BZ #17088]
22897         * math/fesetenv.c (__fesetenv)
22898         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
22899         * math/feupdateenv.c (__feupdateenv)
22900         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
22902         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
22903         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
22904         (__ASSUME_SOCKETCALL): Do not define.
22906         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
22907         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
22908         (__ASSUME_SOCKETCALL): Do not define.
22909         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
22910         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
22911         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22912         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
22913         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22914         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
22915         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22916         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22918         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
22919         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
22920         (__ASSUME_SOCKETCALL): Do not define.
22921         (__ASSUME_IPC64): Define unconditionally.
22922         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
22923         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22924         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
22925         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22926         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
22927         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22928         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
22929         Likewise.
22931         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
22932         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
22933         (__ASSUME_SOCKETCALL): Do not define.
22934         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
22935         (__ASSUME_FUTEX_LOCK_PI): Likewise.
22936         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22937         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
22938         (__ASSUME_REQUEUE_PI): Define unconditionally.
22939         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
22940         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
22941         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22942         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
22943         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22944         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22946         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
22947         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
22948         (__ASSUME_SOCKETCALL): Do not define.
22949         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
22950         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22951         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22952         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
22953         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22954         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22956         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
22957         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
22958         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22959         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
22960         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22961         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
22962         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22963         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
22964         (__ASSUME_GETCPU_SYSCALL): Likewise.
22966         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
22967         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
22968         cases for individual architectures.
22969         * sysdeps/gnu/configure: Regenerated.
22970         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
22971         LIBC_SLIBDIR_RTLDDIR.
22972         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
22973         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
22974         LIBC_SLIBDIR_RTLDDIR.
22975         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
22976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
22977         LIBC_SLIBDIR_RTLDDIR.
22978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
22979         Regenerated.
22980         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
22981         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
22982         file.
22983         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
22984         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
22985         file.
22986         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
22987         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
22988         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
22989         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
22991         * sysdeps/aarch64/shlib-versions: Move to ...
22992         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
22993         * sysdeps/alpha/shlib-versions: Move to ...
22994         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
22995         * sysdeps/arm/shlib-versions: Move to ...
22996         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
22997         * sysdeps/hppa/shlib-versions: Move all contents except for
22998         libgcc_s entry to ...
22999         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
23000         entry from ...
23001         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
23002         * sysdeps/ia64/shlib-versions: Move to ...
23003         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
23004         entry from ...
23005         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
23006         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
23007         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
23008         * sysdeps/microblaze/shlib-versions: Move to ...
23009         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
23010         * sysdeps/mips/shlib-versions: Move to ...
23011         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
23012         entry from ...
23013         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
23014         * sysdeps/tile/shlib-versions: Move to ...
23015         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
23016         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
23017         from ...
23018         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
23019         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
23020         entry from ...
23021         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
23023 2014-07-17  Will Newton  <will.newton@linaro.org>
23025         * sysdeps/arm/bits/atomic.h
23026         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
23027         (__arch_compare_and_exchange_bool_16_int): Likewise.
23028         (__arch_compare_and_exchange_bool_64_int): Likewise.
23030         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
23031         into an #else block.
23033 2014-07-16  Roland McGrath  <roland@hack.frob.com>
23035         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
23036         just Linux configurations.  Test empirically that the compiler sets
23037         __ARM_EABI__, rather than using the tuple to decide.
23038         * sysdeps/arm/preconfigure: Regenerated.
23039         * sysdeps/unix/sysv/linux/arm/configure: File removed.
23040         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
23041         contents appended ...
23042         * sysdeps/arm/configure.ac: ... here.
23043         * sysdeps/arm/configure: Regenerated.
23045 2014-07-15  Roland McGrath  <roland@hack.frob.com>
23047         * nptl/pthread_kill.c: New file.
23048         * nptl/pthread_sigmask.c: New file.
23049         * nptl/pthread_sigqueue.c: New file.
23051         * sysdeps/nptl/lowlevellock.h: New file.
23052         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
23053         * sysdeps/nptl/lowlevellock-futex.h: New file.
23055         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
23056         Remove dead declarations.
23058 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
23060         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
23061         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
23062         config-cflags-avx2.
23063         * sysdeps/x86_64/configure.ac: Likewise.
23064         * sysdeps/i386/configure: Regenerated.
23065         * sysdeps/x86_64/configure: Likewise.
23066         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23067         memset-avx2 only if config-cflags-avx2 is yes.
23068         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23069         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
23070         defined.
23071         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
23072         only if HAVE_AVX2_SUPPORT is defined.
23073         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23075 2014-07-14  Alan Modra  <amodra@gmail.com>
23077         [BZ #17153]
23078         * elf/elf.h (DT_PPC64_NUM): Correct value.
23079         * NEWS: Add to fixed bug list.
23081 2014-07-13  Jim Meyering  <meyering@fb.com>
23083         [BZ 17150]
23084         regex: don't deref NULL upon heap allocation failure
23085         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
23086         failure in one more place.
23087         To trigger the segfault, configure grep -with-included-regex,
23088         build it, and run these commands:
23089         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
23091 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
23093         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
23095 2014-07-11  Richard Henderson  <rth@redhat.com>
23097         * sysdeps/aarch64/libm-test-ulps: Update.
23099 2014-07-10  Florian Weimer  <fweimer@redhat.com>
23101         [BZ #17135]
23102         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
23103         * nptl/allocatestack.c (__nptl_setxid_error): New function.
23104         (__nptl_setxid): Initialize error member.  Call
23105         __nptl_setxid_error.
23106         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
23107         * nptl/descr.h (struct xid_command): Add error member.
23108         * nptl/tst-setuid3.c: New file.
23109         * nptl/Makefile (tests): Add it.
23111 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23113         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
23114         New define.
23115         (__lll_trylock): Use __lll_base_trylock.
23116         (__lll_cond_trylock): Likewise.
23118 2014-07-10  Roland McGrath  <roland@hack.frob.com>
23120         * nptl/pthread_create.c (start_thread): Use atomic_or and
23121         lll_futex_wake directly rather than lll_robust_dead.
23122         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
23123         (lll_robust_dead): Macro removed.
23124         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
23125         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
23126         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
23127         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
23128         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
23129         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
23130         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
23131         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
23132         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
23133         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
23134         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
23135         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23136         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
23137         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
23138         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
23140         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
23141         Use atomic_compare_and_exchange_val_acq directly rather than
23142         lll_robust_trylock.
23143         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
23144         (__lll_robust_trylock, lll_robust_trylock): Removed.
23145         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
23146         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
23147         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
23148         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
23149         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
23150         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
23151         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
23152         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
23153         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
23154         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
23155         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23156         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
23157         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
23158         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
23160 2014-07-02  Florian Weimer  <fweimer@redhat.com>
23162         * manual/locale.texi (Locale Names): New section documenting
23163         locale name syntax.  Adjust menu and node chaining accordingly.
23164         (Choosing Locale): Reference Locale Names, Locale Categories.
23165         Mention setting LC_ALL=C.  Reflect that name syntax is now
23166         documented.
23167         (Locale Categories): New section title.  Reference Locale Names.
23168         LC_ALL is an environment variable, but not a category.
23169         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
23170         description, now in Locale Name.  Reference that section.  Locale
23171         name syntax is now documented.
23173 2014-07-02  Florian Weimer  <fweimer@redhat.com>
23175         [BZ #17137]
23176         * locale/findlocale.c (name_present, valid_locale_name): New
23177         functions.
23178         (_nl_find_locale): Use the loc_name variable to store name
23179         candidates.  Call name_present and valid_locale_name to check and
23180         validate locale names.  Return an error if the locale is invalid.
23182 2014-07-02  Florian Weimer  <fweimer@redhat.com>
23184         * locale/setlocale.c (setlocale): Use strdup for allocating
23185         composite name copy.
23187 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23189         Sync up with gnulib.
23190         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
23191         [!_LIBC && ENABLE_NLS]: Include gettext.h.
23192         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
23193         and _GL_ARG_NONNULL.
23194         [USE_UNLOCKED_IO]: Include unlocked-io.h.
23195         [!_LIBC]: Include code for Windows and Cygwin.
23196         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
23197         Include prototype for int strerror_r.
23198         [!_LIBC] (is_open): New function.
23199         (flush_stdout): New function.
23200         (print_errno_message): Use it.
23201         (error): Likewise.
23202         (error_at_line): Likewise.
23203         (error_tail) Add function attribute macros.  Use
23204         __builtin_expect.
23206         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
23208         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
23210         * io/ftw.c: Include sys/param.h unconditionally.
23212         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
23214         [BZ #17125]
23215         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
23216         libc_freeres_ptr.
23217         (freecache): New function to free CACHE on exit.
23219         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
23220         initialization.
23222 2014-07-09  David S. Miller  <davem@davemloft.net>
23224         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23226         * sysdeps/sparc/nptl/internaltypes.h: Delete.
23227         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
23228         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
23229         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
23230         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
23231         * sysdeps/sparc/nptl/sem_init.c: Likewise.
23232         * sysdeps/sparc/nptl/sem_post.c: Likewise.
23233         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
23234         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
23235         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
23236         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
23237         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
23238         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
23240 2014-07-09  Andreas Schwab  <schwab@suse.de>
23242         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
23243         output.
23244         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
23245         (do_test): Likewise.
23247         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23249 2014-07-09  Will Newton  <will.newton@linaro.org>
23251         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
23252         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
23253         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
23254         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
23255         * sysdeps/hppa/start.S (_start): Likewise.
23257 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
23259         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
23261         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
23262         defined.
23264 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23266         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
23267         after checking that it is non-NULL.
23269         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
23271 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23273         * sysdeps/powerpc/memmove.c: Remove file.
23274         * sysdeps/powerpc/powerpc32/power4/memcopy.h
23275         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
23276         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
23277         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
23278         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
23279         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
23280         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
23281         string memmove instead of removed powerpc one.
23283         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
23284         [weak_alias]: Fix compiler warning due trailing data.
23285         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
23286         [weak_alias]: Likewise.
23287         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
23288         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
23290         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23291         (__libc_ifunc_impl_list): Add memmove functions.
23293 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23295         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
23296         Remove code.
23297         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
23298         Likewise
23299         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
23300         Likewise
23301         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
23302         Likewise
23303         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
23304         Likewise
23305         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
23306         Likewise
23307         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
23308         Likewise
23309         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
23310         Likewise
23311         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
23312         Likewise
23313         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
23314         Likewise
23315         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
23316         Likewise
23317         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
23318         Likewise
23319         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
23320         Likewise
23321         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
23322         Likewise
23323         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
23324         Likewise
23325         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
23326         Likewise
23327         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
23328         Likewise
23330 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23332         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
23333         to avoid alignment traps in non-cacheable memory.
23334         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
23336         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
23337         multiarch objects.
23338         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
23339         file: multiarch power7 memmove.
23340         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
23341         multiarch default memmove.
23342         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
23343         multiarch memove for powerpc32/power4.
23345         * string/bcopy.c: Use full path to include memmove.c.
23346         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
23347         multiarch objects.
23348         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
23349         bcopy for powerpc64.
23350         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
23351         bcopy for powerpc64.
23352         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
23353         and memmove implementations.
23354         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
23355         optimized multiarch memmove for POWER7/powerpc64.
23356         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
23357         default multiarch memmove for powerpc64.
23358         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
23359         multiarch for powerpc64.
23360         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
23361         for POWER7/powerpc64.
23362         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
23363         memmove for POWER7/powerpc64.
23365         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
23366         glibc default one.
23368         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
23369         __ELF_NATIVE_CLASS equal to 64.
23371 2014-07-07  Roland McGrath  <roland@hack.frob.com>
23373         * sysdeps/nptl/lowlevellock.h: File removed.
23375         * NEWS: NPTL is no longer an add-on!
23376         * nptl/internaltypes.h: Moved ...
23377         * sysdeps/nptl/internaltypes.h: ... here.
23378         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
23379         * sysdeps/nptl/fork.c: Likewise.
23380         * sysdeps/nptl/gai_misc.h: Likewise.
23381         * sysdeps/nptl/librt-cancellation.c: Likewise.
23382         * sysdeps/nptl/jmp-unwind.c: Likewise.
23383         * sysdeps/nptl/setxid.h: Likewise.
23384         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
23385         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
23386         * sysdeps/unix/sysv/linux/arm/Implies: New file.
23387         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
23388         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
23389         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
23390         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
23391         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
23392         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
23393         * sysdeps/unix/sysv/linux/mips/Implies: New file.
23394         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
23395         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
23396         * sysdeps/unix/sysv/linux/sh/Implies: New file.
23397         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
23398         * sysdeps/unix/sysv/linux/tile/Implies: New file.
23399         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
23400         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
23401         * nptl/Makeconfig: Moved ...
23402         * sysdeps/nptl/Makeconfig: ... here.
23403         * nptl/configure: File removed.
23404         * nptl/ANNOUNCE: File removed.
23405         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
23406         * sysdeps/unix/sysv/linux/configure: Regenerated.
23408         * nptl/Makefile (routines): Add libc_pthread_init,
23409         libc_multiple_threads, register-atfork and unregister-atfork.
23410         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
23411         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
23412         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
23413         pthread-pi-defines.sym, structsem.sym.
23414         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
23415         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
23416         [$(subdir) = nptl] (tests): Add tst-setgetname.
23417         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
23418         * sysdeps/unix/sysv/linux/sigaction.c: Just include
23419         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
23420         [!LIBC_SIGACTION]: Remove aliases.
23421         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
23422         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
23423         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
23424         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
23425         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
23426         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
23427         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
23428         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
23429         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
23430         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
23431         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
23432         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
23433         __libc_allocate_rtsig_private.
23434         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
23435         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
23436         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
23437         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
23438         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
23439         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
23440         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
23441         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
23442         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
23443         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
23444         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
23445         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
23446         * nptl/internaltypes.h: ... here.
23447         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
23448         * sysdeps/nptl/jmp-unwind.c: ... here.
23449         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
23450         * nptl/libc-lowlevellock.c: ... here.
23451         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
23452         * nptl/libc_multiple_threads.c: ... here.
23453         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
23454         * nptl/libc_pthread_init.c: ... here.
23455         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
23456         * nptl/lowlevelbarrier.sym: ... here.
23457         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
23458         * nptl/lowlevelcond.sym: ... here.
23459         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
23460         * nptl/lowlevellock.c: ... here.
23461         * nptl/lowlevellock.h: Moved ...
23462         * sysdeps/nptl/lowlevellock.h: ... here.
23463         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
23464         * nptl/lowlevelrobustlock.c: ... here.
23465         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
23466         * nptl/lowlevelrobustlock.sym: ... here.
23467         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
23468         * nptl/lowlevelrwlock.sym: ... here.
23469         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
23470         * nptl/pt-fork.c: ... here.
23471         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
23472         * nptl/pthread-pi-defines.sym: ... here.
23473         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
23474         * nptl/pthread_attr_getaffinity.c: ... here.
23475         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
23476         * nptl/pthread_attr_setaffinity.c: ... here.
23477         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
23478         * nptl/pthread_mutex_cond_lock.c: ... here.
23479         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
23480         Update #include.
23481         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
23482         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
23483         * nptl/pthread_once.c: ... here, replacing old file.
23484         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
23485         * nptl/pthread_yield.c: ... here.
23486         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
23487         * nptl/register-atfork.c: ... here.
23488         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
23489         * nptl/sem_post.c: ... here.
23490         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
23491         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
23492         * nptl/sem_timedwait.c: ... here.
23493         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
23494         * nptl/sem_trywait.c: ... here.
23495         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
23496         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
23497         * nptl/sem_wait.c: ... here.
23498         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
23499         * nptl/structsem.sym: ... here.
23500         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
23501         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
23502         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
23503         * nptl/unregister-atfork.c: ... here.
23504         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
23505         * nptl/unwindbuf.sym: ... here.
23506         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
23507         * sysdeps/nptl/fork.c: ... here.
23508         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
23509         * sysdeps/nptl/fork.h: ... here.
23510         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
23511         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
23512         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
23513         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
23514         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
23515         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
23516         * sysdeps/unix/sysv/linux/getpid.c: ... here.
23517         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
23518         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
23519         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
23520         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
23521         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
23522         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
23523         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
23524         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
23525         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
23526         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
23527         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
23528         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
23529         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
23530         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
23531         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
23532         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
23533         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
23534         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
23535         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
23536         * sysdeps/unix/sysv/linux/raise.c: ... here.
23537         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
23538         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
23539         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
23540         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
23541         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
23542         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
23543         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
23544         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
23545         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
23546         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
23547         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
23548         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
23549         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
23550         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
23551         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
23553 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23555         * sysdeps/generic/memcopy.h: Add comment for
23556         MEMCPY_OK_FOR_FWD_MEMMOVE.
23558 2014-07-04  Will Newton  <will.newton@linaro.org>
23560         * string/memchr.c: Merge from gnulib.
23561         [_LIBC]: Remove conditionals.
23562         (__ptr_t): Remove define.
23563         (LONG_MAX_32_BITS): Likewise.
23564         (LONG_MAX): Likewise.
23565         (MEMCHR): Use ANSI prototype and optimize algorithm.
23567         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
23569 2014-07-03  Roland McGrath  <roland@hack.frob.com>
23571         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
23572         (lll_futex_timed_wait_bitset): Fix syscall argument count.
23574         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
23575         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
23576         in a bare environment with no <stdlib.h> installed.
23577         * sysdeps/nptl/configure: Regenerated.
23579         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
23581         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
23582         AC_EGREP_CPP for kernel header checks, so they only succeed if
23583         including <linux/version.h> actually works right.
23584         * sysdeps/unix/sysv/linux/configure: Regenerated.
23586         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
23587         value so it's not diagnosed as unused.
23589         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
23590         thing) with "ifeq ($(subdir),rt)".
23592 2014-07-03  Richard Henderson  <rth@redhat.com>
23594         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
23595         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
23596         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
23598         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
23599         (math_force_eval): New.
23601         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
23602         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
23604         * sysdeps/alpha/fpu/s_round.c: Remove file.
23605         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
23607         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
23608         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
23609         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
23610         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
23611         (_dl_start, print_statistics): Likewise.
23612         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
23613         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
23615         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23616         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23617         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23618         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23619         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
23620         (HP_SMALL_TIMING_AVAIL): Define.
23621         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23622         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
23623         (HP_SMALL_TIMING_AVAIL): Define.
23624         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23625         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23627         * sysdeps/aarch64/hp-timing.h: New file.
23629         * sysdeps/generic/hp-timing.h: Remove dead comment.
23630         * sysdeps/generic/hp-timing-common.h: New file.
23631         * sysdeps/alpha/hp-timing.h: Include it.
23632         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
23633         * sysdeps/i386/i686/hp-timing.h: Likewise.
23634         * sysdeps/ia64/hp-timing.h: Likewise.
23635         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23636         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23637         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
23638         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
23639         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
23640         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
23641         (hp_timing_t): New.
23643         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
23644         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
23645         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
23646         * elf/rtld.c (_dl_start_final): Likewise.
23647         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
23648         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23649         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23650         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23651         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23652         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
23653         (HP_TIMING_DIFF_INIT): Remove.
23654         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23655         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
23656         (HP_TIMING_DIFF_INIT): Remove.
23657         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23658         * sysdeps/i386/i686/hp-timing.c: Remove file.
23659         * sysdeps/x86_64/hp-timing.c: Remove file.
23660         * sysdeps/ia64/hp-timing.c: Remove file.
23661         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
23662         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
23663         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
23664         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
23666         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
23667         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
23668         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
23669         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
23670         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
23671         (HP_TIMING_ACCUM): Remove.
23672         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
23673         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
23674         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
23676         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
23677         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
23678         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
23679         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
23680         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
23681         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
23682         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
23683         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
23685         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
23687 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
23689         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
23691 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23693         Sync up with gettext.
23694         * intl/loadmsgcat.c: Define O_BINARY if not defined.
23695         [_MSC_VER]: Include malloc.h
23696         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
23697         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
23698         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
23699         TEMP_FAILURE_RETRY.  Cast return of alloca.
23700         [!_LIBC] Call gl_rwlock_init.
23701         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
23703 2014-07-02  Roland McGrath  <roland@hack.frob.com>
23705         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
23706         before checking its value.
23708 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23710         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
23712         * debug/memcpy_chk.c: Don't include pagecopy.h.
23713         * debug/mempcpy_chk.c: Likewise.
23714         * string/memcpy.c: Likewise.
23715         * string/memmove.c: Likewise.
23716         * sysdeps/powerpc/memmove.c: Likewise.
23717         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
23718         definition of PAGE_COPY_FWD_MAYBE here...
23719         * sysdeps/generic/pagecopy.h: ... from here.
23720         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
23722 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
23723             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23725         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
23726         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
23727         optimizations.
23728         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23729         (__libc_ifunc_impl_list): Likewise.
23730         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
23731         multiarch strcat for PPC64.
23732         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
23733         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
23735 2014-07-02  Roland McGrath  <roland@hack.frob.com>
23737         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
23739 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23741         * intl/loadmsgcat.c: Remove declaration of
23742         get_sysdep_segment_value.
23743         (get_sysdep_segment_value): Use ISO C style.
23744         (_nl_load_domain): Use ISO C style.  Get rid of redundant
23745         semicolon.  Fix typo and formatting in comment.
23746         (_nl_unload_domain): Use ISO C style.
23748         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
23750 2014-07-02  Will Newton  <will.newton@linaro.org>
23752         * malloc/obstack.c: Merge from gnulib master.
23753         [HAVE_CONFIG_H]: Remove conditional code.
23754         [!_LIBC]: Include config.h.
23755         [!ELIDE_CODE]: Don't include inttypes.h, include
23756         stdint.h unconditionally.
23757         (print_and_abort): Mark as _Noreturn.
23758         (_obstack_allocated_p): Mark as __attribute_pure__.
23759         (obstack_free): Rename to __obstack_free.
23760         [!__attribute__]: Remove conditional code.
23761         * malloc/obstack.h: Merge from gnulib master.
23762         [__cplusplus]: Move conditional down.
23763         [!__attribute_pure__]: Define __attribute_pure__ here
23764         if it is not already defined.
23765         (_obstack_memory_used): Mark as __attribute_pure__.
23766         [!__obstack_free]: Define as obstack_free.
23767         [__GNUC__]: Remove check for ancient NeXT gcc.
23769 2014-07-02  Will Newton  <will.newton@linaro.org>
23770             Paul Eggert  <eggert@cs.ucla.edu>
23772         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
23774 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23776         * resolv/gethnamaddr.c: Add comment warning that the file is
23777         not maintained.
23779 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
23781         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
23782         entries.
23784         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
23785         entry for aio_cancel and aio_cancel64.
23786         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
23787         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
23788         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
23789         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
23790         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
23791         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
23792         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
23793         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
23794         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
23795         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
23796         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
23797         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
23798         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
23800 2014-07-01  Roland McGrath  <roland@hack.frob.com>
23802         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
23803         * nptl/pthread_mutex_lock.c: Likewise.
23804         * nptl/pthread_mutex_timedlock.c: Likewise.
23805         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
23807 2014-07-01  Richard henderson  <rth@redhat.com>
23809         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
23810         (__isnan, __isnanl): Remove.
23811         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
23813         * sysdeps/alpha/fpu/libm-test-ulps: Update.
23815 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
23817         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23819 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23821         * resolv/nss_dns/dns-host.c (getanswer_r)
23822         [MULTI_PTRS_ARE_ALIASES]: Remove code.
23824 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
23826         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23827         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
23828         undefine.
23829         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
23830         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
23832 2014-07-01  Roland McGrath <roland@hack.frob.com>
23834         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
23835         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
23837         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
23838         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
23840         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
23841         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
23842         ... here.
23843         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
23844         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
23846         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
23847         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
23848         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
23849         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
23851         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
23852         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
23853         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
23854         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
23855         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
23856         Moved ...
23857         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
23858         ... here.
23859         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
23860         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
23861         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
23862         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
23863         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
23864         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
23865         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
23866         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
23867         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
23868         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
23869         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
23870         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
23871         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
23872         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
23873         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
23874         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
23875         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
23876         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
23877         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
23878         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
23879         ... here.
23880         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
23881         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
23882         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
23883         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
23884         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
23885         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
23886         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
23887         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
23889 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
23891         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
23892         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
23893         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
23894         Add sysdep.
23896 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23898         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23900 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
23902         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
23903         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23905         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23907         * sysdeps/arm/libm-test-ulps: Regenerated.
23909 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
23910             Roland McGrath <roland@hack.frob.com>
23912         * test-skeleton.c (signal_handler): Kill the whole process group
23913         before killing the child individually.
23914         (main): Report any failure on `setpgid'.
23916 2014-06-30  Roland McGrath  <roland@hack.frob.com>
23918         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
23919         from _TLS_H to _ARM_NPTL_TLS_H.
23920         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
23921         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
23923 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
23925         [BZ #16539]
23926         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
23927         (__expm1l): Return argument unchanged when small but not
23928         subnormal.
23930         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
23931         include macro name.
23932         (_FP_UNPACK_RAW_1_P): Likewise.
23933         (_FP_PACK_RAW_1): Likewise.
23934         (_FP_PACK_RAW_1_P): Likewise.
23935         (_FP_MUL_MEAT_1_wide): Likewise.
23936         (_FP_MUL_MEAT_DW_1_hard): Likewise.
23937         (_FP_MUL_MEAT_1_hard): Likewise.
23938         (_FP_DIV_MEAT_1_imm): Likewise.
23939         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
23940         (_FP_DIV_MEAT_1_udiv): Likewise.
23941         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
23942         (_FP_UNPACK_RAW_2): Likewise.
23943         (_FP_UNPACK_RAW_2_P): Likewise.
23944         (_FP_PACK_RAW_2): Likewise.
23945         (_FP_PACK_RAW_2_P): Likewise.
23946         (_FP_MUL_MEAT_DW_2_wide): Likewise.
23947         (_FP_MUL_MEAT_2_wide): Likewise.
23948         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
23949         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
23950         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
23951         (_FP_MUL_MEAT_2_gmp): Likewise.
23952         (_FP_DIV_MEAT_2_udiv): Likewise.
23953         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
23954         (_FP_FRAC_SRL_4): Likewise.
23955         (_FP_FRAC_SRST_4): Likewise.
23956         (_FP_FRAC_SRS_4): Likewise.
23957         (_FP_UNPACK_RAW_4): Likewise.
23958         (_FP_UNPACK_RAW_4_P): Likewise.
23959         (_FP_PACK_RAW_4): Likewise.
23960         (_FP_PACK_RAW_4_P): Likewise.
23961         (_FP_MUL_MEAT_DW_4_wide): Likewise.
23962         (_FP_MUL_MEAT_4_wide): Likewise.
23963         (_FP_MUL_MEAT_4_gmp): Likewise.
23964         (umul_ppppmnnn): Likewise.
23965         (_FP_DIV_MEAT_4_udiv): Likewise.
23966         (__FP_FRAC_ADD_4): Likewise.
23967         (__FP_FRAC_SUB_3): Likewise.
23968         (__FP_FRAC_SUB_4): Likewise.
23969         (__FP_FRAC_DEC_3): Likewise.
23970         (__FP_FRAC_DEC_4): Likewise.
23971         (__FP_FRAC_ADDI_4): Likewise.
23972         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
23973         (_FP_FRAC_SRL_8): Likewise.
23974         (_FP_FRAC_SRS_8): Likewise.
23976         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
23977         include macro name.
23978         (FP_UNPACK_RAW_EP): Likewise.
23979         (FP_PACK_RAW_E): Likewise.
23980         (FP_PACK_RAW_EP): Likewise.
23981         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
23982         (_FP_ISSIGNAN): Likewise.
23983         (_FP_ADD_INTERNAL): Likewise.
23984         (_FP_FMA): Likewise.
23985         (_FP_CMP): Likewise.
23986         (_FP_SQRT): Likewise.
23987         (_FP_TO_INT): Likewise.
23988         (_FP_FROM_INT): Likewise.
23989         (FP_EXTEND): Likewise.
23990         (_FP_DIV_MEAT_N_loop): Likewise.
23992 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
23994         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
23995         throughout.
23997 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
23999         [BZ #17097]
24000         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
24001         result with correct sign in case of exponents that produce
24002         overflow except for X very close to 1.
24004 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
24006         mktime: merge #if/#ifdef usage from glibc
24007         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
24008         as that works with both Glibc's and Gnulib's style.
24009         See thread starting at Siddhesh Poyarekar's bug report at:
24010         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
24012 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24014         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
24015         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
24016         * sysdeps/tile/tilegx/memmove.c: Remove file.
24018 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
24020         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
24021         abi-name definition.
24022         * scripts/soversions.awk: Do not handle or generate ABI lines.
24023         * shlib-versions: Remove ABI entries.
24024         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
24025         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
24027 2014-06-27  Roland McGrath  <roland@hack.frob.com>
24029         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
24030         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
24031         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
24032         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
24033         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
24034         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
24035         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
24036         Moved ...
24037         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
24038         ... here.
24039         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
24040         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
24041         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
24042         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
24043         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
24044         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
24045         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
24046         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
24047         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
24048         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
24049         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
24050         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
24051         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
24052         Moved ...
24053         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
24054         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
24055         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
24056         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
24057         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
24058         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
24059         Moved ...
24060         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
24061         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
24062         Moved ...
24063         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
24064         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
24065         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
24066         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
24067         Moved ...
24068         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
24069         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
24070         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
24071         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
24072         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
24073         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
24074         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
24075         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
24076         Moved ...
24077         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
24078         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
24079         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
24080         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
24081         Moved ...
24082         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
24083         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
24084         Moved ...
24085         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
24086         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
24087         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
24088         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
24089         Moved ...
24090         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
24091         ... here.
24092         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
24093         Identical file removed.
24094         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
24095         Moved ...
24096         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
24097         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
24098         Identical file removed.
24099         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
24100         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
24101         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
24102         Moved ...
24103         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
24104         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
24105         Identical file removed.
24106         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
24107         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
24108         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
24109         Identical file removed.
24110         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
24111         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
24112         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
24113         Identical file removed.
24114         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
24115         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
24116         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
24117         Identical file removed.
24118         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
24119         Moved ...
24120         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
24121         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
24122         Identical file removed.
24123         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
24124         Moved ...
24125         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
24126         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
24127         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
24128         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
24129         Identical file removed.
24130         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
24131         Moved ...
24132         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
24133         ... here.
24134         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
24135         Identical file removed.
24136         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
24137         Moved ...
24138         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
24139         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
24140         Identical file removed.
24141         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
24142         Moved ...
24143         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
24144         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
24145         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
24146         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
24147         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
24148         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
24149         Moved ...
24150         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
24151         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
24152         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
24154         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
24155         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
24156         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
24157         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
24158         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
24160 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
24162         [BZ #17092]
24163         * nscd/nscd.c (monitor_child): Return exit status of child
24164         instead of return value from wait syscall.
24166 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
24168         * configure.ac (libc_commonpagesize): Remove variable.
24169         (libc_relro_required): Likewise.
24170         (libc_cv_z_relro): Remove configure test.
24171         * configure: Regenerated.
24172         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
24173         variable.
24174         (libc_relro_required): Likewise.
24175         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
24176         (libc_relro_required): Likewise.
24177         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
24178         (libc_relro_required): Likewise.
24179         * sysdeps/arm/preconfigure: Regenerated.
24180         * sysdeps/ia64/preconfigure: Remove file.
24181         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
24182         variable.
24183         (libc_relro_required): Likewise.
24185         [BZ #16561]
24186         [BZ #16562]
24187         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
24188         (__ieee754_yn): Set FE_TONEAREST mode internally and then
24189         recompute overflowing results in original rounding mode.
24190         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
24191         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
24192         recompute overflowing results in original rounding mode.
24193         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
24194         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
24195         recompute overflowing results in original rounding mode.
24196         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
24197         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
24198         recompute overflowing results in original rounding mode.
24199         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
24200         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
24201         recompute overflowing results in original rounding mode.
24202         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
24203         (libc_feholdsetround_ctx): New macro.
24204         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
24205         * sysdeps/i386/fpu/libm-test-ulps: Update.
24206         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
24208 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
24210         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
24211         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
24212         corresponding .cpsetup call.
24214 2014-06-26  Roland McGrath  <roland@hack.frob.com>
24216         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
24217         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
24218         * sysdeps/arm/Makefile [$(subdir) = csu]
24219         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
24220         (static-only-routines): Add aeabi_read_tp here.
24221         (shared-only-routines): Add libc-aeabi_read_tp here.
24222         (CFLAGS-libc-start.c): Add -fexceptions here.
24223         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
24224         (sysdep_routines, static-only-routines, shared-only-routines):
24225         Don't add to these here.
24226         (CFLAGS-libc-start.c): Likewise.
24228         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
24229         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
24230         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
24231         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
24232         * sysdeps/arm/Makefile [$(subdir) = rt]
24233         (librt-sysdep_routines, librt-shared-only-routines):
24234         Append rt-aeabi_unwind_cpp_pr1 here.
24235         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
24236         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
24237         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
24238         (libpthread-sysdep_routines, libpthread-shared-only-routines):
24239         Append nptl-aeabi_unwind_cpp_pr1 here.
24240         (tests): Filter out tst-cleanupx4 here.
24241         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
24242         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
24243         Don't do those here.
24245 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
24247         * scripts/list-sources.sh: Do not handle ports specially.
24249 2014-06-26  Roland McGrath  <roland@hack.frob.com>
24251         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
24252         * sysdeps/arm/feupdateenv.c: Likewise.
24254         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
24256 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
24258         * manual/texinfo.tex: Update to version 2014-05-05.10 with
24259         trailing whitespace removed.
24260         * scripts/config.guess: Update to version 2014-03-23.
24261         * scripts/config.sub: Update to version 2014-05-01
24262         * scripts/install-sh: Update to version 2013-12-25.23.
24263         * scripts/move-if-change: Update from gnulib.
24265 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24267         * debug/memmove_chk.c: Remove pagecopy.h include.
24269 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
24271         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
24272         identical to gnulib mktime.
24274 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
24276         * configure.ac: Do not test for machine being rs6000.  Do not test
24277         for powerpc*-*soft.
24278         * configure: Regenerated.
24280         [BZ #11505]
24281         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
24282         test.
24283         * configure: Regenerated.
24284         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
24285         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
24286         Remove configure test.
24287         * sysdeps/arm/configure: Regenerated.
24288         * sysdeps/nptl/configure.ac: Do not check
24289         libc_cv_asm_cfi_directives.
24290         * sysdeps/nptl/configure: Regenerated.
24291         * sysdeps/x86_64/nptl/configure.ac: Remove file.
24292         * sysdeps/x86_64/nptl/configure: Remove generated file.
24293         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
24294         unconditional.
24295         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
24297 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24299         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
24300         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
24301         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
24302         it is defined.
24304         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
24305         instead of whether it is defined.
24306         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
24307         * sysdeps/hppa/dl-machine.h: Likewise.
24308         * sysdeps/ia64/dl-machine.h: Likewise.
24309         * sysdeps/m68k/dl-machine.h: Likewise.
24310         * sysdeps/microblaze/dl-machine.h: Likewise.
24311         * sysdeps/mips/dl-machine.: Likewise.
24312         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
24313         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24314         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24315         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24316         * sysdeps/sh/dl-machine.h: Likewise.
24317         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24318         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24319         * sysdeps/tile/dl-machine.h: Likewise.
24320         * sysdeps/x86_64/dl-machine.h: Likewise.
24322         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
24323         code.
24324         (verify_persistent_db): Likewise.
24326 2014-06-26  Roland McGrath  <roland@hack.frob.com>
24328         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
24329         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
24330         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
24331         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
24332         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
24333         Moved ...
24334         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
24335         ... here.
24336         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
24337         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
24338         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
24339         Identical file removed.
24340         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
24341         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
24342         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
24343         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
24344         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
24345         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
24346         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
24347         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
24348         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
24349         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
24350         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24351         Moved ...
24352         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
24353         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
24354         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
24355         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
24356         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
24357         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
24358         Moved ...
24359         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
24360         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
24361         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
24362         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
24363         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
24364         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
24365         Identical file removed.
24366         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
24367         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
24368         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
24369         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
24370         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
24371         Moved ...
24372         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
24373         ... here.
24374         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
24375         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
24376         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
24377         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
24378         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
24379         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
24380         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
24381         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
24382         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
24383         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
24384         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24385         Moved ...
24386         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
24387         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
24388         Moved ...
24389         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
24390         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
24391         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
24392         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
24393         Moved ...
24394         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
24395         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
24396         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
24398         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
24399         folded into ...
24400         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
24401         * sysdeps/unix/sysv/linux/s390/Versions
24402         (libpthread: GLIBC_2.19): New version set.
24403         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
24404         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
24405         (librt: GLIBC_2.3.3): New version set.
24406         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
24407         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
24408         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
24409         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
24410         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
24411         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
24412         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
24413         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
24414         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
24415         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
24416         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
24417         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
24418         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
24419         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
24420         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
24421         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
24422         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
24423         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
24424         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
24425         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
24426         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
24427         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
24428         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
24429         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
24430         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
24431         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
24432         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
24433         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
24434         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
24435         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
24436         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
24437         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
24438         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
24439         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
24440         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
24441         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
24442         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
24443         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
24444         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
24445         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
24446         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
24447         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
24448         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
24449         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
24450         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
24452         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
24453         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
24454         (__libc_vfork): Define the function under this name.
24455         [!NOT_IN_libc] (__vfork): Make this an alias.
24456         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
24457         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
24458         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
24459         (__libc_vfork): Define the function under this name.
24460         [!NOT_IN_libc] (__vfork): Make this an alias.
24461         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
24462         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
24463         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
24464         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
24465         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
24466         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
24468         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
24469         code that was previously under [RESET_PID].
24470         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
24471         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
24472         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
24474         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
24475         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
24476         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
24477         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
24478         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
24479         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
24480         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
24481         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
24482         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
24483         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
24484         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
24485         Moved ...
24486         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
24487         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
24488         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
24489         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
24490         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
24491         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
24492         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
24493         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
24494         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
24495         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
24496         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
24497         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
24498         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
24499         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
24500         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
24501         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
24502         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
24503         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
24504         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
24505         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
24506         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
24507         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
24508         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
24509         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
24510         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
24511         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
24512         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
24513         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
24514         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
24516 2014-06-25  Roland McGrath  <roland@hack.frob.com>
24518         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
24519         that was previously under [RESET_PID].
24520         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
24522 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
24524         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
24525         not undefine and redefine.
24526         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
24527         [O_CLOEXEC]: Make code unconditional.
24528         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
24529         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
24530         <kernel-features.h>.
24531         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
24532         conditional variable definition.
24533         (shm_open) [O_CLOEXEC]: Make code unconditional.
24534         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
24535         code.
24537         * configure.ac (USE_REGPARMS): Don't define here.
24538         * configure: Regenerated.
24539         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
24540         * sysdeps/i386/configure: Regenerated.
24542         * nptl/createthread.c: Don't include kernel-features.h.
24543         * nptl/pthread_cancel.c: Likewise.
24544         * nptl/pthread_condattr_setclock.c: Likewise.
24545         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
24546         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
24547         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
24548         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
24549         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
24550         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
24551         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
24552         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
24553         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
24554         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
24555         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
24556         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
24557         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
24558         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
24559         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
24560         * nscd/gai.c: Likewise.
24561         * nss/nss_db/db-open.c: Likewise.
24562         * sysdeps/generic/ldsodefs.h: Likewise.
24563         * sysdeps/sh/nptl/tls.h: Likewise.
24564         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
24565         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
24566         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
24567         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
24568         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
24569         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
24570         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
24571         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24572         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
24573         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
24574         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
24575         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
24576         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
24577         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
24578         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
24579         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
24580         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
24581         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
24582         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
24583         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
24584         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
24585         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
24586         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
24587         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
24588         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
24589         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
24590         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
24591         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
24592         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
24593         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
24594         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
24595         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
24596         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
24597         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
24598         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
24599         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
24600         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
24601         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
24602         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
24603         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
24604         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
24605         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
24606         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
24607         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24608         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
24609         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
24610         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
24611         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
24612         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
24613         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
24614         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
24615         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
24616         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
24617         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
24618         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
24619         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
24620         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
24621         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
24622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
24623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
24624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
24625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
24626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
24627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
24628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
24629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
24630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
24631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
24632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
24633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
24634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
24635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
24636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
24637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
24638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
24639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
24640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
24641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
24642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
24643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
24644         * sysdeps/unix/sysv/linux/pread.c: Likewise.
24645         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
24646         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
24647         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
24648         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
24649         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
24650         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
24651         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
24652         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
24653         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
24654         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
24655         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
24656         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
24657         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
24658         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
24659         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
24660         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
24661         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
24662         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
24663         * sysdeps/unix/sysv/linux/system.c: Likewise.
24664         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
24665         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
24666         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
24667         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
24668         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
24669         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
24670         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
24672         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
24673         * configure: Regenerated.
24674         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
24676         * configure.ac (base_machine): Do not set specially for particular
24677         machines here.
24678         * configure: Regenerated.
24679         * sysdeps/powerpc/preconfigure: Move machine and base_machine
24680         settings from configure.ac.
24681         * sysdeps/i386/preconfigure: New file.
24682         * sysdeps/s390/preconfigure: Likewise.
24683         * sysdeps/sh/preconfigure: Likewise.
24684         * sysdeps/sparc/preconfigure: Likewise.
24686 2014-06-25  Roland McGrath  <roland@hack.frob.com>
24688         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
24689         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
24690         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
24691         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
24692         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
24693         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
24694         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
24695         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
24696         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
24697         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
24698         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
24699         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
24700         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
24701         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
24702         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
24703         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
24704         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
24705         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
24706         * sysdeps/sparc/sparc64/Makefile: ... appended here.
24708         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
24709         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
24710         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
24711         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
24712         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
24713         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
24714         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
24715         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
24716         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
24717         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
24718         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
24719         * sysdeps/sparc/sparc32/sem_post.c: ... here.
24720         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
24721         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
24722         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
24723         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
24724         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
24725         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
24726         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
24727         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
24728         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
24729         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
24730         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
24731         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
24732         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
24733         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
24734         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
24735         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
24736         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
24737         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
24738         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
24739         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
24740         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
24741         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
24742         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
24743         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
24744         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
24745         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
24747         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
24748         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
24749         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
24750         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
24751         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
24752         Moved ...
24753         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
24754         ... here.
24755         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
24756         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
24757         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
24758         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
24759         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
24760         Moved ...
24761         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
24762         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
24763         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
24764         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
24765         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
24766         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
24767         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
24768         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24769         Moved ...
24770         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
24771         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
24772         Moved ...
24773         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
24774         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
24775         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
24776         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
24777         Moved ...
24778         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
24779         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
24780         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
24781         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
24782         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
24783         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
24784         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
24785         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
24786         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
24787         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
24788         Moved ...
24789         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
24790         ... here.
24791         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
24792         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
24793         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
24794         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
24795         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
24796         Moved ...
24797         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
24798         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
24799         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
24800         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
24801         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
24802         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
24803         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
24804         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24805         Moved ...
24806         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
24807         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
24808         Moved ...
24809         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
24810         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
24811         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
24812         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
24813         Moved ...
24814         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
24815         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
24816         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
24817         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
24818         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
24820 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
24822         * timezone/checktab.awk: Update from tzcode 2014e.
24823         * timezone/private.h: Likewise.
24824         * timezone/tzfile.h: Likewise.
24825         * timezone/zdump.c: Likewise.
24826         * timezone/zic.c: Likewise.
24828         * sysdeps/unix/sysv/linux/kernel-features.h
24829         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
24830         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
24831         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
24832         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
24833         Remove conditional code.
24835 2014-06-25  Will Newton  <will.newton@linaro.org>
24837         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
24838         (_dl_arm_cap_flags): Add HWCAP2 values.
24839         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
24840         (_DL_HWCAP_COUNT): Increase to 37.
24841         (_DL_HWCAP_LAST): New define.
24842         (_DL_HWCAP2_LAST): New define.
24843         (_dl_procinfo): Add support for printing
24844         AT_HWCAP2 entries.
24845         (_dl_string_hwcap): Use _dl_hwcap_string.
24847 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24849         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24851 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
24853         * README: Do not mention ports directory.
24855         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
24856         Remove macro.
24857         * sysdeps/unix/sysv/linux/futimes.c: Do not include
24858         <kernel-features.h>.
24859         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
24860         conditional variable definition.
24861         (__futimes): Update comment.
24862         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
24863         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
24865         [BZ #16560]
24866         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
24867         arguments close to 0.
24868         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
24869         Likewise.
24870         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
24871         Likewise.
24872         * math/auto-libm-test-in: Add more tests of exp10.
24873         * math/auto-libm-test-out: Regenerated.
24874         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24876         * sysdeps/unix/sysv/linux/kernel-features.h
24877         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
24878         * sysdeps/unix/sysv/linux/readv.c: Do not include
24879         <kernel-features.h>.
24880         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
24881         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
24882         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
24883         unconditional.
24884         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
24885         conditional code.
24886         * sysdeps/unix/sysv/linux/writev.c: Do not include
24887         <kernel-features.h>.
24888         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
24889         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
24890         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
24891         unconditional.
24892         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
24893         conditional code.
24895 2014-06-25  Will Newton  <will.newton@linaro.org>
24897         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
24898         comment changes throughout the file.  Remove checks
24899         for HAVE_*_H definitions that are not required.
24900         (__gen_tempname): Call abort if an unknown kind value is
24901         passed.
24903 2014-06-25  Andreas Schwab  <schwab@suse.de>
24905         [BZ #17086]
24906         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
24907         scalbln, scalblnf, scalblnl in libc.
24909 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
24911         [BZ #17086]
24912         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
24913         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
24914         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
24916 2014-06-24  Roland McGrath  <roland@hack.frob.com>
24918         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
24919         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
24920         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
24921         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
24922         Update #include.
24923         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
24924         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
24925         Update #include.
24926         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
24927         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
24928         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
24929         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
24930         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
24931         * sysdeps/x86/bits/pthreadtypes.h: ... here.
24932         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
24933         * sysdeps/x86/bits/semaphore.h: ... here.
24934         * sysdeps/x86/nptl/elide.h: Moved ...
24935         * sysdeps/x86/elide.h: ... here.
24936         * sysdeps/x86_64/nptl/Implies: File removed.
24937         * sysdeps/i386/nptl/Implies: File removed.
24939 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
24941         [BZ #16539]
24942         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
24943         return the argument for normal arguments with exponent below -64.
24944         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24945         Likewise.
24946         * math/auto-libm-test-in: Add another test of expm1.
24947         * math/auto-libm-test-out: Regenerated.
24949         [BZ #16287]
24950         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
24951         calling __erfcl for arguments at least 16.
24952         * math/auto-libm-test-in: Add more tests of erf.
24953         * math/auto-libm-test-out: Regenerated.
24955         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
24956         individual architectures.
24957         * sysdeps/unix/sysv/linux/configure: Regenerated.
24958         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
24959         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
24960         * sysdeps/unix/sysv/linux/powerpc/configure.ac
24961         (ldd_rewrite_script): Define variable.
24962         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
24963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
24964         file.
24965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
24966         generated file.
24967         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
24968         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
24969         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
24970         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
24971         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
24972         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
24973         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
24974         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
24976 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24978         [BZ #17084]
24979         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
24980         Rename member __data.d to __data.__elision_data.
24982 2014-06-24  Wilco  <wdijkstr@arm.com>
24984         * NEWS: Add 16918 to fixed bug list.
24986 2014-06-24  Wilco  <wdijkstr@arm.com>
24988         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
24990 2014-06-24  Wilco  <wdijkstr@arm.com>
24992         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
24993         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
24994         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
24995         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
24996         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
24997         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
24998         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
24999         Use _FPU_MASK_RM.
25001 2014-06-24  Wilco  <wdijkstr@arm.com>
25003         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
25005 2014-06-24  Wilco  <wdijkstr@arm.com>
25007         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
25008         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
25009         * sysdeps/arm/fesetround.c (fesetround): Remove space.
25010         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
25012 2014-06-24  Wilco  <wdijkstr@arm.com>
25014         [BZ #16918]
25015         * sysdeps/arm/feupdateenv.c (feupdateenv):
25016         Rewrite to reduce FPSCR accesses and fix return value.
25018 2014-06-24  Wilco  <wdijkstr@arm.com>
25020         * sysdeps/arm/fclrexcpt.c (feclearexcept):
25021         Optimize to avoid unnecessary FPSCR writes.
25022         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
25023         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
25024         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
25025         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
25027 2014-06-24  Wilco  <wdijkstr@arm.com>
25029         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
25030         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
25031         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
25032         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
25033         Call libc_fetestexcept_vfp.
25034         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
25035         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
25036         __SOFTFP__ ifdef so that they can be built for softfp.
25038 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25040         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
25041         argument type signed char.
25043         * Makerules (check-abi): Dump diff of symlist if the test
25044         fails.
25046 2014-06-23  Roland McGrath  <roland@hack.frob.com>
25048         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
25049         using abort.
25051         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
25052         Remove unused variable ST.
25054 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
25056         [BZ #16354]
25057         [BZ #17061]
25058         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
25059         small arguments before calling __expm1.
25060         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
25061         small arguments before calling __expm1f.
25062         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
25063         small arguments before calling __expm1l.
25064         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
25065         Likewise.
25066         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
25067         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
25068         spurious underflow for some cosh tests.
25069         * math/auto-libm-test-out: Regenerated.
25070         * sysdeps/i386/fpu/libm-test-ulps: Update.
25072         [BZ #17050]
25073         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
25074         (__ieee754_y1): Set errno if return value overflows.
25075         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
25076         (__ieee754_y1f): Set errno if return value overflows.
25077         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
25078         (__ieee754_y1l): Set errno if return value overflows.
25079         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
25080         (__ieee754_y1l): Set errno if return value overflows.
25081         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
25082         * math/auto-libm-test-out: Regenerated.
25084         * math/gen-auto-libm-tests.c: Document use of
25085         ignore-zero-inf-sign.
25086         (input_flag_type): Add value flag_ignore_zero_inf_sign.
25087         (input_flags): Add ignore-zero-inf-sign.
25088         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
25089         * math/gen-libm-test.pl (generate_testfile): Handle
25090         ignore-zero-inf-sign.
25091         * math/auto-libm-test-in: Mark some cpow tests with
25092         ignore-zero-inf-sign and some with xfail-rounding.
25093         * math/auto-libm-test-out: Regenerated.
25094         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
25095         * sysdeps/i386/fpu/libm-test-ulps: Update.
25096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25098         [BZ #16315]
25099         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
25100         overflowing or underflowing operations take place with sign of
25101         result.
25102         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25103         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
25104         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
25105         (__ieee754_pow): Recompute overflowing and underflowing results in
25106         original rounding mode.
25107         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
25108         (__powl_helper): Allow negative argument X and scale negated value
25109         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
25110         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
25111         overflowing or underflowing operations take place with sign of
25112         result.
25113         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
25114         Include <math.h>.
25115         * math/auto-libm-test-in: Add more tests of pow.
25116         * math/auto-libm-test-out: Regenerated.
25117         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
25118         (pow_tonearest_test_data): Remove.
25119         (pow_test_tonearest): Likewise.
25120         (pow_towardzero_test_data): Likewise.
25121         (pow_test_towardzero): Likewise.
25122         (pow_downward_test_data): Likewise.
25123         (pow_test_downward): Likewise.
25124         (pow_upward_test_data): Likewise.
25125         (pow_test_upward): Likewise.
25126         (main): Don't call removed functions.
25127         * sysdeps/i386/fpu/libm-test-ulps: Update.
25128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25130 2014-06-23  Roland McGrath  <roland@hack.frob.com>
25132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
25133         Moved ...
25134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
25135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25136         Moved ...
25137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
25138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25139         Moved ...
25140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
25141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
25142         Moved ...
25143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
25144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
25145         File removed.
25146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25147         File removed.
25148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
25149         File removed.
25150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
25151         File removed.
25152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
25153         File removed.
25154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
25155         File removed.
25156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
25157         File removed.
25158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25159         File removed.
25160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
25161         File removed.
25162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25163         File removed.
25164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
25165         File removed.
25166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
25167         File removed.
25168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
25169         Moved ...
25170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
25171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
25172         Moved ...
25173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
25174         ... here.
25175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
25176         Moved ...
25177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
25178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
25179         Moved ...
25180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
25181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
25182         Moved ...
25183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
25184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
25185         Moved ...
25186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
25187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
25188         Moved ...
25189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
25190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
25191         Moved ...
25192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
25193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
25194         Moved ...
25195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
25196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
25197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
25198         ... here.
25199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
25200         Moved ...
25201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
25202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
25203         Moved ...
25204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
25205         ... here.
25206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
25207         Moved ...
25208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25209         ... here.
25210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
25211         Moved ...
25212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
25213         ... here.
25214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
25215         Moved ...
25216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
25217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
25218         Moved ...
25219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
25220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
25221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
25222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
25223         Moved ...
25224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
25225         ... here.
25226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
25227         Moved ...
25228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
25229         ... here.
25230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
25231         Moved ...
25232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
25233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
25234         Moved ...
25235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
25236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
25237         Moved ...
25238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
25239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25240         Moved ...
25241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
25242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
25243         Moved ...
25244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
25245         ... here.
25246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
25247         Moved ...
25248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
25249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
25250         Moved ...
25251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
25252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
25253         Moved ...
25254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
25255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
25256         Moved ...
25257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
25258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
25259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
25260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
25261         Moved ...
25262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
25263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
25264         Moved ...
25265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
25266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
25267         Moved ...
25268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
25269         ... here.
25270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25271         Moved ...
25272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
25273         ... here.
25274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
25275         Moved ...
25276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
25277         ... here.
25278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
25279         Moved ...
25280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
25281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
25282         Moved ...
25283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
25284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
25285         Moved ...
25286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
25287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
25288         Moved ...
25289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
25290         ... here.
25291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
25292         Moved ...
25293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
25294         ... here.
25295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
25296         Moved ...
25297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
25298         ... here.
25299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
25300         Moved ...
25301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
25302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
25303         Moved ...
25304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
25306 2014-06-23  Will Newton  <will.newton@linaro.org>
25307             Wilco  <wdijkstr@arm.com>
25309         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
25310         implementation.  Include get-rounding-mode.h.
25311         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
25312         [!libc_feholdsetround_noex_ctx]: Define
25313         libc_feholdsetround_noex_ctx.
25314         [!libc_feholdsetround_noexf_ctx]: Define
25315         libc_feholdsetround_noexf_ctx.
25316         [!libc_feholdsetround_noexl_ctx]: Define
25317         libc_feholdsetround_noexl_ctx.
25318         (libc_feholdsetround_ctx): New function.
25319         (libc_feresetround_ctx): New function.
25320         (libc_feholdsetround_noex_ctx): New function.
25321         (libc_feresetround_noex_ctx): New function.
25323 2014-06-23  Roland McGrath  <roland@hack.frob.com>
25325         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
25326         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
25327         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
25328         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
25329         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
25330         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
25332         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
25333         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
25334         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
25335         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
25336         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
25337         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
25338         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
25339         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
25340         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
25341         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
25342         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
25343         Moved ...
25344         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
25345         ... here.
25346         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
25347         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
25348         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
25349         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
25350         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
25351         Moved ...
25352         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
25353         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
25354         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
25355         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
25356         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
25357         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
25358         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
25359         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
25360         Moved ...
25361         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
25362         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
25363         Moved ...
25364         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
25365         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
25366         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
25367         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
25368         Moved ...
25369         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
25370         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
25371         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
25372         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
25373         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
25374         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
25375         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
25376         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
25377         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
25378         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
25379         Moved ...
25380         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
25381         ... here.
25382         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
25383         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
25384         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
25385         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
25386         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
25387         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
25388         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
25389         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
25390         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
25391         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
25392         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
25393         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
25394         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
25395         Moved ...
25396         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
25397         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
25398         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
25399         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
25400         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
25401         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
25402         Moved ...
25403         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
25404         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
25405         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
25406         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
25407         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
25409         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
25410         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
25411         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
25412         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
25413         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
25414         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
25415         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
25416         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
25417         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
25418         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
25419         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
25420         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
25421         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
25422         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
25423         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
25424         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
25425         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
25426         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
25427         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
25428         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
25429         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
25430         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
25431         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
25432         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
25433         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
25434         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
25435         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
25436         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
25438 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
25440         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
25441         (FALLOC_FL_COLLAPSE_RANGE): New macro.
25442         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
25443         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
25444         (IPV6_PMTUDISC_INTERFACE): Likewise.
25445         (IPV6_PMTUDISC_OMIT): Likewise.
25447 2014-06-23  Andreas Schwab  <schwab@suse.de>
25449         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
25450         Remove unused errout label.
25452 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25454         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
25455         macro: hardware supports Vector Crypto instructions.
25457 2014-06-23  Will Newton  <will.newton@linaro.org>
25459         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
25460         rather than __builtin_expect.
25462         * elf/dl-lookup.c (undefined_msg): Remove variable.
25463         (_dl_lookup_symbol_x): Replace undefined_msg with string
25464         literal.
25466         * elf/dl-lookup.c (do_lookup_unique): New function.
25467         (do_lookup_x): Move STB_GNU_UNIQUE handling code
25468         to a separate function.
25470 2014-06-23  Andreas Schwab  <schwab@suse.de>
25472         [BZ #17079]
25473         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
25474         before reading the next line.
25476 2014-06-23  Will Newton  <will.newton@linaro.org>
25478         * test-skeleton.c (signal_handler): Use printf and %m
25479         rather than perror.  Use printf rather than fprintf to
25480         stderr.  Use puts rather than fputs to stderr.
25481         (main): Likewise.
25483 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
25485         * nscd/nscd.c (thread_info_t): Remove typedef.
25486         (thread_info): Remove variable.
25488 2014-06-21  Allan McRae  <allan@archlinux.org>
25490         * NEWS: Mention CVE-2014-4043.
25492 2014-06-20  Roland McGrath  <roland@hack.frob.com>
25494         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
25495         * nptl/smp.h: ... here.
25497         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
25499         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
25500         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
25501         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
25502         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
25504         * nptl/allocatestack.c: Include <stack-aliasing.h>.
25505         * nptl/stack-aliasing.h: New file.
25506         * sysdeps/i386/i686/stack-aliasing.h: New file.
25507         * sysdeps/i386/i686/nptl/Makefile: File removed.
25508         * sysdeps/x86_64/stack-aliasing.h: New file.
25509         * sysdeps/x86_64/nptl/Makefile
25510         (CFLAGS-pthread_create.c): Variable removed.
25512         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
25513         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
25514         old file.
25515         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
25516         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
25517         old file.
25519 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
25521         * sysdeps/unix/sysv/linux/arm/kernel-features.h
25522         (__ASSUME_SIGFRAME_V2): Remove macro.
25523         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
25524         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
25525         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
25526         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
25527         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
25528         Declare as function.  Remove conditional macro definitions.
25529         (__default_rt_sa_restorer): Likewise.
25530         (__default_sa_restorer_v1): Remove declaration.
25531         (__default_sa_restorer_v2): Likewise.
25532         (__default_rt_sa_restorer_v1): Likewise.
25533         (__default_rt_sa_restorer_v2): Likewise.
25534         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
25535         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
25536         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
25538 2014-06-20  Roland McGrath  <roland@hack.frob.com>
25540         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
25541         (libpthread-routines): Add sysdep.
25542         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
25543         * sysdeps/unix/sysv/linux/sparc/Versions
25544         (libpthread: GLIBC_2.3.3): New version set.
25545         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
25546         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
25547         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
25548         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
25549         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
25550         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
25551         Moved ...
25552         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
25553         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
25554         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
25555         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
25556         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
25557         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
25558         * sysdeps/sparc/nptl/sem_init.c: ... here.
25559         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
25560         * sysdeps/sparc/nptl/sem_post.c: ... here.
25561         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
25562         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
25563         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
25564         * sysdeps/sparc/nptl/sem_wait.c: ... here.
25565         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
25566         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
25567         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
25568         (libpthread-routines): Add cpu_relax.
25569         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
25570         File removed.
25571         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
25572         (librt: GLIBC_2.3.3): New version set.
25573         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
25574         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
25575         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
25576         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
25577         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
25578         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
25579         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
25580         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
25581         Moved ...
25582         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
25583         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
25584         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
25585         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
25586         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
25587         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
25588         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
25589         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
25590         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
25591         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
25592         Moved ...
25593         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
25594         Update #include.
25595         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
25596         Moved ...
25597         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
25598         Update #include.
25599         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
25600         Moved ...
25601         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
25602         Update #include.
25603         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
25604         Moved ...
25605         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
25606         Update #include.
25607         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
25608         Moved ...
25609         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
25610         Update #include.
25611         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
25612         Moved ...
25613         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
25614         Update #include.
25615         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
25616         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
25617         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
25618         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
25619         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
25620         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
25621         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
25622         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
25623         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
25624         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
25625         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
25626         Moved ...
25627         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
25628         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
25629         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
25630         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
25631         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
25633 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
25635         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
25636         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
25637         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
25638         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
25639         * nscd/nscd.c: Likewise.
25640         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
25641         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
25642         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
25643         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
25645         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
25646         <kernel-features.h>.
25647         (init_mq_netlink): Remove conditional have_sock_cloexec
25648         definitions.  Remove code conditional on have_sock_cloexec < 0.
25649         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
25650         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
25651         * sysdeps/unix/sysv/linux/opensock.c: Do not include
25652         <kernel-features.h>.
25653         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
25654         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
25656 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
25658         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25659         Add tests for memset_chk and memset.
25661         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
25662         with AVX2_Usable.
25664 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
25666         [BZ #16046]
25667         * elf/tst-dl-iter-static.c: New file.
25668         * elf/Makefile (tests-static): Add tst-dl-iter-static.
25670         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
25671         error.
25673 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
25675         * sysdeps/unix/sysv/linux/kernel-features.h
25676         (__ASSUME_F_GETOWN_EX): Remove macro.
25677         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
25678         <kernel-features.h>.
25679         (miss_F_GETOWN_EX): Remove variable or macro.
25680         (do_fcntl): Do not check miss_F_GETOWN_EX.
25681         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
25683         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
25684         Remove macro.
25685         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
25686         [!__ASSUME_AT_RANDOM]: Remove conditional code.
25687         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
25689         * sysdeps/unix/sysv/linux/kernel-features.h
25690         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
25691         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
25692         [ADJ_OFFSET_SS_READ]: Make code unconditional.
25693         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
25695 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
25697         [BZ #17075]
25698         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
25699         Fix calculation of the symbol's value.
25700         * sysdeps/arm/tst-armtlsdescloc.c: New file.
25701         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
25702         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
25703         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
25704         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
25705         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
25706         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
25707         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
25708         (modules-names): Add `tst-armtlsdescmod',
25709         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
25710         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
25711         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
25712         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
25713         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
25714         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
25715         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
25716         ($(objpfx)tst-armtlsdescloc): New dependency.
25717         ($(objpfx)tst-armtlsdescextnow): Likewise.
25718         ($(objpfx)tst-armtlsdescextlazy): Likewise.
25719         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
25720         TLS scheme support.
25721         * sysdeps/arm/configure: Regenerate.
25723 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
25725         * include/fcntl.h (__atfct_seterrno): Remove prototype.
25726         (__atfct_seterrno_2): Likewise.
25727         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
25728         <kernel-features.h>.
25729         (__ASSUME_ATFCTS): Do not undefine and redefine.
25730         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
25731         (__have_atfcts): Remove conditional definition.
25732         (__fxstatat([__NR_fstatat64]: Make code unconditional.
25733         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
25734         unreachable if [__ASSUME_ATFCTS].
25735         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
25736         not undefine and redefine.
25737         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
25738         <kernel-features.h>.
25739         (faccessat) [__NR_faccessat]: Make code unconditional.
25740         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
25741         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
25742         <kernel-features.h>.
25743         (fchmodat) [__NR_fchmodat]: Make code unconditional.
25744         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
25745         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
25746         <kernel-features.h>.
25747         (fchownat) [__NR_fchownat]: Make code unconditional.
25748         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
25749         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
25750         <kernel-features.h>.
25751         (futimesat) [__NR_futimesat]: Make code unconditional.
25752         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
25753         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
25754         <kernel-features.h>.
25755         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
25756         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
25757         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
25758         <kernel-features.h>.
25759         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
25760         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
25761         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
25762         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
25763         <kernel-features.h>.
25764         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
25765         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
25766         * sysdeps/unix/sysv/linux/linkat.c: Do not include
25767         <kernel-features.h>.
25768         (linkat) [__NR_linkat]: Make code unconditional.
25769         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
25770         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
25771         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
25772         <kernel-features.h>.
25773         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
25774         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
25775         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
25776         <kernel-features.h>.
25777         (mkdirat) [__NR_mkdirat]: Make code unconditional.
25778         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
25779         * sysdeps/unix/sysv/linux/openat.c: Do not include
25780         <kernel-features.h>.
25781         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
25782         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
25783         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
25784         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
25785         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
25786         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
25787         <kernel-features.h>.
25788         (readlinkat) [__NR_readlinkat]: Make code unconditional.
25789         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
25790         result of INLINE_SYSCALL directly, not via int variable.
25791         * sysdeps/unix/sysv/linux/renameat.c: Do not include
25792         <kernel-features.h>.
25793         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
25794         (renameat) [__NR_renameat]: Make code unconditional.
25795         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
25796         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
25797         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
25798         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
25799         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
25800         (__ASSUME_ATFCTS): Do not undefine and redefine.
25801         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
25802         <kernel-features.h>.
25803         (symlinkat) [__NR_symlinkat]: Make code unconditional.
25804         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
25805         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
25806         <kernel-features.h>.
25807         (unlinkat) [__NR_unlinkat]: Make code unconditional.
25808         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
25809         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
25810         (__ASSUME_ATFCTS): Do not undefine and redefine.
25811         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25812         <kernel-features.h>.
25813         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
25814         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
25815         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25816         <kernel-features.h>.
25817         (__xmknodat) [__NR_mknodat]: Make code unconditional.
25818         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
25820 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
25822         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
25824 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
25826         [BZ #17069]
25827         * posix/regcomp.c (parse_reg_exp): Deallocate partially
25828         constructed tree before returning error.
25829         * posix/bug-regexp36.c: Expand test case.
25831 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
25833         [BZ #6803]
25834         * math/libm-test.inc (scalbln_test_date):
25835         Add errno expectations.
25836         * math/w_scalblnf.c: New File.
25837         Add wrapper which checks for setting errno to ERANGE.
25838         Add weak_alias for corresponding scalbln function.
25839         * math/w_scalbln.c: Likewise.
25840         * math/w_scalblnl.c: Likewise.
25841         * math/Makefile (libm-calls): Add w_scalbln.
25842         * sysdeps/ieee754/flt-32/s_scalblnf.c:
25843         Remove weak_alias for corresponding scalbln function.
25844         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25845         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
25846         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25847         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25848         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
25849         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
25850         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
25851         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
25852         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
25853         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
25854         Remove long_double_symbol for scalblnl function in libm, libc.
25855         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
25856         Add wrapper which checks for setting errno to ERANGE.
25857         Add long_double_symbol for scalblnl function in libm, libc.
25858         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
25859         Remove long_double_symbol for scalblnl in libm.
25860         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
25861         Add wrapper which checks for setting errno to ERANGE.
25862         Add long_double_symbol for scalblnl function in libm.
25863         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
25864         Do not use wrapper because of own implementation.
25866 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
25868         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
25869         3 bytes for __pad1 for x32.
25870         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
25872 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
25873             H.J. Lu  <hongjiu.lu@intel.com>
25875         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
25876         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
25877         * sysdeps/x86_64/multiarch/memset.S: Likewise.
25878         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25879         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
25881 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
25883         [BZ #17069]
25884         * posix/regcomp.c (parse_expression): Deallocate partially
25885         constructed tree before returning error.
25886         * posix/Makefile.c (tests): Add bug-regex36.
25887         (generated): Add bug-regex36.mtrace.
25888         (tests-special): Add $(objpfx)bug-regex36-mem.out
25889         (bug-regex36-ENV): New variable.
25890         ($(objpfx)bug-regex36-mem.out): New rule.
25891         * posix/bug-regex36.c: New file.
25893 2014-06-19  Will Newton  <will.newton@linaro.org>
25895         * malloc/malloc.c (systrim): If extra is zero then return
25896         early.
25898 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25900         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
25902 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
25904         * sysdeps/aarch64/strchr.S: New file.
25906 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
25908         [BZ #17022]
25909         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
25910         from arguments -2 or below.
25911         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
25912         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
25914 2014-06-18  Andreas Schwab  <schwab@suse.de>
25916         [BZ #17062]
25917         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
25918         of a bracket expr not to run off the end of the string.
25919         * posix/Makefile (tests): Add tst-fnmatch3.
25920         * posix/tst-fnmatch3.c: New file.
25922 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
25924         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
25925         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
25926         [$(cross-compiling) = no]: Likewise.
25927         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
25928         [$(cross-compiling) = no]: Likewise.
25930 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25932         [BZ #17031]
25933         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
25934         double, adjusted for any remainder from the high double.
25935         * math/libm-test.inc (nearbyint): Add tests.
25936         (rint): Likewise.
25938 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25940         * nptl/sysdeps/powerpc/Makefile: Moved ...
25941         * sysdeps/powerpc/nptl/Makefile: ... here.
25942         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
25943         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
25944         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
25945         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
25946         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
25947         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
25948         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
25949         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
25950         * nptl/sysdeps/powerpc/tls.h: Moved ...
25951         * sysdeps/powerpc/nptl/tls.h: ... here.
25953 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
25955         [BZ #16681]
25956         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
25957         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
25958         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
25959         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
25960         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
25961         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
25962         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
25963         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
25964         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
25966 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
25968         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
25970 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
25972         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
25973         defined operator.
25975         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
25976         $TIMEOUTFACTOR.
25978 2014-06-16  Florian Weimer  <fweimer@redhat.com>
25980         [BZ #17058]
25981         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
25982         non-executed part of the test.
25984 2014-06-16  Andreas Schwab  <schwab@suse.de>
25986         * string/bits/string2.h (strdup, strndup): Update feature guard.
25988 2014-06-14  David S. Miller  <davem@davemloft.net>
25990         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25992 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
25994         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
25995         that was previously under [RESET_PID].
25996         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
25998         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
25999         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
26000         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
26001         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
26002         (__libc_vfork): New strong alias.
26003         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
26005 2014-06-14 Andi Kleen  <ak@linux.intel.com>
26007         * sysdeps/generic/elide.h: New file.
26009 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
26011         * Makefile (installed-headers): Adjust path of pthread.h header.
26013 2014-06-13  Roland McGrath  <roland@hack.frob.com>
26015         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
26016         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
26017         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
26018         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
26020         * nptl/sysdeps/s390/Makefile: Moved ...
26021         * sysdeps/s390/nptl/Makefile: ... here.
26022         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
26023         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
26024         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
26025         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
26026         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
26027         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
26028         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
26029         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
26030         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
26031         * sysdeps/s390/nptl/pthreaddef.h: ... here.
26032         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
26033         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
26034         * nptl/sysdeps/s390/tls.h: Moved ...
26035         * sysdeps/s390/nptl/tls.h: ... here.
26037         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
26038         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
26040 2014-06-13  David S. Miller  <davem@davemloft.net>
26042         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
26043         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
26044         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
26045         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
26046         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
26047         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
26048         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
26049         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
26050         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
26051         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
26052         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
26053         Remove RESET_PID cpp guards.
26054         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
26055         Remove RESET_PID cpp guards.
26056         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
26058 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
26060         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
26061         __sp to uintptr_t.
26063 2014-06-13  Andi Kleen  <ak@linux.intel.com>
26065         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
26066         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
26067         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
26068         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
26069         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
26070         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
26071         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
26072         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
26073         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
26074         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
26075         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
26076         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
26077         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
26078         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
26079         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
26080         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
26081         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
26082         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
26083         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
26084         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
26086         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
26087         (pthread_rwlock_rdlock): Add elision.
26088         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
26089         (pthread_rwlock_wrlock): Add elision.
26090         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
26091         (pthread_rwlock_trywrlock): Add elision.
26092         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
26093         (pthread_rwlock_tryrdlock): Add elision.
26094         * nptl/pthread_rwlock_unlock.c: Include elide.h.
26095         (pthread_rwlock_tryrdlock): Add elision unlock.
26096         * nptl/sysdeps/pthread/pthread.h:
26097         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
26098         (PTHREAD_RWLOCK_INITIALIZER,
26099         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
26100         Handle new elision field.
26101         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
26102         * sysdeps/arm/nptl/bits/pthreadtypes.h
26103         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26104         * sysdeps/sh/nptl/bits/pthreadtypes.h
26105         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26106         * sysdeps/tile/nptl/bits/pthreadtypes.h
26107         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26108         * sysdeps/a/nptl/bits/pthreadtypes.h
26109         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26110         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
26111         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26112         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
26113         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26114         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
26115         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26116         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
26117         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26118         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
26119         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26120         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
26121         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26122         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
26123         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26124         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
26125         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26126         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
26127         (elision_init): Set try_xbegin to zero when no RTM.
26128         * sysdeps/x86/nptl/bits/pthreadtypes.h
26129         (pthread_rwlock_t): Change __pad1 to __rwelision.
26130         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26132 2014-06-13  Andi Kleen  <ak@linux.intel.com>
26134         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
26135         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
26136         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
26137         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
26139 2014-06-13  Meador Inge  <meadori@codesourcery.com>
26141         [BZ #16996]
26142         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
26143         that the cached result has been set before returning it.
26145 2014-06-12  Roland McGrath  <roland@hack.frob.com>
26147         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
26148         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
26149         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
26150         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
26151         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
26152         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
26154         * nptl/sysdeps/sparc/Makefile: Moved ...
26155         * sysdeps/sparc/nptl/Makefile: ... here.
26156         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
26157         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
26158         * nptl/sysdeps/sparc/tls.h: Moved ...
26159         * sysdeps/sparc/nptl/tls.h: ... here.
26160         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
26161         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
26162         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
26163         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
26164         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
26165         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
26166         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
26167         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
26168         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
26169         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
26170         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
26171         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
26172         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
26173         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
26174         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
26175         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
26176         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
26177         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
26178         Update #include.
26179         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
26180         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
26181         Update #include.
26182         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
26183         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
26184         Update #include.
26185         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
26186         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
26187         Update #include.
26189         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
26191         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
26192         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
26194         * sysdeps/pthread/posix-timer.h: Include <list.h>.
26195         (struct list_links): Type removed.
26196         (struct thread_node, struct timer_node): Replace struct list_links
26197         with struct list_head.
26198         (list_unlink_ip): Likewise.
26199         * sysdeps/pthread/timer_routines.c
26200         (timer_free_list, thread_free_list, thread_active_list): Likewise.
26201         (list_append, list_insbefore): Likewise.
26202         (list_init): Function removed.
26203         (thread_init, init_module): Use INIT_LIST_HEAD instead.
26204         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
26205         * sysdeps/pthread/Makefile: ... here, new file.
26207         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
26208         * sysdeps/nptl/Implies: ... here.
26209         * sysdeps/unix/sysv/linux/Implies: Add nptl.
26210         * nptl/sysdeps/pthread/list.h: Moved ...
26211         * include/list.h: ... here.
26212         * nptl/sysdeps/pthread/createthread.c: Moved ...
26213         * nptl/createthread.c: ... here.
26214         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
26215         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
26216         * nptl/pt-longjmp.c: ... here.
26217         * nptl/sysdeps/pthread/Makefile: Moved ...
26218         * sysdeps/nptl/Makefile: ... here.
26219         * nptl/sysdeps/pthread/Subdirs: Moved ...
26220         * sysdeps/nptl/Subdirs: ... here.
26221         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
26222         * sysdeps/nptl/aio_misc.h: ... here.
26223         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
26224         * sysdeps/nptl/bits/libc-lock.h: ... here.
26225         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
26226         * sysdeps/nptl/bits/libc-lockP.h: ... here.
26227         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
26228         * sysdeps/nptl/bits/stdio-lock.h: ... here.
26229         * nptl/sysdeps/pthread/configure: Moved ...
26230         * sysdeps/nptl/configure: ... here.
26231         * nptl/sysdeps/pthread/configure.ac: Moved ...
26232         * sysdeps/nptl/configure.ac: ... here.
26233         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
26234         * sysdeps/nptl/gai_misc.h: ... here.
26235         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
26236         * sysdeps/nptl/librt-cancellation.c: ... here.
26237         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
26238         * sysdeps/nptl/malloc-machine.h: ... here.
26239         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
26240         * sysdeps/nptl/pthread-functions.h: ... here.
26241         * nptl/sysdeps/pthread/pthread.h: Moved ...
26242         * sysdeps/nptl/pthread.h: ... here.
26243         * nptl/sysdeps/pthread/setxid.h: Moved ...
26244         * sysdeps/nptl/setxid.h: ... here.
26245         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
26246         * sysdeps/nptl/sigfillset.c: ... here.
26247         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
26248         * sysdeps/nptl/tcb-offsets.h: ... here.
26249         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
26250         * sysdeps/nptl/tst-mqueue8x.c: ... here.
26251         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
26252         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
26253         * nptl/sysdeps/pthread/allocalim.h: Moved ...
26254         * sysdeps/pthread/allocalim.h: ... here.
26255         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
26256         * sysdeps/pthread/bits/sigthread.h: ... here.
26257         * nptl/sysdeps/pthread/flockfile.c: Moved ...
26258         * sysdeps/pthread/flockfile.c: ... here.
26259         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
26260         * sysdeps/pthread/ftrylockfile.c: ... here.
26261         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
26262         * sysdeps/pthread/funlockfile.c: ... here.
26263         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
26264         * sysdeps/pthread/posix-timer.h: ... here.
26265         * nptl/sysdeps/pthread/timer_create.c: Moved ...
26266         * sysdeps/pthread/timer_create.c: ... here.
26267         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
26268         * sysdeps/pthread/timer_delete.c: ... here.
26269         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
26270         * sysdeps/pthread/timer_getoverr.c: ... here.
26271         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
26272         * sysdeps/pthread/timer_gettime.c: ... here.
26273         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
26274         * sysdeps/pthread/timer_routines.c: ... here.
26275         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
26276         * sysdeps/pthread/timer_settime.c: ... here.
26277         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
26278         * sysdeps/pthread/tst-timer.c: ... here.
26279         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
26280         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
26282         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
26283         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
26285         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
26286         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
26287         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
26288         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
26289         Update #include target.
26290         * nptl/sysdeps/i386/i686/Makefile: Moved ...
26291         * sysdeps/i386/i686/nptl/Makefile: ... here.
26292         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
26293         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
26294         Update #include target.
26295         * nptl/sysdeps/i386/i686/tls.h: Moved ...
26296         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
26297         * nptl/sysdeps/i386/Makefile: Moved ...
26298         * sysdeps/i386/nptl/Makefile: ... here.
26299         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
26300         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
26301         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
26302         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
26303         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
26304         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
26305         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
26306         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
26307         * sysdeps/i386/nptl/pthreaddef.h: ... here.
26308         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
26309         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
26310         * nptl/sysdeps/i386/tls.h: Moved ...
26311         * sysdeps/i386/nptl/tls.h: ... here.
26313         * sysdeps/sh/Makefile [$(subdir) = csu]
26314         (gen-as-const-headers): Add tcb-offsets.sym.
26315         * nptl/sysdeps/sh/Makefile: File removed.
26316         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
26317         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
26318         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
26319         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
26320         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
26321         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
26322         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
26323         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
26324         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
26325         * sysdeps/sh/nptl/pthreaddef.h: ... here.
26326         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
26327         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
26328         * nptl/sysdeps/sh/tls.h: Moved ...
26329         * sysdeps/sh/nptl/tls.h: ... here.
26330         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
26331         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
26332         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
26333         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
26334         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
26335         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
26336         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
26337         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
26338         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
26339         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
26340         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
26341         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
26342         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
26343         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
26344         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
26345         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
26346         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
26347         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
26348         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
26349         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
26350         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
26351         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
26352         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
26353         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
26354         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
26355         Moved ...
26356         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
26357         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
26358         Moved ...
26359         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
26360         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
26361         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
26362         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
26363         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
26364         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
26365         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
26366         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
26367         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
26368         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
26369         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
26370         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
26371         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
26372         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
26373         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
26374         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
26375         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
26376         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
26377         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
26379 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26381         * posix/spawn_faction_addopen.c: Include string.h.
26383 2014-06-11  Roland McGrath  <roland@hack.frob.com>
26385         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
26386         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
26387         * nptl/sysdeps/x86_64/Makefile: Moved ...
26388         * sysdeps/x86_64/nptl/Makefile: ... here.
26389         * nptl/sysdeps/x86_64/configure: Moved ...
26390         * sysdeps/x86_64/nptl/configure: ... here.
26391         * nptl/sysdeps/x86_64/configure.ac: Moved ...
26392         * sysdeps/x86_64/nptl/configure.ac: ... here.
26393         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
26394         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
26395         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
26396         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
26397         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
26398         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
26399         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
26400         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
26401         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
26402         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
26403         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
26404         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
26405         * nptl/sysdeps/x86_64/tls.h: Moved ...
26406         * sysdeps/x86_64/nptl/tls.h: ... here.
26407         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
26408         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
26409         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
26410         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
26412         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
26414 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26416         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26418 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
26420         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
26421         type.
26422         [POSIX] (off_t): Likewise.
26423         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
26424         [POSIX] (S_ISBLK): Require macro.
26425         [POSIX] (S_ISCHR): Likewise.
26426         [POSIX] (S_ISDIR): Likewise.
26427         [POSIX] (S_ISFIFO): Likewise.
26428         [POSIX] (S_ISREG): Likewise.
26429         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
26430         optional-macro.
26431         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
26432         type.
26433         [POSIX] (time_t): Likewise.
26434         [POSIX] (timer_t): Likewise.
26436 2014-06-11  Florian Weimer  <fweimer@redhat.com>
26438         [BZ #17048]
26439         * posix/spawn_int.h (struct __spawn_action): Make the path string
26440         non-const to support deallocation.
26441         * posix/spawn_faction_addopen.c
26442         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
26443         * posix/spawn_faction_destroy.c
26444         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
26445         path in all spawn_do_open actions.
26446         * posix/tst-spawn.c (do_test): Exercise the copy operation in
26447         posix_spawn_file_actions_addopen.
26449 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
26451         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
26452         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
26453         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
26454         conditional code always true.
26455         (__libc_vfork): New alias.
26457 2014-06-11  Roland McGrath  <roland@hack.frob.com>
26459         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26460         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
26462         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
26464         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26465         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
26467         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
26468         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
26470         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26471         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
26473 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
26475         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
26476         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
26477         multiarch strcmp for PPC64.
26478         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
26479         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
26480         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
26481         multiarch optimizations.
26482         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26483         (__libc_ifunc_impl_list): Likewise.
26485 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26487         * benchtests/scripts/validate_benchout.py: New script.
26488         * benchtests/Makefile (bench-func): Call it.
26489         * benchtests/scripts/benchout.schema.json: New file.
26491 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
26493         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
26494         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
26495         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
26496         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
26497         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
26498         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
26499         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
26500         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
26501         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
26502         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
26503         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
26504         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
26505         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
26506         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
26507         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
26508         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
26509         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
26510         Moved ...
26511         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
26512         ... here.
26513         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
26514         Moved ...
26515         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
26516         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
26517         Moved ...
26518         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
26519         ... here.
26520         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
26521         Moved ...
26522         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
26523         ... here.
26524         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
26525         Moved ...
26526         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
26527         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
26528         Moved ...
26529         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
26530         ... here.
26531         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
26532         Moved ...
26533         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
26534         ... here.
26535         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
26536         Moved ...
26537         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
26538         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
26539         Moved ...
26540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
26541         ... here.
26542         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
26543         Moved ...
26544         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
26545         ... here.
26546         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
26547         Moved ...
26548         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
26549         ... here.
26550         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
26551         Moved ...
26552         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
26553         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
26554         Moved ...
26555         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
26556         ... here.
26557         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
26558         Moved ...
26559         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
26560         ... here.
26561         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
26562         Moved ...
26563         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
26564         ... here.
26565         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
26566         Moved ...
26567         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
26568         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
26569         Moved ...
26570         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
26571         ... here.
26572         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
26573         Moved ...
26574         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
26575         ... here.
26576         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
26577         Moved ...
26578         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
26579         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
26580         Moved ...
26581         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
26582         ... here.
26583         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
26584         Moved ...
26585         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
26586         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
26587         Moved ...
26588         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
26589         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
26590         Moved ...
26591         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
26592         ... here.
26593         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
26594         Moved ...
26595         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
26596         ... here.
26597         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
26598         Moved ...
26599         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
26600         ... here.
26601         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
26602         Moved ...
26603         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
26604         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
26605         Moved ...
26606         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
26607         ... here.
26608         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
26609         Moved ...
26610         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
26611         ... here.
26612         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
26613         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
26614         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
26615         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
26616         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
26617         Moved ...
26618         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
26619         ... here.
26620         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
26621         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
26622         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
26623         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
26624         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
26625         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
26626         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
26627         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
26628         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
26629         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
26630         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
26631         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
26632         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
26633         Moved ...
26634         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
26635         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
26636         Moved ...
26637         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
26638         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
26639         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
26640         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
26641         Moved ...
26642         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
26643         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
26644         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
26645         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
26646         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
26647         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
26648         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
26650 2014-06-10  Wilco  <wdijkstr@arm.com>
26652         * math/test-fenv-return.c: New file.
26653         * math/Makefile: Add new test test-fenv-return.
26655 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
26657         [BZ #17042]
26658         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
26659         when x - 1 is zero.
26660         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
26661         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
26662         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
26663         0.0L for an argument of 1.0L.
26664         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
26665         Likewise.
26666         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
26667         value when x - 1 is zero.
26668         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
26669         * sysdeps/i386/fpu/libm-test-ulps: Update.
26670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26672 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
26674         [BZ #15119]
26675         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
26677 2014-06-09  Roland McGrath  <roland@hack.frob.com>
26679         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
26680         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
26682 2014-06-09  Roland McGrath  <roland@hack.frob.com>
26684         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26685         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
26687         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26688         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
26690         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26691         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
26693         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26694         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
26696         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
26697         if not already defined.
26698         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
26699         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
26700         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
26701         (TLS_INIT_TP): Use it.
26702         (TLS_DEFINE_INIT_TP): New macro.
26703         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
26705 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
26707         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
26708         constant.
26709         [POSIX] (IXANY): Likewise.
26710         [POSIX] (OLCUC): Likewise.
26711         [POSIX || POSIX2008] (CBAUD): Do not allow.
26712         [POSIX || POSIX2008] (DEFECHO): Likewise.
26713         [POSIX || POSIX2008] (ECHOCTL): Likewise.
26714         [POSIX || POSIX2008] (ECHOKE): Likewise.
26715         [POSIX || POSIX2008] (ECHOPRT): Likewise.
26716         [POSIX || POSIX2008] (EXTA): Likewise.
26717         [POSIX || POSIX2008] (EXTB): Likewise.
26718         [POSIX || POSIX2008] (FLUSHO): Likewise.
26719         [POSIX || POSIX2008] (LOBLK): Likewise.
26720         [POSIX || POSIX2008] (PENDIN): Likewise.
26721         [POSIX || POSIX2008] (SWTCH): Likewise.
26722         [POSIX || POSIX2008] (VDISCARD): Likewise.
26723         [POSIX || POSIX2008] (VDSUSP): Likewise.
26724         [POSIX || POSIX2008] (VLNEXT): Likewise.
26725         [POSIX || POSIX2008] (VREPRINT): Likewise.
26726         [POSIX || POSIX2008] (VSTATUS): Likewise.
26727         [POSIX || POSIX2008] (VWERASE): Likewise.
26728         (B*): Change to B[0123456789]*.
26729         * conform/data/time.h-data [POSIX || UNIX98]
26730         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
26731         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26732         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
26733         [POSIX] (tm_*): Do not allow.
26735 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
26737         * Makefile (install): Don't set LANGUAGE.
26738         * Makefile.in (install): Likewise.
26739         * assert/Makefile (test-assert-ENV): Remove variable.
26740         (test-assert-perr-ENV): Likewise.
26741         * elf/Makefile (neededtest4-ENV): Likewise.
26742         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
26743         [$(cross-compiling) = no]: Don't set LANGUAGE.
26744         * io/ftwtest-sh (LANG): Remove variable.
26745         * libio/Makefile (tst-widetext-ENV): Likewise.
26746         * manual/install.texi (Running make install): Don't refer to
26747         environment settings for make install.
26748         * INSTALL: Regenerated.
26749         * nptl/tst-tls6.sh: Don't set LANG.
26750         * posix/globtest.sh (LANG): Remove variable.
26751         * string/Makefile (tester-ENV): Likewise.
26752         (inl-tester-ENV): Likewise.
26753         (noinl-tester-ENV): Likewise.
26754         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
26755         [$(cross-compiling) = no]: Don't set LANGUAGE.
26756         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
26757         without explicit environment settings.
26759 2014-06-06  Roland McGrath  <roland@hack.frob.com>
26761         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
26762         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
26763         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
26764         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
26766 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
26768         * crypt/crypt-private.h [DOS]: Add some includes taken from the
26769         other files in the crypt directory.
26770         * crypt/crypt.c: Remove duplicate includes.
26771         * crypt/crypt-entry.c: Likewise.
26772         * crypt/crypt_util.c: Likewise.
26774 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
26776         * Makeconfig (run-program-env): New variable.
26777         (run-program-prefix-before-env): Likewise.
26778         (run-program-prefix-after-env): Likewise.
26779         (run-program-prefix): Define in terms of new variables.
26780         (built-program-cmd-before-env): New variable.
26781         (built-program-cmd-after-env): Likewise.
26782         (built-program-cmd): Define in terms of new variables.
26783         (test-program-prefix-before-env): New variable.
26784         (test-program-prefix-after-env): Likewise.
26785         (test-program-prefix): Define in terms of new variables.
26786         (test-program-cmd-before-env): New variable.
26787         (test-program-cmd-after-env): Likewise.
26788         (test-program-cmd): Define in terms of new variables.
26789         * Rules (make-test-out): Use $(run-program-env).
26790         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
26791         (help): Do not mention environment variables.  Mention
26792         --timeoutfactor option.
26793         (timeoutfactor): New variable.
26794         (blacklist_exports): Remove function.
26795         (exports): Remove variable.
26796         (command): Do not include ${exports}.
26797         * manual/install.texi (Configuring and compiling): Do not mention
26798         test wrappers preserving environment variables.  Mention that last
26799         assignment to a variable must take precedence.
26800         * INSTALL: Regenerated.
26801         * benchtests/Makefile (run-bench): Use $(run-program-env).
26802         * catgets/Makefile ($(objpfx)test1.cat): Use
26803         $(built-program-cmd-before-env), $(run-program-env) and
26804         $(built-program-cmd-after-env).
26805         ($(objpfx)test2.cat): Do not specify environment variables
26806         explicitly.
26807         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
26808         $(run-program-env) and $(built-program-cmd-after-env).
26809         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
26810         $(run-program-env) and $(test-program-cmd-after-env).
26811         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
26812         explicitly.
26813         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
26814         run_program_env and test_program_cmd_after_env arguments.
26815         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
26816         * elf/tst-pathopt.sh: Use run_program_env argument.
26817         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
26818         $(test-wrapper-env) and $(run-program-env).
26819         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
26820         run_program_env arguments.
26821         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
26822         * intl/Makefile ($(objpfx)tst-gettext.out): Use
26823         $(test-program-prefix-before-env), $(run-program-env) and
26824         $(test-program-prefix-after-env).
26825         ($(objpfx)tst-gettext2.out): Likewise.
26826         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
26827         run_program_env and test_program_prefix_after_env arguments.
26828         * intl/tst-gettext2.sh: Likewise.
26829         * intl/tst-gettext4.sh: Do not set environment variables
26830         explicitly.
26831         * intl/tst-gettext6.sh: Likewise.
26832         * intl/tst-translit.sh: Likewise.
26833         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
26834         $(test-program-prefix-before-env), $(run-program-env) and
26835         $(test-program-prefix-after-env).
26836         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
26837         run_program_env and test_program_prefix_after_env arguments.
26838         * math/Makefile (run-regen-ulps): Use $(run-program-env).
26839         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
26840         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
26841         explicitly with each use of ${test_wrapper_env}.
26842         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
26843         $(test-program-prefix-before-env), $(run-program-env) and
26844         $(test-program-prefix-after-env).
26845         * posix/tst-getconf.sh: Do not set environment variables
26846         explicitly.
26847         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
26848         run_program_env and test_program_prefix_after_env arguments.
26849         * stdio-common/tst-printf.sh: Do not set environment variables
26850         explicitly.
26851         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
26852         $(test-program-prefix-before-env), $(run-program-env) and
26853         $(test-program-prefix-after-env).
26854         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
26855         run_program_env and test_program_prefix_after_env arguments.
26856         Split $test calls into $test_pre and $test.
26857         * timezone/Makefile (build-testdata): Use
26858         $(built-program-cmd-before-env), $(run-program-env) and
26859         $(built-program-cmd-after-env).
26861 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26863         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
26864         strlen for non SHARED builds.
26866 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
26868         * nptl/allocatestack.c (check_list): Inlined function...
26869         (__reclaim_stacks): ... here.
26871 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
26873         [BZ #15698]
26874         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
26875         memory overrun.
26877 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
26879         * Rules (make-test-out): Include
26880         LOCPATH=$(common-objpfx)localedata in default environment.
26881         * debug/Makefile (tst-chk1-ENV): Remove variable.
26882         (tst-chk2-ENV): Likewise.
26883         (tst-chk3-ENV): Likewise.
26884         (tst-chk4-ENV): Likewise.
26885         (tst-chk5-ENV): Likewise.
26886         (tst-chk6-ENV): Likewise.
26887         (tst-lfschk1-ENV): Likewise.
26888         (tst-lfschk2-ENV): Likewise.
26889         (tst-lfschk3-ENV): Likewise.
26890         (tst-lfschk4-ENV): Likewise.
26891         (tst-lfschk5-ENV): Likewise.
26892         (tst-lfschk6-ENV): Likewise.
26893         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
26894         (tst-iconv7-ENV): Likewise.
26895         * intl/Makefile (LOCPATH-ENV): Likewise.
26896         (tst-codeset-ENV): Likewise.
26897         (tst-gettext3-ENV): Likewise.
26898         (tst-gettext5-ENV): Likewise.
26899         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
26900         (tst-fopenloc-ENV): Likewise.
26901         (tst-fgetws-ENV): Remove variable.
26902         (tst-ungetwc1-ENV): Likewise.
26903         (tst-ungetwc2-ENV): Likewise.
26904         (bug-ungetwc2-ENV): Likewise.
26905         (tst-swscanf-ENV): Likewise.
26906         (bug-ftell-ENV): Likewise.
26907         (tst-fgetwc-ENV): Likewise.
26908         (tst-fseek-ENV): Likewise.
26909         (tst-ftell-partial-wide-ENV): Likewise.
26910         (tst-ftell-active-handler-ENV): Likewise.
26911         (tst-ftell-append-ENV): Likewise.
26912         * posix/Makefile (tst-fnmatch-ENV): Likewise.
26913         (tst-regexloc-ENV): Likewise.
26914         (bug-regex1-ENV): Likewise.
26915         (tst-regex-ENV): Likewise.
26916         (tst-regex2-ENV): Likewise.
26917         (bug-regex5-ENV): Likewise.
26918         (bug-regex6-ENV): Likewise.
26919         (bug-regex17-ENV): Likewise.
26920         (bug-regex18-ENV): Likewise.
26921         (bug-regex19-ENV): Likewise.
26922         (bug-regex20-ENV): Likewise.
26923         (bug-regex22-ENV): Likewise.
26924         (bug-regex23-ENV): Likewise.
26925         (bug-regex25-ENV): Likewise.
26926         (bug-regex26-ENV): Likewise.
26927         (bug-regex30-ENV): Likewise.
26928         (bug-regex32-ENV): Likewise.
26929         (bug-regex33-ENV): Likewise.
26930         (bug-regex34-ENV): Likewise.
26931         (bug-regex35-ENV): Likewise.
26932         (tst-rxspencer-ENV): Likewise.
26933         (tst-rxspencer-no-utf8-ENV): Likewise.
26934         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
26935         (tst-sscanf-ENV): Likewise.
26936         (tst-swprintf-ENV): Likewise.
26937         (tst-swscanf-ENV): Likewise.
26938         (test-vfprintf-ENV): Likewise.
26939         (scanf13-ENV): Likewise.
26940         (bug14-ENV): Likewise.
26941         (tst-grouping-ENV): Likewise.
26942         * stdlib/Makefile (tst-strtod-ENV): Likewise.
26943         (tst-strtod3-ENV): Likewise.
26944         (tst-strtod4-ENV): Likewise.
26945         (tst-strtod5-ENV): Likewise.
26946         (testmb2-ENV): Likewise./
26947         * string/Makefile (tst-strxfrm-ENV): Likewise.
26948         (tst-strxfrm2-ENV): Likewise.
26949         (bug-strcoll1-ENV): Likewise.
26950         (test-strcasecmp-ENV): Likewise.
26951         (test-strncasecmp-ENV): Likewise.
26952         * time/Makefile (tst-strptime-ENV): Likewise.
26953         (tst-ftime_l-ENV): Likewise.
26954         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
26955         (tst-mbrtowc-ENV): Likewise.
26956         (tst-wcrtomb-ENV): Likewise.
26957         (tst-mbrtowc2-ENV): Likewise.
26958         (tst-c16c32-1-ENV): Likewise.
26959         (tst-mbsnrtowcs-ENV): Likewise.
26961 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
26963         * manual/resource.texi (How to get information about the memory
26964         subsystem?): Fix typo.
26965         Reported by Peon de la Parra Ivan <peon@keba.com>
26967 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
26969         [BZ #16882]
26970         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
26971         (pthread_spin_lock): Branch out of spin loop to proper location.
26972         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
26973         (pthread_spin_lock): Likewise.
26975         * nptl/tst-spin4.c: New test.
26976         * nptl/Makefile (tests): Add tst-spin4.
26978 2014-06-03  Andreas Schwab  <schwab@suse.de>
26980         [BZ #15946]
26981         * resolv/res_send.c (send_dg): Reload file descriptor after
26982         calling reopen.
26984 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
26986         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26988 2014-06-03  Richard Henderson  <rth@redhat.com>
26990         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
26991         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
26992         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
26993         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
26994         in the SAVE_PID block.
26995         (__libc_vfork): New alias.
26996         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
26998         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
26999         child in registers, not on the stack.  Remove RESET_PID conditionals.
27000         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
27002 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
27004         * sysdeps/aarch64/libm-test-ulps: Regenerate.
27006 2014-06-03  Wilco  <wdijkstr@arm.com>
27008         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
27009         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
27010         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
27011         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
27012         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
27013         Likewise.
27015 2014-06-03  Wilco  <wdijkstr@arm.com>
27017         * sysdeps/aarch64/fpu/math_private.h
27018         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
27019         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
27020         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
27021         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
27022         Fix declarations.
27024 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27026         * crypt/crypt-private.h: Include ufc-crypt.h.
27027         (__b64_from_24bit): Declare extern.
27028         * crypt/crypt_util.c(__b64_from_24bit): New function.
27029         (b64t): New static const variable.
27030         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
27031         (b64t): Remove variable.
27032         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
27033         * crypt/sha256-crypt.c: Include crypt-private.h.
27034         (b64t): Remove variable.
27035         (__sha256_crypt_r): Remove b64_from_24bit and replace
27036         with __b64_from_24bit.
27037         * crypt/sha512-crypt.c: Likewise.
27039 2014-06-02  Roland McGrath  <roland@hack.frob.com>
27041         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
27042         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
27043         Label the code __libc_vfork rather than __vfork.
27044         [!NOT_IN_libc] (vfork): Define as weak alias.
27045         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
27046         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
27047         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
27049 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27051         * malloc/malloc.c (malloc_info): Fix format specifier for
27052         n_mmaps.
27054 2014-06-02  Wilco  <wdijkstr@arm.com>
27056         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
27057         FPCR write.
27059 2014-06-02  Wilco  <wdijkstr@arm.com>
27061         [BZ #17009]
27062         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
27063         Rewrite to reduce FPCR/FPSR accesses.
27065 2014-06-01  David S. Miller  <davem@davemloft.net>
27067         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27069 2014-05-31  David S. Miller  <davem@davemloft.net>
27071         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
27072         to occur in round to nearest mode when |x| >= 2.0
27074 2014-05-30  Richard Henderson  <rth@twiddle.net>
27076         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
27077         (PSEUDO_RET_NOERRNO): Remove.
27078         (ret): Don't redefine.
27079         (ret_NOERRNO): Define in terms of ret.
27080         (ret_ERRVAL): Likewise.
27082         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
27083         use of PSEUDO_RET; perform the error check directly.
27085 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
27087         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
27088         with __int128_t.
27090 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27092         * malloc/malloc (malloc_info): Fix formatting.
27094 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27095             Roland McGrath  <roland@hack.frob.com>
27097         * malloc/malloc (malloc_info): Also print mmapped statistics.
27099 2014-05-30  Roland McGrath  <roland@hack.frob.com>
27101         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
27102         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
27104 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
27106         * malloc/malloc.c (malloc_info): Inline mi_arena.
27108 2014-05-29  Richard Henderson  <rth@twiddle.net>
27110         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
27111         Remove comma before expanding ASM_ARGS_##nr.
27112         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
27113         Make _x0 a strict output; make _x8 a strict input; adjust expansion
27114         of ASM_ARGS_##nr.
27115         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
27116         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
27117         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
27118         (ASM_ARGS_1): Add leading comma.
27120         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
27121         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
27122         to __errno_location.
27123         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
27124         Remove the expected plt for __errno_location.
27126         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
27127         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
27128         call to __read_tp.
27130         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
27131         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
27132         it and break it down.
27133         (DOCARGS_0, DOCARGS_1): Do nothing.
27134         (DOCARGS_2): Update to store into the new stack frame.
27135         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
27136         (UNDOCARGS_1): Update to restore from the new stack frame.
27137         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
27138         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
27140         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
27141         (SINGLE_THREAD_P): New parameter for result regno.
27142         (PSEUDO): Update to match; use cbz instead of beq.
27144         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
27145         Use ENTRY to define the _nocancel entry point.  Share the syscall
27146         and syscall error check paths with the cancel path.
27147         (PSEUDO_END): New.
27149         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
27150         whitespace; tabs before and after asm mnemonics.
27152 2014-05-29  Eric Wong  <normalperson@yhbt.net>
27154         [BZ #15132]
27155         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27156         Call fstat64 or stat64 internally, depending on arguments passed.
27157         Replace stat buffer argument with file descriptor argument.
27158         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
27159         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
27160         Pass fd to __internal_statvfs instead of calling fstat64.
27161         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
27162         Pass fd to __internal_statvfs64 instead of calling fstat64.
27163         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
27164         Pass -1 to __internal_statvfs instead of calling stat64.
27165         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
27166         Pass -1 to __internal_statvfs64 instead of calling stat64.
27168 2014-05-28  Roland McGrath  <roland@hack.frob.com>
27170         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
27171         that was previously under [RESET_PID].
27172         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
27174         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
27175         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
27177 2014-05-27  Roland McGrath  <roland@hack.frob.com>
27179         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
27181         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
27182         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
27184 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
27186         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
27188 2014-05-27  Andreas Schwab  <schwab@suse.de>
27190         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
27191         TLS_INIT_TP macro.
27192         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
27193         * elf/rtld.c (init_tls, dl_main): Likewise.
27194         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
27195         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
27196         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
27197         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
27198         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
27199         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
27200         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
27201         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
27202         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
27203         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
27204         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
27205         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
27206         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
27207         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
27208         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
27209         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
27210         * sysdeps/generic/tls.h: Update description.
27212 2014-05-27  Will Newton  <will.newton@linaro.org>
27214         [BZ #16990]
27215         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
27216         and restore r2 rather than just restoring.
27218 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27220         [BZ #16724]
27221         * libio/tst-ftell-append.c: New test case.
27222         * libio/Makefile (tests): Add test case.
27223         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
27224         append mode.
27225         * libio/wfileops.c (do_ftell_wide): Likewise.
27227 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27229         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27231         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
27232         ...
27233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
27234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
27235         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
27236         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
27237         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
27238         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
27239         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
27240         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
27241         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
27242         Moved ...
27243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
27244         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
27245         Moved ...
27246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
27247         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
27248         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
27249         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
27250         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
27251         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
27252         ...
27253         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
27254         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
27255         Moved ...
27256         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
27257         here.
27258         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
27259         ...
27260         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
27261         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
27262         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
27264         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
27265         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
27266         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
27267         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
27269         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
27270         merge into ...
27271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
27272         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
27273         ...
27274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
27275         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
27276         ...
27277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
27278         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
27279         Moved ...
27280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
27281         here.
27282         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
27283         Moved ...
27284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
27285         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
27286         Moved ...
27287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
27289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
27290         conditional [RESET_PID].
27291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
27292         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
27293         removed.
27294         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
27295         removed.
27297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
27298         <tcb-offsets.h>.
27299         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27300         (__libc_vfork): New strong alias.
27301         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
27302         removed.
27303         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
27304         Removed.
27306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
27307         <tcb-offsets.h>.
27308         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
27309         (__libc_vfork): New strong alias.
27310         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
27311         removed.
27312         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
27313         removed.
27315 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
27317         * malloc/malloc.c (mi_arena): New function.
27318         (malloc_info): Remove nested function mi_arena. Call non-nosted
27319         function mi_arena.
27321 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27323         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
27324         by insrwi.
27325         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
27326         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
27327         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
27328         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
27329         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
27330         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
27331         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
27333 2014-05-26  Andreas Schwab  <schwab@suse.de>
27335         [BZ #16984]
27336         * locale/programs/repertoire.c (repertoire_read): Add slash
27337         between I18NPATH element and file name.
27338         * locale/programs/locfile.c (locfile_read): Likewise.
27340 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
27342         * nptl/pthread_mutexattr_settype.c
27343         (__pthread_mutexattr_settype):
27344         Disable lock elision for PTHREAD_MUTEX_NORMAL.
27346 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
27348         * nptl/tst-mutex5 (do_test):
27349         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
27351 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27353         * benchtests/README: Document 'init' directive.
27354         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
27355         BENCH_INIT.
27356         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
27357         (parse_file): Recognize 'init' directive.
27359 2014-05-26  Kyle McMartin  <kyle@redhat.com>
27361         [BZ #16796]
27362         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
27363         alignment of struct pthread.
27365 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27367         [BZ #16878]
27368         * nscd/netgroupcache.c (addgetnetgrentX): Look for
27369         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
27370         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
27371         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
27373 2014-05-25  Richard Henderson  <rth@twiddle.net>
27375         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
27376         (SINGLE_THREAD_P_PIC): Remove.
27377         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
27378         (SINGLE_THREAD_P_PIC): Remove.
27380         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
27381         branch to syscall error ...
27382         (PSEUDO): ... here.
27383         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
27384         from __local_syscall_error to .Lsyscall_error.
27385         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
27386         (SYSCALL_ERROR): Update label name.
27388         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
27389         Do not use DOARGS/UNDOARGS.
27390         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
27391         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
27392         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
27393         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
27394         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
27396         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
27397         block comment.
27399         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
27400         define if !NOT_IN_libc.
27401         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
27402         define with non-default symbol versions.
27404 2014-05-23  Richard Henderson  <rth@twiddle.net>
27406         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
27407         (vfork, __vfork): Define via compat_symbol.
27409         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
27410         [!HAVE_IFUNC] (vfork_compat): Remove.
27411         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
27413 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
27415         [BZ #16978]
27416         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
27417         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
27418         variable.
27420 2014-05-23  Richard Henderson  <rth@twiddle.net>
27422         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
27423         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
27424         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
27425         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
27427         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
27428         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
27429         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
27430         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
27431         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
27432         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
27433         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
27434         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
27435         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
27436         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
27437         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
27438         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
27439         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
27440         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
27441         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
27442         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
27443         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
27444         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
27445         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
27446         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
27447         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
27448         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
27449         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
27450         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
27451         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
27452         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
27453         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
27454         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
27455         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
27456         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
27457         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
27458         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
27459         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
27460         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
27461         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
27462         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
27463         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
27464         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
27465         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
27466         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
27467         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
27468         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
27469         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
27470         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
27471         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
27472         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
27473         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
27474         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
27475         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
27476         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
27477         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
27478         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
27479         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
27480         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
27481         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
27482         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
27484         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
27485         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
27486         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
27487         before exiting on error.
27488         (__libc_vfork): New strong alias.
27489         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
27490         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
27492         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
27493         that was previously under [RESET_PID].
27494         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
27496         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
27498 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
27500         [BZ #16977]
27501         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
27502         value when x - 1 is zero.
27503         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
27504         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
27505         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
27506         0.0L for an argument of 1.0L.
27507         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
27508         Likewise.
27509         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
27510         value when x - 1 is zero.
27511         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
27512         * sysdeps/i386/fpu/libm-test-ulps: Update.
27513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27515 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
27517         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
27518         alphasort and versionsort.
27520 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27522         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
27523         macro.
27524         [copysignf]: Likewise.
27526 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27528         * crypt/md5-crypt.c: Fix formatting.
27530 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27532         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
27533         (b64_from_24bit): New function.
27535 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27537         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
27538         libc_hidden_builtin_def to ifunc.
27539         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
27540         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
27542 2014-05-21  Roland McGrath  <roland@hack.frob.com>
27544         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
27545         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
27547 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
27549         * nscd/Depend (linuxthreads): Remove.
27550         (nptl): Add.
27551         * resolv/Depend (linuxthreads): Remove.
27552         * rt/Depend (linuxthreads): Remove.
27554         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
27555         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
27556         $(common-objpfx)elf/.
27557         (link-libc-before-gnulib): Likewise.
27558         (elfobjdir): Remove variable.
27559         * Makefile (install): Use $(elf-objpfx) instead of
27560         $(common-objpfx)elf/.
27561         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
27562         $(elfobjdir)/.
27563         (link-libc-deps): Likewise.
27564         ($(common-objpfx)libc.so): Likewise.
27565         ($(common-objpfx)linkobj/libc.so): Likewise.
27566         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
27567         instead of $(common-objpfx)elf/.
27568         (symbolic-link-list): Likewise.
27569         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
27570         [$(cross-compiling) = no]: Likewise.
27571         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
27572         $(elfobjdir)/.
27573         (static-gnulib-arch): Likewise.
27574         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
27575         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
27576         $(common-objpfx)elf/.
27578 2014-05-21  Richard Henderson  <rth@redhat.com>
27580         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
27581         (SINGLE_THREAD_P): Use the correct width load.  Fold
27582         into the ldr offset.
27584         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
27585         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
27587 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
27589         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
27590         (libgcc_s_resume): Use __attribute_used__.
27591         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
27592         Likewise.
27594 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27596         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
27597         optimization when used with float constants.
27599         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27601 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
27603         [BZ #16915]
27604         * locale/nl_langinfo_l.c: Make direct reference to every
27605         _nl_current_CATEGORY symbol.
27606         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
27607         (tests-static): Add tst-langinfo-static.
27608         (tests-special): Add tst-langinfo-static.out.
27609         ($(objpfx)tst-langinfo.out): Redirect output.
27610         ($(objpfx)tst-langinfo-static.out): New.
27611         * localedata/tst-langinfo.sh: Send output to stdout.
27612         * localedata/tst-langinfo-static.c: New file.
27614         [BZ #16965]
27615         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
27616         when the shift amount is modulo the limb size.
27618 2014-05-20  Richard Henderson  <rth@redhat.com>
27620         [BZ #16967]
27621         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
27622         Change type of sa_flags from unsigned int to int.
27624         [BZ #16966]
27625         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
27627         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
27629 2014-05-20  Will Newton  <will.newton@linaro.org>
27631         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
27632         Test the return value of the system call in the nocancel case.
27634 2014-05-20  Will Newton  <will.newton@linaro.org>
27635             Yvan Roux  <yvan.roux@linaro.org>
27637         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
27638         #include of asm/ptrace.h.
27639         (PTRACE_GET_THREAD_AREA): Remove #undef.
27640         (PTRACE_GETHBPREGS): Likewise.
27641         (PTRACE_SETHBPREGS): Likewise.
27642         (struct user_regs_struct): New structure.
27643         (struct user_fpsimd_struct): New structure.
27644         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
27645         #include of asm/ptrace.h and second #include of sys/user.h.
27646         (PTRACE_GET_THREAD_AREA): Remove #undef.
27647         (PTRACE_GETHBPREGS): Likewise.
27648         (PTRACE_SETHBPREGS): Likewise.
27649         (ELF_NGREG): Use new struct user_regs_struct.
27650         (elf_fpregset_t): Use new struct user_fpsimd_struct.
27652 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27654         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
27655         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
27657 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
27659         [BZ #16958]
27660         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
27661         membar to avoid block loads/stores to overlap previous stores.
27663 2014-05-17  Richard Henderson  <rth@redhat.com>
27665         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
27666         Create the __##syscall_name##_nocancel entry point.
27667         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
27668         Remove; let the sysdep-cancel.h code create it.
27670 2014-05-17  David S. Miller  <davem@davemloft.net>
27672         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
27673         Protect with __USE_GNU.
27674         (TIOCSET_TEMPT): Likewise.
27675         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
27676         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
27677         these are already provided in bits/ioctl-types.h
27679 2014-05-16  Roland McGrath  <roland@hack.frob.com>
27681         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
27682         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
27684         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
27685         Use wait4 regardless of [__NR_waitpid].
27687 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
27689         PR libgcc/60166
27690         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
27691         (_FP_NANSIGN_Q): Set the quiet bit.
27693 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
27695         * benchtests/Makefile
27696         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
27697         not $(common-objpfx)math/libm.so.
27698         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
27699         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
27700         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
27701         $(common-objpfx)dlfcn/libdl.so.
27702         ($(objpfx)tst-audit8): Depend on $(libm), not
27703         $(common-objpfx)math/libm.so.
27704         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
27705         not $(common-objpfx)dlfcn/libdl.so.
27706         * math/Makefile
27707         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
27708         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
27709         [$(build-shared) = yes].
27710         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
27711         $(common-objpfx)nptl/libpthread.so.
27712         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
27713         $(common-objpfx)math/libm.so$(libm.so-version) or
27714         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
27715         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
27716         $(common-objpfx)dlfcn/libdl.so.
27717         * setjmp/Makefile (link-libm): Remove variable.
27718         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
27719         * stdio-common/Makefile (link-libm): Remove variable.
27720         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
27721         * stdlib/Makefile (link-libm): Remove variable.
27722         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
27723         ($(objpfx)tst-strtod-round): Likewise.
27724         ($(objpfx)tst-tininess): Likewise.
27725         ($(objpfx)tst-strtod-underflow): Likewise.
27726         ($(objpfx)tst-strtod6): Likewise.
27727         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
27728         $(libdl), not $(common-objpfx)nptl/libpthread.so and
27729         $(common-objpfx)dlfcn/libdl.so.
27731 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27733         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
27734         BSD terminal modes definitions.
27736 2014-05-16  Roland McGrath  <roland@hack.frob.com>
27738         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
27739         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
27741         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
27742         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
27743         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
27744         Don't do #include_next.
27745         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
27746         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
27747         Don't do #include_next.
27748         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
27749         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
27750         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
27751         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
27753 2014-05-16  Allan McRae  <allan@archlinux.org>
27755         * po/sv.po: Update Swedish translation from translation project.
27757         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
27758         in sed expression.
27760 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
27762         [BZ #16917]
27763         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
27764         errno if the TIOCGPTN ioctl fails with an error different than
27765         EINVAL.
27766         * login/tst-ptsname.c: New file.
27767         * login/Makefile (tests): Add tst-ptsname.
27769         [BZ #16943]
27770         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
27771         and prlimit64.
27773 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27775         [BZ #16849]
27776         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
27777         herrno to return EAI_AGAIN.
27779 2014-05-14  Roland McGrath  <roland@hack.frob.com>
27781         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
27782         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
27783         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
27784         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
27785         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
27786         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
27787         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
27788         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
27789         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
27790         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
27791         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
27792         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
27793         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
27794         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
27795         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
27796         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
27797         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
27798         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
27799         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
27800         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
27801         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
27802         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
27803         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
27804         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
27805         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
27806         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
27807         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
27808         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
27809         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
27810         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
27811         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
27812         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
27813         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
27814         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
27815         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
27816         Moved ...
27817         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
27818         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
27819         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
27820         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
27821         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
27822         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
27823         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
27824         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
27825         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
27826         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
27827         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
27828         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
27829         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
27830         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
27831         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
27832         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
27833         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
27834         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
27835         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
27836         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
27837         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
27838         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
27839         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
27840         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
27841         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
27842         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
27843         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
27844         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
27845         Moved ...
27846         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
27847         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
27848         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
27849         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
27850         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
27851         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
27852         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
27853         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
27854         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
27855         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
27856         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
27857         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
27858         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
27859         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
27860         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
27861         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
27862         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
27863         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
27864         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
27865         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
27866         Moved ...
27867         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
27868         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
27869         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
27871         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
27872         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
27873         (libpthread-sysdep_routines): Add elision-related stuff here instead.
27874         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
27875         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
27876         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
27877         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
27878         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
27879         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
27880         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
27881         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
27882         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
27883         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
27884         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
27885         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
27886         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
27887         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
27888         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
27889         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
27890         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
27891         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
27892         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
27893         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
27894         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
27895         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
27896         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
27897         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
27898         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
27899         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
27900         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
27901         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
27903         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
27904         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
27906         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
27907         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
27908         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
27909         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
27910         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
27911         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
27912         Moved ...
27913         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
27914         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
27915         Moved ...
27916         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
27917         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
27918         Moved ...
27919         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
27920         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
27921         Moved ...
27922         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
27923         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
27924         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
27925         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
27926         Moved ...
27927         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
27928         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
27929         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
27930         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
27931         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
27932         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
27933         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
27934         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
27935         Moved ...
27936         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
27937         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
27938         Moved ...
27939         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
27940         ... here.
27941         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
27942         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
27943         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
27944         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
27945         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
27946         Moved ...
27947         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
27948         ... here.
27949         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
27950         Moved ...
27951         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
27952         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
27953         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
27954         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
27955         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
27956         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
27957         Moved ...
27958         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
27959         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
27960         Moved ...
27961         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
27962         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
27963         Moved ...
27964         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
27965         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
27966         Moved ...
27967         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
27968         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
27969         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
27970         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
27971         Moved ...
27972         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
27973         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
27974         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
27975         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
27976         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
27977         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
27978         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
27979         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
27980         Moved ...
27981         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
27982         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
27983         Moved ...
27984         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
27985         ... here.
27986         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
27987         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
27988         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
27989         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
27990         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
27991         Moved ...
27992         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
27993         ... here.
27994         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
27995         Moved ...
27996         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
27997         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
27998         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
27999         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
28000         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
28001         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
28002         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
28003         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
28004         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
28005         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
28006         Moved ...
28007         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
28008         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
28009         Moved ...
28010         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
28011         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
28012         Moved ...
28013         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
28014         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
28015         Moved ...
28016         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
28017         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
28018         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
28019         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
28020         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
28021         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
28022         Moved ...
28023         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
28024         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
28025         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
28026         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
28027         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
28028         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
28029         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
28030         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
28031         Moved ...
28032         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
28033         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
28034         Moved ...
28035         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
28036         ... here.
28037         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
28038         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
28039         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
28040         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
28041         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
28042         Moved ...
28043         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
28044         ... here.
28045         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
28046         Moved ...
28047         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
28048         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
28049         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
28050         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
28051         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
28052         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
28053         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
28054         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
28055         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
28056         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
28057         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
28059         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
28060         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
28062         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
28063         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
28065         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
28066         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
28067         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
28068         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
28069         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
28070         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
28071         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
28072         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
28073         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
28074         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
28075         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
28076         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
28077         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
28078         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
28079         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
28080         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
28081         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
28082         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
28083         Moved ...
28084         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
28085         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
28086         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
28087         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
28088         Moved ...
28089         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
28090         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
28091         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
28092         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
28093         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
28094         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
28095         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
28096         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
28097         Moved ...
28098         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
28099         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
28100         Moved ...
28101         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
28102         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
28103         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
28104         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
28105         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
28106         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
28107         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
28108         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
28109         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
28110         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
28111         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
28112         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
28113         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
28114         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
28115         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
28116         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
28117         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
28119         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
28120         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
28121         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
28122         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
28123         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
28125         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
28126         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
28127         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
28128         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
28129         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
28130         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
28131         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
28132         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
28133         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
28134         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
28136         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
28137         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
28139         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
28140         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
28141         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
28142         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
28143         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
28144         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
28145         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
28146         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
28147         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
28148         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
28149         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
28150         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
28151         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
28152         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
28153         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
28154         Update #include.
28155         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
28156         Likewise.
28157         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
28158         Likewise.
28159         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
28160         Likewise.
28161         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
28162         Likewise.
28163         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
28164         Likewise.
28165         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
28166         Likewise.
28167         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
28168         Likewise.
28169         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
28170         Likewise.
28171         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
28172         Likewise.
28173         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
28174         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
28175         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
28176         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
28177         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
28178         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
28179         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
28180         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
28181         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
28182         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
28183         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
28184         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
28185         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
28186         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
28187         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
28189         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
28190         that was previously under [RESET_PID].
28191         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
28192         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
28193         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
28195         * sysdeps/i386/nptl/Implies: New file.
28196         * sysdeps/x86_64/nptl/Implies: New file.
28197         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
28198         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
28199         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
28200         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
28202         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
28203         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28204         (__libc_vfork): New strong alias.
28205         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
28206         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
28208         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
28209         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28210         (__libc_vfork): New strong alias.
28211         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
28212         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
28214         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
28215         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28216         (__libc_vfork): New strong alias.
28217         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
28218         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
28219         * nptl/pt-vfork.c: New file.
28220         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
28221         (libpthread: GLIBC_2.20): New version set (empty).
28223 2014-05-14  Will Newton  <will.newton@linaro.org>
28225         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
28226         rather than #if.
28228 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
28230         [BZ #16564]
28231         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
28232         arguments with exponent 65 or above.
28233         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
28234         arguments 0x1p113L or above.
28235         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
28236         to arguments 0x1p107L or above.
28237         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
28238         positive arguments with exponent 65 or above.
28239         * math/auto-libm-test-in: Add more tests of log1p.
28240         * math/auto-libm-test-out: Regenerated.
28242         [BZ #16928]
28243         * math/s_cacos.c (__cacos): Ensure zero real part of result from
28244         non-finite arguments is +0.
28245         * math/s_cacosf.c (__cacosf): Likewise.
28246         * math/s_cacosl.c (__cacosl): Likewise.
28247         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
28248         * sysdeps/i386/fpu/libm-test-ulps: Update.
28249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28251         [BZ #16927]
28252         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
28253         value.
28254         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
28255         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
28256         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
28257         for explicit high bit of mantissa when testing for argument equal
28258         to 1.
28259         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
28260         * sysdeps/i386/fpu/libm-test-ulps: Update.
28261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28263         [BZ #16516]
28264         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
28265         (__erf): Scale by 16 instead of 8 in potentially underflowing
28266         case.  Ensure exception if result actually underflows.
28267         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
28268         (__erff): Scale by 16 instead of 8 in potentially underflowing
28269         case.  Ensure exception if result actually underflows.
28270         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
28271         (efx8): Remove variable.
28272         (__erfl): Scale by 16 instead of 8 in potentially underflowing
28273         case.  Ensure exception if result actually underflows.
28274         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
28275         (efx8): Remove variable.
28276         (__erfl): Scale by 16 instead of 8 in potentially underflowing
28277         case.  Ensure exception if result actually underflows.
28278         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
28279         (efx8): Remove variable.
28280         (__erfl): Scale by 16 instead of 8 in potentially underflowing
28281         case.  Ensure exception if result actually underflows.
28282         * math/auto-libm-test-in: Add more tests of erf.
28283         * math/auto-libm-test-out: Regenerated.
28285 2014-05-14  Andreas Schwab  <schwab@suse.de>
28287         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
28288         Remove code conditionalized on USE___THREAD.
28290         * config.h.in (HAVE_PT_CHOWN): Define as 0.
28291         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
28292         not definedness.
28294 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
28296         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
28297         Define unconditionally.
28298         (__ASSUME_O_CLOEXEC): Likewise.
28299         (__ASSUME_SOCK_CLOEXEC): Likewise.
28300         (__ASSUME_IN_NONBLOCK): Likewise.
28301         (__ASSUME_PIPE2): Likewise.
28302         (__ASSUME_EVENTFD2): Likewise.
28303         (__ASSUME_SIGNALFD4): Likewise.
28304         (__ASSUME_DUP3): Likewise.
28305         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
28306         (__ASSUME_DUP3): Do not define.
28307         (__ASSUME_EVENTFD2): Likewise.
28308         (__ASSUME_IN_NONBLOCK): Likewise.
28309         (__ASSUME_O_CLOEXEC): Likewise.
28310         (__ASSUME_PIPE2): Likewise.
28311         (__ASSUME_SIGNALFD4): Likewise.
28312         (__ASSUME_SOCK_CLOEXEC): Likewise.
28313         (__ASSUME_UTIMES): Undefine.
28314         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28315         (__ASSUME_UTIMES): Do not define.
28316         (__ASSUME_O_CLOEXEC): Likewise.
28317         (__ASSUME_SOCK_CLOEXEC): Likewise.
28318         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
28319         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
28320         0x020621].
28321         (__ASSUME_PIPE2): Likewise.
28322         (__ASSUME_EVENTFD2): Likewise.
28323         (__ASSUME_SIGNALFD4): Likewise.
28324         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
28325         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
28326         Do not define.
28327         (__ASSUME_EVENTFD2): Likewise.
28328         (__ASSUME_SIGNALFD4): Likewise.
28329         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28330         (__ASSUME_32BITUIDS): Likewise.
28331         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
28332         (__ASSUME_IPC64): Likewise.
28333         (__ASSUME_ST_INO_64_BIT): Likewise.
28334         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
28335         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
28336         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
28337         (__ASSUME_UTIMES): Do not define.
28338         (__ASSUME_PSELECT): Likewise.
28339         (__ASSUME_PPOLL): Likewise.
28340         (__ASSUME_O_CLOEXEC): Likewise.
28341         (__ASSUME_SOCK_CLOEXEC): Likewise.
28342         (__ASSUME_IN_NONBLOCK): Likewise.
28343         (__ASSUME_PIPE2): Likewise.
28344         (__ASSUME_EVENTFD2): Likewise.
28345         (__ASSUME_SIGNALFD4): Likewise.
28346         (__ASSUME_DUP3): Likewise.
28347         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
28348         (__ASSUME_UTIMES): Likewise.
28349         (__ASSUME_O_CLOEXEC): Likewise.
28350         (__ASSUME_SOCK_CLOEXEC): Likewise.
28351         (__ASSUME_IN_NONBLOCK): Likewise.
28352         (__ASSUME_PIPE2): Likewise.
28353         (__ASSUME_EVENTFD2): Likewise.
28354         (__ASSUME_SIGNALFD4): Likewise.
28355         (__ASSUME_DUP3): Likewise.
28356         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28357         (__ASSUME_UTIMES): Likewise.
28358         (__ASSUME_O_CLOEXEC): Likewise.
28359         (__ASSUME_SOCK_CLOEXEC): Likewise.
28360         (__ASSUME_IN_NONBLOCK): Likewise.
28361         (__ASSUME_PIPE2): Likewise.
28362         (__ASSUME_EVENTFD2): Likewise.
28363         (__ASSUME_SIGNALFD4): Likewise.
28364         (__ASSUME_DUP3): Likewise.
28365         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
28366         Likewise.
28367         (__ASSUME_UTIMES): Likewise.
28368         (__ASSUME_EVENTFD2): Likewise.
28369         (__ASSUME_SIGNALFD4): Likewise.
28370         * sysdeps/unix/sysv/linux/tile/kernel-features.h
28371         (__ASSUME_O_CLOEXEC): Likewise.
28372         (__ASSUME_SOCK_CLOEXEC): Likewise.
28373         (__ASSUME_IN_NONBLOCK): Likewise.
28374         (__ASSUME_PIPE2): Likewise.
28375         (__ASSUME_EVENTFD2): Likewise.
28376         (__ASSUME_SIGNALFD4): Likewise.
28377         (__ASSUME_DUP3): Likewise.
28378         (__ASSUME_UTIMES): Undefine.
28380         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
28381         feclearexcept.  Remove symbol versioning code.
28382         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
28383         symbol versioning code.
28384         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
28385         symbol versioning code.
28386         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
28387         feupdateenv.  Remove symbol versioning code.
28388         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
28389         fegetexceptflag.  Remove symbol versioning code.
28390         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
28391         fesetexceptflag.  Remove symbol versioning code.
28392         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
28393         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
28394         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
28395         (__posix_fadvise64_l32): Remove prototype.
28396         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
28397         code.
28399 2014-05-13  Roland McGrath  <roland@hack.frob.com>
28401         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
28402         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
28403         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
28404         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
28406 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
28408         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
28409         current working directory
28411 2014-05-13  Roland McGrath  <roland@hack.frob.com>
28413         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
28414         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
28415         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
28416         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
28417         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
28418         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
28419         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
28420         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
28421         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
28422         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
28423         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
28424         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
28425         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
28426         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
28427         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
28428         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
28429         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
28430         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
28431         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
28432         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
28433         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
28434         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
28435         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
28436         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
28437         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
28438         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
28439         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
28440         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
28441         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
28442         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
28443         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
28444         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
28445         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
28446         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
28447         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
28448         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
28449         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
28450         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
28451         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
28452         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
28453         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
28454         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
28456         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
28457         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
28459         * sysdeps/unix/sysv/linux/arm/Makefile
28460         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
28461         Add rt-aeabi_unwind_cpp_pr1.
28462         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
28463         Add nptl-aeabi_unwind_cpp_pr1.
28464         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
28465         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
28466         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
28467         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
28468         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
28469         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
28471         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
28472         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
28473         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
28474         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
28476         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
28477         Deconditionalize the code that was previously under [RESET_PID].
28478         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
28480         * sysdeps/generic/exit-thread.h: New file.
28481         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
28482         * include/unistd.h (__exit_thread): Remove declaration.
28483         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
28484         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
28485         * csu/libc-start.c: Include <exit-thread.h>.
28486         (LIBC_START_MAIN): Pass no argument to __exit_thread.
28487         * nptl/pthread_create.c: Include <exit-thread.h>.
28488         (start_thread): Call __exit_thread in place of __exit_thread_inline.
28489         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
28490         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
28491         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
28492         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
28493         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
28494         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
28495         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
28496         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
28497         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
28498         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
28499         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
28500         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
28501         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
28502         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
28503         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
28504         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
28506 2014-05-13  Andreas Schwab  <schwab@suse.de>
28508         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
28510 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
28512         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
28513         (__ASSUME_UTIMES): Do not condition on kernel version.
28514         (__ASSUME_PSELECT): Define unconditionally.
28515         (__ASSUME_PPOLL): Likewise.
28516         (__ASSUME_ATFCTS): Likewise.
28517         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
28518         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
28519         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
28520         (__ASSUME_UTIMENSAT): Define unconditionally.
28521         (__ASSUME_PRIVATE_FUTEX): Likewise.
28522         (__ASSUME_FALLOCATE): Likewise.
28523         (__ASSUME_O_CLOEXEC): Likewise.
28524         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
28525         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
28526         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
28527         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
28528         (__ASSUME_IN_NONBLOCK): Likewise.
28529         (__ASSUME_PIPE2): Likewise.
28530         (__ASSUME_EVENTFD2): Likewise.
28531         (__ASSUME_SIGNALFD4): Likewise.
28532         (__ASSUME_DUP3): Likewise.
28533         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
28534         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
28535         (__ASSUME_AT_RANDOM): Likewise.
28536         (__ASSUME_PREADV): Likewise.
28537         (__ASSUME_PWRITEV): Likewise.
28538         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
28539         (__ASSUME_F_GETOWN_EX): Define unconditionally.
28540         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
28541         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
28542         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
28543         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28544         (__ASSUME_O_CLOEXEC): Define unconditionally.
28545         (__ASSUME_PSELECT): Do not undefine conditionally.
28546         (__ASSUME_PPOLL): Likewise.
28547         (__ASSUME_ATFCTS): Likewise.
28548         (__ASSUME_SET_ROBUST_LIST): Likewise.
28549         (__ASSUME_UTIMENSAT): Likewise.
28550         (__ASSUME_FDATASYNC): Define unconditionally.
28551         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28552         (__ASSUME_SIGFRAME_V2): Likewise.
28553         )__ASSUME_EVENTFD2): Likewise.
28554         (__ASSUME_SIGNALFD4): Likewise.
28555         (__ASSUME_PSELECT): Do not undefine conditionally.
28556         (__ASSUME_PPOLL): Likewise.
28557         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
28558         (__ASSUME_PSELECT): Define unconditionally.
28559         (__ASSUME_PPOLL): Likewise.
28560         (__ASSUME_O_CLOEXEC): Likewise.
28561         (__ASSUME_SOCK_CLOEXEC): Likewise.
28562         (__ASSUME_IN_NONBLOCK): Likewise.
28563         (__ASSUME_PIPE2): Likewise.
28564         (__ASSUME_EVENTFD2): Likewise.
28565         (__ASSUME_SIGNALFD4): Likewise.
28566         (__ASSUME_DUP3): Likewise.
28567         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
28568         (__ASSUME_O_CLOEXEC): Likewise.
28569         (__ASSUME_SOCK_CLOEXEC): Likewise.
28570         (__ASSUME_IN_NONBLOCK): Likewise.
28571         (__ASSUME_PIPE2): Likewise.
28572         (__ASSUME_EVENTFD2): Likewise.
28573         (__ASSUME_SIGNALFD4): Likewise.
28574         (__ASSUME_DUP3): Likewise.
28575         * sysdeps/unix/sysv/linux/mips/kernel-features.h
28576         (__ASSUME_EVENTFD2): Likewise.
28577         (__ASSUME_SIGNALFD4): Likewise.
28578         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
28580 2014-05-12  Andreas Schwab  <schwab@suse.de>
28582         [BZ #16932]
28583         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
28584         (_nss_nis_gethostbyname4_r): Return error if item length is larger
28585         than maximum RPC packet size.
28586         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
28587         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
28588         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
28589         (_nss_nis_getservbyport_r): Likewise.
28591 2014-05-12  Will Newton  <will.newton@linaro.org>
28593         * malloc/Makefile (tests): Add tst-mallopt.
28594         * malloc/tst-mallopt.c: New file.
28596 2014-05-09  Roland McGrath  <roland@hack.frob.com>
28598         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
28599         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
28601 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28603         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
28604         (tst-tlsmod6.so): Likewise.
28606 2014-05-09  Roland McGrath  <roland@hack.frob.com>
28608         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
28610 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
28612         [BZ #16064]
28613         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
28614         and <dl-procinfo.h>.
28615         (__fegetenv): Save SSE state in envp->__eip if supported.
28616         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
28617         envp->__eip if supported.
28618         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
28619         and <dl-procinfo.h>.
28620         (__fesetenv): Always set __eip, __cs_selector, __opcode,
28621         __data_offset and __data_selector in environment to 0.  Set SSE
28622         state if supported.
28623         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
28624         test-fenv-sse.
28625         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
28626         -mfpmath=sse.
28627         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
28629 2014-05-09  Will Newton  <will.newton@linaro.org>
28631         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
28632         and libc_relro_required for ARM.
28633         * sysdeps/arm/preconfigure: Regenerate.
28635 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
28636             Stefan Liebler  <stli@linux.vnet.ibm.com>
28638         * config.make.in (enable-lock-elision): New Makefile variable.
28639         * configure.ac: Likewise.
28640         * configure: Regenerate.
28641         * sysdeps/s390/configure.ac:
28642         Add check for gcc transactions support.
28643         * sysdeps/s390/configure: Regenerate.
28644         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
28645         Build elision files if enabled.
28646         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
28647         Add lock elision support for s390.
28648         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
28649         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
28650         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
28651         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
28652         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
28653         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
28654         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
28655         Likewise.
28656         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
28657         Likewise.
28658         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
28659         Likewise.
28660         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
28661         Likewise.
28662         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
28663         (__lll_timedlock_elision, __lll_lock_elision)
28664         (__lll_unlock_elision, __lll_trylock_elision)
28665         (lll_timedlock_elision, lll_lock_elision)
28666         (lll_unlock_elision, lll_trylock_elision): Add.
28667         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
28668         (pthread_mutex_t): Add lock elision support for s390.
28670 2014-05-14  Wilco  <wdijkstr@arm.com>
28672         * sysdeps/arm/fclrexcpt.c: Cleanup.
28673         * sysdeps/arm/fedisblxcpt.c: Cleanup.
28674         * sysdeps/arm/feenablxcpt.c: Cleanup.
28675         * sysdeps/arm/fegetenv.c: Cleanup.
28676         * sysdeps/arm/fegetexcept.c: Cleanup.
28677         * sysdeps/arm/fegetround.c: Cleanup.
28678         * sysdeps/arm/feholdexcpt.c: Cleanup.
28679         * sysdeps/arm/fesetenv.c: Cleanup.
28680         * sysdeps/arm/fesetround.c: Cleanup.
28681         * sysdeps/arm/feupdateenv.c: Cleanup.
28682         * sysdeps/arm/fgetexcptflg.c: Cleanup.
28683         * sysdeps/arm/fraiseexcpt.c: Cleanup.
28684         * sysdeps/arm/fsetexcptflg.c: Cleanup.
28685         * sysdeps/arm/ftestexcept.c: Cleanup.
28686         * sysdeps/arm/get-rounding-mode.h: Cleanup.
28687         * sysdeps/arm/setfpucw.c: Cleanup.
28689 2014-05-09  Will Newton  <will.newton@linaro.org>
28691         * sysdeps/arm/armv7/strcmp.S: New file.
28692         * NEWS: Mention addition of ARMv7 optimized strcmp.
28694 2014-05-08  Roland McGrath  <roland@hack.frob.com>
28696         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
28697         look for %.ac rather than %.in.
28699         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
28700         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
28701         * sysdeps/mach/hurd/configure: Regenerated.
28702         * sysdeps/unix/sysv/linux/configure: Regenerated.
28704         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
28706 2014-05-07  Steve Ellcey  <sellcey@mips.com>
28708         [BZ# 16922]
28709         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
28710         (LONG_SUB): Ditto.
28711         (PTR_SUB): Ditto.
28713 2014-05-07  Andreas Schwab  <schwab@suse.de>
28715         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
28716         when skipping over non-matching result from nscd.
28718 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
28720         [BZ #16876]
28721         * nptl/sockperf.c (client): Check socket return value.
28723         [BZ #16877]
28724         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
28725         nscd security class.
28727 2014-05-06  Roland McGrath  <roland@hack.frob.com>
28729         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
28730         * sysdeps/arm/unwind.h: ... here.
28732 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
28734         [BZ# 16916]
28735         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
28736         Define.
28738 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28740         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
28741         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
28742         multiarch strncpy for PPC64.
28743         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
28744         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
28745         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
28746         multiarch optimizations.
28747         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28748         (__libc_ifunc_impl_list): Likewise.
28749         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
28750         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
28751         multiarch stpncpy for PPC64.
28752         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
28753         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
28755 2014-05-06  Andreas Schwab  <schwab@suse.de>
28757         [BZ #16912]
28758         * gmon/mcount.c (_MCOUNT_DECL): Use
28759         atomic_compare_and_exchange_bool_acq instead of
28760         catomic_compare_and_exchange_bool_acq.
28762 2014-05-05  Roland McGrath  <roland@hack.frob.com>
28764         * elf/Makefile (others, install-bin): Remove pldd.
28765         (pldd-modules): Variable removed.
28766         ($(objpfx)pldd): Target removed.
28767         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
28768         (others, install-bin): Append pldd here.
28769         ($(objpfx)pldd): New target.
28771         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
28772         to 0, so the first #if test emitted later doesn't see it undefined.
28773         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
28774         * sysdeps/gnu/errlist.c: Regenerated.
28776 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28778         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
28779         [libc_hidden_builtin_def]: Define to empty value.
28780         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
28781         [libc_hidden_builtin_def]: Likewise.
28782         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
28783         [libc_hidden_builtin_def]: Likewise.
28784         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
28785         [libc_hidden_builtin_def]: Likewise.
28786         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
28787         __redirect_memcpy and define ifunc as default hidden symbol.
28788         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
28789         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
28791 2014-05-04  Adam Conrad  <adconrad@0c3.net>
28793         * locale/iso-4217.def: Reintroduce XDR currency.
28795 2014-05-04  Allan McRae  <allan@archlinux.org>
28797         * po/eo.po: Update Esperanto translation from translation project.
28799 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
28801         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
28802         and FEATURE_INDEX_MAX to 1.
28803         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
28805 2014-05-01  Steve Ellcey  <sellcey@mips.com>
28807         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
28808         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
28809         * iconvdata/big5.c (ONE_DIRECTION): Define.
28810         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
28811         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
28812         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
28813         * iconvdata/cp932.c (ONE_DIRECTION): Define.
28814         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
28815         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
28816         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
28817         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
28818         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
28819         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
28820         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
28821         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
28822         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
28823         * iconvdata/gbk.c (ONE_DIRECTION): Define.
28824         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
28825         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
28826         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
28827         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
28828         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
28829         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
28830         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
28831         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
28832         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
28833         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
28834         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
28835         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
28836         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
28837         * iconvdata/iso646.c (ONE_DIRECTION): Define.
28838         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
28839         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
28840         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
28841         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
28842         * iconvdata/johab.c (ONE_DIRECTION): Define.
28843         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
28844         * iconvdata/sjis.c (ONE_DIRECTION): Define.
28845         * iconvdata/t.61.c (ONE_DIRECTION): Define.
28846         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
28847         * iconvdata/tscii.c (ONE_DIRECTION): Define.
28848         * iconvdata/uhc.c (ONE_DIRECTION): Define.
28849         * iconvdata/unicode.c (ONE_DIRECTION): Define.
28850         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
28851         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
28852         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
28854 2014-05-01  Roland McGrath  <roland@hack.frob.com>
28856         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
28857         (_IO_JUMPS_OFFSET): Define to 0.
28859         * nptl/sysdeps/pthread/bits/libc-lock.h
28860         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
28861         (__libc_lock_define_initialized_recursive): Always define using
28862         initializer.  Modern compilers treat uninitialized (implicit zero) and
28863         explicit zero initializers the same (i.e. put the datum in bss).
28865 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
28867         * nscd/nscd-client.h: Include <string.h>.
28869 2014-05-01  David S. Miller  <davem@davemloft.net>
28871         [BZ #16885]
28872         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
28873         multiple zero bytes exist at the end of a string.
28874         Reported by Aurelien Jarno <aurelien@aurel32.net>
28876         * string/test-strcmp.c (check): Add explicit test for situations where
28877         there are multiple zero bytes after the first.
28879 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
28881         [BZ #16890]
28882         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
28883         when compiling wprintf.
28884         * stdio-common/tstdiomisc.c (t3): New function.
28885         (main): Call it.
28887 2014-05-01  Steve Ellcey  <sellcey@mips.com>
28889         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
28890         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
28891         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
28892         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
28894 2014-05-01  Steve Ellcey  <sellcey@mips.com>
28896         * stdlib/longlong.h: Updated from GCC.
28898 2014-05-01  Will Newton  <will.newton@linaro.org>
28899             Bernard Ogden  <bernie.ogden@linaro.org>
28901         * NEWS: Update fixed bug list.
28903         [BZ #15119]
28904         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
28906 2014-04-30  David S. Miller  <davem@davemloft.net>
28908         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
28909         (libc_feholdexcept_setround_sparc_ctx): New function.
28910         (libc_fesetenv_sparc_ctx): Likewise.
28911         (libc_feupdateenv_sparc_ctx): Likewise.
28912         (libc_feholdsetround_sparc_ctx): Likewise.
28913         (libc_feholdexcept_setround_ctx): Define.
28914         (libc_feholdexcept_setroundf_ctx): Likewise.
28915         (libc_feholdexcept_setroundl_ctx): Likewise.
28916         (libc_fesetenv_ctx): Likewise.
28917         (libc_fesetenvf_ctx): Likewise.
28918         (libc_fesetenvl_ctx): Likewise.
28919         (libc_feupdateenv_ctx): Likewise.
28920         (libc_feupdateenvf_ctx): Likewise.
28921         (libc_feupdateenvl_ctx): Likewise.
28922         (libc_feresetround_ctx): Likewise.
28923         (libc_feresetroundf_ctx): Likewise.
28924         (libc_feresetroundl_ctx): Likewise.
28925         (libc_feholdsetround_ctx): Likewise.
28926         (libc_feholdsetroundf_ctx): Likewise.
28927         (libc_feholdsetroundl_ctx): Likewise.
28929         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
28930         with __USE_GNU instead of XOPEN cpp guards.
28932         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
28933         0.
28935         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
28936         with XOPEN cpp guards.
28938 2014-04-30  Julian Brown  <julian@codesourcery.com>
28940         [BZ #16888]
28941         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
28942         handling.
28944 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
28946         [BZ #9894]
28947         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
28948         Change to 2.6.32.
28949         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
28950         * sysdeps/unix/sysv/linux/configure: Regenerated.
28951         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
28952         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
28953         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
28954         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
28955         * README: Update reference to required Linux kernel version.
28956         * manual/install.texi (Linux): Update reference to required Linux
28957         kernel headers version.
28958         * INSTALL: Regenerated.
28960         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
28961         header inclusion.
28962         [POSIX] (limits.h): Likewise.
28963         [POSIX] (math.h): Likewise.
28964         [POSIX] (sys/wait.h): Likewise.
28965         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
28966         function.
28967         [POSIX] (stddef.h): Do not allow header inclusion.
28969 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28971         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
28973 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
28975         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
28976         Return immediately after lll_futex_wake.
28978 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28980         [BZ #16791]
28981         * nscd/nscd-client.h (datahead_init_common): Initialize entire
28982         structure.
28983         (datahead_init_pos): Call datahead_init_common early.
28984         (datahead_init_neg): Likewise.
28986         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
28987         datahead_init_neg): New functions.
28988         * nscd/aicache.c (addhstaiX): Use them.
28989         * nscd/grpcache.c (cache_addgr): Likewise.
28990         * nscd/hstcache.c (cache_addhst): Likewise.
28991         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28992         * nscd/netgroupcache.c (do_notfound): Likewise.
28993         (addgetnetgrentX): Likewise.
28994         (addinnetgrX): Likewise.
28995         * nscd/pwdcache.c (cache_addpw): Likewise.
28996         * nscd/servicescache.c (cache_addserv): Likewise.
28998 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28999             Atsushi Onoe  <atsushi@onoe.org>
29001         [BZ #14308]
29002         [BZ #12994]
29003         [BZ #13651]
29004         * resolv/res_query.c (__libc_res_nsearch): Return if at least
29005         one response is valid.
29006         * resolv/res_send.c (send_dg): Check for validity of other
29007         response if the current response is a referral.
29009 2014-04-29  Steve Ellcey  <sellcey@mips.com>
29011         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
29013 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
29015         [BZ #16823]
29016         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
29017         Always divide by positive zero when computing -Inf result.
29018         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
29019         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
29021 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29023         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
29024         FPSCR if value do not change.
29025         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
29026         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
29027         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
29028         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
29029         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
29030         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
29031         function.
29033 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
29035         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
29036         * sysdeps/unix/sysv/linux/hppa: Move directory from
29037         ports/systeps/unix/sysv/linux/hppa.
29038         * README: Update listing for hppa-*-linux-gnu.
29040 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
29042         [BZ #16754]
29043         * manual/stdio.texi (Hook functions): Fix types of stream hook
29044         functions.
29045         [BZ #16854]
29046         * socket/sys/socket.h: Fix typo in comment.
29048 2014-04-28  Wilco  <wdijkstr@arm.com>
29050         * sysdeps/arm/fenv_private.h: New file.
29051         * sysdeps/arm/math_private.h: New file.
29052         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
29054 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
29056         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
29057         with __int128_t.
29058         (La_x86_64_retval): Likewise.
29060 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
29062         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
29063         fpsr if value didn't change.
29064         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
29065         to fpcr if value didn't change.
29066         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
29067         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
29068         fpsr or fpcr if value didn't change.
29069         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
29070         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
29071         fpcr if value didn't change.
29072         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
29073         to fpsr if value didn't change.
29075 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
29077         * nptl/tst-sem3.c: Use test-skeleton.c
29078         (main): Rename to do_test.  Use return instead of
29079         exit.
29080         * nptl/tst-sem4.c: Use test-skeleton.c
29081         (main): Rename to do_test.
29083 2014-04-22  David S. Miller  <davem@davemloft.net>
29085         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
29086         (struct sigaction): New struct member __glibc_reserved0, change
29087         type of sa_flags to int.
29089 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
29091         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
29092         (COUNT_LEADING_ZEROS_0): Define for AArch64.
29094 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
29096         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
29097         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
29099 2014-04-22  Will Newton  <will.newton@linaro.org>
29100             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
29102         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
29103         (__longjmp): Add longjmp and longjmp_target SystemTap
29104         probes.
29105         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
29106         (__sigsetjmp): Add setjmp SystemTap probe.
29108 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
29110         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
29111         match manual order.
29113 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29115         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
29117         * sysdeps/powerpc/fpu/fenv_private.h
29118         (libc_feholdexcept_setroundl_ctx): Define to
29119         libc_feholdexcept_setround_ppc_ctx.
29120         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
29121         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
29122         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
29123         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
29125 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
29127         * sysdeps/aarch64/math-tests.h: New file.
29129 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
29131         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
29132         New.
29133         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29134         Check and set bit_AVX2_Usable.
29135         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
29136         macro.
29137         (bit_AVX2): Likewise.
29138         (index_AVX2_Usable): Likewise.
29139         (CPUID_AVX2): Likewise.
29140         (HAS_AVX2): Likewise.
29142 2014-04-17  Will Newton  <will.newton@linaro.org>
29144         * manual/setjmp.texi (System V contexts): Add note that
29145         calling setcontext on a context created by a call to a
29146         signal handler is undefined.  Update text to note that
29147         setcontext from a signal handler is possible but not
29148         recommended.
29150         [BZ #16629]
29151         * stdlib/tst-setcontext.c: Include signal.h.
29152         (main): Check that the signal stack before and
29153         after swapcontext is the same.
29155         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
29156         Re-implement to restore registers in user code and avoid
29157         rt_sigreturn system call.
29159 2014-04-17  Wilco  <wdijkstr@arm.com>
29161         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
29162         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
29163         * math/test-fenv.c: Skip exception trap tests on targets which only
29164         support non-stop mode.
29166 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
29167             Wilco Dijkstra  <wilco.dijkstra@arm.com>
29169         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
29170         (libc_feholdsetround_aarch64_ctx)
29171         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
29172         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
29173         (libc_feresetround_ctx, libc_feresetroundf_ctx)
29174         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
29175         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
29176         (libc_feresetround_noexl_ctx): Define.
29178 2014-04-16  Richard Henderson  <rth@redhat.com>
29180         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
29182         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
29183         unwind tables.
29185         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
29186         const from the non-libc, non-ldso copy.
29188         * sysdeps/alpha/libm-test-ulps: Regenerate.
29190 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
29191             Wilco Dijkstra  <wilco.dijkstra@arm.com>
29193         * sysdeps/aarch64/fpu/math_private.h: New file.
29195 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
29197         * sysdeps/aarch64/libm-test-ulps: Regenerate.
29199 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
29201         [BZ #16275]
29202         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
29203         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
29204         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
29205         Intel MPX bound registers before _dl_profile_fixup.
29206         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
29207         registers after _dl_profile_fixup.  Save and restore bound
29208         registers bnd0/bnd1 when calling _dl_call_pltexit.
29209         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
29210         (LR_BND_OFFSET): Likewise.
29211         (LRV_BND0_OFFSET): Likewise.
29212         (LRV_BND1_OFFSET): Likewise.
29214 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29216         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
29217         to...
29218         * sysdeps/mach/hurd/i386/tls.h: ... here.
29219         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
29220         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
29221         fields.
29223 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29225         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
29227 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
29229         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
29231 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
29233         [BZ #14770]
29234         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
29235         * sysdeps/s390/configure: Regenerate.
29237         [BZ #16824]
29238         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
29239         Set round-to-nearest internally to reduce error accumulation.
29241 2014-04-16  Alan Modra  <amodra@gmail.com>
29243         [BZ #16740]
29244         [BZ #16619]
29245         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
29246         * math/libm-test.inc (frexp_test_data): Add tests.
29247         * NEWS: Update fixed bug list.
29249 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29251         * benchtests/Makefile: Depend on libraries in build directory.
29252         (bench-math): Separate out math tests.
29253         (bench-pthread): Separate out pthread tests.
29254         (bench): Include math and pthread tests.
29256 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
29258         [BZ #16831]
29259         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
29260         _dl_debug_initialize.
29262         * configure.ac: Remove SELinux header check.
29263         * configure: Regenerate.
29264         * nscd/selinux.c (perms): Array of const char* to permission names.
29265         (nscd_request_avc_has_perm): Call security_deny_unknown to find
29266         default policy. Call string_to_security_class and string_to_av_perm to
29267         translate strings. Enforce default policy and call avs_has_perm with
29268         results of translated strings.
29270 2014-04-13  David S. Miller  <davem@davemloft.net>
29272         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29274 2014-04-12  Allan McRae  <allan@archlinux.org>
29276         [BZ #16838]
29277         * manual/string.texi (Collation Functions): Fix qsort argument
29278         order in example.
29279         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29281 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
29283         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
29284         Make the test a no-op if there are no exceptions defined.
29286 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
29288         * elf/Makefile (tests): make tst-dlopen-aout conditional on
29289         enable-hardcoded-path-in-tests
29291 2014-04-11  Will Newton  <will.newton@linaro.org>
29293         * benchtests/Makefile (extra-objs): Add json-lib.o.
29294         (bench-func): Tidy up JSON output.
29295         * benchtests/bench-skeleton.c: Include json-lib.h.
29296         (main): Use JSON library functions to do output of
29297         benchmark results.
29298         * benchtests/bench-timing-type.c (main): Output the
29299         timing type simply, leaving formatting to the user.
29300         * benchtests/json-lib.c: New file.
29301         * benchtests/json-lib.h: Likewise.
29303 2014-04-11  Torvald Riegel  <triegel@redhat.com>
29305         [BZ #15215]
29306         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
29307         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
29308         memory barriers.  Add comments.
29309         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
29310         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
29311         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
29312         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
29313         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
29314         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
29316 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
29318         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
29319         * sysdeps/s390/s390-64/configure.ac: ... this ...
29320         * sysdeps/s390/configure.ac: ... to here.
29321         * sysdeps/s390/s390-32/configure: Delete file.
29322         * sysdeps/s390/s390-64/configure: Delete file.
29323         * sysdeps/s390/configure: Regenerate.
29325 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
29327         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
29329 2014-04-11  Will Newton  <will.newton@linaro.org>
29331         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
29332         to zero if it is not defined elsewhere.  (mtrim): Test
29333         the value of MALLOC_DEBUG with #if rather than #ifdef.
29335 2014-04-10 Torvald Riegel  <triegel@redhat.com>
29337         * benchtests/pthread_once-inputs: New file.
29338         * benchtests/pthread_once-source.c: New file.
29339         * benchtests/README: Update documentation.
29341 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
29342             H.J. Lu  <hongjiu.lu@intel.com>
29344         [BZ #16275]
29345         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
29346         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
29347         * sysdeps/x86_64/configure: Regenerated.
29348         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
29349         macro.
29350         (REGISTER_SAVE_RAX): Likewise.
29351         (REGISTER_SAVE_RCX): Likewise.
29352         (REGISTER_SAVE_RDX): Likewise.
29353         (REGISTER_SAVE_RSI): Likewise.
29354         (REGISTER_SAVE_RDI): Likewise.
29355         (REGISTER_SAVE_R8): Likewise.
29356         (REGISTER_SAVE_R9): Likewise.
29357         (REGISTER_SAVE_BND0): Likewise.
29358         (REGISTER_SAVE_BND1): Likewise.
29359         (REGISTER_SAVE_BND2): Likewise.
29360         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
29361         bound registers when calling _dl_fixup.
29363 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29365         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
29366         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
29367         of its definition.
29368         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
29369         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
29370         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
29371         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
29372         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
29373         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
29374         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
29376 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
29378         [BZ #15514]
29379         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
29380         pathconf(_PC_NAME_MAX).
29382 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29384         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
29385         Remove macro usage.
29386         (__PTHREAD_SPINS): Move definition to ...
29387         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
29388         (__PTHREAD_SPINS): ... here.
29389         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
29390         (__PTHREAD_SPIN): Likewise.
29391         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
29392         (__PTHREAD_SPIN): Likewise.
29393         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
29394         (__PTHREAD_SPIN): Likewise.
29395         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
29396         (__PTHREAD_SPIN): Likewise.
29397         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
29398         (__PTHREAD_SPIN): Likewise.
29399         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
29400         (__PTHREAD_SPIN): Likewise.
29401         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
29402         (__PTHREAD_SPIN): Likewise.
29403         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
29404         (__PTHREAD_SPIN): Likewise.
29405         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
29406         (__PTHREAD_SPIN): Likewise.
29407         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
29408         (__PTHREAD_SPIN): Likewise.
29409         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
29410         (__PTHREAD_SPIN): Likewise.
29411         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
29412         (__PTHREAD_SPIN): Likewise.
29414         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
29415         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
29416         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
29417         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
29418         imply folder.
29419         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
29420         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
29421         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
29422         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
29423         correct imply path.
29424         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
29425         strlen symbol for non multi-arch builds.
29426         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
29427         missing hidden_def and weak_alias.
29429 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
29431         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
29433 2014-04-07  Will Newton  <will.newton@linaro.org>
29435         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
29436         and contents.  [!_LIBC] Remove #ifndef and contents.
29437         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
29438         * string/memccpy.c (__memccpy): Use ANSI prototype.
29439         * string/memfrob.c (memfrob): Likewise.
29440         * string/strcoll.c (STRCOLL): Likewise.
29441         * string/strlen.c (strlen): Likewise.
29442         * string/strtok.c (STRTOK): Likewise.
29443         * string/strcat.c: Remove unused #include of memcopy.h.
29444         (strcat): Use ANSI prototype.
29445         * string/strchr.c: Remove unused #include of memcopy.h.
29446         (strchr): Use ANSI prototype.
29447         * string/strcmp.c: Remove unused #include of memcopy.h.
29448         (strcmp): Use ANSI prototype.
29449         * string/strcpy.c: Remove unused #include of memcopy.h.
29450         (strcpy): Use ANSI prototype.
29452 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29454         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
29455         * config.make.in (config-extra-cppflags): Set it from
29456         libc_extra_cppflags.
29457         * configure.ac (libc_extra_cflags): Make it accumulate over
29458         configure fragments.
29459         (libc_extra_cppflags): New flag.
29460         * configure. Regenerate.
29461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
29462         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
29463         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
29464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
29466         [BZ #16815]
29467         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
29468         result for FE_DOWNWARD rounding mode.
29469         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
29470         Likewise.
29471         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29473 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
29475         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
29476         in function argument name.
29478 2014-04-03  David Svoboda  <svoboda@cert.org>
29480         [BZ #5666]
29481         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
29482         explicitly.
29484 2014-04-03  Roland McGrath  <roland@hack.frob.com>
29486         * elf/dl-unmap-segments.h: New file.
29487         * sysdeps/generic/ldsodefs.h
29488         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
29489         * elf/dl-close.c: Include <dl-unmap-segments.h>.
29490         * elf/dl-fptr.c: Likewise.
29491         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
29492         * sysdeps/aarch64/tlsdesc.c: Likewise.
29493         * sysdeps/arm/tlsdesc.c: Likewise.
29494         * sysdeps/i386/tlsdesc.c: Likewise.
29495         * sysdeps/tile/dl-runtime.c: Likewise.
29496         * sysdeps/x86_64/tlsdesc.c: Likewise.
29497         * elf/dl-load.h: New file.
29498         * elf/dl-load.c: Include it.
29499         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
29500         Macros moved to dl-load.h.
29501         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
29502         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
29503         Use _dl_unmap_segments in place of __munmap.
29504         Break out segment-mapping loop into ...
29505         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
29507 2014-04-03  Will Newton  <will.newton@linaro.org>
29509         * elf/dl-lookup.c (do_lookup_x): Remove comment
29510         referring to nested function and move variable
29511         declarations down to before first use.
29513 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
29515         [BZ #16799]
29516         [BZ #16800]
29517         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
29518         with 0 numerator.
29519         * math/s_catanf.c (__catanf): Likewise.
29520         * math/s_catanh.c (__catanh): Likewise.
29521         * math/s_catanhf.c (__catanhf): Likewise.
29522         * math/s_catanhl.c (__catanhl): Likewise.
29523         * math/s_catanl.c (__catanl): Likewise.
29524         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
29525         by positive zero when computing -Inf result.
29526         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
29527         (catanh_test): Likewise.
29528         * sysdeps/i386/fpu/libm-test-ulps: Update.
29529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29531         [BZ #16789]
29532         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
29533         instead of using underflowing value in computing result.
29534         * math/s_clog10.c (__clog10): Likewise.
29535         * math/s_clog10f.c (__clog10f): Likewise.
29536         * math/s_clog10l.c (__clog10l): Likewise.
29537         * math/s_clogf.c (__clogf): Likewise.
29538         * math/s_clogl.c (__clogl): Likewise.
29539         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
29540         (clog10_test): Likewise.
29541         * sysdeps/i386/fpu/libm-test-ulps: Update.
29542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29544 2014-04-02  Alan Modra  <amodra@gmail.com>
29546         [BZ #16739]
29547         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
29548         output when value is near a power of two.  Use int64_t for lx and
29549         remove casts.  Use decimal rather than hex exponent constants.
29550         Don't use long double multiplication when double will suffice.
29551         * math/libm-test.inc (nextafter_test_data): Add tests.
29552         * NEWS: Add 16739 and 16786 to bug list.
29554         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
29556         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
29558 2014-04-01  Will Newton  <will.newton@linaro.org>
29560         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
29561         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
29563 2014-04-01  Florian Weimer  <fweimer@redhat.com>
29565         [BZ #13347]
29566         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
29567         * nptl/tst-setuid2.c: New file.
29568         * nptl/Makefile (xtests): Add tst-setuid2.
29570 2014-04-01  Alan Modra  <amodra@gmail.com>
29572         [BZ #16786]
29573         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
29575 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
29577         [BZ #6803]
29578         [BZ #6804]
29579         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
29580         set errno as appropriate.
29581         * math/w_scalbf.c (__scalbf): Likewise.
29582         * math/w_scalbl.c (__scalbl): Likewise.
29583         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
29584         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
29585         * math/libm-test.inc (scalb_test_data): Add errno expectations.
29586         Add more NaN tests.
29588         [BZ #16349]
29589         * math/w_atan2.c: Include <errno.h>.
29590         (__atan2): Set errno for result underflowing to zero.
29591         * math/w_atan2f.c: Include <errno.h>.
29592         (__atan2f): Set errno for result underflowing to zero.
29593         * math/w_atan2l.c: Include <errno.h>.
29594         (__atan2l): Set errno for result underflowing to zero.
29595         * math/auto-libm-test-in: Don't allow missing errno for some atan2
29596         tests.
29597         * math/auto-libm-test-out: Regenerated.
29599 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29601         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
29602         Encode instruction correctly in little endian.
29603         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
29604         Likewise.
29605         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
29606         Likewise.
29607         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
29608         Likewise.
29609         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
29610         Likewise.
29612 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
29614         [BZ #9894]
29615         * sysdeps/unix/sysv/linux/kernel-features.h
29616         [__sparc__ && !__arch64__ && !__sparc_v9__]
29617         (__ASSUME_SET_ROBUST_LIST): Do not define.
29618         [__sparc__ && !__arch64__ && !__sparc_v9__]
29619         (__ASSUME_FUTEX_LOCK_PI): Likewise.
29620         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
29621         Likewise.
29622         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29623         (__ASSUME_FUTEX_LOCK_PI): Undefine.
29624         (__ASSUME_REQUEUE_PI): Likewise.
29625         (__ASSUME_SET_ROBUST_LIST): Likewise.
29626         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
29627         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
29628         Undefine.
29629         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29630         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
29631         Likewise.
29632         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
29633         Likewise.
29634         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
29635         Likewise.
29636         * sysdeps/unix/sysv/linux/mips/kernel-features.h
29637         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
29638         Undefine.
29639         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
29640         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
29641         Likewise.
29643         [BZ #16648]
29644         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29645         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
29646         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
29648 2014-03-31  Will Newton  <will.newton@linaro.org>
29650         * benchtests/Makefile (bench): Add ffs and ffsll to list
29651         of tests.
29652         * benchtests/ffs-inputs: New file.
29653         * benchtests/ffsll-inputs: Likewise.
29655 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
29657         [BZ #16770]
29658         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
29659         too large before casting to int.
29660         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
29661         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
29662         * math/libm-test.inc (scalb_test_data): Add more tests.
29664 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29666         * benchtests/Makefile (DETAILED_OPT): New make option.
29667         (bench-func): Run benchmark program with -d if DETAILED_OPT is
29668         set.
29669         * benchtests/bench-skeleton.c: Include stdbool.h.
29670         (main): Store and print timings per input.
29671         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
29672         member to each argument value.
29673         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
29674         (_print_arg_data): Initialize per-input timing to 0.
29676         * benchtests/Makefile (timing-type): New binary.
29677         (bench-clean): Also remove bench-timing-type.
29678         (bench): New target for timing-type.
29679         (bench-func): Print output in JSON format.
29680         * benchtests/bench-skeleton.c (main): Print output in JSON
29681         format.
29682         * benchtests/bench-timing-type.c: New file.
29683         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
29684         (TIMING_PRINT_STATS): Remove.
29685         * benchtests/scripts/bench.py (_print_arg_data): Store variant
29686         name separately.
29688         * benchtests/bench-modf.c: Remove.
29689         * benchtests/modf-inputs: New inputs file.
29691 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
29693         [BZ #16362]
29694         * math/s_clog10.c (M_PI_LOG10E): New macro.
29695         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
29696         imaginary parts are 0.
29697         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
29698         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
29699         imaginary parts are 0.
29700         * math/s_clog10l.c (M_PI_LOG10El): New macro.
29701         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
29702         imaginary parts are 0.
29703         * math/libm-test.inc (clog10_test_data): Update expected results
29704         for when real and imaginary parts are 0.
29706 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
29708         * elf/dl-load.c: Finish conversion of __builtin_expect into
29709         __glibc_{un}likely.
29711 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
29713         [BZ #16348]
29714         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
29715         1+x for argument with exponent below -67.
29716         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
29717         Likewise.
29718         * math/auto-libm-test-in: Add more tests of exp.
29719         * math/auto-libm-test-out: Regenerated.
29721 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29723         [BZ #16759]
29724         * inet/getnetgrent_r.c (get_nonempty_val): New function.
29725         (nscd_getnetgrent): Use it.
29727         [BZ #16760]
29728         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
29729         of stpcpy.
29731 2014-03-27  Andi Kleen  <ak@linux.intel.com>
29733         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
29734         (lll_robust_lock, lll_cond_lock, lll_timedlock)
29735         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
29736         (lll_robust_unlock): Remove out of line section. Use cfi
29737         intrinsics.
29738         (LLL_STUB_UNWIND_INFO*): Remove.
29739         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
29740         (lll_robust_lock, lll_cond_lock, lll_timedlock)
29741         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
29742         (lll_robust_unlock): Remove out of line section. Use cfi
29743         intrinsics.
29744         (LLL_STUB_UNWIND_INFO*): Remove.
29746 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29748         [BZ #16758]
29749         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
29750         blank values.
29752 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
29754         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
29756 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
29758         [BZ #16198]
29759         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
29760         fnstenv.
29761         * math/test-fenv-preserve.c: New file.
29762         * math/Makefile (tests): Add test-fenv-preserve.
29764 2014-03-26  Will Newton <will.newton@linaro.org>
29766         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
29768 2014-03-25  Roland McGrath  <roland@hack.frob.com>
29770         * scripts/versionlist.awk: Partition the version sets and emit all
29771         GLIBC_* (sorted) before all others (sorted).
29773 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
29775         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
29776         GLIBC_2.2.5 version.
29778 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29780         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
29781         calls.
29783         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
29784         previous change.
29786         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29788 2014-03-25  Andreas Schwab  <schwab@suse.de>
29790         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
29791         label to be used after in6ailist is initialized.
29793 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29795         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
29796         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
29798 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
29800         [BZ #16357]
29801         [BZ #16599]
29802         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
29803         min_plus_half.
29804         (fp_formats): Update initializers.
29805         (init_fp_formats): Initialize new field.
29806         (output_for_one_input_case): Allow underflow for results up to
29807         min_plus_half.
29808         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
29809         * math/auto-libm-test-in: Don't mark some underflows from asin and
29810         atanh as spurious.
29811         * math/auto-libm-test-out: Regenerated.
29812         * sysdeps/i386/fpu/libm-test-ulps: Update.
29813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29815 2014-03-25  Andreas Schwab  <schwab@suse.de>
29817         * libio/Makefile (tst-ftell-partial-wide-ENV)
29818         (tst-ftell-active-handler-ENV): Define.
29820 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
29822         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
29824 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
29826         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
29828 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
29830         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
29831         * sysdeps/x86_64/fpu/multiarch/e_exp.c
29832         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29834 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
29836         [BZ #16634]
29837         * elf/dl-load.c (open_verify): Add mode parameter.
29838         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
29839         (open_path): Change from boolean 'secure' to complete flag 'mode'
29840         (_dl_map_object): Adjust.
29841         * elf/Makefile (tests): Add tst-dlopen-aout.
29842         * elf/tst-dlopen-aout.c: New test.
29844 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
29846         [BZ #16714]
29847         * sysdeps/unix/sysv/linux/s390/bits/stat.h
29848         (struct stat): Rename member pad0 to __glibc_reserved0.
29850         [BZ #16712]
29851         * sysdeps/s390/s390-32/bits/wordsize.h
29852         (__WORDSIZE32_SIZE_ULONG): New define.
29853         * sysdeps/s390/s390-64/bits/wordsize.h
29854         (__WORDSIZE32_SIZE_ULONG): Likewise.
29855         * sysdeps/generic/stdint.h (SIZE_MAX):
29856         Define as UL if __WORDSIZE32_SIZE_ULONG.
29858         [BZ #16713]
29859         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
29860         (__glibc_reserved0): New variable.
29861         (sa_flags): Change type to int.
29863         * posix/Makefile (before-compile): Use += before-compile instead
29864         of a :=.
29866         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
29867         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
29869 2014-03-20  Andreas Schwab  <schwab@suse.de>
29871         [BZ #16743]
29872         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
29873         non-matching result from nscd.
29875 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29877         * scripts/bench.py: Moved to ...
29878         * benchtests/scripts/bench.py: ... here.
29879         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
29881 2014-03-24  Andreas Schwab  <schwab@suse.de>
29883         [BZ #16002]
29884         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
29885         alloca_account and account alloca use for struct in6ailist.
29887 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
29889         [BZ #16284]
29890         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
29891         rounding mode to recompute results that overflow to infinity or
29892         underflow to zero.
29893         * math/auto-libm-test-in: Don't mark tests as expected to fail for
29894         bug 16284.
29895         * math/auto-libm-test-out: Regenerated.
29896         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
29897         (ccosh_test): Likewise.
29898         (csin_test_data): Use plus_oflow.
29899         (csin_test): Use ALL_RM_TEST.
29900         (csinh_test_data): Use plus_oflow.
29901         (csinh_test): Use ALL_RM_TEST.
29902         * sysdeps/i386/fpu/libm-test-ulps: Update.
29903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29905 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
29907         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
29908         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
29909         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
29911         [BZ #16731]
29912         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
29913         when x - 1 is zero.
29914         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
29915         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
29916         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
29917         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
29918         argument is 1.
29919         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
29920         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
29921         zero.
29922         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
29923         * sysdeps/i386/fpu/libm-test-ulps: Update.
29924         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29926 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29928         * scripts/bench.pl: Remove file.
29929         * scripts/bench.py: New benchmark script.
29930         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
29931         * benchtests/README: Mention python dependency.
29932         * scripts/pylintrc: New file.
29933         * scripts/pylint: New file.
29935         * bits/mathdef.h: Use #ifdef instead of #if.
29936         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
29937         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
29938         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
29939         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
29940         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
29941         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
29943 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29944             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29946         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
29947         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
29948         and strpbrk-ppc64 objects.
29949         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29950         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
29951         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
29952         multiarch strpbrk for POWER7.
29953         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
29954         multiarch strpbrk for PPC64.
29955         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
29956         ifunc selector.
29957         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
29958         strpbrk for POWER7.
29960 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
29962         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
29963         (atan_test): Likewise.
29964         (atanh_test_data): Use NO_TEST_INLINE for two tests.
29965         (atanh_test): Use ALL_RM_TEST.
29966         (atan2_test_data): Likewise.
29967         (cabs_test): Likewise.
29968         (cacosh_test): Likewise.
29969         (carg_test): Likewise.
29970         (casin_test): Likewise.
29971         (casinh_test): Likewise.
29972         (cbrt_test): Likewise.
29973         (csqrt_test): Likewise.
29974         (erf_test): Likewise.
29975         (erfc_test): Likewise.
29976         (pow10_test): Likewise.
29977         (exp2_test): Likewise.
29978         (hypot_test): Likewise.
29979         (j0_test): Likewise.
29980         (j1_test): Likewise.
29981         (lgamma_test): Likewise.
29982         (gamma_test): Likewise.
29983         (sincos_test): Likewise.
29984         (tanh_test): Likewise.
29985         (y0_test): Likewise.
29986         (y1_test): Likewise.
29987         * sysdeps/i386/fpu/libm-test-ulps: Update.
29988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29990 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29992         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
29993         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
29994         and strcspn-ppc64 objects.
29995         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29996         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
29997         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
29998         multiarch strcspn for POWER7.
29999         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
30000         multiarch strcspn for PPC64.
30001         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
30002         ifunc selector.
30003         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
30004         strcspn for POWER7.
30006 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
30008         * math/gen-libm-test.pl (generate_testfile): Expect only function
30009         name as argument to AUTO_TESTS_* and pass results for all rounding
30010         modes to parse_args.
30011         (parse_auto_input): Separate inputs of automatic tests from
30012         outputs before storing in %auto_tests.
30013         * math/libm-test.inc (acos_test_data): Update call to
30014         AUTO_TESTS_f_f.
30015         (acos_test): Use ALL_RM_TEST.
30016         (acos_tonearest_test_data): Remove.
30017         (acos_test_tonearest): Likewise.
30018         (acos_towardzero_test_data): Likewise.
30019         (acos_test_towardzero): Likewise.
30020         (acos_downward_test_data): Likewise.
30021         (acos_test_downward): Likewise.
30022         (acos_upward_test_data): Likewise.
30023         (acos_test_upward): Likewise.
30024         (acosh_test_data): Update call to AUTO_TESTS_f_f.
30025         (asin_test_data): Likewise.
30026         (asin_test): Use ALL_RM_TEST.
30027         (asin_tonearest_test_data): Remove.
30028         (asin_test_tonearest): Likewise.
30029         (asin_towardzero_test_data): Likewise.
30030         (asin_test_towardzero): Likewise.
30031         (asin_downward_test_data): Likewise.
30032         (asin_test_downward): Likewise.
30033         (asin_upward_test_data): Likewise.
30034         (asin_test_upward): Likewise.
30035         (asinh_test_data): Update call to AUTO_TESTS_f_f.
30036         (atan_test_data): Likewise.
30037         (atanh_test_data): Likewise.
30038         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
30039         (cabs_test_data): Update call to AUTO_TESTS_c_f.
30040         (carg_test_data): Likewise.
30041         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
30042         (ccos_test_data): Update call to AUTO_TESTS_c_c.
30043         (ccosh_test_data): Likewise.
30044         (cexp_test_data): Likewise.
30045         (clog_test_data): Likewise.
30046         (clog10_test_data): Likewise.
30047         (cos_test_data): Update call to AUTO_TESTS_f_f.
30048         (cos_test): Use ALL_RM_TEST.
30049         (cos_tonearest_test_data): Remove.
30050         (cos_test_tonearest): Likewise.
30051         (cos_towardzero_test_data): Likewise.
30052         (cos_test_towardzero): Likewise.
30053         (cos_downward_test_data): Likewise.
30054         (cos_test_downward): Likewise.
30055         (cos_upward_test_data): Likewise.
30056         (cos_test_upward): Likewise.
30057         (cosh_test_data): Update call to AUTO_TESTS_f_f.
30058         (cosh_test): Use ALL_RM_TEST.
30059         (cosh_tonearest_test_data): Remove.
30060         (cosh_test_tonearest): Likewise.
30061         (cosh_towardzero_test_data): Likewise.
30062         (cosh_test_towardzero): Likewise.
30063         (cosh_downward_test_data): Likewise.
30064         (cosh_test_downward): Likewise.
30065         (cosh_upward_test_data): Likewise.
30066         (cosh_test_upward): Likewise.
30067         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
30068         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
30069         (ctan_test_data): Likewise.
30070         (ctan_test): Use ALL_RM_TEST.
30071         (ctan_tonearest_test_data): Remove.
30072         (ctan_test_tonearest): Likewise.
30073         (ctan_towardzero_test_data): Likewise.
30074         (ctan_test_towardzero): Likewise.
30075         (ctan_downward_test_data): Likewise.
30076         (ctan_test_downward): Likewise.
30077         (ctan_upward_test_data): Likewise.
30078         (ctan_test_upward): Likewise.
30079         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
30080         (ctanh_test): Use ALL_RM_TEST.
30081         (ctanh_tonearest_test_data): Remove.
30082         (ctanh_test_tonearest): Likewise.
30083         (ctanh_towardzero_test_data): Likewise.
30084         (ctanh_test_towardzero): Likewise.
30085         (ctanh_downward_test_data): Likewise.
30086         (ctanh_test_downward): Likewise.
30087         (ctanh_upward_test_data): Likewise.
30088         (ctanh_test_upward): Likewise.
30089         (erf_test_data): Update call to AUTO_TESTS_f_f.
30090         (erfc_test_data): Likewise.
30091         (exp_test_data): Likewise.
30092         (exp_test): Use ALL_RM_TEST.
30093         (exp_tonearest_test_data): Remove.
30094         (exp_test_tonearest): Likewise.
30095         (exp_towardzero_test_data): Likewise.
30096         (exp_test_towardzero): Likewise.
30097         (exp_downward_test_data): Likewise.
30098         (exp_test_downward): Likewise.
30099         (exp_upward_test_data): Likewise.
30100         (exp_test_upward): Likewise.
30101         (exp10_test_data): Update call to AUTO_TESTS_f_f.
30102         (exp10_test): Use ALL_RM_TEST.
30103         (exp10_tonearest_test_data): Remove.
30104         (exp10_test_tonearest): Likewise.
30105         (exp10_towardzero_test_data): Likewise.
30106         (exp10_test_towardzero): Likewise.
30107         (exp10_downward_test_data): Likewise.
30108         (exp10_test_downward): Likewise.
30109         (exp10_upward_test_data): Likewise.
30110         (exp10_test_upward): Likewise.
30111         (exp2_test_data): Update call to AUTO_TESTS_f_f.
30112         (expm1_test_data): Likewise.
30113         (expm1_test): Use ALL_RM_TEST.
30114         (expm1_tonearest_test_data): Remove.
30115         (expm1_test_tonearest): Likewise.
30116         (expm1_towardzero_test_data): Likewise.
30117         (expm1_test_towardzero): Likewise.
30118         (expm1_downward_test_data): Likewise.
30119         (expm1_test_downward): Likewise.
30120         (expm1_upward_test_data): Likewise.
30121         (expm1_test_upward): Likewise.
30122         (fma_test_data): Update call to AUTO_TESTS_fff_f.
30123         (fma_test): Use ALL_RM_TEST.
30124         (fma_towardzero_test_data): Remove.
30125         (fma_test_towardzero): Likewise.
30126         (fma_downward_test_data): Likewise.
30127         (fma_test_downward): Likewise.
30128         (fma_upward_test_data): Likewise.
30129         (fma_test_upward): Likewise.
30130         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
30131         (j0_test_data): Update call to AUTO_TESTS_f_f.
30132         (j1_test_data): Likewise.
30133         (jn_test_data): Update call to AUTO_TESTS_if_f.
30134         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
30135         (log_test_data): Update call to AUTO_TESTS_f_f.
30136         (log10_test_data): Likewise.
30137         (log1p_test_data): Likewise.
30138         (log2_test_data): Likewise.
30139         (pow_test_data): Update call to AUTO_TESTS_ff_f.
30140         (pow_tonearest_test_data): Likewise.
30141         (sin_test_data): Update call to AUTO_TESTS_f_f.
30142         (sin_test): Use ALL_RM_TEST.
30143         (sin_tonearest_test_data): Remove.
30144         (sin_test_tonearest): Likewise.
30145         (sin_towardzero_test_data): Likewise.
30146         (sin_test_towardzero): Likewise.
30147         (sin_downward_test_data): Likewise.
30148         (sin_test_downward): Likewise.
30149         (sin_upward_test_data): Likewise.
30150         (sin_test_upward): Likewise.
30151         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
30152         (sinh_test_data): Update call to AUTO_TESTS_f_f.
30153         (sinh_test): Use ALL_RM_TEST.
30154         (sinh_tonearest_test_data): Remove.
30155         (sinh_test_tonearest): Likewise.
30156         (sinh_towardzero_test_data): Likewise.
30157         (sinh_test_towardzero): Likewise.
30158         (sinh_downward_test_data): Likewise.
30159         (sinh_test_downward): Likewise.
30160         (sinh_upward_test_data): Likewise.
30161         (sinh_test_upward): Likewise.
30162         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
30163         (sqrt_test): Use ALL_RM_TEST.
30164         (sqrt_tonearest_test_data): Remove.
30165         (sqrt_test_tonearest): Likewise.
30166         (sqrt_towardzero_test_data): Likewise.
30167         (sqrt_test_towardzero): Likewise.
30168         (sqrt_downward_test_data): Likewise.
30169         (sqrt_test_downward): Likewise.
30170         (sqrt_upward_test_data): Likewise.
30171         (sqrt_test_upward): Likewise.
30172         (tan_test_data): Update call to AUTO_TESTS_f_f.
30173         (tan_test): Use ALL_RM_TEST.
30174         (tan_tonearest_test_data): Remove.
30175         (tan_test_tonearest): Likewise.
30176         (tan_towardzero_test_data): Likewise.
30177         (tan_test_towardzero): Likewise.
30178         (tan_downward_test_data): Likewise.
30179         (tan_test_downward): Likewise.
30180         (tan_upward_test_data): Likewise.
30181         (tan_test_upward): Likewise.
30182         (tanh_test_data): Update call to AUTO_TESTS_f_f.
30183         (tgamma_test_data): Likewise.
30184         (y0_test_data): Likewise.
30185         (y1_test_data): Likewise.
30186         (yn_test_data): Update call to AUTO_TESTS_if_f.
30187         (main): Do not call removed functions.
30189 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
30191         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
30192         (ldexp_test_data): Remove.
30193         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
30194         scalbn_test_data.
30195         (scalb_test): Use ALL_RM_TEST.
30197 2014-03-19  Andreas Schwab  <schwab@suse.de>
30199         * nscd/nscd.service: Also invalidate netgroup cache on reload.
30201 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
30203         [BZ #16649]
30204         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30205         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
30206         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
30207         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30208         (__ASSUME_PREADV): Undefine.
30209         (__ASSUME_PWRITEV): Likewise.
30211 2014-03-18  Roland McGrath  <roland@hack.frob.com>
30213         * bits/mman-linux.h: Add comment about non-Linux use.
30214         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
30215         bits/mman-linux.h resting place.
30217         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
30218         * bits/mman-linux.h: ... here.
30220 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30222         * conform/conformtest.pl: Add standard definition when calling C
30223         preprocessor on data files.
30224         (checknamespace): Remove unused variable.
30226 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
30228         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
30229         minus_oflow, plus_uflow and minus_uflow in expected results.
30230         * math/libm-test.inc (scalbn_test_data): Add more tests of
30231         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
30232         minus_uflow.
30233         (scalbn_test): Use ALL_RM_TEST.
30234         (scalbln_test_data): Add more tests of negative arguments.  Use
30235         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
30236         (scalbln_test): Use ALL_RM_TEST.
30238 2014-03-18  Roland McGrath  <roland@hack.frob.com>
30240         * scripts/abilist.awk: Ignore symbols marked with .hidden.
30242 2014-03-18  Will Newton  <will.newton@linaro.org>
30244         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
30245         inaccurate comment.
30247 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
30249         * Makerules [!subdir] (check-abi): Exit with error status if a
30250         test failed.
30252 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
30254         * math/libm-test.inc (nearbyint_test_data): Include all tests used
30255         for rint.  Include results for all rounding modes.
30256         (nearbyint_test): Use ALL_RM_TEST.
30257         (rint_test_data): Include all tests used for nearbyint.
30259 2014-03-17  Will Newton  <will.newton@linaro.org>
30261         * nptl/sysdeps/pthread/pthread.h: Revert previous
30262         change.
30264         * sysdeps/generic/ldsodefs.h: Revert previous
30265         change.
30267         * libio/genops.c: Revert previous change.
30268         * libio/libioP.h: Likewise.
30269         * stdio-common/vfprintf.c: Likewise.
30271         * sysdeps/generic/math_private.h: Revert previous
30272         change.
30274         * sysdeps/generic/math_private.h: Check whether
30275         HAVE_RM_CTX is defined with #ifdef rather
30276         than #if.
30278         * argp/argp-fmtstream.h: Check whether
30279         __STRICT_ANSI__ is defined with #ifdef rather
30280         than #if.
30281         * argp/argp.h: Likewise.
30283         * libio/genops.c: Check whether
30284         _IO_JUMPS_OFFSET is defined with #ifdef rather
30285         than #if.
30286         * libio/libioP.h: Likewise.
30287         * stdio-common/vfprintf.c: Likewise.
30289         * sysdeps/generic/ldsodefs.h: Check whether
30290         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
30291         than #if.
30293         * nptl/sysdeps/pthread/pthread.h: Check
30294         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
30295         its value.
30297 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
30299         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
30300         setting O_APPEND.
30301         * libio/tst-ftell-active-handler.c (do_append_test): Add a
30302         test case.
30304         [BZ #16680]
30305         * libio/fileops.c (_IO_file_open): Seek to end of file but
30306         don't cache the offset.
30307         (get_file_offset): Remove function.
30308         (do_ftell): Use cached offset when available.
30309         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
30310         don't cache the offset.
30311         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
30312         case.
30313         (do_one_test): Call it.
30314         (do_ftell_test): Fix up expected old offset for a+ mode.
30315         * libio/wfileops.c (do_ftell_wide): Used cached offset when
30316         available.
30318         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
30319         up test status with function return status.
30320         (do_write_test): Likewise.
30321         (do_append_test): Likewise.
30323         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
30324         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
30325         Remove.
30327 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
30329         * math/gen-libm-test.pl (parse_args): Handle results specified for
30330         each rounding mode separately.
30331         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
30332         tests and results from lrint_tonearest_test_data,
30333         lrint_towardzero_test_data, lrint_downward_test_data and
30334         lrint_upward_test_data.
30335         (lrint_test): Use ALL_RM_TEST.
30336         (lrint_tonearest_test_data): Remove.
30337         (lrint_test_tonearest): Likewise.
30338         (lrint_towardzero_test_data): Likewise.
30339         (lrint_test_towardzero): Likewise.
30340         (lrint_downward_test_data): Likewise.
30341         (lrint_test_downward): Likewise.
30342         (lrint_upward_test_data): Likewise.
30343         (lrint_test_upward): Likewise.
30344         (llrint_test_data): Merge in per-rounding-mode tests and results
30345         from llrint_tonearest_test_data, llrint_towardzero_test_data,
30346         llrint_downward_test_data and llrint_upward_test_data.
30347         (llrint_test): Use ALL_RM_TEST.
30348         (llrint_tonearest_test_data): Remove.
30349         (llrint_test_tonearest): Likewise.
30350         (llrint_towardzero_test_data): Likewise.
30351         (llrint_test_towardzero): Likewise.
30352         (llrint_downward_test_data): Likewise.
30353         (llrint_test_downward): Likewise.
30354         (llrint_upward_test_data): Likewise.
30355         (llrint_test_upward): Likewise.
30356         (rint_test_data): Merge in per-rounding-mode tests and results
30357         from rint_tonearest_test_data, rint_towardzero_test_data,
30358         rint_downward_test_data and rint_upward_test_data.  Add
30359         per-rounding-mode results for tests not in those arrays.
30360         (rint_test): Use ALL_RM_TEST.
30361         (rint_tonearest_test_data): Remove.
30362         (rint_test_tonearest): Likewise.
30363         (rint_towardzero_test_data): Likewise.
30364         (rint_test_towardzero): Likewise.
30365         (rint_downward_test_data): Likewise.
30366         (rint_test_downward): Likewise.
30367         (rint_upward_test_data): Likewise.
30368         (rint_test_upward): Likewise.
30369         (main): Don't call removed functions.
30371 2014-03-14  Roland McGrath  <roland@hack.frob.com>
30373         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
30374         "Compiled on ..." crapola.  It is anti-useful.
30376 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
30378         * scripts/evaluate-test.sh: Handle fourth argument to determine
30379         whether test run should stop on failure.
30380         * Makeconfig (stop-on-test-failure): New variable.
30381         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
30382         $(stop-on-test-failure).
30383         * Makefile (tests): Give a summary of results from testing and
30384         exit with failure status if they include an ERROR or FAIL.
30385         (xtests): Likewise.
30386         * manual/install.texi (Configuring and compiling): Mention
30387         stop-on-test-failure=y.
30388         * INSTALL: Regenerated.
30390 2014-03-14  Roland McGrath  <roland@hack.frob.com>
30392         * scripts/versionlist.awk: New file.
30393         * Makerules [$(build-shared) = yes]
30394         (postclean-generated): Add Versions.def, not Versions.def.v and
30395         Versions.def.v.i.
30396         ($(common-objpfx)Versions.def.v.i): Target removed.
30397         ($(common-objpfx)Versions.def): New target.
30398         ($(common-objpfx)Versions.all): Depend on that rather that
30399         $(common-objpfx)Versions.def.v.
30400         * Versions.def: File removed.
30402         * Makeconfig (+gccwarn): Add -Wundef.
30403         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
30404         a dl-sysdep.h breaking its contract.
30405         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
30406         * include/stackinfo.h: New file.
30407         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
30408         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
30409         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
30410         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
30411         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
30412         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
30413         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30414         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30415         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30416         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30417         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30418         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
30419         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30420         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30421         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30423 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30425         [BZ #16707]
30426         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
30427         implementation.
30428         * math/libm-test.inc (round_test_data): Add more tests.
30430         [BZ #16706]
30431         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
30432         implementation.
30433         * math/libm-test.inc (nearbyint_test_data): Add more tests.
30435         [BZ #16701]
30436         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
30437         implementation.
30438         * math/libm-test.inc (ceil_test_data): Add more tests.
30440         * math/libm-test.inc (trunc_test_data): Add more tests related to
30441         BZ#16414.
30443 2014-03-14  Roland McGrath  <roland@hack.frob.com>
30445         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
30446         with #if rather than #ifdef.
30447         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
30449 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
30451         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
30452         first.  Disable AVX-512 GCC support if assembler doesn't support
30453         it.
30454         * sysdeps/x86_64/configure: Regenerated.
30456 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
30458         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
30459         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
30460         (__old_pthread_attr_setstack): Likewise.
30461         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
30462         [!_STACK_GROWS_DOWN]: Likewise.
30464 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
30466         * config.make.in (have-bash2): Delete.
30467         * configure.ac (libc_cv_have_bash2): Delete.
30468         * configure: Regenerate.
30469         * elf/Makefile (common-ldd-rewrite): Rename to ...
30470         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
30471         (sh-ldd-rewrite): Delete.
30472         (bash-ldd-rewrite): Delete.
30473         (have-bash2): Delete checks.
30474         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
30475         ldd-rewrite.
30477         * config.make.in (have-ksh): Delete.
30478         (KSH): Delete.
30479         * configure.ac (libc_cv_have_ksh): Delete.
30480         * configure: Regenerate.
30482         * elf/Makefile: Delete $(have-ksh) check.
30483         ($(objpfx)sotruss): Change KSH to BASH.
30484         * elf/sotruss.ksh: Rename to ...
30485         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
30486         function style to match POSIX.  Drop ksh vim mode setting.
30488         * manual/time.texi (Specifying the Time Zone with TZ): Change
30489         Tuesday to Thursday.
30491         * debug/tst-longjmp_chk2.c: Update header comment.
30492         (stackoverflow_handler): Add comment.  Call assert on pass value.
30494 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
30496         [BZ #16194]
30497         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
30498         (HAVE_AVX512_ASM_SUPPORT): Likewise.
30499         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
30500         (La_x86_64_vector): Add zmm.
30501         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
30502         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
30503         ($(objpfx)tst-audit10): New target.
30504         ($(objpfx)tst-audit10.out): Likewise.
30505         (tst-audit10-ENV): New.
30506         (AVX512-CFLAGS): Likewise.
30507         (CFLAGS-tst-audit10.c): Likewise.
30508         (CFLAGS-tst-auditmod10a.c): Likewise.
30509         (CFLAGS-tst-auditmod10b.c): Likewise.
30510         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
30511         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
30512         * sysdeps/x86_64/configure: Regenerated.
30513         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
30514         AVX-512 zmm register support.
30515         (_dl_x86_64_save_sse): Likewise.
30516         (_dl_x86_64_restore_sse): Likewise.
30517         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
30518         size vector registers.
30519         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
30520         (ZMM_SIZE): Likewise.
30521         * sysdeps/x86_64/tst-audit10.c: New file.
30522         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
30523         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
30525 2014-03-13  Roland McGrath  <roland@hack.frob.com>
30527         * configure.ac (HAVE_EHDR_START): New check.
30528         * configure: Regenerated.
30529         * config.h.in (HAVE_EHDR_START): New #undef.
30530         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
30531         assuming the lowest-addressed segment maps the start of the file.
30533 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
30535         * INSTALL: Regenerated.
30537 2014-03-13  Will Newton  <will.newton@linaro.org>
30539         * manual/setjmp.texi (System V contexts): Improve
30540         clarity and grammar of documentation.
30542 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
30544         [BZ #16381]
30545         * elf/Makefile (tests): Add tst-pie2.
30546         (tests-pie): Add tst-pie2.
30547         * elf/tst-pie2.c: New file.
30548         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
30549         for ET_EXEC.
30550         * elf/rtld.c (map_doit): Load executable as lt_executable.
30551         (dl_main): Likewise.
30553 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
30555         [BZ #16642]
30556         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30557         (__ASSUME_PSELECT): Undefine.
30559 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30561         [BZ #16689]
30562         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
30563         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
30564         static build.
30565         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
30566         selector for static builds.
30568 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30570         [BZ #16695]
30571         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
30572         key in the buffer.
30574 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30576         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
30577         IFUNC selector for static builds.
30579 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
30581         * sysdeps/mips/math_private.h [__mips_hard_float]
30582         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
30583         libc_feresetround_mips_ctx.
30584         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
30585         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
30586         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
30588         [BZ #16677]
30589         * math/s_nextafter.c (__nextafter): Do not return value from
30590         overflowing computation.
30591         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
30592         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
30593         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
30594         Likewise.
30595         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
30596         Likewise.
30597         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
30598         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
30600 2014-03-11  Roland McGrath  <roland@hack.frob.com>
30602         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
30603         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
30604         Move sfi_sp use from the load-multiple (that no longer sets sp) to
30605         the new mov targetting sp.
30607 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30609         [BZ #16683]
30610         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
30611         Define it for static builds as well.
30612         (NO_BZERO_IMPL): Likewise.
30614 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
30616         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
30617         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
30618         multiarch strspn for PPC64.
30619         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
30620         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
30621         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30622         (__libc_ifunc_impl_list): Likewise.
30623         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
30624         multiarch optimizations
30625         * string/strspn.c (strspn): Using macro to redefine symbol name.
30627 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
30628             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30630         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
30631         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
30632         multiarch strncat for PPC64.
30633         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
30634         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
30635         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30636         (__libc_ifunc_impl_list): Likewise.
30637         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
30638         multiarch optimizations
30640 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30642         [BZ #16639]
30643         * nscd/nscd.service: Make service type forking.
30645 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30647         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
30648         sign in non default rounding modes.
30649         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
30651 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
30653         * math/libm-test.inc (ALL_RM_TEST): New macro.
30654         (ceil_test): Use ALL_RM_TEST.
30655         (cimag_test): Likewise.
30656         (conj_test): Likewise.
30657         (copysign_test): Likewise.
30658         (cproj_test): Likewise.
30659         (creal_test): Likewise.
30660         (fabs_test): Likewise.
30661         (floor_test): Likewise.
30662         (fmax_test): Likewise.
30663         (fmin_test): Likewise.
30664         (fmod_test): Likewise.
30665         (fpclassify_test): Likewise.
30666         (frexp_test): Likewise.
30667         (ilogb_test): Likewise.
30668         (isfinite_test): Likewise.
30669         (finite_test): Likewise.
30670         (isgreater_test): Likewise.
30671         (isgreaterequal_test): Likewise.
30672         (isinf_test): Likewise.
30673         (isless_test): Likewise.
30674         (islessequal_test): Likewise.
30675         (islessgreater_test): Likewise.
30676         (isnan_test): Likewise.
30677         (isnormal_test): Likewise.
30678         (issignaling_test): Likewise.
30679         (isunordered_test): Likewise.
30680         (logb_test): Likewise.
30681         (logb_downward_test_data): Remove.
30682         (logb_test_downward): Likewise.
30683         (lround_test): Use ALL_RM_TEST.
30684         (llround_test): Likewise.
30685         (modf_test): Likewise.
30686         (nexttoward_test): Likewise.
30687         (remainder_test): Likewise.
30688         (drem_test): Likewise.
30689         (remainder_tonearest_test_data): Likewise.
30690         (remainder_test_tonearest): Likewise.
30691         (drem_test_tonearest): Likewise.
30692         (remainder_towardzero_test_data): Likewise.
30693         (remainder_test_towardzero): Likewise.
30694         (drem_test_towardzero): Likewise.
30695         (remainder_downward_test_data): Likewise.
30696         (remainder_test_downward): Likewise.
30697         (drem_test_downward): Likewise.
30698         (remainder_upward_test_data): Likewise.
30699         (remainder_test_upward): Likewise.
30700         (drem_test_upward): Likewise.
30701         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
30702         (round_test): Use ALL_RM_TEST.
30703         (signbit_test): Likewise.
30704         (trunc_test): Likewise.
30705         (significand_test): Likewise.
30706         (main): Don't call removed functions.
30708 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
30710         [BZ #16674]
30711         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
30712         || __USE_XOPEN2K8].
30713         (ILL_ILLOPN): Likewise.
30714         (ILL_ILLADR): Likewise.
30715         (ILL_ILLTRP): Likewise.
30716         (ILL_PRVOPC): Likewise.
30717         (ILL_PRVREG): Likewise.
30718         (ILL_COPROC): Likewise.
30719         (ILL_BADSTK): Likewise.
30720         (FPE_INTDIV): Likewise.
30721         (FPE_INTOVF): Likewise.
30722         (FPE_FLTDIV): Likewise.
30723         (FPE_FLTOVF): Likewise.
30724         (FPE_FLTUND): Likewise.
30725         (FPE_FLTRES): Likewise.
30726         (FPE_FLTINV): Likewise.
30727         (FPE_FLTSUB): Likewise.
30728         (SEGV_MAPERR): Likewise.
30729         (SEGV_ACCERR): Likewise.
30730         (BUS_ADRALN): Likewise.
30731         (BUS_ADRERR): Likewise.
30732         (BUS_OBJERR): Likewise.
30733         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30734         (TRAP_TRACE): Likewise.
30735         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30736         __USE_XOPEN2K8].
30737         (CLD_KILLED): Likewise.
30738         (CLD_DUMPED): Likewise.
30739         (CLD_TRAPPED): Likewise.
30740         (CLD_STOPPED): Likewise.
30741         (CLD_CONTINUED): Likewise.
30742         (POLL_IN): Likewise.
30743         (POLL_OUT): Likewise.
30744         (POLL_MSG): Likewise.
30745         (POLL_ERR): Likewise.
30746         (POLL_PRI): Likewise.
30747         (POLL_HUP): Likewise.
30748         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
30749         Likewise.
30750         (ILL_ILLOPN): Likewise.
30751         (ILL_ILLADR): Likewise.
30752         (ILL_ILLTRP): Likewise.
30753         (ILL_PRVOPC): Likewise.
30754         (ILL_PRVREG): Likewise.
30755         (ILL_COPROC): Likewise.
30756         (ILL_BADSTK): Likewise.
30757         (FPE_INTDIV): Likewise.
30758         (FPE_INTOVF): Likewise.
30759         (FPE_FLTDIV): Likewise.
30760         (FPE_FLTOVF): Likewise.
30761         (FPE_FLTUND): Likewise.
30762         (FPE_FLTRES): Likewise.
30763         (FPE_FLTINV): Likewise.
30764         (FPE_FLTSUB): Likewise.
30765         (SEGV_MAPERR): Likewise.
30766         (SEGV_ACCERR): Likewise.
30767         (BUS_ADRALN): Likewise.
30768         (BUS_ADRERR): Likewise.
30769         (BUS_OBJERR): Likewise.
30770         (BUS_MCEERR_AR): Likewise.
30771         (BUS_MCEERR_AO): Likewise.
30772         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30773         (TRAP_TRACE): Likewise.
30774         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30775         __USE_XOPEN2K8].
30776         (CLD_KILLED): Likewise.
30777         (CLD_DUMPED): Likewise.
30778         (CLD_TRAPPED): Likewise.
30779         (CLD_STOPPED): Likewise.
30780         (CLD_CONTINUED): Likewise.
30781         (POLL_IN): Likewise.
30782         (POLL_OUT): Likewise.
30783         (POLL_MSG): Likewise.
30784         (POLL_ERR): Likewise.
30785         (POLL_PRI): Likewise.
30786         (POLL_HUP): Likewise.
30787         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
30788         (ILL_ILLOPN): Likewise.
30789         (ILL_ILLADR): Likewise.
30790         (ILL_ILLTRP): Likewise.
30791         (ILL_PRVOPC): Likewise.
30792         (ILL_PRVREG): Likewise.
30793         (ILL_COPROC): Likewise.
30794         (ILL_BADSTK): Likewise.
30795         (FPE_INTDIV): Likewise.
30796         (FPE_INTOVF): Likewise.
30797         (FPE_FLTDIV): Likewise.
30798         (FPE_FLTOVF): Likewise.
30799         (FPE_FLTUND): Likewise.
30800         (FPE_FLTRES): Likewise.
30801         (FPE_FLTINV): Likewise.
30802         (FPE_FLTSUB): Likewise.
30803         (SEGV_MAPERR): Likewise.
30804         (SEGV_ACCERR): Likewise.
30805         (BUS_ADRALN): Likewise.
30806         (BUS_ADRERR): Likewise.
30807         (BUS_OBJERR): Likewise.
30808         (BUS_MCEERR_AR): Likewise.
30809         (BUS_MCEERR_AO): Likewise.
30810         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30811         (TRAP_TRACE): Likewise.
30812         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30813         __USE_XOPEN2K8].
30814         (CLD_KILLED): Likewise.
30815         (CLD_DUMPED): Likewise.
30816         (CLD_TRAPPED): Likewise.
30817         (CLD_STOPPED): Likewise.
30818         (CLD_CONTINUED): Likewise.
30819         (POLL_IN): Likewise.
30820         (POLL_OUT): Likewise.
30821         (POLL_MSG): Likewise.
30822         (POLL_ERR): Likewise.
30823         (POLL_PRI): Likewise.
30824         (POLL_HUP): Likewise.
30825         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
30826         Likewise.
30827         (ILL_ILLOPN): Likewise.
30828         (ILL_ILLADR): Likewise.
30829         (ILL_ILLTRP): Likewise.
30830         (ILL_PRVOPC): Likewise.
30831         (ILL_PRVREG): Likewise.
30832         (ILL_COPROC): Likewise.
30833         (ILL_BADSTK): Likewise.
30834         (ILL_BADIADDR): Likewise.
30835         (ILL_BREAK): Likewise.
30836         (FPE_INTDIV): Likewise.
30837         (FPE_INTOVF): Likewise.
30838         (FPE_FLTDIV): Likewise.
30839         (FPE_FLTOVF): Likewise.
30840         (FPE_FLTUND): Likewise.
30841         (FPE_FLTRES): Likewise.
30842         (FPE_FLTINV): Likewise.
30843         (FPE_FLTSUB): Likewise.
30844         (FPE_DECOVF): Likewise.
30845         (FPE_DECDIV): Likewise.
30846         (FPE_DECERR): Likewise.
30847         (FPE_INVASC): Likewise.
30848         (FPE_INVDEC): Likewise.
30849         (SEGV_MAPERR): Likewise.
30850         (SEGV_ACCERR): Likewise.
30851         (SEGV_PSTKOVF): Likewise.
30852         (BUS_ADRALN): Likewise.
30853         (BUS_ADRERR): Likewise.
30854         (BUS_OBJERR): Likewise.
30855         (BUS_MCEERR_AR): Likewise.
30856         (BUS_MCEERR_AO): Likewise.
30857         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30858         (TRAP_TRACE): Likewise.
30859         (TRAP_BRANCH): Likewise.
30860         (TRAP_HWBKPT): Likewise.
30861         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30862         __USE_XOPEN2K8].
30863         (CLD_KILLED): Likewise.
30864         (CLD_DUMPED): Likewise.
30865         (CLD_TRAPPED): Likewise.
30866         (CLD_STOPPED): Likewise.
30867         (CLD_CONTINUED): Likewise.
30868         (POLL_IN): Likewise.
30869         (POLL_OUT): Likewise.
30870         (POLL_MSG): Likewise.
30871         (POLL_ERR): Likewise.
30872         (POLL_PRI): Likewise.
30873         (POLL_HUP): Likewise.
30874         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
30875         (ILL_ILLOPN): Likewise.
30876         (ILL_ILLADR): Likewise.
30877         (ILL_ILLTRP): Likewise.
30878         (ILL_PRVOPC): Likewise.
30879         (ILL_PRVREG): Likewise.
30880         (ILL_COPROC): Likewise.
30881         (ILL_BADSTK): Likewise.
30882         (FPE_INTDIV): Likewise.
30883         (FPE_INTOVF): Likewise.
30884         (FPE_FLTDIV): Likewise.
30885         (FPE_FLTOVF): Likewise.
30886         (FPE_FLTUND): Likewise.
30887         (FPE_FLTRES): Likewise.
30888         (FPE_FLTINV): Likewise.
30889         (FPE_FLTSUB): Likewise.
30890         (SEGV_MAPERR): Likewise.
30891         (SEGV_ACCERR): Likewise.
30892         (BUS_ADRALN): Likewise.
30893         (BUS_ADRERR): Likewise.
30894         (BUS_OBJERR): Likewise.
30895         (BUS_MCEERR_AR): Likewise.
30896         (BUS_MCEERR_AO): Likewise.
30897         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30898         (TRAP_TRACE): Likewise.
30899         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30900         __USE_XOPEN2K8].
30901         (CLD_KILLED): Likewise.
30902         (CLD_DUMPED): Likewise.
30903         (CLD_TRAPPED): Likewise.
30904         (CLD_STOPPED): Likewise.
30905         (CLD_CONTINUED): Likewise.
30906         (POLL_IN): Likewise.
30907         (POLL_OUT): Likewise.
30908         (POLL_MSG): Likewise.
30909         (POLL_ERR): Likewise.
30910         (POLL_PRI): Likewise.
30911         (POLL_HUP): Likewise.
30912         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
30913         (ILL_ILLOPN): Likewise.
30914         (ILL_ILLADR): Likewise.
30915         (ILL_ILLTRP): Likewise.
30916         (ILL_PRVOPC): Likewise.
30917         (ILL_PRVREG): Likewise.
30918         (ILL_COPROC): Likewise.
30919         (ILL_BADSTK): Likewise.
30920         (FPE_INTDIV): Likewise.
30921         (FPE_INTOVF): Likewise.
30922         (FPE_FLTDIV): Likewise.
30923         (FPE_FLTOVF): Likewise.
30924         (FPE_FLTUND): Likewise.
30925         (FPE_FLTRES): Likewise.
30926         (FPE_FLTINV): Likewise.
30927         (FPE_FLTSUB): Likewise.
30928         (SEGV_MAPERR): Likewise.
30929         (SEGV_ACCERR): Likewise.
30930         (BUS_ADRALN): Likewise.
30931         (BUS_ADRERR): Likewise.
30932         (BUS_OBJERR): Likewise.
30933         (BUS_MCEERR_AR): Likewise.
30934         (BUS_MCEERR_AO): Likewise.
30935         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30936         (TRAP_TRACE): Likewise.
30937         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30938         __USE_XOPEN2K8].
30939         (CLD_KILLED): Likewise.
30940         (CLD_DUMPED): Likewise.
30941         (CLD_TRAPPED): Likewise.
30942         (CLD_STOPPED): Likewise.
30943         (CLD_CONTINUED): Likewise.
30944         (POLL_IN): Likewise.
30945         (POLL_OUT): Likewise.
30946         (POLL_MSG): Likewise.
30947         (POLL_ERR): Likewise.
30948         (POLL_PRI): Likewise.
30949         (POLL_HUP): Likewise.
30950         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
30951         (ILL_ILLOPN): Likewise.
30952         (ILL_ILLADR): Likewise.
30953         (ILL_ILLTRP): Likewise.
30954         (ILL_PRVOPC): Likewise.
30955         (ILL_PRVREG): Likewise.
30956         (ILL_COPROC): Likewise.
30957         (ILL_BADSTK): Likewise.
30958         (FPE_INTDIV): Likewise.
30959         (FPE_INTOVF): Likewise.
30960         (FPE_FLTDIV): Likewise.
30961         (FPE_FLTOVF): Likewise.
30962         (FPE_FLTUND): Likewise.
30963         (FPE_FLTRES): Likewise.
30964         (FPE_FLTINV): Likewise.
30965         (FPE_FLTSUB): Likewise.
30966         (SEGV_MAPERR): Likewise.
30967         (SEGV_ACCERR): Likewise.
30968         (BUS_ADRALN): Likewise.
30969         (BUS_ADRERR): Likewise.
30970         (BUS_OBJERR): Likewise.
30971         (BUS_MCEERR_AR): Likewise.
30972         (BUS_MCEERR_AO): Likewise.
30973         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30974         (TRAP_TRACE): Likewise.
30975         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30976         __USE_XOPEN2K8].
30977         (CLD_KILLED): Likewise.
30978         (CLD_DUMPED): Likewise.
30979         (CLD_TRAPPED): Likewise.
30980         (CLD_STOPPED): Likewise.
30981         (CLD_CONTINUED): Likewise.
30982         (POLL_IN): Likewise.
30983         (POLL_OUT): Likewise.
30984         (POLL_MSG): Likewise.
30985         (POLL_ERR): Likewise.
30986         (POLL_PRI): Likewise.
30987         (POLL_HUP): Likewise.
30988         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
30989         (ILL_ILLOPN): Likewise.
30990         (ILL_ILLADR): Likewise.
30991         (ILL_ILLTRP): Likewise.
30992         (ILL_PRVOPC): Likewise.
30993         (ILL_PRVREG): Likewise.
30994         (ILL_COPROC): Likewise.
30995         (ILL_BADSTK): Likewise.
30996         (ILL_DBLFLT): Likewise.
30997         (ILL_HARDWALL): Likewise.
30998         (FPE_INTDIV): Likewise.
30999         (FPE_INTOVF): Likewise.
31000         (FPE_FLTDIV): Likewise.
31001         (FPE_FLTOVF): Likewise.
31002         (FPE_FLTUND): Likewise.
31003         (FPE_FLTRES): Likewise.
31004         (FPE_FLTINV): Likewise.
31005         (FPE_FLTSUB): Likewise.
31006         (SEGV_MAPERR): Likewise.
31007         (SEGV_ACCERR): Likewise.
31008         (BUS_ADRALN): Likewise.
31009         (BUS_ADRERR): Likewise.
31010         (BUS_OBJERR): Likewise.
31011         (BUS_MCEERR_AR): Likewise.
31012         (BUS_MCEERR_AO): Likewise.
31013         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31014         (TRAP_TRACE): Likewise.
31015         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31016         __USE_XOPEN2K8].
31017         (CLD_KILLED): Likewise.
31018         (CLD_DUMPED): Likewise.
31019         (CLD_TRAPPED): Likewise.
31020         (CLD_STOPPED): Likewise.
31021         (CLD_CONTINUED): Likewise.
31022         (POLL_IN): Likewise.
31023         (POLL_OUT): Likewise.
31024         (POLL_MSG): Likewise.
31025         (POLL_ERR): Likewise.
31026         (POLL_PRI): Likewise.
31027         (POLL_HUP): Likewise.
31028         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
31029         (ILL_ILLOPN): Likewise.
31030         (ILL_ILLADR): Likewise.
31031         (ILL_ILLTRP): Likewise.
31032         (ILL_PRVOPC): Likewise.
31033         (ILL_PRVREG): Likewise.
31034         (ILL_COPROC): Likewise.
31035         (ILL_BADSTK): Likewise.
31036         (FPE_INTDIV): Likewise.
31037         (FPE_INTOVF): Likewise.
31038         (FPE_FLTDIV): Likewise.
31039         (FPE_FLTOVF): Likewise.
31040         (FPE_FLTUND): Likewise.
31041         (FPE_FLTRES): Likewise.
31042         (FPE_FLTINV): Likewise.
31043         (FPE_FLTSUB): Likewise.
31044         (SEGV_MAPERR): Likewise.
31045         (SEGV_ACCERR): Likewise.
31046         (BUS_ADRALN): Likewise.
31047         (BUS_ADRERR): Likewise.
31048         (BUS_OBJERR): Likewise.
31049         (BUS_MCEERR_AR): Likewise.
31050         (BUS_MCEERR_AO): Likewise.
31051         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31052         (TRAP_TRACE): Likewise.
31053         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31054         __USE_XOPEN2K8].
31055         (CLD_KILLED): Likewise.
31056         (CLD_DUMPED): Likewise.
31057         (CLD_TRAPPED): Likewise.
31058         (CLD_STOPPED): Likewise.
31059         (CLD_CONTINUED): Likewise.
31060         (POLL_IN): Likewise.
31061         (POLL_OUT): Likewise.
31062         (POLL_MSG): Likewise.
31063         (POLL_ERR): Likewise.
31064         (POLL_PRI): Likewise.
31065         (POLL_HUP): Likewise.
31066         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
31067         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
31069         [BZ #16670]
31070         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
31071         before #include of <time.h>.
31072         [!__USE_XOPEN2K] (__need_timespec): Likewise.
31073         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
31074         (test-xfail-UNIX98/sched.h/conform): Likewise.
31076 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
31078         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
31079         error absence of trapping exception support.
31080         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
31082 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
31084         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
31085         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
31086         * timezone/Makefile (testdata): Move definition above include of
31087         Rules.
31088         (test-zones): New variable.
31089         (tests-special): Add zone files.
31090         (build-testdata): Use $(evaluate-test).
31092         * elf/Makefile (tests-special): Rename tests to end with .out.
31093         ($(objpfx)noload-mem): Likewise.
31094         ($(objpfx)tst-leaks1-mem): Likewise.
31095         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
31096         * iconv/Makefile (xtests-special): Change test-iconvconfig to
31097         $(objpfx)test-iconvconfig.out.
31098         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
31099         set -e inside subshell and redirect output to file.
31100         * iconvdata/Makefile (generated): Rename tests to end with .out.
31101         Correct type.
31102         (tests-special): Rename tests to end with .out.
31103         ($(objpfx)mtrace-tst-loading): Likewise.
31104         * intl/Makefile (generated): Likewise.
31105         (tests-special): Likewise.
31106         ($(objpfx)mtrace-tst-gettext): Likewise.
31107         * misc/Makefile (generated): Likewise.
31108         (tests-special): Likewise.
31109         ($(objpfx)tst-error1-mem): Likewise.
31110         * nptl/Makefile (tests-special): Likewise.
31111         ($(objpfx)tst-stack3-mem): Likewise.
31112         (generated): Likewise.
31113         * posix/Makefile (generated): Likewise.
31114         (tests-special): Likewise.
31115         (xtests-special): Likewise.
31116         ($(objpfx)tst-fnmatch-mem): Likewise.
31117         ($(objpfx)bug-regex2-mem): Likewise.
31118         ($(objpfx)bug-regex14-mem): Likewise.
31119         ($(objpfx)bug-regex21-mem): Likewise.
31120         ($(objpfx)bug-regex31-mem): Likewise.
31121         ($(objpfx)tst-vfork3-mem): Likewise.
31122         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
31123         ($(objpfx)tst-pcre-mem): Likewise.
31124         ($(objpfx)tst-boost-mem): Likewise.
31125         ($(objpfx)bug-ga2-mem): Likewise.
31126         ($(objpfx)bug-glob2-mem): Likewise.
31127         * resolv/Makefile (generate): Likewise.
31128         (tests-special): Likewise.
31129         (xtests-special): Likewise.
31130         (generated): Likewise.
31131         ($(objpfx)mtrace-tst-leaks): Likewise.
31132         ($(objpfx)mtrace-tst-leaks2): Likewise.
31134         * scripts/merge-test-results.sh: New file.
31135         * Makefile (tests-special-notdir): New variable.
31136         (tests): Run merge-test-results.sh.
31137         (xtests): Likewise.
31138         * Rules (tests-special-notdir): New variable.
31139         (xtests-special-notdir): Likewise.
31140         (tests): Run merge-test-results.sh
31141         (xtests): Likewise.
31143         * Makeconfig (test-xfail-name): New variable.
31144         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
31145         compute variable name for expected failures.
31146         * conform/Makefile (conformtest-headers-data): New variable.
31147         (conformtest-standards): Likewise.
31148         (conformtest-headers-ISO): Likewise.
31149         (conformtest-headers-ISO99): Likewise.
31150         (conformtest-headers-ISO11): Likewise.
31151         (conformtest-headers-POSIX): Likewise.
31152         (conformtest-headers-XPG3): Likewise.
31153         (conformtest-headers-XPG4): Likewise.
31154         (conformtest-headers-UNIX98): Likewise.
31155         (conformtest-headers-XOPEN2K): Likewise.
31156         (conformtest-headers-POSIX2008): Likewise.
31157         (conformtest-headers-XOPEN2K8): Likewise.
31158         (conformtest-header-list-base): Likewise.
31159         (conformtest-header-list-tests): Likewise.
31160         (conformtest-header-base): Likewise.
31161         (conformtest-header-tests): Likewise.
31162         (tests-special): Add $(conformtest-header-list-tests).  If
31163         [$(fast-check) && !$(cross-compiling)], add
31164         $(conformtest-header-tests) instead of
31165         $(objpfx)run-conformtest.out.
31166         (generated): Add $(conformtest-header-list-base).  If
31167         [$(fast-check) && !$(cross-compiling)], add
31168         $(conformtest-header-base).  Remove previous setting.
31169         ($(conformtest-header-list-tests)): New target.
31170         (test-xfail-run-conformtest): Remove variable.
31171         ($(objpfx)run-conformtest.out): Remove target.
31172         (test-xfail-ISO11/complex.h/conform): New variable.
31173         (test-xfail-ISO11/stdalign.h/conform): Likewise.
31174         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
31175         (test-xfail-XPG3/varargs.h/conform): Likewise.
31176         (test-xfail-XPG4/varargs.h/conform): Likewise.
31177         (test-xfail-UNIX98/varargs.h/conform): Likewise.
31178         (test-xfail-XPG4/ndbm.h/conform): Likewise.
31179         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
31180         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
31181         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
31182         (test-xfail-XPG3/fcntl.h/conform): Likewise.
31183         (test-xfail-XPG3/ftw.h/conform): Likewise.
31184         (test-xfail-XPG3/grp.h/conform): Likewise.
31185         (test-xfail-XPG3/langinfo.h/conform): Likewise.
31186         (test-xfail-XPG3/limits.h/conform): Likewise.
31187         (test-xfail-XPG3/pwd.h/conform): Likewise.
31188         (test-xfail-XPG3/search.h/conform): Likewise.
31189         (test-xfail-XPG3/signal.h/conform): Likewise.
31190         (test-xfail-XPG3/stdio.h/conform): Likewise.
31191         (test-xfail-XPG3/stdlib.h/conform): Likewise.
31192         (test-xfail-XPG3/string.h/conform): Likewise.
31193         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
31194         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
31195         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
31196         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
31197         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
31198         (test-xfail-XPG3/sys/types.h/conform): Likewise.
31199         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
31200         (test-xfail-XPG3/termios.h/conform): Likewise.
31201         (test-xfail-XPG3/time.h/conform): Likewise.
31202         (test-xfail-XPG3/unistd.h/conform): Likewise.
31203         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
31204         (test-xfail-XPG4/fcntl.h/conform): Likewise.
31205         (test-xfail-XPG4/langinfo.h/conform): Likewise.
31206         (test-xfail-XPG4/netdb.h/conform): Likewise.
31207         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
31208         (test-xfail-XPG4/signal.h/conform): Likewise.
31209         (test-xfail-XPG4/stdio.h/conform): Likewise.
31210         (test-xfail-XPG4/stdlib.h/conform): Likewise.
31211         (test-xfail-XPG4/stropts.h/conform): Likewise.
31212         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
31213         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
31214         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
31215         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
31216         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
31217         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
31218         (test-xfail-XPG4/sys/time.h/conform): Likewise.
31219         (test-xfail-XPG4/sys/types.h/conform): Likewise.
31220         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
31221         (test-xfail-XPG4/termios.h/conform): Likewise.
31222         (test-xfail-XPG4/ucontext.h/conform): Likewise.
31223         (test-xfail-XPG4/unistd.h/conform): Likewise.
31224         (test-xfail-XPG4/utmpx.h/conform): Likewise.
31225         (test-xfail-POSIX/sched.h/conform): Likewise.
31226         (test-xfail-POSIX/signal.h/conform): Likewise.
31227         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
31228         (test-xfail-POSIX/tar.h/conform): Likewise.
31229         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
31230         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
31231         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
31232         (test-xfail-UNIX98/netdb.h/conform): Likewise.
31233         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
31234         (test-xfail-UNIX98/sched.h/conform): Likewise.
31235         (test-xfail-UNIX98/signal.h/conform): Likewise.
31236         (test-xfail-UNIX98/stdio.h/conform): Likewise.
31237         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
31238         (test-xfail-UNIX98/stropts.h/conform): Likewise.
31239         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
31240         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
31241         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
31242         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
31243         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
31244         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
31245         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
31246         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
31247         (test-xfail-UNIX98/unistd.h/conform): Likewise.
31248         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
31249         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
31250         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
31251         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
31252         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
31253         (test-xfail-XOPEN2K/math.h/conform): Likewise.
31254         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
31255         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
31256         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
31257         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
31258         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
31259         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
31260         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
31261         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
31262         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
31263         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
31264         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
31265         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
31266         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
31267         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
31268         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
31269         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
31270         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
31271         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
31272         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
31273         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
31274         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
31275         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
31276         (test-xfail-POSIX2008/signal.h/conform): Likewise.
31277         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
31278         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
31279         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
31280         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
31281         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
31282         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
31283         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
31284         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
31285         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
31286         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
31287         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
31288         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
31289         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
31290         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
31291         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
31292         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
31293         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
31294         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
31295         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
31296         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
31297         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
31298         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
31299         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
31300         (conformtest-cc-flags): Likewise.
31301         ($(conformtest-header-tests): New target.
31302         * conform/check-header-lists.sh: New file.
31303         * conform/run-conformtest.sh: Remove.
31305         * conform/conformtest.pl: Allow ' and \ in values given for
31306         constants.
31307         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
31308         inclusion.
31309         [POSIX] (sys/types.h): Likewise.
31310         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
31311         inclusion.
31312         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
31313         inclusion.
31314         * conform/data/signal.h-data (SIGIO): Remove expectation.
31315         [XPG3] (SIGBUS): Do not expect.
31316         [POSIX || XPG3] (SIGPOLL): Likewise.
31317         [POSIX || XPG3] (SIGPROF): Likewise.
31318         [POSIX || XPG3] (SIGSYS): Likewise.
31319         [XPG3] (SIGTRAP): Likewise.
31320         [POSIX || XPG3] (SIGURG): Likewise.
31321         [POSIX || XPG3] (SIGVTALRM): Likewise.
31322         [POSIX || XPG3] (SIGXCPU): Likewise.
31323         [POSIX || XPG3] (SIGXFSZ): Likewise.
31324         [POSIX] (SA_SIGINFO): Expect.
31325         [XPG3] (siginfo_t): Do not expect type or contents.
31326         [POSIX] (si_pid): Do not expect element.
31327         [POSIX] (si_uid): Likewise.
31328         [POSIX] (si_addr): Likewise.
31329         [POSIX] (si_status): Likewise.
31330         [POSIX] (si_band): Likewise.
31331         [XPG4] (si_value): Likewise.
31332         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
31333         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
31334         [POSIX || XPG3] (ILL_ILLADR): Likewise.
31335         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
31336         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
31337         [POSIX || XPG3] (ILL_PRVREG): Likewise.
31338         [POSIX || XPG3] (ILL_COPROC): Likewise.
31339         [POSIX || XPG3] (ILL_BADSTK): Likewise.
31340         [POSIX || XPG3] (FPE_INTDIV): Likewise.
31341         [POSIX || XPG3] (FPE_INTOVF): Likewise.
31342         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
31343         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
31344         [POSIX || XPG3] (FPE_FLTUND): Likewise.
31345         [POSIX || XPG3] (FPE_FLTRES): Likewise.
31346         [POSIX || XPG3] (FPE_FLTINV): Likewise.
31347         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
31348         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
31349         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
31350         [POSIX || XPG3] (BUS_ADRALN): Likewise.
31351         [POSIX || XPG3] (BUS_ADRERR): Likewise.
31352         [POSIX || XPG3] (BUS_OBJERR): Likewise.
31353         [POSIX || XPG3] (CLD_EXITED): Likewise.
31354         [POSIX || XPG3] (CLD_KILLED): Likewise.
31355         [POSIX || XPG3] (CLD_DUMPED): Likewise.
31356         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
31357         [POSIX || XPG3] (CLD_STOPPED): Likewise.
31358         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
31359         [POSIX || XPG3] (POLL_IN): Likewise.
31360         [POSIX || XPG3] (POLL_OUT): Likewise.
31361         [POSIX || XPG3] (POLL_MSG): Likewise.
31362         [POSIX || XPG3] (POLL_ERR): Likewise.
31363         [POSIX || XPG3] (POLL_PRI): Likewise.
31364         [POSIX || XPG3] (POLL_HUP): Likewise.
31365         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
31366         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
31367         (SIG*): Do not allow.
31368         [XPG3] (si_*): Likewise.
31369         [XPG3] (SI_*): Likewise.
31370         [XPG3 || XPG4] (sigev_*): Likewise.
31371         [XPG3 || XPG4] (SIGEV_*): Likewise.
31372         [XPG3 || XPG4] (sival_*): Likewise.
31373         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
31374         [POSIX || XPG3] (BUS_*): Likewise.
31375         [POSIX || XPG3] (CLD_*): Likewise.
31376         [POSIX || XPG3] (FPE_*): Likewise.
31377         [POSIX || XPG3] (ILL_*): Likewise.
31378         [POSIX || XPG3] (POLL_*): Likewise.
31379         [POSIX || XPG3] (SEGV_*): Likewise.
31380         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
31381         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
31382         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
31383         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
31384         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
31385         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
31386         Specify type and value.
31387         (TVERSLEN): Likewise.
31388         (REGTYPE): Likewise.
31389         (AREGTYPE): Likewise.
31390         (LNKTYPE): Likewise.
31391         (SYMTYPE): Likewise.
31392         (CHRTYPE): Likewise.
31393         (BLKTYPE): Likewise.
31394         (DIRTYPE): Likewise.
31395         (FIFOTYPE): Likewise.
31396         (CONTTYPE): Likewise.
31397         (TSUID): Likewise.
31398         (TSGID): Likewise.
31399         (TSVTX): Likewise.
31400         (TUREAD): Likewise.
31401         (TUWRITE): Likewise.
31402         (TUEXEC): Likewise.
31403         (TGREAD): Likewise.
31404         (TGWRITE): Likewise.
31405         (TGEXEC): Likewise.
31406         (TOREAD): Likewise.
31407         (TOWRITE): Likewise.
31408         (TOEXEC): Likewise.
31409         [POSIX] (TSVTX): Expect constant.
31411 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
31413         * Makefile (tests): Change dependencies to ....
31414         (tests-special): ... additions to this variable.
31415         (tests): Depend on $(tests-special).
31416         * Makerules (check-abi-list): New variable.
31417         (check-abi): Depend on $(check-abi-list).
31418         [$(subdir) = elf] (tests-special): Add
31419         $(objpfx)check-abi-libc.out.
31420         [$(build-shared) = yes && subdir] (tests-special): Add
31421         $(check-abi-list).
31422         [$(build-shared) = yes && subdir] (tests): Do not depend on
31423         check-abi.
31424         * Rules (tests): Depend on $(tests-special).
31425         (xtests): Depend on $(xtests-special).
31426         * catgets/Makefile (tests): Change dependencies to ....
31427         (tests-special): ... additions to this variable.
31428         * conform/Makefile (tests): Change dependencies to ....
31429         (tests-special): ... additions to this variable.
31430         * elf/Makefile (tests): Change dependencies to ....
31431         (tests-special): ... additions to this variable.
31432         * grp/Makefile (tests): Change dependencies to ....
31433         (tests-special): ... additions to this variable.
31434         * iconv/Makefile (xtests): Change dependencies to ....
31435         (xtests-special): ... additions to this variable.
31436         * iconvdata/Makefile (tests): Change dependencies to ....
31437         (tests-special): ... additions to this variable.
31438         * intl/Makefile (tests): Change dependencies to ....
31439         (tests-special): ... additions to this variable.  Also add
31440         $(objpfx)tst-gettext.out.
31441         * io/Makefile (tests): Change dependencies to ....
31442         (tests-special): ... additions to this variable.
31443         * libio/Makefile (tests): Change dependencies to ....
31444         (tests-special): ... additions to this variable.
31445         * malloc/Makefile (tests): Change dependencies to ....
31446         (tests-special): ... additions to this variable.
31447         * misc/Makefile (tests): Change dependencies to ....
31448         (tests-special): ... additions to this variable.
31449         * nptl/Makefile (tests): Change dependencies to ....
31450         (tests-special): ... additions to this variable.
31451         * nptl_db/Makefile (tests): Change dependencies to ....
31452         (tests-special): ... additions to this variable.
31453         * posix/Makefile (tests): Change dependencies to ....
31454         (tests-special): ... additions to this variable.
31455         (xtests): Change dependencies to ....
31456         (xtests-special): ... additions to this variable.
31457         * resolv/Makefile (tests): Change dependencies to ....
31458         (tests-special): ... additions to this variable.
31459         (xtests): Change dependencies to ....
31460         (xtests-special): ... additions to this variable.
31461         * stdio-common/Makefile (tests): Change dependencies to ....
31462         (tests-special): ... additions to this variable.
31463         (do-tst-unbputc): Remove target.
31464         (do-tst-printf): Likewise.
31465         * stdlib/Makefile (tests): Change dependencies to ....
31466         (tests-special): ... additions to this variable.
31467         * string/Makefile (tests): Change dependencies to ....
31468         (tests-special): ... additions to this variable.
31469         * sysdeps/x86/Makefile (tests): Change dependencies to ....
31470         (tests-special): ... additions to this variable.
31472         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
31473         whole file.
31474         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
31475         whole file.
31476         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
31477         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
31479         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
31480         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
31481         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
31482         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
31483         * conform/data/libgen.h-data [XPG3]: Likewise.
31484         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
31485         * conform/data/ndbm.h-data [XPG3]: Likewise.
31486         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
31487         * conform/data/netdb.h-data [XPG3]: Likewise.
31488         * conform/data/netinet/in.h-data [XPG3]: Likewise.
31489         * conform/data/poll.h-data [XPG3]: Likewise.
31490         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
31491         * conform/data/strings.h-data [XPG3]: Likewise.
31492         * conform/data/stropts.h-data [XPG3]: Likewise.
31493         * conform/data/sys/mman.h-data [XPG3]: Likewise.
31494         * conform/data/sys/resource.h-data [XPG3]: Likewise.
31495         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
31496         Likewise.
31497         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
31498         * conform/data/sys/time.h-data [XPG3]: Likewise.
31499         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
31500         * conform/data/sys/uio.h-data [XPG3]: Likewise.
31501         * conform/data/sys/un.h-data [XPG3]: Likewise.
31502         * conform/data/syslog.h-data [XPG3]: Likewise.
31503         * conform/data/ucontext.h-data [XPG3]: Likewise.
31504         * conform/data/utmpx.h-data [XPG3]: Likewise.
31505         * conform/data/varargs.h-data [UNIX98]: Enable file.
31507         * manual/Makefile (INSTALL_INFO): Remove variable setting.
31509         * math/libm-test.inc (struct test_f_f_data): Move expected results
31510         into structure for each rounding mode.
31511         (struct test_ff_f_data): Likewise.
31512         (struct test_ff_f_data_nexttoward): Likewise.
31513         (struct test_fi_f_data): Likewise.
31514         (struct test_fl_f_data): Likewise.
31515         (struct test_if_f_data): Likewise.
31516         (struct test_fff_f_data): Likewise.
31517         (struct test_c_f_data): Likewise.
31518         (struct test_f_f1_data): Likewise.
31519         (struct test_fF_f1_data): Likewise.
31520         (struct test_ffI_f1_data): Likewise.
31521         (struct test_c_c_data): Likewise.
31522         (struct test_cc_c_data): Likewise.
31523         (struct test_f_i_data): Likewise.
31524         (struct test_ff_i_data): Likewise.
31525         (struct test_f_l_data): Likewise.
31526         (struct test_f_L_data): Likewise.
31527         (struct test_fFF_11_data): Likewise.
31528         (RM_): New macro.
31529         (RM_FE_DOWNWARD): Likewise.
31530         (RM_FE_TONEAREST): Likewise.
31531         (RM_FE_TOWARDZERO): Likewise.
31532         (RM_FE_UPWARD): Likewise.
31533         (RUN_TEST_LOOP_f_f): Update references to expected results.
31534         (RUN_TEST_LOOP_2_f): Likewise.
31535         (RUN_TEST_LOOP_fff_f): Likewise.
31536         (RUN_TEST_LOOP_c_f): Likewise.
31537         (RUN_TEST_LOOP_f_f1): Likewise.
31538         (RUN_TEST_LOOP_fF_f1): Likewise.
31539         (RUN_TEST_LOOP_fI_f1): Likewise.
31540         (RUN_TEST_LOOP_ffI_f1): Likewise.
31541         (RUN_TEST_LOOP_c_c): Likewise.
31542         (RUN_TEST_LOOP_cc_c): Likewise.
31543         (RUN_TEST_LOOP_f_i): Likewise.
31544         (RUN_TEST_LOOP_f_i_tg): Likewise.
31545         (RUN_TEST_LOOP_ff_i_tg): Likewise.
31546         (RUN_TEST_LOOP_f_b): Likewise.
31547         (RUN_TEST_LOOP_f_b_tg): Likewise.
31548         (RUN_TEST_LOOP_f_l): Likewise.
31549         (RUN_TEST_LOOP_f_L): Likewise.
31550         (RUN_TEST_LOOP_fFF_11): Likewise.
31551         * math/gen-libm-test.pl (parse_args): Output four copies of
31552         expected results for each test.
31554         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31555         (__ASSUME_UTIMES): Remove.
31556         * sysdeps/unix/sysv/linux/tile/kernel-features.h
31557         (__ASSUME_UTIMES): Likewise.
31559         * math/gen-auto-libm-tests.c: Update comment on output format.
31560         (output_for_one_input_case): Generate before-rounding and
31561         after-rounding information as conditions on output flags not
31562         floating-point format.
31563         * math/auto-libm-test-out: Regenerated.
31564         * math/gen-libm-test.pl (cond_value): New function.
31565         (or_cond_value): Use cond_value.
31566         (generate_testfile): Handle conditional exceptions.
31568 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
31570         * math/libm-test.inc (max_valid_error): New variable.
31571         (init_max_error): Take new argument specifying whether function
31572         results are exactly determined.  Set max_valid_error and bound
31573         other variables for errors based on this argument.
31574         (set_max_error): Do not record results above max_valid_error.
31575         (check_float_internal): Only accept errors of up to 0.5ulps if
31576         also at most max_valid_error.
31577         (START): Take new argument EXACT and pass it to init_max_error.
31578         (acos_test): Update call to START.
31579         (acos_test_tonearest): Likewise.
31580         (acos_test_towardzero): Likewise.
31581         (acos_test_downward): Likewise.
31582         (acos_test_upward): Likewise.
31583         (acosh_test): Likewise.
31584         (asin_test): Likewise.
31585         (asin_test_tonearest): Likewise.
31586         (asin_test_towardzero): Likewise.
31587         (asin_test_downward): Likewise.
31588         (asin_test_upward): Likewise.
31589         (asinh_test): Likewise.
31590         (atan_test): Likewise.
31591         (atanh_test): Likewise.
31592         (atan2_test): Likewise.
31593         (cabs_test): Likewise.
31594         (cacos_test): Likewise.
31595         (cacosh_test): Likewise.
31596         (carg_test): Likewise.
31597         (casin_test): Likewise.
31598         (casinh_test): Likewise.
31599         (catan_test): Likewise.
31600         (catanh_test): Likewise.
31601         (cbrt_test): Likewise.
31602         (ccos_test): Likewise.
31603         (ccosh_test): Likewise.
31604         (ceil_test): Likewise.
31605         (cexp_test): Likewise.
31606         (cimag_test): Likewise.
31607         (clog_test): Likewise.
31608         (clog10_test): Likewise.
31609         (conj_test): Likewise.
31610         (copysign_test): Likewise.
31611         (cos_test): Likewise.
31612         (cos_test_tonearest): Likewise.
31613         (cos_test_towardzero): Likewise.
31614         (cos_test_downward): Likewise.
31615         (cos_test_upward): Likewise.
31616         (cosh_test): Likewise.
31617         (cosh_test_tonearest): Likewise.
31618         (cosh_test_towardzero): Likewise.
31619         (cosh_test_downward): Likewise.
31620         (cosh_test_upward): Likewise.
31621         (cpow_test): Likewise.
31622         (cproj_test): Likewise.
31623         (creal_test): Likewise.
31624         (csin_test): Likewise.
31625         (csinh_test): Likewise.
31626         (csqrt_test): Likewise.
31627         (ctan_test): Likewise.
31628         (ctan_test_tonearest): Likewise.
31629         (ctan_test_towardzero): Likewise.
31630         (ctan_test_downward): Likewise.
31631         (ctan_test_upward): Likewise.
31632         (ctanh_test): Likewise.
31633         (ctanh_test_tonearest): Likewise.
31634         (ctanh_test_towardzero): Likewise.
31635         (ctanh_test_downward): Likewise.
31636         (ctanh_test_upward): Likewise.
31637         (erf_test): Likewise.
31638         (erfc_test): Likewise.
31639         (exp_test): Likewise.
31640         (exp_test_tonearest): Likewise.
31641         (exp_test_towardzero): Likewise.
31642         (exp_test_downward): Likewise.
31643         (exp_test_upward): Likewise.
31644         (exp10_test): Likewise.
31645         (exp10_test_tonearest): Likewise.
31646         (exp10_test_towardzero): Likewise.
31647         (exp10_test_downward): Likewise.
31648         (exp10_test_upward): Likewise.
31649         (pow10_test): Likewise.
31650         (exp2_test): Likewise.
31651         (expm1_test): Likewise.
31652         (expm1_test_tonearest): Likewise.
31653         (expm1_test_towardzero): Likewise.
31654         (expm1_test_downward): Likewise.
31655         (expm1_test_upward): Likewise.
31656         (fabs_test): Likewise.
31657         (fdim_test): Likewise.
31658         (floor_test): Likewise.
31659         (fma_test): Likewise.
31660         (fma_test_towardzero): Likewise.
31661         (fma_test_downward): Likewise.
31662         (fma_test_upward): Likewise.
31663         (fmax_test): Likewise.
31664         (fmin_test): Likewise.
31665         (fmod_test): Likewise.
31666         (fpclassify_test): Likewise.
31667         (frexp_test): Likewise.
31668         (hypot_test): Likewise.
31669         (ilogb_test): Likewise.
31670         (isfinite_test): Likewise.
31671         (finite_test): Likewise.
31672         (isgreater_test): Likewise.
31673         (isgreaterequal_test): Likewise.
31674         (isinf_test): Likewise.
31675         (isless_test): Likewise.
31676         (islessequal_test): Likewise.
31677         (islessgreater_test): Likewise.
31678         (isnan_test): Likewise.
31679         (isnormal_test): Likewise.
31680         (issignaling_test): Likewise.
31681         (isunordered_test): Likewise.
31682         (j0_test): Likewise.
31683         (j1_test): Likewise.
31684         (jn_test): Likewise.
31685         (ldexp_test): Likewise.
31686         (lgamma_test): Likewise.
31687         (gamma_test): Likewise.
31688         (lrint_test): Likewise.
31689         (lrint_test_tonearest): Likewise.
31690         (lrint_test_towardzero): Likewise.
31691         (lrint_test_downward): Likewise.
31692         (lrint_test_upward): Likewise.
31693         (llrint_test): Likewise.
31694         (llrint_test_tonearest): Likewise.
31695         (llrint_test_towardzero): Likewise.
31696         (llrint_test_downward): Likewise.
31697         (llrint_test_upward): Likewise.
31698         (log_test): Likewise.
31699         (log10_test): Likewise.
31700         (log1p_test): Likewise.
31701         (log2_test): Likewise.
31702         (logb_test): Likewise.
31703         (logb_test_downward): Likewise.
31704         (lround_test): Likewise.
31705         (llround_test): Likewise.
31706         (modf_test): Likewise.
31707         (nearbyint_test): Likewise.
31708         (nextafter_test): Likewise.
31709         (nexttoward_test): Likewise.
31710         (pow_test): Likewise.
31711         (pow_test_tonearest): Likewise.
31712         (pow_test_towardzero): Likewise.
31713         (pow_test_downward): Likewise.
31714         (pow_test_upward): Likewise.
31715         (remainder_test): Likewise.
31716         (drem_test): Likewise.
31717         (remainder_test_tonearest): Likewise.
31718         (drem_test_tonearest): Likewise.
31719         (remainder_test_towardzero): Likewise.
31720         (drem_test_towardzero): Likewise.
31721         (remainder_test_downward): Likewise.
31722         (drem_test_downward): Likewise.
31723         (remainder_test_upward): Likewise.
31724         (drem_test_upward): Likewise.
31725         (remquo_test): Likewise.
31726         (rint_test): Likewise.
31727         (rint_test_tonearest): Likewise.
31728         (rint_test_towardzero): Likewise.
31729         (rint_test_downward): Likewise.
31730         (rint_test_upward): Likewise.
31731         (round_test): Likewise.
31732         (scalb_test): Likewise.
31733         (scalbn_test): Likewise.
31734         (scalbln_test): Likewise.
31735         (signbit_test): Likewise.
31736         (sin_test): Likewise.
31737         (sin_test_tonearest): Likewise.
31738         (sin_test_towardzero): Likewise.
31739         (sin_test_downward): Likewise.
31740         (sin_test_upward): Likewise.
31741         (sincos_test): Likewise.
31742         (sinh_test): Likewise.
31743         (sinh_test_tonearest): Likewise.
31744         (sinh_test_towardzero): Likewise.
31745         (sinh_test_downward): Likewise.
31746         (sinh_test_upward): Likewise.
31747         (sqrt_test): Likewise.
31748         (sqrt_test_tonearest): Likewise.
31749         (sqrt_test_towardzero): Likewise.
31750         (sqrt_test_downward): Likewise.
31751         (sqrt_test_upward): Likewise.
31752         (tan_test): Likewise.
31753         (tan_test_tonearest): Likewise.
31754         (tan_test_towardzero): Likewise.
31755         (tan_test_downward): Likewise.
31756         (tan_test_upward): Likewise.
31757         (tanh_test): Likewise.
31758         (tgamma_test): Likewise.
31759         (trunc_test): Likewise.
31760         (y0_test): Likewise.
31761         (y1_test): Likewise.
31762         (yn_test): Likewise.
31763         (significand_test): Likewise.
31765         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
31766         individual tests in comment.
31767         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
31768         (prev_max_error): New variable.
31769         (prev_real_max_error): Likewise.
31770         (prev_imag_max_error): Likewise.
31771         (compare_ulp_data): Don't refer to test names in comment.
31772         (find_test_ulps): Remove function.
31773         (find_function_ulps): Likewise.
31774         (find_complex_function_ulps): Likewise.
31775         (init_max_error): Take function name as argument.  Look up ulps
31776         for that function.
31777         (print_ulps): Remove function.
31778         (print_max_error): Use prev_max_error instead of calling
31779         find_function_ulps.
31780         (print_complex_max_error): Use prev_real_max_error and
31781         prev_imag_max_error instead of calling find_complex_function_ulps.
31782         (check_float_internal): Take max_ulp parameter instead of calling
31783         find_test_ulps.  Don't call print_ulps.
31784         (check_float): Update call to check_float_internal.
31785         (check_complex): Update calls to check_float_internal.
31786         (START): Pass argument to init_max_error.
31787         * math/gen-libm-test.pl (%results): Don't include "kind"
31788         information.
31789         (parse_ulps): Don't handle ulps of individual tests.
31790         (print_ulps_file): Likewise.
31791         (output_ulps): Likewise.
31792         * math/README.libm-test: Update.
31793         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
31794         individual tests.
31795         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
31796         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
31797         * sysdeps/arm/libm-test-ulps: Likewise.
31798         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
31799         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
31800         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
31801         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
31802         * sysdeps/microblaze/libm-test-ulps: Likewise.
31803         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
31804         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31805         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31806         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
31807         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31808         * sysdeps/sh/libm-test-ulps: Likewise.
31809         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31810         * sysdeps/tile/libm-test-ulps: Likewise.
31811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31813 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
31815         * math/libm-test.inc (print_complex_max_error): Check separately
31816         whether real and imaginary errors are within allowed range and
31817         pass 0 to print_complex_function_ulps instead of value within
31818         allowed range.
31820 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31822         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
31823         formatting.
31824         (get_handles_fopen): Likewise.
31825         (do_write_test): Likewise.
31827         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
31829         * libio/fileops.c (do_ftell): Use cached offset when
31830         available.
31831         * libio/iofwide.c (do_ftell_wide): Likewise.
31832         * libio/iofdopen.c (_IO_new_fdopen): Don't use
31833         _IO_file_attach.
31834         * libio/wfileops.c (_IO_fwide): Don't cache offset.
31836         [BZ #16532]
31837         * libio/libioP.h (get_file_offset): New function.
31838         * libio/fileops.c (get_file_offset): Likewise.
31839         (do_ftell): Likewise.
31840         (_IO_new_file_seekoff): Split out ftell logic.
31841         * libio/wfileops.c (do_ftell_wide): Likewise.
31842         (_IO_wfile_seekoff): Split out ftell logic.
31843         * libio/tst-ftell-active-handler.c: New test case.
31844         * libio/Makefile (tests): Add it.
31846 2014-03-03  Roland McGrath  <roland@hack.frob.com>
31848         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
31849         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
31851 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
31853         [BZ #16639]
31854         * nscd/connections.c (nscd_init): Call do_exit.
31855         (start_threads): Call do_exit and notify_parent.
31856         (begin_drop_privileges): Call do_exit.
31857         (finish_drop_privileges): Likewise.
31858         * nscd/selinux.c (preserve_capabilities): Likewise.
31859         (install_real_capabilities): Likewise.
31860         (nscd_selinux_enabled): Likewise.
31861         (avc_create_thread): Likewise.
31862         (avc_alloc_lock): Likewise.
31863         (nscd_avc_init): Likewise.
31864         * nscd/nscd.c (parent_fd): New static variable.
31865         (main): Create a pipe between parent and child processes.
31866         Skip closing parent_fd.
31867         (monitor_child): New function.
31868         (do_exit): Likewise.
31869         (notify_parent): Likewise.
31870         * nscd/nscd.h (notify_parent): Likewise.
31871         (do_exit): Likewise.
31873 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
31875         * malloc/malloc.c (__libc_calloc): Revert last change.
31877 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31879         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31881 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31883         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
31884         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
31885         implementation.
31886         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31887         (__libc_ifunc_impl_list): Likewise.
31888         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
31889         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
31890         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
31891         * string/strrchr.c: Define STRRCHR.
31893 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
31895         * benchtest/bench-strtok.c (simple_strtok): Delete.
31896         (strtok_string): Use as benchmark.
31897         * string/strtok (STRTOK): New macro.
31899 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
31901         * manual/threads.texi: Add header and standard comments to all
31902         functions.
31904         * elf/dl-lookup.c (check_match): New function.
31905         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
31906         (do_lookup_x): Remove nested function check_match. Use non-nested
31907         function check_match.
31909 2014-02-28  Roland McGrath  <roland@hack.frob.com>
31911         * csu/Makefile (generated, before-compile): Use += rather than =.
31912         * catgets/Makefile (generated, generated-dirs): Likewise.
31913         * debug/Makefile (generated): Likewise.
31914         * dlfcn/Makefile (generated): Likewise.
31915         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
31916         * iconvdata/Makefile (before-compile, generated): Likewise.
31917         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
31918         * libio/Makefile (generated): Likewise.
31919         * malloc/Makefile (generated): Likewise.
31920         * manual/Makefile (generated, generated-dirs): Likewise.
31921         * misc/Makefile (generated): Likewise.
31922         * posix/Makefile (generated): Likewise.
31923         * resolv/Makefile (generated): Likewise.
31924         * sunrpc/Makefile (generated, generated-dirs): Likewise.
31925         * timezone/Makefile (generated, generated-dirs): Likewise.
31927         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
31929 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31931         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
31932         power8 implementation.
31933         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
31934         file: POWER8 llround ifunc implementation.
31935         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
31936         (__lllround): Add POWER8 implementation.
31937         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
31938         POWER8 llround implementation.
31940         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
31941         power8 implementation.
31942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
31943         file: POWER8 llrint ifunc implementation.
31944         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
31945         Add POWER8 implementation.
31946         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
31947         POWER8 llrint implementation.
31949         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
31950         power8 implementation.
31951         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
31952         file: POWER8 finite ifunc implementation.
31953         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
31954         Add POWER8 implementation.
31955         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
31956         Likewise.
31957         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
31958         POWER8 finite implementation.
31959         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
31961         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
31962         power8 implementation.
31963         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
31964         file: POWER8 isinf ifunc implementation.
31965         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
31966         POWER8 implementation.
31967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
31968         Likewise.
31969         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
31970         isinf implementation.
31971         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
31973         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
31974         (INIT_ARCH): Add hwcap2 initialization.
31975         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
31976         power8 implementation.
31977         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
31978         file: POWER8 isnan ifunc implementation.
31979         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
31980         POWER8 implementation.
31981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
31982         Likewise.
31983         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
31984         isnan implementation.
31985         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
31987 2014-02-27  Joey Ye  <joey.ye@arm.com>
31989         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
31990         (_FP_NANFRAC_Q): Set to zero.
31992 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31994         [BZ #16623]
31995         * math/auto-libm-test-in: New test inputs.
31996         * math/auto-libm-test-out: Regenerate.
31997         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
31998         and DA.
31999         (__cos): Likewise.
32000         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
32002 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
32004         * scripts/evaluate-test.sh: Take new argument indicating whether
32005         failure is expected.
32006         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
32007         indicating whether failure is expected.
32008         * conform/Makefile (test-xfail-run-conformtest): New variable.
32009         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
32010         level.
32011         * posix/Makefile (test-xfail-annexc): New variable.
32012         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
32014 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
32016         * argp/Makefile: Include Makeconfig immediately after defining
32017         subdir.
32018         * assert/Makefile: Likewise.
32019         * benchtests/Makefile: Likewise.
32020         * catgets/Makefile: Likewise.
32021         * conform/Makefile: Likewise.
32022         * crypt/Makefile: Likewise.
32023         * csu/Makefile: Likewise.
32024         (all): Remove target.
32025         * ctype/Makefile: Include Makeconfig immediately after defining
32026         subdir.
32027         * debug/Makefile: Likewise.
32028         * dirent/Makefile: Likewise.
32029         * dlfcn/Makefile: Likewise.
32030         * gmon/Makefile: Likewise.
32031         * gnulib/Makefile: Likewise.
32032         * grp/Makefile: Likewise.
32033         * gshadow/Makefile: Likewise.
32034         * hesiod/Makefile: Likewise.
32035         * hurd/Makefile: Likewise.
32036         (all): Remove target.
32037         * iconvdata/Makefile: Include Makeconfig immediately after
32038         defining subdir.
32039         * inet/Makefile: Likewise.
32040         * intl/Makefile: Likewise.
32041         * io/Makefile: Likewise.
32042         * libio/Makefile: Likewise.
32043         (all): Remove target.
32044         * locale/Makefile: Include Makeconfig immediately after defining
32045         subdir.
32046         * login/Makefile: Likewise.
32047         * mach/Makefile: Likewise.
32048         (all): Remove target.
32049         * malloc/Makefile: Include Makeconfig immediately after defining
32050         subdir.
32051         (all): Remove target.
32052         * manual/Makefile: Include Makeconfig immediately after defining
32053         subdir.
32054         * math/Makefile: Likewise.
32055         * misc/Makefile: Likewise.
32056         * nis/Makefile: Likewise.
32057         * nss/Makefile: Likewise.
32058         * po/Makefile: Likewise.
32059         (all): Remove target.
32060         * posix/Makefile: Include Makeconfig immediately after defining
32061         subdir.
32062         * pwd/Makefile: Likewise.
32063         * resolv/Makefile: Likewise.
32064         * resource/Makefile: Likewise.
32065         * rt/Makefile: Likewise.
32066         * setjmp/Makefile: Likewise.
32067         * shadow/Makefile: Likewise.
32068         * signal/Makefile: Likewise.
32069         * socket/Makefile: Likewise.
32070         * soft-fp/Makefile: Likewise.
32071         * stdio-common/Makefile: Likewise.
32072         * stdlib/Makefile: Likewise.
32073         * streams/Makefile: Likewise.
32074         * string/Makefile: Likewise.
32075         * sunrpc/Makefile: Likewise.
32076         (all): Remove target.
32077         * sysvipc/Makefile: Include Makeconfig immediately after defining
32078         subdir.
32079         * termios/Makefile: Likewise.
32080         * time/Makefile: Likewise.
32081         * timezone/Makefile: Likewise.
32082         (all): Remove target.
32083         * wcsmbs/Makefile: Include Makeconfig immediately after defining
32084         subdir.
32085         * wctype/Makefile: Likewise.
32087 2014-02-26  Steve Ellcey  <sellcey@mips.com>
32089         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
32090         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
32091         (libc_feholdexcept_setround_mips): Ditto.
32092         (libc_feholdsetround): New.
32093         (libc_feholdsetroundf): New.
32094         (libc_feholdsetroundl): New.
32095         (libc_feupdateenv_test_mips): New.
32096         (libc_feupdateenv_test): New.
32097         (libc_feupdateenv_testf): New.
32098         (libc_feupdateenv_testl): New.
32099         (libc_feresetround): New.
32100         (libc_feresetroundf): New.
32101         (libc_feresetroundl): New.
32102         (libc_fetestexcept_mips): New.
32103         (libc_fetestexcept): New.
32104         (libc_fetestexceptf): New.
32105         (libc_fetestexceptl): New.
32106         (HAVE_RM_CTX): New.
32107         (libc_feholdexcept_setround_mips_ctx): New.
32108         (libc_feholdexcept_setround_ctx): New.
32109         (libc_feholdexcept_setroundf_ctx): New.
32110         (libc_feholdexcept_setroundl_ctx): New.
32111         (libc_fesetenv_mips_ctx): New.
32112         (libc_fesetenv_ctx): New.
32113         (libc_fesetenv_ctxf): New.
32114         (libc_fesetenv_ctxl): New.
32115         (libc_feupdateenv_mips_ctx): New.
32116         (libc_feupdateenv_ctx): New.
32117         (libc_feupdateenvf_ctx): New.
32118         (libc_feupdateenvl_ctx): New.
32119         (libc_feholdsetround_mips_ctx): New.
32120         (libc_feholdsetround_ctx): New.
32121         (libc_feholdsetroundf_ctx): New.
32122         (libc_feholdsetroundl_ctx): New.
32123         (libc_feresetround_mips_ctx): New.
32124         (libc_feresetround_ctx): New.
32125         (libc_feresetroundf_ctx): New.
32126         (libc_feresetroundl_ctx): New.
32128 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
32130         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
32132         * manual/ipc.texi: New file.
32133         * manual/Makefile (chapters): Add ipc.
32134         * manual/job.texi: Add "Inter-Process Communication" to next.
32135         * manual/process.texi: Add "Inter-Process Communication" to prev.
32137 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32139         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32141 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
32143         * malloc/malloc.c (__libc_calloc): Simplify implementation.
32145         * manual/arith.texi: Fix spaces after sentences.
32146         * manual/charset.texi: Likewise.
32147         * manual/errno.texi: Likewise.
32148         * manual/install.texi: Likewise.
32149         * manual/llio.texi: Likewise.
32150         * manual/locale.texi: Likewise.
32151         * manual/maint.texi: Likewise.
32152         * manual/math.texi: Likewise.
32153         * manual/memory.texi: Likewise.
32154         * manual/message.texi: Likewise.
32155         * manual/probes.texi: Likewise.
32156         * manual/resource.texi: Likewise.
32157         * manual/signal.texi: Likewise.
32158         * manual/socket.texi: Likewise.
32159         * manual/stdio.texi: Likewise.
32160         * manual/string.texi: Likewise.
32161         * manual/time.texi: Likewise.
32162         * manual/users.texi: Likewise.
32164 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
32166         [BZ #16632]
32167         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
32168         _DEFAULT_SOURCE is defined.
32170 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
32171             Carlos O'Donell  <carlos@redhat.com>
32173         [BZ #16613]
32174         * elf/dl-tls.c (_dl_count_modids): New function.
32175         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
32176         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
32177         audit library and increment generation counter.
32178         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
32179         * elf/tst-audit9.c: New file.
32180         * elf/tst-auditmod9a.c: New file.
32181         * elf/tst-auditmod9b.c: New file.
32182         * elf/Makefile: Add rules to build and run tst-audit9.
32184 2014-02-25  Florian Weimer  <fweimer@redhat.com>
32186         [BZ #15347]
32187         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
32189 2014-02-25  Will Newton  <will.newton@linaro.org>
32191         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
32192         (__longjmp): Restore sp and lr before restoring callee
32193         saved registers.  Add longjmp and longjmp_target
32194         SystemTap probe point.
32195         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
32196         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
32197         Define to zero to match jmpbuf layout.
32198         * sysdeps/arm/setjmp.S: Include stap-probe.h.
32199         (__sigsetjmp): Save sp and lr before saving callee
32200         saved registers.  Add setjmp SystemTap probe point.
32202 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
32204         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32206 2014-02-24  Andreas Schwab  <schwab@suse.de>
32208         [BZ #15804]
32209         * elf/pldd.c (wait_for_ptrace_stop): New function.
32210         (main): Call it after attaching.
32212 2014-02-22  Roland McGrath  <roland@hack.frob.com>
32214         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
32215         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
32216         Versions files is now verboten.
32217         * hurd/Versions (libc: GLIBC_2.0):
32218         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
32219         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
32220         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
32221         * mach/Versions: Likewise.
32223         * csu/Versions: Remove unused %include.
32224         * resolv/Versions: Likewise.
32226 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
32228         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
32229         ($(objpfx)check-local-headers.out): Likewise.
32230         ($(objpfx)begin-end-check.out): Likewise.
32231         * Makerules (check-abi-%.out): Likewise.
32232         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
32233         ($(objpfx)test2.cat): Likewise.
32234         ($(objpfx)de/libc.cat): Likewise.
32235         ($(objpfx)test-gencat.out): Likewise.
32236         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
32237         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
32238         ($(objpfx)noload-mem): Likewise.
32239         ($(objpfx)tst-pathopt.out): Likewise.
32240         ($(objpfx)tst-rtld-load-self.out): Likewise.
32241         ($(objpfx)tst-array1-cmp.out): Likewise.
32242         ($(objpfx)tst-array1-static-cmp.out): Likewise.
32243         ($(objpfx)tst-array2-cmp.out): Likewise.
32244         ($(objpfx)tst-array3-cmp.out): Likewise.
32245         ($(objpfx)tst-array4-cmp.out): Likewise.
32246         ($(objpfx)tst-array5-cmp.out): Likewise.
32247         ($(objpfx)tst-array5-static-cmp.out): Likewise.
32248         ($(objpfx)check-textrel.out): Likewise.
32249         ($(objpfx)check-execstack.out): Likewise.
32250         ($(objpfx)check-localplt.out): Likewise.
32251         ($(objpfx)order2-cmp.out): Likewise.
32252         ($(objpfx)tst-leaks1-mem): Likewise.
32253         ($(objpfx)tst-leaks1-static-mem): Likewise.
32254         ($(objpfx)tst-initorder-cmp.out): Likewise.
32255         ($(objpfx)tst-initorder2-cmp.out): Likewise.
32256         ($(objpfx)tst-unused-dep.out): Likewise.
32257         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
32258         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
32259         * iconv/Makefile (test-iconvconfig): Likewise.
32260         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
32261         ($(objpfx)iconv-test.out): Likewise.
32262         ($(objpfx)tst-tables.out): Likewise.
32263         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
32264         ($(objpfx)tst-gettext.out): Likewise.
32265         ($(objpfx)tst-translit.out): Likewise.
32266         ($(objpfx)tst-gettext2.out): Likewise.
32267         ($(objpfx)tst-gettext4.out): Likewise.
32268         ($(objpfx)tst-gettext6.out): Likewise.
32269         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
32270         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
32271         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
32272         ($(objpfx)tst-fopenloc-mem.out): Likewise.
32273         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
32274         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
32275         * posix/Makefile ($(objpfx)globtest.out): Likewise.
32276         ($(objpfx)wordexp-tst.out): Likewise.
32277         ($(objpfx)annexc.out): Likewise.
32278         ($(objpfx)tst-fnmatch-mem): Likewise.
32279         ($(objpfx)bug-regex2-mem): Likewise.
32280         ($(objpfx)bug-regex14-mem): Likewise.
32281         ($(objpfx)bug-regex21-mem): Likewise.
32282         ($(objpfx)bug-regex31-mem): Likewise.
32283         ($(objpfx)tst-vfork3-mem): Likewise.
32284         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
32285         ($(objpfx)tst-pcre-mem): Likewise.
32286         ($(objpfx)tst-boost-mem): Likewise.
32287         ($(objpfx)tst-getconf.out): Likewise.
32288         ($(objpfx)bug-ga2-mem): Likewise.
32289         ($(objpfx)bug-glob2-mem): Likewise.
32290         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
32291         ($(objpfx)mtrace-tst-leaks2): Likewise.
32292         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
32293         ($(objpfx)tst-printf.out): Likewise.
32294         ($(objpfx)tst-setvbuf1.out): Likewise.
32295         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
32296         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
32297         ($(objpfx)tst-fmtmsg.out): Likewise.
32298         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
32299         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
32301         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
32302         * bits/sigaction.h [__USE_MISC]: Likewise.
32303         * bits/waitstatus.h: Update #endif comments.
32304         * ctype/ctype.h: Likewise.
32305         * dirent/dirent.h: Likewise.
32306         [__USE_MISC]: Remove redundant conditionals.
32307         * grp/grp.h: Update #endif comments.
32308         [__USE_GNU]: Remove redundant conditionals.
32309         [__USE_MISC]: Likewise.
32310         * inet/netinet/in.h [__USE_GNU]: Likewise.
32311         * io/sys/stat.h [__USE_MISC]: Likewise.
32312         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
32313         * libio/bits/stdio.h: Update #endif comments.
32314         [__USE_MISC]: Remove redundant conditionals.
32315         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
32316         * libio/stdio.h: Update #endif comments.
32317         [__USE_MISC]: Remove redundant conditionals.
32318         * math/bits/math-finite.h [__USE_MISC]: Likewise.
32319         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
32320         * math/math.h: Update #else and #endif comments.
32321         [__USE_MISC]: Remove redundant conditionals.
32322         * misc/sys/uio.h: Update #endif comments.
32323         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
32324         * posix/glob.h [__USE_MISC]: Likewise.
32325         * posix/sys/types.h: Update #endif comments.
32326         [__USE_MISC]: Remove redundant conditionals.
32327         * posix/sys/wait.h: Update #endif comments.
32328         [__USE_MISC]: Remove redundant conditionals.
32329         * posix/unistd.h: Update #endif comments.
32330         [__USE_MISC]: Remove redundant conditionals.
32331         * pwd/pwd.h [__USE_GNU]: Likewise.
32332         [__USE_MISC]: Likewise.
32333         * resolv/netdb.h [__USE_GNU]: Likewise.
32334         * signal/signal.h: Update #endif comments.
32335         [__USE_MISC]: Remove redundant conditionals.
32336         * stdlib/stdlib.h: Update #else and #endif comments.
32337         [__USE_MISC]: Remove redundant conditionals.
32338         [__USE_GNU]: Likewise.
32339         * string/bits/string2.h [__USE_MISC]: Likewise.
32340         * string/string.h: Update #endif comments.
32341         [__USE_MISC]: Remove redundant conditionals.
32342         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
32343         Likewise.
32344         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
32345         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
32346         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
32347         Likewise.
32348         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
32349         Likewise.
32350         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
32351         comments.
32352         [__USE_MISC]: Remove redundant conditionals.
32353         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
32354         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
32355         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
32356         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
32357         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
32358         Likewise.
32359         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
32360         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
32361         Likewise.
32362         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
32363         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
32364         Likewise.
32365         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
32366         Likewise.
32367         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
32368         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
32369         Likewise.
32370         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
32371         Likewise.
32372         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
32373         * sysdeps/x86/bits/string.h: Update #endif comments.
32374         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
32375         conditionals.
32376         * time/sys/time.h: Update #endif comments.
32377         * time/time.h: Likewise.
32378         [__USE_MISC]: Remove redundant conditionals.
32380 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
32382         [BZ #16600]
32383         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
32385 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
32387         * Versions.def (librt): Add GLIBC_2.17.
32389 2014-02-21  Adam Conrad  <adconrad@0c3.net>
32391         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
32392         synonym for _SYS_AUXV_H to allow direct inclusion.
32393         * sysdeps/sparc/bits/hwcap.h: Likewise.
32394         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
32395         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
32396         * sysdeps/sparc/sysdep.h: Likewise.
32398 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32400         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
32402 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32404         * benchtests/bench-strrchr.c: Print length instead of position.
32406 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
32408         [BZ #16611]
32409         * sysdeps/unix/sysv/linux/kernel-features.h
32410         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
32411         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
32412         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
32413         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
32414         Likewise.
32415         [__i386__ || __powerpc__ || __sh__ || __sparc__]
32416         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32417         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
32418         (__ASSUME_SENDMMSG): Define instead of using previous
32419         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
32420         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32421         (__ASSUME_SENDMMSG_SYSCALL): Define.
32422         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32423         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
32424         Likewise.
32425         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32426         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
32427         Likewise.
32428         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32429         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
32430         Likewise.
32431         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
32432         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
32433         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
32434         [__ASSUME_SENDMMSG]: Change conditionals to
32435         [__ASSUME_SENDMMSG_SOCKETCALL].
32436         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32437         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
32438         Define.
32439         * sysdeps/unix/sysv/linux/mips/kernel-features.h
32440         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
32441         Likewise.
32442         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
32443         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
32444         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
32445         [!__ASSUME_SENDMMSG]: Change conditional to
32446         [!__ASSUME_SENDMMSG_SOCKETCALL].
32447         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32448         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
32449         Define.
32451         [BZ #16610]
32452         * sysdeps/unix/sysv/linux/kernel-features.h
32453         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
32454         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
32455         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
32456         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
32457         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
32458         [__i386__ || __sparc__]
32459         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32460         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
32461         (__ASSUME_RECVMMSG): Define instead of using previous
32462         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
32463         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32464         (__ASSUME_RECVMMSG_SYSCALL): Define.
32465         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32466         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32467         Likewise.
32468         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32469         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32470         Likewise.
32471         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32472         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32473         Likewise.
32474         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
32475         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
32476         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
32477         [__ASSUME_RECVMMSG]: Change condition to
32478         [__ASSUME_RECVMMSG_SOCKETCALL].
32479         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32480         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32481         Define.
32482         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32483         * sysdeps/unix/sysv/linux/mips/kernel-features.h
32484         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32485         Likewise.
32486         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
32487         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
32488         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
32489         [!__ASSUME_RECVMMSG]: Change condition to
32490         [!__ASSUME_RECVMMSG_SOCKETCALL].
32491         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32492         (__ASSUME_RECVMMSG_SYSCALL): Define.
32494         [BZ #16609]
32495         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
32496         __powerpc__ || __s390__ || __sh__ || __sparc__]
32497         (__ASSUME_SOCKETCALL): Define.
32498         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
32499         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
32500         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
32501         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
32502         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
32503         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
32504         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
32505         (__ASSUME_ACCEPT4): Define instead of using previous
32506         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
32507         __powerpc__ || __sparc__ || __s390__)] condition.
32508         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32509         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
32510         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
32511         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
32512         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
32513         [!__ASSUME_ACCEPT4]: Change condition to
32514         [!__ASSUME_ACCEPT4_SOCKETCALL].
32515         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32516         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
32517         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
32518         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32519         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
32520         __ASSUME_ACCEPT4_SYSCALL.
32521         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
32522         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
32523         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32524         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
32525         __ASSUME_ACCEPT4_SYSCALL.
32526         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
32527         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
32528         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
32529         [__ASSUME_ACCEPT4]: Change condition to
32530         [__ASSUME_ACCEPT4_SOCKETCALL].
32531         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
32532         (__ASSUME_SOCKETCALL): Define.
32533         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
32534         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32535         (__ASSUME_SOCKETCALL): Define.
32536         (__ASSUME_ACCEPT4): Remove.
32537         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
32538         Define.
32539         * sysdeps/unix/sysv/linux/mips/kernel-features.h
32540         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
32541         Likewise.
32542         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32543         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
32545         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
32546         macro.
32547         (HWCAP_ARM_LPAE): Likewise.
32548         (HWCAP_ARM_EVTSTRM): Likewise.
32549         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
32550         Add vpfd32, lpae and evtstrm.
32551         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
32552         Increase to 22.
32554 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
32556         * math/auto-libm-test-in: Add tests of clog10.
32557         * math/auto-libm-test-out: Regenerated.
32558         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
32559         * sysdeps/i386/fpu/libm-test-ulps: Update.
32560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32562 2014-02-18  Andreas Schwab  <schwab@suse.de>
32564         [BZ #16574]
32565         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
32566         Store non-zero if the second buffer was newly allocated.
32567         (send_dg): Likewise.
32568         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
32569         to send_vc and send_dg.
32570         (res_nsend): Pass NULL for ansp2_malloced.
32571         * resolv/res_query.c (__libc_res_nquery): Add parameter
32572         answerp2_malloced and pass it down to __libc_res_nsend.
32573         (res_nquery): Pass additional NULL to __libc_res_nquery.
32574         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
32575         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
32576         second answer buffer if answerp2_malloced was set.
32577         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
32578         (__libc_res_nquerydomain): Add parameter
32579         answerp2_malloced and pass it down to __libc_res_nquery.
32580         (res_nquerydomain): Pass additional NULL to
32581         __libc_res_nquerydomain.
32582         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
32583         additional NULL to __libc_res_nsend and __libc_res_nquery.
32584         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
32585         additional NULL to __libc_res_nsearch.
32586         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
32587         parameter of __libc_res_nsearch to check for separately allocated
32588         second buffer.
32589         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
32590         __libc_res_nquery.
32591         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
32592         additional NULL to __libc_res_nquery.
32593         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
32594         __libc_res_nsearch.
32595         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
32596         * include/resolv.h: Update prototypes of __libc_res_nquery,
32597         __libc_res_nsearch, __libc_res_nsend.
32599 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
32601         * math/auto-libm-test-in: Add tests of fma.
32602         * math/auto-libm-test-out: Regenerated.
32603         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
32604         (fma_towardzero_test_data): Likewise.
32605         (fma_downward_test_data): Likewise.
32606         (fma_upward_test_data): Likewise.
32607         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
32608         mpc_mode.
32609         (rounding_modes): Add values for new field.
32610         (func_calc_method): Add value mpfr_fff_f.
32611         (func_calc_desc): Add mpfr_fff_f union field.
32612         (test_function): Add field exact_args.
32613         (FUNC): Add macro argument EXACT_ARGS.
32614         (FUNC_mpfr_f_f): Update call to FUNC.
32615         (FUNC_mpfr_f_f): Likewise.
32616         (FUNC_mpfr_ff_f): Likewise.
32617         (FUNC_mpfr_if_f): Likewise.
32618         (FUNC_mpc_c_f): Likewise.
32619         (FUNC_mpc_c_c): Likewise.
32620         (test_functions): Add fma.  Update calls to FUNC.
32621         (handle_input_arg): Add argument exact_args.
32622         (add_test): Update call to handle_input_arg.
32623         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
32624         (output_for_one_input_case): Update call to calc_generic_results.
32625         Recalculate exact zero results in each rounding mode.
32627         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
32628         non-negative before setting low bit.
32629         * math/auto-libm-test-in: Mark one asin test possibly having
32630         spurious underflow.
32631         * math/auto-libm-test-out: Regenerated.
32632         * sysdeps/i386/fpu/libm-test-ulps: Update.
32633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32635 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
32637         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
32638         * sysdeps/unix/sysv/linux/microblaze: Move directory from
32639         ports/sysdeps/unix/sysv/linux/microblaze.
32640         * README: Add missing listing for microblaze*-*-linux-gnu.
32642 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
32644         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
32645         duplicate code
32647 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
32649         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
32650         * sysdeps/unix/sysv/linux/ia64: Move directory from
32651         ports/sysdeps/unix/sysv/linux/ia64.
32652         * README: Update listing for ia64-*-linux-gnu.
32654 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
32655             Joseph Myers  <joseph@codesourcery.com>
32657         * Makeconfig (test-name): New variable.
32658         (evaluate-test): Likewise.
32659         * Makerules (do-test-clean): Remove .test-result files.
32660         (common-mostlyclean): Likewise.
32661         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
32662         * scripts/evaluate-test.sh: New file.
32664 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
32666         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
32667         separate $(objpfx)tst-fopenloc-cmp.out and
32668         $(objpfx)tst-fopenloc-mem.out targets.
32669         (tests): Update dependencies.
32670         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
32671         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
32672         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
32673         (tst-rxspencer-no-utf8-ARGS): New variable.
32674         (tst-rxspencer-no-utf8-ENV): Likewise.
32675         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
32676         instead of $(objpfx)tst-rxspencer-mem.
32677         ($(objpfx)tst-rxspencer-mem): Change target to
32678         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
32679         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
32680         * posix/tst-rxspencer-no-utf8.c: New file.
32682         * elf/Makefile ($(objpfx)order.out): Remove rule.
32683         [$(run-built-tests) = yes] (tests): Depend on
32684         $(objpfx)order-cmp.out.
32685         ($(objpfx)order-cmp.out): New rule.
32686         [$(run-built-tests) = yes] (tests): Depend on
32687         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
32688         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
32689         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
32690         $(objpfx)tst-array5-static-cmp.out.
32691         ($(objpfx)tst-array1.out): Remove rule.
32692         ($(objpfx)tst-array1-cmp.out): New rule.
32693         ($(objpfx)tst-array1-static.out): Remove rule.
32694         ($(objpfx)tst-array1-static-cmp.out): New rule.
32695         ($(objpfx)tst-array2.out): Remove rule.
32696         ($(objpfx)tst-array2-cmp.out): New rule.
32697         ($(objpfx)tst-array3.out): Remove rule.
32698         ($(objpfx)tst-array3-cmp.out): New rule.
32699         ($(objpfx)tst-array4.out): Remove rule.
32700         ($(objpfx)tst-array4-cmp.out): New rule.
32701         ($(objpfx)tst-array5.out): Remove rule.
32702         ($(objpfx)tst-array5-cmp.out): New rule.
32703         ($(objpfx)tst-array5-static.out): Remove rule.
32704         ($(objpfx)tst-array5-static-cmp.out): New rule.
32705         [$(run-built-tests) = yes] (tests): Depend on
32706         $(objpfx)order2-cmp.out.
32707         ($(objpfx)order2.out): Remove rule.
32708         ($(objpfx)order2-cmp.out): New rule.
32709         ($(objpfx)tst-initorder.out): Remove rule.
32710         [$(run-built-tests) = yes] (tests): Depend on
32711         $(objpfx)tst-initorder-cmp.out.
32712         ($(objpfx)tst-initorder-cmp.out): New rule.
32713         ($(objpfx)tst-initorder2.out): Remove rule.
32714         [$(run-built-tests) = yes] (tests): Depend on
32715         $(objpfx)tst-initorder2-cmp.out.
32716         ($(objpfx)tst-initorder2-cmp.out): New rule.
32717         [$(run-built-tests) = yes] (tests): Depend on
32718         $(objpfx)tst-unused-dep-cmp.out.
32719         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
32720         ($(objpfx)tst-unused-dep-cmp.out): New rule.
32721         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
32722         on $(objpfx)tst-setvbuf1-cmp.out.
32723         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
32724         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
32725         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
32726         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
32727         ($(objpfx)tst-svc.out): Remove rule.
32728         ($(objpfx)tst-svc-cmp.out): New rule.
32730 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
32732         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
32733         * ctype/ctype.h [__USE_MISC]: Likewise.
32734         * dirent/dirent.h [__USE_MISC]: Likewise.
32735         * grp/grp.h [__USE_MISC]: Likewise.
32736         * io/fcntl.h [__USE_MISC]: Likewise.
32737         * io/sys/stat.h [__USE_MISC]: Likewise.
32738         * libio/stdio.h [__USE_MISC]: Likewise.
32739         * posix/unistd.h [__USE_MISC]: Likewise.
32740         * pwd/pwd.h [__USE_MISC]: Likewise.
32741         * stdlib.h [__USE_MISC]: Likewise.
32742         * string/bits/string2.h [__USE_MISC]: Likewise.
32743         * string/string.h [__USE_MISC]: Likewise.
32744         * time/time.h [__USE_MISC]: Likewise.
32746 2014-02-13  Andreas Schwab  <schwab@suse.de>
32748         [BZ #16574]
32749         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
32750         second answer buffer if it was separately allocated.
32752 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
32754         * sysdeps/mips/math-tests.h: Include <features.h>.
32755         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
32756         (ROUNDING_TESTS_long_double): Do not define.
32757         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
32758         (EXCEPTION_TESTS_long_double): Likewise.
32759         * sysdeps/mips/mips64/libm-test-ulps: Update.
32761         * include/features.h (__USE_BSD): Remove macro definitions.
32762         (__USE_SVID): Likewise.
32763         (_BSD_SOURCE): Likewise.
32764         (_SVID_SOURCE): Likewise.
32765         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
32766         from definition of _DEFAULT_SOURCE.
32767         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
32768         [_DEFAULT_SOURCE].
32769         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
32770         * bits/mman.h [__USE_BSD]: Likewise.
32771         * bits/termios.h [__USE_BSD]: Likewise.
32772         * bits/waitstatus.h [__USE_BSD]: Likewise.
32773         * ctype/ctype.h [__USE_SVID]: Likewise.
32774         * dirent/dirent.h [__USE_BSD]: Likewise.
32775         * grp/grp.h [__USE_SVID]: Likewise.
32776         [__USE_BSD]: Likewise.
32777         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
32778         * io/fcntl.h [__USE_BSD]: Likewise.
32779         * io/ftw.h [__USE_BSD]: Likewise.
32780         * io/sys/stat.h [__USE_BSD]: Likewise.
32781         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
32782         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
32783         * libio/stdio.h [__USE_SVID]: Likewise.
32784         [__USE_BSD]: Likewise.
32785         * math/math.h [__USE_SVID]: Likewise.
32786         [__USE_BSD]: Likewise.
32787         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
32788         * misc/bits/syslog.h [__USE_BSD]: Likewise.
32789         * misc/search.h [__USE_SVID]: Likewise.
32790         * misc/sys/mman.h [__USE_BSD]: Likewise.
32791         * misc/sys/syslog.h [__USE_BSD]: Likewise.
32792         * misc/sys/uio.h [__USE_BSD]: Likewise.
32793         * posix/bits/unistd.h [__USE_BSD]: Likewise.
32794         * posix/glob.h [__USE_BSD]: Likewise.
32795         * posix/regex.h [__USE_BSD]: Likewise.
32796         * posix/sys/types.h [__USE_BSD]: Likewise.
32797         [__USE_SVID]: Likewise.
32798         * posix/sys/utsname.h [__USE_SVID]: Likewise.
32799         * posix/sys/wait.h [__USE_BSD]: Likewise.
32800         [__USE_SVID]: Likewise.
32801         * posix/unistd.h [__USE_BSD]: Likewise.
32802         [__USE_SVID]: Likewise.
32803         * pwd/pwd.h [__USE_SVID]: Likewise.
32804         * resolv/netdb.h [__USE_BSD]: Likewise.
32805         * setjmp/setjmp.h [__USE_BSD]: Likewise.
32806         * signal/signal.h [__USE_BSD]: Likewise.
32807         [__USE_SVID]: Likewise.
32808         * socket/sys/socket.h [__USE_BSD]: Likewise.
32809         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
32810         * stdlib/stdlib.h [__USE_BSD]: Likewise.
32811         [__USE_SVID]: Likewise.
32812         * string/bits/string2.h [__USE_BSD]: Likewise.
32813         [__USE_SVID]: Likewise.
32814         * string/bits/string3.h [__USE_BSD]: Likewise.
32815         * string/endian.h [__USE_BSD]: Likewise.
32816         * string/string.h [__USE_SVID]: Likewise.
32817         [__USE_BSD]: Likewise.
32818         * string/strings.h [__USE_BSD]: Likewise.
32819         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
32820         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
32821         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
32822         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
32823         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
32824         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
32825         Likewise.
32826         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
32827         Likewise.
32828         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
32829         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
32830         Likewise.
32831         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
32832         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
32833         Likewise.
32834         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
32835         Likewise.
32836         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
32837         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
32838         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
32839         Likewise.
32840         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
32841         Likewise.
32842         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
32843         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
32844         * termios/termios.h [__USE_BSD]: Likewise.
32845         * time/sys/time.h [__USE_BSD]: Likewise.
32846         * time/time.h [__USE_BSD]: Likewise.
32847         [__USE_SVID]: Likewise.
32849         * Makefile (subdir_targets): Remove subdir_lint.out.
32851         * stdio-common/Makefile (do-tst-unbputc): Remove target.
32852         (do-tst-printf): Likewise.
32853         (tests): Depend directly on $(objpfx)tst-unbputc.out and
32854         $(objpfx)tst-printf.out.
32856         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
32858         * Makerules (check-abi-%): Change target to
32859         $(objpfx)check-abi-%.out.
32860         (check-abi target): Update dependencies.
32861         (check-abi-pattern variable): Redirect output of diff to $@.
32862         (check-abi variable): Likewise.
32863         * elf/Makefile (check-abi): Update dependencies.
32865         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
32866         unused.
32867         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
32868         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
32869         subnormal range.
32870         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
32871         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
32872         value has largest subnormal exponent.
32873         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
32874         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
32875         * sysdeps/aarch64/soft-fp/sfp-machine.h
32876         (_FP_TININESS_AFTER_ROUNDING): New macro.
32877         * sysdeps/alpha/soft-fp/sfp-machine.h
32878         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32879         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
32880         Likewise.
32881         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
32882         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32883         * sysdeps/mips/soft-fp/sfp-machine.h
32884         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32885         * sysdeps/powerpc/soft-fp/sfp-machine.h
32886         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32887         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
32888         Likewise.
32889         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32890         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32891         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32892         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32893         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
32894         Likewise.
32896 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
32898         [BZ #16545]
32899         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
32900         model 1.
32902 2014-02-12  Richard Henderson  <rth@redhat.com>
32904         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
32905         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
32906         * sysdeps/unix/sysv/linux/alpha: Move directory from
32907         ports/sysdeps/unix/sysv/linux/alpha.
32908         * README: Update listing for alpha-*-linux-gnu.
32910 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
32912         * include/features.h: Update comment documenting feature test
32913         macros.
32914         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
32915         _DEFAULT_SOURCE.
32916         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
32917         (_SVID_SOURCE): Likewise.
32918         (_DEFAULT_SOURCE): Update description of default features.
32919         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
32920         with _GNU_SOURCE.
32921         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
32922         (S_ISVTX): Likewise.
32923         * manual/math.texi (Mathematical Constants): Likewise.
32924         * manual/signal.texi (Interrupted Primitives): Likewise.
32925         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
32926         * math/test-matherr.c (_SVID_SOURCE): Do not define.
32927         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
32928         Don't refer to _SVID_SOURCE in warning text.
32930         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32932         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
32933         already defined.
32934         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
32935         * sysdeps/mips/dl-lookup.c: Remove.
32936         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
32938 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
32940         [BZ #16447]
32941         * math/auto-libm-test-in: Add testcase for expl.
32942         * math/auto-libm-test-out: Regenerate.
32943         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
32944         calculation of unsafe.
32945         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
32947 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
32949         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
32950         * sysdeps/unix/sysv/linux/aarch64: Move directory from
32951         ports/sysdeps/unix/sysv/linux/aarch64.
32952         * README: Update listing for aarch64*-*-linux-gnu.
32954 2014-02-11  Will Newton  <will.newton@linaro.org>
32956         * manual/probes.texi (Mathematical Function Probes): Use
32957         "triggered" instead of "hit".
32959         * manual/probes.texi (Internal Probes): Add documentation
32960         of setjmp, longjmp and longjmp_target probes.
32962         * include/stap-probe.h: Add comment about probe argument
32963         format.
32965         * malloc/mtrace.c (attribute_hidden): Remove unused macro
32966         definition.  (tr_where, tr_freehook, tr_mallochook,
32967         tr_reallochook, tr_memalignhook): Use ANSI protoype.
32969 2014-02-11  David S. Miller  <davem@davemloft.net>
32971         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
32972         processing int_tests.
32974 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
32976         * sysdeps/mips: Move directory from ports/sysdeps/mips.
32977         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
32978         * sysdeps/unix/sysv/linux/mips: Move directory from
32979         ports/sysdeps/unix/sysv/linux/mips.
32980         * README: Update listing for mips-*-linux-gnu and
32981         mips64-*-linux-gnu.
32983 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
32985         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
32986         * sysdeps/unix/sysv/linux/m68k: Move directory from
32987         ports/sysdeps/unix/sysv/linux/m68k.
32988         * README: Update listing for m68k-*-linux-gnu.
32990 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
32992         * sysdeps/tile: Move directory from ports/sysdeps/tile.
32993         * sysdeps/unix/sysv/linux/generic: Move directory from
32994         ports/sysdeps/unix/sysv/linux/generic.
32995         * sysdeps/unix/sysv/linux/tile: Move directory from
32996         ports/sysdeps/unix/sysv/linux/tile.
32997         * README: Update listing for tile*-*-linux-gnu.
32999 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
33001         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
33002         __builtin_expect.
33003         * benchtests/bench-memmem.c (simple_memmem): Likewise.
33004         * catgets/open_catalog.c (__open_catalog): Likewise.
33005         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
33006         * debug/confstr_chk.c: Likewise.
33007         * debug/fread_chk.c (__fread_chk): Likewise.
33008         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
33009         * debug/getgroups_chk.c: Likewise.
33010         * debug/mbsnrtowcs_chk.c: Likewise.
33011         * debug/mbsrtowcs_chk.c: Likewise.
33012         * debug/mbstowcs_chk.c: Likewise.
33013         * debug/memcpy_chk.c: Likewise.
33014         * debug/memmove_chk.c: Likewise.
33015         * debug/mempcpy_chk.c: Likewise.
33016         * debug/memset_chk.c: Likewise.
33017         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
33018         * debug/strcat_chk.c (__strcat_chk): Likewise.
33019         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
33020         * debug/strncat_chk.c (__strncat_chk): Likewise.
33021         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
33022         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
33023         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
33024         * debug/wcpncpy_chk.c: Likewise.
33025         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
33026         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
33027         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
33028         * debug/wcsncpy_chk.c: Likewise.
33029         * debug/wcsnrtombs_chk.c: Likewise.
33030         * debug/wcsrtombs_chk.c: Likewise.
33031         * debug/wcstombs_chk.c: Likewise.
33032         * debug/wmemcpy_chk.c: Likewise.
33033         * debug/wmemmove_chk.c: Likewise.
33034         * debug/wmempcpy_chk.c: Likewise.
33035         * debug/wmemset_chk.c: Likewise.
33036         * dirent/scandirat.c (SCANDIRAT): Likewise.
33037         * dlfcn/dladdr1.c (dladdr1): Likewise.
33038         * dlfcn/dladdr.c (dladdr): Likewise.
33039         * dlfcn/dlclose.c (dlclose_doit): Likewise.
33040         * dlfcn/dlerror.c (__dlerror): Likewise.
33041         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
33042         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
33043         * dlfcn/dlopen.c (dlopen_doit): Likewise.
33044         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
33045         * dlfcn/dlsym.c (dlsym_doit): Likewise.
33046         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
33047         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
33048         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
33049         Likewise.
33050         * elf/dl-conflict.c: Likewise.
33051         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
33052         * elf/dl-dst.h: Likewise.
33053         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
33054         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
33055         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
33056         * elf/dl-init.c (call_init, _dl_init): Likewise.
33057         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
33058         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
33059         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
33060         Likewise.
33061         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
33062         Likewise.
33063         * elf/dl-minimal.c (__libc_memalign): Likewise.
33064         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
33065         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
33066         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
33067         * elf/dl-sym.c (do_sym): Likewise.
33068         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
33069         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
33070         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
33071         * elf/dl-writev.h (_dl_writev): Likewise.
33072         * elf/ldconfig.c (search_dir): Likewise.
33073         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
33074         (dl_main): Likewise.
33075         * elf/setup-vdso.h (setup_vdso): Likewise.
33076         * grp/compat-initgroups.c (compat_call): Likewise.
33077         * grp/fgetgrent.c (fgetgrent): Likewise.
33078         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
33079         * grp/putgrent.c (putgrent): Likewise.
33080         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
33081         Likewise.
33082         * hurd/hurdinit.c: Likewise.
33083         * iconvdata/8bit-gap.c (struct): Likewise.
33084         * iconvdata/ansi_x3.110.c : Likewise.
33085         * iconvdata/big5.c : Likewise.
33086         * iconvdata/big5hkscs.c : Likewise.
33087         * iconvdata/cp1255.c: Likewise.
33088         * iconvdata/cp1258.c : Likewise.
33089         * iconvdata/cp932.c : Likewise.
33090         * iconvdata/euc-cn.c: Likewise.
33091         * iconvdata/euc-jisx0213.c : Likewise.
33092         * iconvdata/euc-jp.c: Likewise.
33093         * iconvdata/euc-jp-ms.c : Likewise.
33094         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
33095         * iconvdata/gb18030.c : Likewise.
33096         * iconvdata/gbbig5.c (const): Likewise.
33097         * iconvdata/gbgbk.c: Likewise.
33098         * iconvdata/gbk.c : Likewise.
33099         * iconvdata/ibm1364.c : Likewise.
33100         * iconvdata/ibm930.c : Likewise.
33101         * iconvdata/ibm932.c: Likewise.
33102         * iconvdata/ibm933.c : Likewise.
33103         * iconvdata/ibm935.c : Likewise.
33104         * iconvdata/ibm937.c : Likewise.
33105         * iconvdata/ibm939.c : Likewise.
33106         * iconvdata/ibm943.c: Likewise.
33107         * iconvdata/iso_11548-1.c: Likewise.
33108         * iconvdata/iso-2022-cn.c : Likewise.
33109         * iconvdata/iso-2022-cn-ext.c : Likewise.
33110         * iconvdata/iso-2022-jp-3.c: Likewise.
33111         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
33112         * iconvdata/iso-2022-kr.c : Likewise.
33113         * iconvdata/iso646.c (gconv_end): Likewise.
33114         * iconvdata/iso_6937-2.c : Likewise.
33115         * iconvdata/iso_6937.c : Likewise.
33116         * iconvdata/iso8859-1.c: Likewise.
33117         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
33118         * iconvdata/shift_jisx0213.c : Likewise.
33119         * iconvdata/sjis.c : Likewise.
33120         * iconvdata/t.61.c : Likewise.
33121         * iconvdata/tcvn5712-1.c : Likewise.
33122         * iconvdata/tscii.c: Likewise.
33123         * iconvdata/uhc.c : Likewise.
33124         * iconvdata/unicode.c (gconv_end): Likewise.
33125         * iconvdata/utf-16.c (gconv_end): Likewise.
33126         * iconvdata/utf-32.c (gconv_end): Likewise.
33127         * iconvdata/utf-7.c (base64): Likewise.
33128         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
33129         * iconv/gconv_close.c (__gconv_close): Likewise.
33130         * iconv/gconv_open.c (__gconv_open): Likewise.
33131         * iconv/gconv_simple.c (internal_ucs4_loop_single)
33132         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
33133         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
33134         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
33135         (ucs4le_internal_loop_single): Likewise.
33136         * iconv/iconv.c (iconv): Likewise.
33137         * iconv/iconv_close.c: Likewise.
33138         * iconv/loop.c (SINGLE): Likewise.
33139         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
33140         * include/atomic.h: Likewise.
33141         * inet/inet6_option.c (option_alloc): Likewise.
33142         * intl/bindtextdom.c (set_binding_values): Likewise.
33143         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
33144         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
33145         * intl/localealias.c (read_alias_file): Likewise.
33146         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
33147         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
33148         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
33149         * libio/fmemopen.c (fmemopen): Likewise.
33150         * libio/iofgets.c (_IO_fgets): Likewise.
33151         * libio/iofgets_u.c (fgets_unlocked): Likewise.
33152         * libio/iofgetws.c (fgetws): Likewise.
33153         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
33154         * libio/iogetdelim.c (_IO_getdelim): Likewise.
33155         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
33156         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
33157         * locale/findlocale.c (_nl_find_locale): Likewise.
33158         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33159         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
33160         Likewise.
33161         * locale/setlocale.c (setlocale): Likewise.
33162         * login/programs/pt_chown.c (main): Likewise.
33163         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
33164         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
33165         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
33166         (mmap, mmap64, mremap, munmap): Likewise.
33167         * math/e_exp2l.c: Likewise.
33168         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
33169         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
33170         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
33171         * math/s_catan.c (__catan): Likewise.
33172         * math/s_catanf.c (__catanf): Likewise.
33173         * math/s_catanh.c (__catanh): Likewise.
33174         * math/s_catanhf.c (__catanhf): Likewise.
33175         * math/s_catanhl.c (__catanhl): Likewise.
33176         * math/s_catanl.c (__catanl): Likewise.
33177         * math/s_ccosh.c (__ccosh): Likewise.
33178         * math/s_ccoshf.c (__ccoshf): Likewise.
33179         * math/s_ccoshl.c (__ccoshl): Likewise.
33180         * math/s_cexp.c (__cexp): Likewise.
33181         * math/s_cexpf.c (__cexpf): Likewise.
33182         * math/s_cexpl.c (__cexpl): Likewise.
33183         * math/s_clog10.c (__clog10): Likewise.
33184         * math/s_clog10f.c (__clog10f): Likewise.
33185         * math/s_clog10l.c (__clog10l): Likewise.
33186         * math/s_clog.c (__clog): Likewise.
33187         * math/s_clogf.c (__clogf): Likewise.
33188         * math/s_clogl.c (__clogl): Likewise.
33189         * math/s_csin.c (__csin): Likewise.
33190         * math/s_csinf.c (__csinf): Likewise.
33191         * math/s_csinh.c (__csinh): Likewise.
33192         * math/s_csinhf.c (__csinhf): Likewise.
33193         * math/s_csinhl.c (__csinhl): Likewise.
33194         * math/s_csinl.c (__csinl): Likewise.
33195         * math/s_csqrt.c (__csqrt): Likewise.
33196         * math/s_csqrtf.c (__csqrtf): Likewise.
33197         * math/s_csqrtl.c (__csqrtl): Likewise.
33198         * math/s_ctan.c (__ctan): Likewise.
33199         * math/s_ctanf.c (__ctanf): Likewise.
33200         * math/s_ctanh.c (__ctanh): Likewise.
33201         * math/s_ctanhf.c (__ctanhf): Likewise.
33202         * math/s_ctanhl.c (__ctanhl): Likewise.
33203         * math/s_ctanl.c (__ctanl): Likewise.
33204         * math/w_pow.c: Likewise.
33205         * math/w_powf.c: Likewise.
33206         * math/w_powl.c: Likewise.
33207         * math/w_scalb.c (sysv_scalb): Likewise.
33208         * math/w_scalbf.c (sysv_scalbf): Likewise.
33209         * math/w_scalbl.c (sysv_scalbl): Likewise.
33210         * misc/error.c (error_tail): Likewise.
33211         * misc/pselect.c (__pselect): Likewise.
33212         * nis/nis_callback.c (__nis_create_callback): Likewise.
33213         * nis/nis_call.c (__nisfind_server): Likewise.
33214         * nis/nis_creategroup.c (nis_creategroup): Likewise.
33215         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
33216         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
33217         * nis/nis_getservlist.c (nis_getservlist): Likewise.
33218         * nis/nis_lookup.c (nis_lookup): Likewise.
33219         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
33220         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
33221         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
33222         * nis/nis_xdr.c (xdr_endpoint): Likewise.
33223         * nis/nss_compat/compat-grp.c (getgrent_next_file)
33224         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
33225         * nis/nss_compat/compat-initgroups.c (add_group)
33226         (internal_getgrent_r): Likewise.
33227         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
33228         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
33229         * nis/nss_compat/compat-spwd.c (getspent_next_file)
33230         (internal_getspnam_r): Likewise.
33231         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
33232         (_nss_nis_getaliasbyname_r): Likewise.
33233         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
33234         (_nss_nis_getntohost_r): Likewise.
33235         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
33236         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
33237         (_nss_nis_getgrgid_r): Likewise.
33238         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
33239         (internal_nis_gethostent_r, internal_gethostbyname2_r)
33240         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
33241         (_nss_nis_gethostbyname4_r): Likewise.
33242         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
33243         (initgroups_netid): Likewise.
33244         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
33245         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
33246         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
33247         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
33248         (_nss_nis_getprotobynumber_r): Likewise.
33249         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
33250         (_nss_nis_getsecretkey): Likewise.
33251         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
33252         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
33253         (_nss_nis_getpwuid_r): Likewise.
33254         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
33255         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
33256         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
33257         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
33258         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
33259         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
33260         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
33261         Likewise.
33262         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
33263         (_nss_nisplus_getntohost_r): Likewise.
33264         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
33265         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
33266         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
33267         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
33268         Likewise.
33269         * nis/nss_nisplus/nisplus-initgroups.c
33270         (_nss_nisplus_initgroups_dyn): Likewise.
33271         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
33272         (_nss_nisplus_getnetbyaddr_r): Likewise.
33273         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
33274         (_nss_nisplus_getprotobynumber_r): Likewise.
33275         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
33276         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
33277         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
33278         Likewise.
33279         * nis/nss_nisplus/nisplus-service.c
33280         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
33281         (_nss_nisplus_getservbyport_r): Likewise.
33282         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
33283         (_nss_nisplus_getspnam_r): Likewise.
33284         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
33285         Likewise.
33286         * nscd/aicache.c (addhstaiX): Likewise.
33287         * nscd/cache.c (cache_search, prune_cache): Likewise.
33288         * nscd/connections.c (register_traced_file, send_ro_fd)
33289         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
33290         (main_loop_epoll): Likewise.
33291         * nscd/grpcache.c (addgrbyX): Likewise.
33292         * nscd/hstcache.c (addhstbyX): Likewise.
33293         * nscd/initgrcache.c (addinitgroupsX): Likewise.
33294         * nscd/mem.c (gc, mempool_alloc): Likewise.
33295         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
33296         (addinnetgrX): Likewise.
33297         * nscd/nscd-client.h (__nscd_acquire_maplock)
33298         (__nscd_drop_map_ref): Likewise.
33299         * nscd/nscd_getai.c (__nscd_getai): Likewise.
33300         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
33301         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
33302         Likewise.
33303         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
33304         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33305         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
33306         (__nscd_get_map_ref): Likewise.
33307         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
33308         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
33309         Likewise.
33310         * nscd/pwdcache.c (addpwbyX): Likewise.
33311         * nscd/selinux.c (preserve_capabilities): Likewise.
33312         * nscd/servicescache.c (addservbyX): Likewise.
33313         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
33314         * posix/fnmatch.c (fnmatch): Likewise.
33315         * posix/getopt.c (_getopt_internal_r): Likewise.
33316         * posix/glob.c (glob, glob_in_dir): Likewise.
33317         * posix/wordexp.c (exec_comm_child): Likewise.
33318         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
33319         (getanswer_r, gaih_getanswer_slice): Likewise.
33320         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
33321         * resolv/res_init.c: Likewise.
33322         * resolv/res_mkquery.c (res_nmkquery): Likewise.
33323         * resolv/res_query.c (__libc_res_nquery): Likewise.
33324         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
33325         Likewise.
33326         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
33327         * stdio-common/perror.c (perror): Likewise.
33328         * stdio-common/printf_fp.c (___printf_fp): Likewise.
33329         * stdio-common/tmpnam.c (tmpnam): Likewise.
33330         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
33331         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
33332         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
33333         Likewise.
33334         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
33335         * stdlib/putenv.c (putenv): Likewise.
33336         * stdlib/setenv.c (__add_to_environ): Likewise.
33337         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
33338         * stdlib/strtol_l.c (INTERNAL): Likewise.
33339         * string/memmem.c (memmem): Likewise.
33340         * string/strerror.c (strerror): Likewise.
33341         * string/strnlen.c (__strnlen): Likewise.
33342         * string/test-memmem.c (simple_memmem): Likewise.
33343         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
33344         * sunrpc/pm_getport.c (__get_socket): Likewise.
33345         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
33346         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
33347         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
33348         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
33349         Likewise.
33350         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
33351         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
33352         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
33353         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
33354         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
33355         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
33356         Likewise.
33357         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
33358         Likewise.
33359         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
33360         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
33361         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33362         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
33363         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
33364         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
33365         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
33366         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
33367         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
33368         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
33369         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
33370         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
33371         Likewise.
33372         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
33373         Likewise.
33374         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
33375         Likewise.
33376         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
33377         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33378         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
33379         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
33380         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
33381         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
33382         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33383         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
33384         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
33385         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
33386         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
33387         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33388         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
33389         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
33390         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33391         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
33392         Likewise.
33393         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
33394         Likewise.
33395         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
33396         Likewise.
33397         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
33398         Likewise.
33399         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33400         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33401         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
33402         Likewise.
33403         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
33404         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
33405         * sysdeps/posix/opendir.c (__opendirat): Likewise.
33406         * sysdeps/posix/sleep.c: Likewise.
33407         * sysdeps/posix/tempname.c: Likewise.
33408         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
33409         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
33410         Likewise.
33411         * sysdeps/powerpc/powerpc32/dl-machine.h
33412         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
33413         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
33414         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
33415         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
33416         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
33417         Likewise.
33418         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
33419         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
33420         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
33421         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
33422         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
33423         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
33424         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
33425         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
33426         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33427         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
33428         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
33429         (elf_machine_lazy_rel): Likewise.
33430         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
33431         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
33432         (elf_machine_lazy_rel): Likewise.
33433         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
33434         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
33435         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
33436         * sysdeps/unix/grantpt.c (grantpt): Likewise.
33437         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
33438         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
33439         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
33440         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33441         Likewise.
33442         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
33443         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
33444         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
33445         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
33446         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
33447         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
33448         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
33449         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
33450         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
33451         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
33452         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
33453         Likewise.
33454         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
33455         (__posix_fallocate64_l64): Likewise.
33456         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
33457         (posix_fallocate): Likewise.
33458         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
33459         Likewise.
33460         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33461         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
33462         (getifaddrs_internal): Likewise.
33463         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
33464         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
33465         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
33466         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
33467         * sysdeps/unix/sysv/linux/posix_fallocate64.c
33468         (__posix_fallocate64_l64): Likewise.
33469         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
33470         Likewise.
33471         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
33472         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
33473         (__get_clockfreq): Likewise.
33474         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
33475         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
33476         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
33477         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33478         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33479         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
33480         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
33481         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
33482         Likewise.
33483         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
33484         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
33485         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
33486         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
33487         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
33488         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
33489         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
33490         Likewise.
33491         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33492         (posix_fallocate): Likewise.
33493         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33494         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
33495         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
33496         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
33497         (elf_machine_rela, elf_machine_rela_relative)
33498         (elf_machine_lazy_rel): Likewise.
33499         * time/asctime.c (asctime_internal): Likewise.
33500         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
33501         * time/tzset.c (__tzset_parse_tz): Likewise.
33502         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
33503         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
33504         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
33505         * wcsmbs/wcsmbsload.h: Likewise.
33507         [BZ #15894]
33508         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
33510         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
33511         (arena_get2): Remove THREAD_STATS conditionals.
33512         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
33513         (__malloc_stats, int): Likewise.
33515 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
33517         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
33518         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
33520         * manual/setjmp.texi: Fix typos/grammar errors.
33522         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
33523         Only return early when n is <= 0.  Delete unused return statement.
33525         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
33526         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
33527         * debug/tst-longjmp_chk3.c: New file.
33529         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
33530         (test_main): Replace code with set_fortify_handler call.
33531         * debug/test-strcpy_chk.c: Likewise.
33532         * debug/tst-chk1.c: Likewise.
33533         * debug/tst-longjmp_chk.c: Likewise.
33534         * test-skeleton.c: Include fcntl.h & paths.h
33535         (set_fortify_handler): Define.
33537         * debug/tst-longjmp_chk.c: Add header comment and include
33538         ../test-skeleton.c.
33539         (do_test): Mark static.
33540         (TEST_FUNCTION): Define.
33542         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
33543         (IP_PMTUDISC_INTERFACE): Likewise.
33544         (IP_MULTICAST_IF): Likewise.
33545         (IP_MULTICAST_TTL): Likewise.
33546         (IP_MULTICAST_LOOP): Likewise.
33547         (IP_ADD_MEMBERSHIP): Likewise.
33548         (IP_DROP_MEMBERSHIP): Likewise.
33549         (IP_UNBLOCK_SOURCE): Likewise.
33550         (IP_BLOCK_SOURCE): Likewise.
33551         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
33552         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
33553         (IP_MSFILTER): Likewise.
33554         (MCAST_JOIN_GROUP): Likewise.
33555         (MCAST_BLOCK_SOURCE): Likewise.
33556         (MCAST_UNBLOCK_SOURCE): Likewise.
33557         (MCAST_LEAVE_GROUP): Likewise.
33558         (MCAST_JOIN_SOURCE_GROUP): Likewise.
33559         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
33560         (MCAST_MSFILTER): Likewise.
33561         (IP_MULTICAST_ALL): Likewise.
33562         (IP_UNICAST_IF): Likewise.
33564         * timezone/Makefile: Delete $(have-ksh) check.
33565         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
33566         * timezone/tzselect.ksh: Add +x mode bits.
33568         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
33569         (ANON_INODE_FS_MAGIC): Likewise.
33570         (BDEVFS_MAGIC): Likewise.
33571         (BINFMTFS_MAGIC): Likewise.
33572         (BTRFS_TEST_MAGIC): Likewise.
33573         (CRAMFS_MAGIC_WEND): Likewise.
33574         (DEBUGFS_MAGIC): Likewise.
33575         (ECRYPTFS_SUPER_MAGIC): Likewise.
33576         (EXT3_SUPER_MAGIC): Likewise.
33577         (EXT4_SUPER_MAGIC): Likewise.
33578         (FUTEXFS_SUPER_MAGIC): Likewise.
33579         (HOSTFS_SUPER_MAGIC): Likewise.
33580         (HUGETLBFS_MAGIC): Likewise.
33581         (MINIX3_SUPER_MAGIC): Likewise.
33582         (MTD_INODE_FS_MAGIC): Likewise.
33583         (NILFS_SUPER_MAGIC): Likewise.
33584         (OPENPROM_SUPER_MAGIC): Likewise.
33585         (PIPEFS_MAGIC): Likewise.
33586         (PSTOREFS_MAGIC): Likewise.
33587         (QNX6_SUPER_MAGIC): Likewise.
33588         (RAMFS_MAGIC): Likewise.
33589         (REISERFS_SUPER_MAGIC_STRING): Likewise.
33590         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
33591         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
33592         (SECURITYFS_MAGIC): Likewise.
33593         (SELINUX_MAGIC): Likewise.
33594         (SMACK_MAGIC): Likewise.
33595         (SOCKFS_MAGIC): Likewise.
33596         (SQUASHFS_MAGIC): Likewise.
33597         (STACK_END_MAGIC): Likewise.
33598         (TMPFS_MAGIC): Likewise.
33599         (USBDEVICE_SUPER_MAGIC): Likewise.
33600         (V9FS_MAGIC): Likewise.
33601         (XENFS_SUPER_MAGIC): Likewise.
33602         (CRAMFS_MAGIC): Fix typo in comment.
33603         (EXT2_SUPER_MAGIC): Update comment.
33604         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
33606 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
33608         * sysdeps/arm: Move directory from ports/sysdeps/arm.
33609         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
33610         * sysdeps/unix/sysv/linux/arm: Move directory from
33611         ports/sysdeps/unix/sysv/linux/arm.
33612         * README: Update listing for arm-*-linux-gnueabi.
33614         * README: Remove mention of am33.
33616 2014-02-07  Roland McGrath  <roland@hack.frob.com>
33618         * bits/sigset.h (__sigemptyset): Use a statement expression rather
33619         than the comma operator, to avoid "rhs of comma has no effect"
33620         compiler warnings.
33621         (__sigfillset, __sigandset, __sigorset): Likewise.
33622         * include/signal.h (__sigemptyset): Likewise.
33623         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
33625 2014-02-07  Allan McRae  <allan@archlinux.org>
33627         * version.h (RELEASE): Set to "development".
33628         (VERSION): Set to "2.19.90"
33629         * NEWS: Add 2.20 section.
33631 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
33633         [BZ #16529]
33634         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
33636 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
33638         * manual/contrib.texi: Update entry for Carlos O'Donell,
33639         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
33641 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
33643         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
33645         * sysdeps/unix/sysv/linux/kernel-features.h
33646         [__LINUX_KERNEL_VERSION >= 0x020621]
33647         (__ASSUME_PROC_PID_TASK_COMM): Define.
33649 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33651         [BZ #16398]
33652         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
33653         conversion when destination buffer does not have enough space.
33654         * libio/tst-ftell-partial-wide.c: New test case.
33655         * libio/Makefile (tests): Add tst-ftell-partial-wide.
33657         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
33658         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
33659         Leonard and Allan McRae.
33661 2014-02-04  David S. Miller  <davem@davemloft.net>
33663         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
33664         32-bit.
33666 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
33669         New file
33670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
33671         New file
33672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
33673         New file.
33674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
33675         New file.
33676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
33677         New file.
33678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
33679         New file.
33680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
33681         New file.
33682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
33683         New file.
33684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
33685         New file.
33686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
33687         New file.
33688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
33689         New file.
33690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
33691         New file.
33692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
33693         New file.
33695 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33697         * nptl/shlib-versions: Change powerpc*le start to 2.17.
33698         * shlib-versions: Likewise.
33700 2014-02-04  Roland McGrath  <roland@hack.frob.com>
33701             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33703         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
33704         (abilist-pattern): New variable, set to %-le.abilist.
33706         * Makerules (abilist-pattern): New variable.
33707         (vpath): Use $(abilist-pattern) in place of %.abilist.
33708         (check-abi-% pattern rule): Likewise.
33709         (check-abi, update-abi): Likewise.
33711 2014-02-04  Eric Wong  <normalperson@yhbt.net>
33713         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33715 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
33717         * manual/startup.texi: Add next, previous, and top entries for
33718         the `Program Arguments' and `Environment Variables' nodes.
33720 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
33722         * manual/macros.texi: Add comments before MTASC-safety macros.
33724         * manual/users.texi: Document MTASC-safety properties.
33726         * manual/threads.texi (pthread_key_create, pthread_key_delete)
33727         (pthread_getspecific, pthread_setspecific): Format with
33728         @deftypefun, and add @safety note.
33729         * manual/signal.texi: Move comments that analyze the above
33730         functions to their home place.
33732 2014-02-03  Allan McRae  <allan@archlinux.org>
33734         * po/sl.po: Update Slovenian translation from translation project.
33736 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
33738         * manual/time.texi (timegm): Add missing blank after @c.
33739         Reported by Joseph Myers <joseph@codesourcery.com>.
33741 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
33743         * manual/check-safety.sh: New.
33744         * manual/Makefile ($(objpfx)stamp-summary): Run it.
33746         * manual/terminal.texi: Document MTASC-safety properties.
33748         * manual/filesys.texi: Document MTASC-safety properties.
33750         * manual/errno.texi: Document MTASC-safety properties.
33752         * manual/intro.texi: Document safety identifiers and
33753         conditionals.
33755         * manual/string.texi (wcstok): Fix prototype.
33756         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
33758         * manual/time.texi: Document MTASC-safety properties.
33760         * manual/string.texi: Document MTASC-safety properties.
33762         * manual/threads.texi: Document MTASC-safety properties.
33764         * manual/stdio.texi: Document MTASC-safety properties.
33766         * manual/syslog.texi: Document MTASC-safety properties.
33768         * manual/sysinfo.texi: Document MTASC-safety properties.
33770         * manual/startup.texi: Document MTASC-safety properties.
33772         * manual/socket.texi: Document MTASC-safety properties.
33774         * manual/signal.texi: Document MTASC-safety properties.
33776 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
33778         * manual/setjmp.texi: Document MTASC-safety properties.
33780         * manual/search.texi: Document MTASC-safety properties.
33782         * manual/resource.texi: Document MTASC-safety properties.
33784         * manual/process.texi: Document MTASC-safety properties.
33786         * manual/platform.texi: Document MTASC-safety properties.
33788         * manual/pipe.texi: Document MTASC-safety properties.
33790         * manual/pattern.texi: Document MTASC-safety properties.
33792         * manual/message.texi: Document MTASC-safety properties.
33794         [BZ #12751]
33795         * manual/memory.texi: Document MTASC-safety properties.
33797         * manual/math.texi: Document MTASC-safety properties.
33799         * manual/locale.texi: Document MTASC-safety properties.
33801         * manual/llio.texi: Document MTASC-safety properties.
33803         * manual/libdl.texi: New.
33805         * manual/lang.texi: Document MTASC-safety properties.
33807         * manual/job.texi: Document MTASC-safety properties.
33809         * manual/getopt.texi: Document MTASC-safety properties.
33811         * manual/ctype.texi: Document MTASC-safety properties.
33813 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
33815         [BZ #16046]
33816         * csu/libc-tls.c (static_map): Remove variable.
33817         (__libc_setup_tls): Use main executable's link map for TLS data.
33818         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
33819         casing for LM_ID_BASE and GL(dl_nns).
33820         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
33821         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
33822         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
33823         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
33824         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
33825         member.
33826         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
33827         l_phnum members.
33829 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
33831         * manual/debug.texi: Document MTASC-safety properties.
33833 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
33835         [BZ #16510]
33836         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
33837         of __x86_64__ when disabling x87 inline functions.
33839 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
33841         * manual/charset.texi: Document MTASC-safety properties.
33843         * manual/crypt.texi: Document MTASC-safety properties.
33845         * manual/conf.texi: Document MTASC-safety properties.
33847         * manual/arith.texi: Document MTASC-safety properties.
33849         * manual/argp.texi: Document MTASC-safety properties.
33851         * manual/macros.texi: Introduce macros to document multi
33852         thread, asynchronous signal and asynchronous cancellation
33853         safety properties.
33854         * manual/intro.texi: Introduce the properties themselves.
33856 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33858         * sysdeps/sh/sh4/Makefile: New file.
33860 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
33862         * math/gen-libm-test.pl ($srcdir): New variable.
33863         ($auto_input): Use it.
33865 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33867         [BZ #16506]
33868         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
33869         access beyond array bounds when parsing netgroups file.
33871         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
33872         the old buffer before realloc.
33874 2014-01-27  Allan McRae  <allan@archlinux.org>
33876         * po/fr.po: Update French translation from translation project.
33878 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33880         * sysdeps/sh/libm-test-ulps: Regenerate.
33882 2014-01-24  David S. Miller  <davem@davemloft.net>
33884         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
33886 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33888         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
33889         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
33891 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33893         [BZ #16474]
33894         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
33895         string pointers after reallocation.
33897 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33899         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
33900         __SH4A__ instead of __SH_FPU_ANY__.
33902 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33904         * sysdeps/sh/fpu_control.h: New file.
33905         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
33906         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
33907         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
33908         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
33909         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
33910         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
33911         * sysdeps/sh/sys/ucontext.h: Remove.
33912         * sysdeps/sh/sys: Remove directory.
33914 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33916         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
33917         s390/sys/ucontext.h.
33918         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
33919         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
33921 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
33923         [BZ #15605]
33924         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
33926 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33928         [BZ#16431]
33929         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
33930         Adjust the vDSO correctly for internal calls.
33931         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
33933 2014-01-20  Allan McRae  <allan@archlinux.org>
33935         * po/ca.po: Update Catalan translation from translation project.
33937 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
33939         * sysdeps/s390/sotruss-lib.c: New file.
33941 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33943         [BZ#16430]
33944         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
33945         (__GI___gettimeofday): Alias for a different internal symbol to avoid
33946         local calls issues by not having a PLT stub required for IFUNC calls.
33947         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
33949 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
33951         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
33952         * math/test-fpucw-static.c: Likewise.
33954 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33956         [BZ #16453]
33957         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
33959 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33961         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
33962         implementation for powerpc.
33964 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
33966         [BZ #14782]
33967         * sysdeps/posix/system.c (__libc_system): Do not enable
33968         asynchronous cancellation.
33970 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33972         [BZ #16427]
33973         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
33974         handling only for numbers special also in the IEEE case.
33976 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33978         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33980 2014-01-11  Allan McRae  <allan@archlinux.org>
33982         * po/bg.po: Update Bulgarian translation from translation project.
33984         * po/de.po: Update German translation from translation project.
33986 2014-01-10  Roland McGrath  <roland@hack.frob.com>
33988         * sysdeps/generic/gcc-compat.h: New file.
33990 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33992         * benchtests/asin-inputs: Correct slow inputs.
33993         * benchtests/acos-inputs: Likewise.
33995 2014-01-10  Allan McRae  <allan@archlinux.org>
33997         * po:sv.po: Update Swedish translation from translation project.
33999         * po/vi.po: Update Vietnamese translation from translation project.
34001         * po/eo.po: Update Esperanto translation from translation project.
34003         * po/cs.po: Update Czech translation from translation project.
34005         * po/nl.po: Update Dutch translation from translation project.
34007         * po/pl.po: Update Polish translation from translation project.
34009         * po/ru.po: Update Russian translation from translation project.
34011         * po/uk.po: Update Ukrainian translation from translation project.
34013 2014-01-08  Brooks Moses  <bmoses@google.com>
34015         * elf/dl-load.c: Fix comment typo.
34017 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
34019         * po/header.pot: Rename to...
34020         * po/pot.header: ... this.
34021         * po/Makefile: Use pot.header.
34023 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
34024             Maxim Kuvyrkov  <maxim@kugelworks.com>
34026         [BZ #16394]
34027         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
34028         SRC and DEST against LEN.
34030 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34032         [BZ #16414]
34033         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
34034         implementation.
34035         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
34037 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34039         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34041 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
34043         [BZ #16408]
34044         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
34045         for large positive arguments.
34047 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
34049         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
34051         * math/auto-libm-test-in: Mark various tests with
34052         xfail-rounding:ldbl-128ibm.
34053         * math/auto-libm-test-out: Regenerated.
34055         [BZ #16407]
34056         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
34057         Increase overflow threshold.
34059 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
34061         [BZ #14286]
34062         * stdio-common/vfprintf.c: Check for integer overflow.
34064 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34066         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
34067         the first argument and return value of __tls_get_addr_internal.
34069 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34071         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
34072         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
34074 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34076         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
34077         * sysdeps/s390/rtld-global-offsets.sym: New file.
34078         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
34079         GLIBC_2.19 symbol.
34080         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
34081         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
34082         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
34083         ... this.
34084         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
34085         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
34086         ... this.
34087         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
34088         Regenerate.
34089         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
34090         Regenerate.
34091         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
34092         halfs of GPRs for high_gprs contexts.
34093         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
34094         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
34095         field.
34096         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
34097         uc_flags field.
34098         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
34099         64 bit versions:
34100         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
34101         for high GPRs (uc_high_gprs) and for future extensions
34102         (__reserved).
34103         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
34104         for future extensions (__reserved).
34105         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
34106         64 bit versions:
34107         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
34108         SC_HIGHGPRS offset definition.
34109         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
34110         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
34112         * Versions.def: Add GLIBC_2.19 for libpthread.
34113         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
34114         siglongjmp for libpthread with GLIBC_2.19 symver.
34115         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
34116         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
34117         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
34118         * sysdeps/s390/__longjmp.c: New file.
34119         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
34120         * sysdeps/s390/longjmp.c: New file.
34121         * sysdeps/s390/setjmp.S: New file.
34122         * sysdeps/s390/sigjmp.S: New file.
34123         * sysdeps/s390/v1-longjmp.c: New file.
34124         * sysdeps/s390/v1-setjmp.h: New file.
34125         * sysdeps/s390/v1-sigjmp.c: New file.
34126         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
34127         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
34128         GLIBC_2.19 version.
34129         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
34130         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
34131         versioned symbols for ____longjmp_chk.
34132         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
34133         Likewise.
34134         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
34135         Regenerate.
34136         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34137         Regenerate.
34138         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
34139         Regenerate.
34140         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34141         Regenerate.
34142         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
34143         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
34144         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
34145         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
34146         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
34147         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
34148         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
34149         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
34150         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
34151         * sysdeps/s390/rtld-__longjmp.c: New file.
34152         * sysdeps/s390/rtld-setjmp.S: New file.
34154 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
34156         [BZ #16400]
34157         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
34158         Return -__logl (x) for small positive arguments without evaluating
34159         a polynomial.
34161 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
34163         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
34164         Rename to ...
34165         (__ptrace_peeksiginfo_args): ... this.
34166         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34167         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34168         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34170 2014-01-06  Allan McRae  <allan@archlinux.org>
34172         * inet/netinet/in.h: Fix typo in comment.
34174 2014-01-05  Andreas Jaeger  <aj@suse.de>
34176         * sysdeps/i386/fpu/libm-test-ulps: Update.
34178 2014-01-05  Allan McRae  <allan@archlinux.org>
34180         * po/libc.pot: Regenerated.
34182         * malloc/memusagestat.c: Fix gettext call formatting.
34184 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
34186         * nscd/nscd.c: Improve usage() output.
34188 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
34190         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
34191         * sysdeps/unix/sysv/linux/configure: Regenerated.
34192         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
34193         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
34195 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
34197         [BZ #16390]
34198         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
34199         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
34201 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34203         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
34204         extra tokens at end of #undef directive.
34205         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
34206         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
34207         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
34209 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
34211         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
34213         * math/auto-libm-test-in: Mark various tests with
34214         xfail-rounding:ldbl-128ibm.
34215         * math/auto-libm-test-out: Regenerated.
34217 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
34219         [BZ #16386]
34220         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
34221         numbers with subnormal high part when calculating exponent.
34223         [BZ #16385]
34224         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
34225         fabs.
34227         [BZ #16384]
34228         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
34229         M_LN2l.
34230         (__ieee754_acoshl): Use __log1pl not __log1p.
34232 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
34234         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
34235         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
34236         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
34237         (grow_heap, heap_trim, _int_new_arena, get_free_list)
34238         (reused_arena, arena_get2): Convert to GNU style.
34239         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
34240         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
34241         (memalign_check, __malloc_set_state): Likewise.
34242         * malloc/mallocbug.c (main): Likewise.
34243         * malloc/malloc.c (__malloc_assert, malloc_init_state)
34244         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
34245         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
34246         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
34247         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
34248         (__posix_memalign, malloc_info): Likewise.
34249         * malloc/malloc.h: Likewise.
34250         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
34251         (mallochook, memalignhook, reallochook, mabort): Likewise.
34252         * malloc/mcheck.h: Likewise.
34253         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
34254         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
34255         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
34256         * malloc/morecore.c (__default_morecore): Likewise.
34257         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
34258         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
34259         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
34260         (print_and_abort): Likewise.
34261         * malloc/obstack.h: Likewise.
34262         * malloc/set-freeres.c (__libc_freeres): Likewise.
34263         * malloc/tst-mallocstate.c (main): Likewise.
34264         * malloc/tst-mtrace.c (main): Likewise.
34265         * malloc/tst-realloc.c (do_test): Likewise.
34267 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34269         [BZ #16366]
34270         * nscd/netgroupcache.c (do_notfound): New function.
34271         (addgetnetgrentX): Use it.
34273         [BZ # 16365]
34274         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
34275         NSS_STATUS_NOTFOUND.
34277 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
34279         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
34280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34282 2014-01-01  Allan McRae  <allan@archlinux.org>
34284         * scripts/update-copyrights: Update configure input file suffix.
34286         * NEWS: Update copyright year.
34287         * catgets/gencat.c: Likewise.
34288         * csu/version.c: Likewise.
34289         * debug/catchsegv.sh: Likewise.
34290         * debug/pcprofiledump.c: Likewise.
34291         * debug/xtrace.sh: Likewise.
34292         * elf/ldconfig.c: Likewise.
34293         * elf/ldd.bash.in: Likewise.
34294         * elf/pldd.c: Likewise.
34295         * elf/sotruss.ksh: Likewise.
34296         * elf/sprof.c: Likewise.
34297         * iconv/iconv_prog.c: Likewise.
34298         * iconv/iconvconfig.c: Likewise.
34299         * locale/programs/locale.c: Likewise.
34300         * locale/programs/localedef.c: Likewise.
34301         * login/programs/pt_chown.c: Likewise.
34302         * malloc/memusage.sh: Likewise.
34303         * malloc/memusagestat.c: Likewise.
34304         * malloc/mtrace.pl: Likewise.
34305         * manual/libc.texinfo: Likewise.
34306         * nscd/nscd.c: Likewise.
34307         * nss/getent.c: Likewise.
34308         * nss/makedb.c: Likewise.
34309         * posix/getconf.c: Likewise.
34310         * scripts/test-installation.pl: Likewise.
34312         * All files with FSF copyright notices: Update copyright dates
34313         using scripts/update-copyrights.
34314         * intl/plural.c: Regenerated.
34315         * locale/programs/charmap-kw.h: Likewise.
34316         * locale/programs/locfile-kw.h: Likewise.
34318 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
34320         * sysdeps/unix/sysv/linux/configure: Regenerated.
34321         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
34322         the linux/fanotify.h header.
34323         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
34324         HAVE_LINUX_FANOTIFY_H is defined.
34326 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
34328         * benchtests/cos-inputs: New inputs.
34329         * benchtests/sin-inputs: Likewise.
34331         * benchtests/atan-inputs: New inputs. Fix name of multiple
34332         precision fallback inputs.
34334         * benchtests/atanh-inputs: New inputs.
34335         * benchtests/tanh-inputs: Likewise.
34337         * benchtests/acosh-inputs: New inputs.
34338         * benchtests/asinh-inputs: Likewise.
34340         * benchtests/cosh-inputs: New inputs.
34341         * benchtests/sinh-inputs: Likewise.
34343         * benchtests/acos-inputs: Add more inputs.
34344         * benchtests/asin-inputs: Likewise.
34346 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
34348         [BZ #16375]
34349         * manual/arith.texi: Fix spelling.
34350         * manual/charset.texi: Likewise.
34351         * manual/errno.texi: Likewise.
34352         * manual/filesys.texi: Likewise.
34353         * manual/lang.texi: Likewise.
34354         * manual/llio.texi: Likewise.
34355         * manual/locale.texi: Likewise.
34356         * manual/message.texi: Likewise.
34357         * manual/resource.texi: Likewise.
34358         * manual/search.texi: Likewise.
34359         * manual/setjmp.texi: Likewise.
34360         * manual/stdio.texi: Likewise.
34361         * manual/string.texi: Likewise.
34362         * manual/sysinfo.texi: Likewise.
34363         * manual/time.texi: Likewise.
34365 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
34367         * po/sl.po: New file.
34369 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
34371         * .gitignore: Add core/.gdbinit/.gdb_history.
34373 2013-12-27  Allan McRae  <allan@archlinux.org>
34375         [BZ #16369]
34376         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
34377         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
34379 2013-12-24  Brooks Moses  <bmoses@google.com>
34381         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
34382         all compilers that claim C++98 compliance, not just GCC.
34383         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
34384         Likewise.
34386 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
34388         * NEWS: Restore accidentally deleted bug-fix entries.
34390 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
34391             Ondřej Bílka  <neleai@seznam.cz>
34393         [BZ #15073]
34394         * malloc/malloc.c (_int_free): Perform sanity check only if we
34395         have_lock.
34397 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
34399         [BZ #12986]
34400         * manual/stdio.texi (String Input Conversions): Clarify that character
34401         classes are not supported.
34403 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34405         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34407 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
34409         [BZ #16337]
34410         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
34411         Calculate results for small negative arguments directly rather
34412         than using reflection formula with special underflow handling.
34414         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
34415         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
34416         sysdeps/unix/bsd/bsd4.4/syscalls.list.
34417         (fchflags): Likewise.
34418         (revoke): Likewise.
34419         (setlogin): Likewise.
34420         (sigaltstack): Likewise.
34421         (wait4): Likewise.
34422         (sigblock): Remove.
34423         (sigsetmask): Likewise.
34424         (wait3): Likewise.
34425         (waitpid): Likewise.
34426         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
34427         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
34428         file.
34429         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
34430         * sysdeps/unix/bsd/Makefile: ... here.
34431         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
34432         * sysdeps/unix/bsd/Versions: ... here.
34433         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
34434         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
34435         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
34436         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
34437         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
34438         * sysdeps/unix/bsd/sigblock.c: ... here.
34439         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
34440         * sysdeps/unix/bsd/sigsetmask.c: ... here.
34441         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
34442         * sysdeps/unix/bsd/sigvec.c: ... here.
34443         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
34444         * sysdeps/unix/bsd/tcdrain.c: ... here.
34445         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
34446         * sysdeps/unix/bsd/tcgetattr.c: ... here.
34447         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
34448         * sysdeps/unix/bsd/tcsetattr.c: ... here.
34449         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
34450         * sysdeps/unix/bsd/wait.c: ... here.
34451         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
34452         * sysdeps/unix/bsd/wait3.c: ... here.
34453         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
34454         * sysdeps/unix/bsd/waitpid.c: ... here.
34456 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
34458         [BZ #16356]
34459         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
34460         round-to-nearest for [!USE_AS_EXPM1L].
34461         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
34462         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
34463         more tests of exp and exp10.  Expect some exp10 tests to miss
34464         exceptions or fail in directed rounding modes.
34465         * math/auto-libm-test-out: Regenerated.
34466         * math/libm-test.inc (exp10_tonearest_test_data): New array.
34467         (exp10_test_tonearest): New function.
34468         (exp10_towardzero_test_data): New array.
34469         (exp10_test_towardzero): New function.
34470         (exp10_downward_test_data): New array.
34471         (exp10_test_downward): New function.
34472         (exp10_upward_test_data): New array.
34473         (exp10_test_upward): New function.
34474         (main): Call the new functions.
34475         * sysdeps/i386/fpu/libm-test-ulps: Update.
34476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34478 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
34480         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
34481         asinh, atan, atan2, atanh, cbrt, cos and cosh.
34482         * math/auto-libm-test-out: Regenerated.
34483         * math/libm-test.inc (acosh_test_data): Add more tests.
34484         (atanh_test_data): Likewise.
34485         (ceil_test_data): Likewise.
34486         (copysign_test_data): Likewise.
34487         * sysdeps/i386/fpu/libm-test-ulps: Update.
34488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34490         * timezone/checktab.awk: Update from tzcode 2013i.
34491         * timezone/private.h: Likewise.
34492         * timezone/scheck.c: Likewise.
34493         * timezone/tzfile.h: Likewise.
34494         * timezone/tzselect.ksh: Likewise.
34495         * timezone/zdump.c: Likewise.
34496         * timezone/zic.c: Likewise.
34498         * math/auto-libm-test-in: Add tests of cpow.
34499         * math/auto-libm-test-out: Regenerated.
34500         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
34501         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34502         mpc_cc_c.
34503         (func_calc_desc): Add mpc_cc_c union field.
34504         (test_functions): Add cpow.
34505         (special_fill_2pi): New function.
34506         (special_real_inputs): Add 2pi.
34507         (calc_generic_results): Handle mpc_cc_c.
34508         * sysdeps/i386/fpu/libm-test-ulps: Update.
34509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34511         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
34512         csqrt, ctan and ctanh.
34513         * math/auto-libm-test-out: Regenerated.
34514         * math/libm-test.inc (TEST_COND_x86_64): New macro.
34515         (TEST_COND_x86): Likewise.
34516         (ccos_test_data): Use AUTO_TESTS_c_c.
34517         (ccosh_test_data): Likewise.
34518         (cexp_test_data): Likewise.
34519         (clog_test_data): Likewise.
34520         (csqrt_test_data): Likewise.
34521         (ctan_test_data): Likewise.
34522         (ctan_tonearest_test_data): Likewise.
34523         (ctan_towardzero_test_data): Likewise.
34524         (ctan_downward_test_data): Likewise.
34525         (ctan_upward_test_data): Likewise.
34526         (ctanh_test_data): Likewise.
34527         (ctanh_tonearest_test_data): Likewise.
34528         (ctanh_towardzero_test_data): Likewise.
34529         (ctanh_downward_test_data): Likewise.
34530         (ctanh_upward_test_data): Likewise.
34531         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34532         mpc_c_c.
34533         (func_calc_desc): Add mpc_c_c union field.
34534         (FUNC_mpc_c_c): New macro.
34535         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
34536         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
34537         ctanh.
34538         (special_fill_min_subnorm_p120): New function.
34539         (special_real_inputs): Add min_subnorm_p120.
34540         (calc_generic_results): Handle mpc_c_c.
34541         * sysdeps/i386/fpu/libm-test-ulps: Update.
34542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34544 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
34546         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
34547         (do_sin_slow): New functions.
34548         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
34549         (cslow2, csloww1, csloww2): Use the new functions.
34551         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
34552         Use M to change sign of result instead of X.  Assume X is
34553         positive.
34554         (csloww1): Likewise.
34555         (__sin): Adjust.
34556         (__cos): Adjust.
34558         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
34559         arguments A and DA.
34560         (__sin): Adjust.
34561         (__cos): Likewise.
34563         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
34564         (__cos): Likewise.
34565         (sloww1): Don't adjust sign of DX.
34566         (csloww1): Likewise.
34567         (sloww2): Use X directly and don't adjust sign of DX.
34568         (csloww2): Likewise.
34570 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
34572         * math/auto-libm-test-in: Add tests of cabs and carg.
34573         * math/auto-libm-test-out: Regenerated.
34574         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
34575         (carg_test_data): Likewise.
34576         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34577         mpc_c_f.
34578         (func_calc_desc): Add mpc_c_f union field.
34579         (test_functions): Add cabs and carg.
34580         (calc_generic_results): Handle mpc_c_f.
34582         * sysdeps/powerpc/powerpc32/libgcc-compat.S
34583         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
34584         as a macro and a compat symbol.
34585         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
34586         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
34587         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
34588         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
34589         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
34590         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
34591         not use .hidden.
34592         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
34593         Likewise.
34594         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
34595         Likewise.
34596         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
34597         Likewise.
34598         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
34599         Likewise.
34600         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
34601         Likewise.
34602         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
34603         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
34604         from GLIBC_2.3.2.
34606 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34608         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34610 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
34612         * manual/texinfo.tex: Update to version 2013-11-26.10 with
34613         trailing whitespace removed.
34614         * scripts/config.guess: Update to version 2013-11-29.
34615         * scripts/config.sub: Update to version 2013-10-01.
34617         * math/auto-libm-test-in: Add tests of sincos.
34618         * math/auto-libm-test-out: Regenerated.
34619         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
34620         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34621         mpfr_f_11.
34622         (func_calc_desc): Add mpfr_f_11 union field.
34623         (test_functions): Add sincos.
34624         (calc_generic_results): Handle mpfr_f_11.
34625         * sysdeps/i386/fpu/libm-test-ulps: Update.
34626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34628 2013-12-19  Andreas Schwab  <schwab@suse.de>
34630         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
34631         CALL_MCOUNT.
34632         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
34633         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
34634         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
34636 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
34638         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
34639         * sysdeps/i386/fpu/libm-test-ulps: Update.
34640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34642         [BZ #16293]
34643         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
34644         round-to-nearest mode when using frndint.
34645         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
34646         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
34647         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
34648         Likewise.
34649         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
34650         sinh test to fail.
34651         * math/auto-libm-test-out: Regenerated.
34652         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
34653         (TEST_COND_x86): Likewise.
34654         (expm1_tonearest_test_data): New array.
34655         (expm1_test_tonearest): New function.
34656         (expm1_towardzero_test_data): New array.
34657         (expm1_test_towardzero): New function.
34658         (expm1_downward_test_data): New array.
34659         (expm1_test_downward): New function.
34660         (expm1_upward_test_data): New array.
34661         (expm1_test_upward): New function.
34662         (main): Run the new test functions.
34663         * sysdeps/i386/fpu/libm-test-ulps: Update.
34664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34666         * include/features.h: Update comment documenting feature test
34667         macros.  Mention _DEFAULT_SOURCE in comment.
34668         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
34669         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
34670         _BSD_SOURCE and _SVID_SOURCE.
34671         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
34672         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
34673         !_SVID_SOURCE]: Likewise.
34674         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
34675         (__USE_POSIX_IMPLICITLY): Define.
34676         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
34677         (_POSIX_SOURCE): Undefine and redefine.
34678         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
34679         (_POSIX_C_SOURCE): Likewise.
34680         * manual/creature.texi (_DEFAULT_SOURCE): Document.
34681         (Feature Test Macros): Update documentation of default features.
34683 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34685         * benchtests/Makefile: Add bench-strtok.
34686         * benchtests/bench-strtok.c: New file: strtok benchtest.
34688 2013-12-19  Allan McRae  <allan@archlinux.org>
34690         * manual/install.texi: Suppress menu for plain text output.
34691         * INSTALL: Regenerated.
34693 2013-12-18  Brooks Moses  <bmoses@google.com>
34695         [BZ #15846]
34696         * misc/getauxval.c: Include errno.h.
34697         (__getauxval): Set errno to ENOENT if the requested type is not
34698         found.
34699         * misc/sys/auxv.h (getauxval): Document that it may set errno;
34700         don't declare with __attribute_const__.
34701         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
34702         * manual/startup.texi: Document that getauxval sets errno.
34704 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
34706         * math/auto-libm-test-in: Add tests of jn and yn.
34707         * math/auto-libm-test-out: Regenerated.
34708         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
34709         (yn_test_data): Likewise.
34710         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34711         mpfr_if_f.
34712         (func_calc_desc): Add mpfr_if_f union field.
34713         (FUNC_mpfr_if_f): New macro.
34714         (test_functions): Add jn and yn.
34715         (calc_generic_results): Assert type of second input for
34716         mpfr_ff_f.  Handle mpfr_if_f.
34717         (output_for_one_input_case): Disable all checking for arguments
34718         fitting floating-point types in case of an integer argument.
34719         * sysdeps/i386/fpu/libm-test-ulps: Update.
34720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
34723         Don't expect fegetround reference in libm.so.
34725 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34727         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
34728         $(config-cflags-nofma).
34730 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
34732         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
34733         * math/auto-libm-test-out: Regenerated.
34735         [BZ #16338]
34736         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
34737         to determine exponent and adjust argument to have exponent of -1.
34738         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
34739         log2.
34740         * math/auto-libm-test-out: Regenerated.
34741         * sysdeps/i386/fpu/libm-test-ulps: Update.
34742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34744 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
34746         * manual/probes.texi: Remove cases when per-thread arenas are
34747         disabled.
34749 2013-12-18  Andreas Schwab  <schwab@suse.de>
34751         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
34752         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
34753         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
34754         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
34755         * sysdeps/i386/i686/multiarch/Makefile: Update.
34756         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
34758 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
34760         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
34761         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
34763 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
34765         [BZ #15968]
34766         Support TZ transition times < 00:00:00.
34767         This is needed for version-3 tz-format files; it supports time
34768         stamps past 2037 for America/Godthab (the only entry in the tz
34769         database for which this change is relevant).
34770         * manual/time.texi (TZ Variable): Document transition times
34771         from -167:59:59 through -00:00:01.
34772         * time/tzset.c (tz_rule): Time of day is now signed.
34773         (__tzset_parse_tz): Parse negative time of day.
34775         Document TZ transition times >= 25:00:00.
34776         * manual/time.texi (TZ Variable): Document transition times from
34777         25:00:00 through 167:59:59.  These are already supported, and this
34778         support will help with version-3 tz-format files.
34780         * manual/time.texi (TZ Variable): Modernize North America example
34781         to reflect current (i.e., 2007-and-later) daylight saving rules.
34783         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
34785 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
34787         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
34788         * sysdeps/unix/bsd/bits/stat.h: Likewise.
34789         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
34790         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34791         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
34792         * sysdeps/unix/bsd/bsdstat.h: Likewise.
34793         * sysdeps/unix/bsd/clock.c: Likewise.
34794         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
34795         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
34796         * sysdeps/unix/bsd/init-posix.c: Likewise.
34797         * sysdeps/unix/bsd/poll.c: Likewise.
34798         * sysdeps/unix/bsd/ptsname.c: Likewise.
34799         * sysdeps/unix/bsd/seekdir.c: Likewise.
34800         * sysdeps/unix/bsd/setegid.c: Likewise.
34801         * sysdeps/unix/bsd/seteuid.c: Likewise.
34802         * sysdeps/unix/bsd/setgid.c: Likewise.
34803         * sysdeps/unix/bsd/setrgid.c: Likewise.
34804         * sysdeps/unix/bsd/setruid.c: Likewise.
34805         * sysdeps/unix/bsd/setsid.c: Likewise.
34806         * sysdeps/unix/bsd/setuid.c: Likewise.
34807         * sysdeps/unix/bsd/sigaction.c: Likewise.
34808         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
34809         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
34810         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
34811         * sysdeps/unix/bsd/telldir.c: Likewise.
34812         * sysdeps/unix/bsd/times.c: Likewise.
34813         * sysdeps/unix/bsd/usleep.c: Likewise.
34815         * misc/Makefile (install-lib): Remove libbsd-compat.a.
34816         ($(objpfx)libbsd-compat.a): Remove rule.
34818         * include/features.h (__FAVOR_BSD): Do not define.
34819         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
34820         features conflicting with POSIX.
34821         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
34822         (_BSD_SOURCE): Remove description of not being a subset of other
34823         feature test macros.
34824         * manual/job.texi (getpgrp): Do not document BSD version.
34825         (getpgid): Do not document by reference to BSD getpgrp.
34826         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
34827         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
34828         * signal/signal.h [__FAVOR_BSD]: Likewise.
34829         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
34830         instead of making contents conditional on [__FAVOR_BSD].
34831         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
34833 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34835         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34837 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
34839         [BZ #16314]
34840         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
34841         values below 2**-450, not 2**-500.
34842         * math/auto-libm-test-in: Don't allow spurious underflow from
34843         hypot.
34844         * math/auto-libm-test-out: Regenerated.
34846         [BZ #16316]
34847         [BZ #16330]
34848         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
34849         values of ha and hb and sort them after adjusting subnormal
34850         arguments.
34851         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
34852         Likewise.
34853         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
34854         values of ea and eb and sort them after adjusting subnormal
34855         arguments.
34856         * math/auto-libm-test-in: Do not expect some hypot tests of
34857         subnormals to fail.  Add more hypot tests.
34858         * math/auto-libm-test-out: Regenerated.
34860 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34862         [BZ #13304]
34863         * sysdeps/sh/s_fma.c: New file.
34864         * sysdeps/sh/s_fmaf.c: New file.
34865         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
34866         version.
34867         * sysdeps/sh/Implies: Add sh/soft-fp.
34869 2013-12-16  Roland McGrath  <roland@hack.frob.com>
34871         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
34872         level of indirection to members `objname', `errstring', `malloced'.
34873         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
34874         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
34875         it as the __longjmp argument (just pass 1 instead).
34876         (_dl_catch_error): Initialize C with argument pointers and address of
34877         volatile local ERRCODE rather than copying values out of C at return.
34879 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
34881         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
34882         * math/auto-libm-test-out: Regenerated.
34883         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
34884         (hypot_test_data): Likewise.
34885         (pow_test_data): Likewise.
34886         (pow_tonearest_test_data): Likewise.
34887         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34888         mpfr_ff_f.
34889         (func_calc_desc): Add mpfr_ff_f union field.
34890         (FUNC_mpfr_ff_f): New macro.
34891         (test_functions): Add atan2, hypot and pow.
34892         (special_fill_min): New function.
34893         (special_fill_minus_min): Likewise.
34894         (special_fill_min_subnorm): Likewise.
34895         (special_fill_minus_min_subnorm): Likewise.
34896         (special_real_inputs): Add min, -min, min_subnorm and
34897         -min_subnorm.
34898         (calc_generic_results): Handle mpfr_ff_f.
34899         * sysdeps/i386/fpu/libm-test-ulps: Update.
34900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34902 2013-12-16  Will Newton  <will.newton@linaro.org>
34904         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
34905         (Aligned Memory Blocks): Add documentation for aligned_alloc
34906         and suggest it as an alternative to posix_memalign.
34907         (Hooks for Malloc): Document __memalign_hook is also called
34908         for aligned_alloc.  (Summary of Malloc): Add summary for
34909         aligned alloc.  Document __memalign_hook is also called
34910         for aligned_alloc.
34912 2013-12-16  Will Newton  <will.newton@linaro.org>
34914         * manual/memory.texi (Malloc Examples): Clarify default
34915         alignment documentation.  Suggest posix_memalign rather
34916         than memalign or valloc.
34917         (Aligned Memory Blocks): Remove suggestion to use memalign
34918         or valloc.  Remove obsolete comment about BSD.
34919         Document memalign errno values and mark the function obsolete.
34920         Document posix_memalign returned error codes.  Mark valloc
34921         as obsolete.  (Hooks for Malloc): __memalign_hook is also
34922         called for posix_memalign and valloc.
34923         (Summary of Malloc): Add posix_memalign to function summary.
34924         __memalign_hook is also called for posix_memalign and valloc.
34926 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34928         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
34929         TAYLOR_SIN.
34930         (__sin): Adjust.
34931         (__cos): Likewise.
34932         (sloww): Use mynumber union.  Expand ternary operator into
34933         if-else statements.
34934         (cslow): use mynumber union.
34936 2013-12-16  Allan McRae  <allan@archlinux.org>
34938         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
34939         * configure: Regenerated.
34941         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
34943         [BZ #14120]
34944         * configure.ac: Added --enable-maintainer-mode. Check for
34945         autoconf when enabled.
34946         * configure: Regenerated.
34948         * nscd/nscd.service: New file.
34949         * nscd/nscd.tmpfiles: New file.
34951 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
34953         [BZ #12100]
34954         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
34955         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
34956         * sysdeps/x86_64/multiarch/strstr.c: ... here.
34957         (strstr): Add __strstr_sse2_unaligned ifunc.
34958         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
34959         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
34960         (strcasestr): Remove __strcasestr_sse42 ifunc.
34961         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
34962         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
34963         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
34965 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34967         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
34968         * sysdeps/sh/bits/fenv.h: ... here.
34969         * sysdeps/sh/sh4/fpu/bits: Remove directory.
34971 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34973         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
34975         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
34976         hypotf multiarch implementations.
34977         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
34978         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
34979         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
34980         multiarch hypot for PPC64.
34981         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
34982         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
34983         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
34984         multiarch hypotf for PPC64.
34986         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
34987         modff multiarch implementations.
34988         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
34989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
34990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
34991         multiarch modf for PPC64.
34992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
34993         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
34994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
34995         multiarch modff for PPC64.
34997         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
34998         and logl multiarch implementations.
34999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
35000         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
35001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
35002         multiarch logb for PPC64.
35003         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
35004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
35005         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
35006         multiarch logb for PPC64.
35007         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
35008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
35009         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
35010         multiarch logb for PPC64.
35012         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
35013         isinff multiarch implementation.
35014         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
35015         file.
35016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
35017         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
35018         multiarch isinf for PPC64.
35019         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
35020         file.
35021         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
35022         multiarch isinff for PPC64.
35024         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
35025         finitef multiarch implementation.
35026         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
35027         file.
35028         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
35029         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
35030         multiarch finite for PPC64.
35031         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
35032         file.
35033         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
35034         multiarch finitef for PPC64.
35036         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
35037         lrint multiarch implementation.
35038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
35039         file.
35040         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
35041         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
35042         multiarch llrint for PPC64.
35043         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
35044         multiarch lrint for PPC64.
35046         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
35047         copysignf multiarch implementation.
35048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
35049         file.
35050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
35051         file.
35052         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
35053         multiarch copysign for PPC64.
35054         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
35055         multiarch copysignf for PPC64.
35057         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
35058         multiarch implementation.
35059         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
35060         file.
35061         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
35062         file.
35063         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
35064         file.
35065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
35066         file.
35067         multiarch llround for PPC64.
35068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
35069         multiarch trunc for PPC64.
35070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
35071         multiarch truncf for PPC64.
35073         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
35074         multiarch implementation.
35075         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
35076         file.
35077         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
35078         file.
35079         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
35080         file.
35081         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
35082         file.
35083         multiarch llround for PPC64.
35084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
35085         multiarch round for PPC64.
35086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
35087         multiarch roundf for PPC64.
35089         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
35090         multiarch implementation.
35091         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
35092         file.
35093         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
35094         file.
35095         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
35096         file.
35097         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
35098         file.
35099         multiarch llround for PPC64.
35100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
35101         multiarch floor for PPC64.
35102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
35103         multiarch floorf for PPC64.
35105         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
35106         multiarch implementation.
35107         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
35108         file.
35109         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
35110         file.
35111         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
35112         file.
35113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
35114         file.
35115         multiarch llround for PPC64.
35116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
35117         multiarch ceil for PPC64.
35118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
35119         multiarch ceilf for PPC64.
35121         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
35122         multiarch implementation.
35123         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
35124         file.
35125         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
35126         file.
35127         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
35128         file.
35129         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
35130         multiarch llround for PPC64.
35131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
35132         multiarch lround for PPC64.
35134         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
35135         multiarch implementation.
35136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
35137         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
35138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
35139         file.
35140         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
35141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
35142         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
35143         multiarch isnan for PPC64.
35144         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
35145         multiarch isnanf for PPC64.
35147         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
35148         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
35149         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
35150         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
35151         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
35152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
35154         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
35155         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35156         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35157         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35159         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
35160         multiarch implementations.
35161         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35162         (__libc_ifunc_impl_list): Likewise.
35163         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
35164         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
35165         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
35166         multiarch stpcpy for PPC64.
35168         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
35169         multiarch implementations.
35170         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35171         (__libc_ifunc_impl_list): Likewise.
35172         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
35173         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
35174         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
35175         multiarch strcpy for PPC64.
35177         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
35178         redefine function name.
35179         (_wordcopy_fwd_dest_aligned): Likewise.
35180         (_wordcopy_bwd_aligned): Likewise.
35181         (_wordcopy_bwd_dest_aligned): Likewise.
35182         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
35183         multiarch implementations.
35184         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35185         (__libc_ifunc_impl_list): Likewise.
35186         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
35187         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
35188         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
35189         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
35190         multiarch wcscpy for PPC64.
35192         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
35193         multiarch implementations.
35194         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35195         (__libc_ifunc_impl_list): Likewise.
35196         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
35197         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
35198         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
35199         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
35200         multiarch wcscpy for PPC64.
35202         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
35203         multiarch implementations.
35204         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35205         (__libc_ifunc_impl_list): Likewise.
35206         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
35207         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
35208         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
35209         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
35210         multiarch wcsrchr for PPC64.
35212         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
35213         multiarch implementations.
35214         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35215         (__libc_ifunc_impl_list): Likewise.
35216         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
35217         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
35218         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
35219         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
35220         multiarch wcschr for PPC64.
35222         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
35223         multiarch implementations.
35224         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35225         (__libc_ifunc_impl_list): Likewise.
35226         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
35227         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
35228         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
35229         multiarch strchrnul for PPC64.
35231         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
35232         implementations.
35233         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35234         (__libc_ifunc_impl_list): Likewise.
35235         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
35236         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
35237         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
35238         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
35239         strchr for PPC64.
35241         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
35242         implementations.
35243         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35244         (__libc_ifunc_impl_list): Likewise.
35245         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
35246         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
35247         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
35248         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
35249         strncmp for PPC64.
35251         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
35252         multiarch implementations.
35253         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35254         (__libc_ifunc_impl_list): Likewise.
35255         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
35256         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
35257         strncasecmp for PPC64.
35258         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
35259         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
35260         multiarch strncasecmp_l for PPC64.
35262         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
35263         multiarch implementations.
35264         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35265         (__libc_ifunc_impl_list): Likewise.
35266         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
35267         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
35268         multiarch strcasecmp for PPC64.
35269         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
35270         file.
35271         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
35272         multiarch strcasecmp_l for PPC64.
35274         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
35275         implementations.
35276         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35277         (__libc_ifunc_impl_list): Likewise.
35278         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
35279         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
35280         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
35281         strnlen for PPC64.
35283         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
35284         implementations.
35285         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35286         (__libc_ifunc_impl_list): Likewise.
35287         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
35288         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
35289         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
35290         strlen for PPC64.
35292         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
35293         implementations.
35294         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35295         (__libc_ifunc_impl_list): Likewise.
35296         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
35297         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
35298         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
35299         rawmemrchr for PPC64.
35301         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
35302         implementation.
35303         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35304         (__libc_ifunc_impl_list): Likewise.
35305         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
35306         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
35307         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
35308         memrchr for PPC64.
35310         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
35311         implementation.
35312         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35313         (__libc_ifunc_impl_list): Likewise.
35314         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
35315         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
35316         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
35317         memchr for PPC64.
35319         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
35320         implementation.
35321         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35322         (__libc_ifunc_impl_list): Likewise.
35323         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
35324         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
35325         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
35326         mempcpy for PPC64.
35328         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
35329         avoid cretion of __bzero symbol.
35330         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
35331         Likewise.
35332         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
35333         Likewise.
35334         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
35335         Likewise.
35336         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
35337         multiarch implementations.
35338         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35339         (__libc_ifunc_impl_list): Likewise.
35340         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
35341         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
35342         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
35343         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
35344         bzero for PPC32.
35345         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
35346         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
35347         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
35348         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
35349         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
35350         memset for PPC64.
35351         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
35353         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
35354         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
35355         implementations.
35356         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35357         (__libc_ifunc_impl_list): Likewise.
35358         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
35359         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
35360         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
35361         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
35362         memcmp for PPC64.
35364         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
35365         multiarch for POWER/PPC64.
35366         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
35367         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
35368         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
35369         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
35370         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
35371         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
35372         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
35373         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
35374         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
35375         memcpy for PPC64.
35377         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
35378         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
35379         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
35380         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
35381         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
35382         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
35383         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
35384         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
35385         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
35386         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
35387         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
35388         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
35389         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
35390         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
35391         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
35392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
35393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
35394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
35395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
35396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
35397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
35398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
35400 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35402         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
35404 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35406         * benchtests/Makefile (bench): Add exp2 and log2.
35407         (LDLIBS-bench-exp2): Add -lm.
35408         (LDLIBS-bench-log2): Likewise.
35409         * benchtests/exp2-inputs: New inputs file.
35410         * benchtests/log2-inputs: New inputs file.
35411         * benchtests/log-inputs: Add new inputs.
35412         * benchtests/tan-inputs: Likewise.
35414 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35416         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
35417         definition...
35418         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
35419         (csloww2): ... from here.
35421         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
35422         instead of structures.
35423         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
35424         (POLYNOMIAL): Likewise.
35425         (TAYLOR_SLOW): Likewise.
35426         (__sin): Likewise.
35427         (__cos): Likewise.
35428         (slow1): Likewise.
35429         (slow2): Likewise.
35430         (sloww): Likewise.
35431         (sloww1); Likewise.
35432         (sloww2): Likewise.
35433         (bsloww1): Likewise.
35434         (bsloww2): Likewise.
35435         (cslow2): Likewise.
35436         (csloww): Likewise.
35437         (csloww1): Likewise.
35438         (csloww2): Likewise.
35440 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
35442         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
35443         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
35444         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
35445         * malloc/hooks.c (realloc_check): Likewise.
35447         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
35448         * malloc/arena.c: Remove PER_THREAD conditional.
35449         [!PER_THREAD]: Remove code.
35450         (ptmalloc_unlock_all2): Likewise.
35451         (ptmalloc_init): Likewise.
35452         (_int_new_arena): Likewise.
35453         (arena_get2): Likewise.
35454         * malloc/hooks.c (__malloc_get_state): Likewise.
35455         (__malloc_set_state): Likewise.
35456         * malloc/malloc.c: Likewise.
35457         (struct malloc_state): Likewise.
35458         (struct malloc_par): Likewise.
35459         (__libc_realloc): Likewise.
35460         (__libc_mallopt): Likewise.
35462 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35464         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
35466 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
35468         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
35469         macro to a function.  Check for zero perturb_byte.
35470         (_int_malloc, _int_free): Remove zero perturb_byte checks.
35472         * malloc/malloc.c: (force_reg): Remove.
35473         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
35474         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
35475         force_reg by atomic_forced_read.
35476         * malloc/arena.c (ptmalloc_init): Likewise.
35477         * malloc/hooks.c (top_check): Likewise.
35479 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35481         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35483 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
35485         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35487 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
35489         * math/auto-libm-test-in: Add tests of lgamma.
35490         * math/auto-libm-test-out: Regenerated.
35491         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
35492         (M_LOG_2_SQRT_PIl): Likewise.
35493         (lgamma_test_data): Use AUTO_TESTS_f_f1.
35494         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35495         mpfr_f_f1.
35496         (func_calc_desc): Add mpfr_f_f1 union field.
35497         (ARGS1): New macro.
35498         (ARGS2): Likewise.
35499         (ARGS3): Likewise.
35500         (ARGS4): Likewise.
35501         (RET1): Likewise.
35502         (RET2): Likewise.
35503         (CALC): Likewise.
35504         (FUNC): Likewise.
35505         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
35506         (test_functions): Add lgamma.
35507         (calc_generic_results): Handle mpfr_f_f1.
35508         * sysdeps/i386/fpu/libm-test-ulps: Update.
35509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35511 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35513         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
35514         __mpn_add_n for PowerPC64/POWER7.
35515         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
35516         __mpn_sub_n for PowerPC64/POWER7.
35518         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
35519         __mpn_addmul_1 for PowerPC64.
35520         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
35521         __mpn_submul_1 for PowerPC64.
35522         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
35523         for PowerPC64.
35524         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
35525         for PowerPC64.
35527 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
35529         [BZ #15089]
35530         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
35532 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35534         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
35536         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
35537         add multiarch folders.
35538         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
35539         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
35540         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
35541         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
35542         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
35543         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
35544         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
35545         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
35546         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
35547         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
35548         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
35549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
35550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
35551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
35552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
35553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
35554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
35556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
35557         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
35558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
35559         New file.
35560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
35561         New file.
35562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
35563         multiarch __ieee754_hypot for PowerPC32.
35564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
35565         New file.
35566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
35567         New file.
35568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
35569         multiarch __ieee754_hypotf for PowerPC32.
35571         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
35572         long_double_symbol only if __logbl is defined.
35573         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
35574         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
35575         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
35576         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
35577         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
35578         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
35579         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
35580         path for implementation.
35581         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
35582         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
35583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
35584         logb, and logbl multiarch implementations for PowerPC32.
35585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
35586         file.
35587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
35588         file.
35589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
35590         multiarch logb for PowerPC32.
35591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
35592         file.
35593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
35594         file.
35595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
35596         multiarch logbf for PowerPC32.
35597         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
35598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
35599         file.
35600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
35601         multiarch logbl implementation for PowerPC32.
35603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
35604         and modff multiarch implementations.
35605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
35606         New file.
35607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
35608         New file.
35609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
35610         multiarch modf for PowerPC32.
35611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
35612         New file.
35613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
35614         New file.
35615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
35616         multiarch modff for PowerPC32.
35618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
35619         and lrintf multiarch implementations.
35620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
35621         New file.
35622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
35623         New file.
35624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
35625         multiarch lrint for PowerPC32.
35626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
35627         file: multiarch lrintf for PowerPC32.
35629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
35630         and lroundf multiarch implementations.
35631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
35632         New file.
35633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
35634         New file.
35635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
35636         New file.
35637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
35638         multiarch lround for PowerPC32.
35639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
35640         file: multiarch lroundf for PowerPC32.
35642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
35643         copysign and copysignf multiarch implementations.
35644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
35645         New file.
35646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
35647         New file.
35648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
35649         file: multiarch copysign for PowerPC32.
35650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
35651         file: multiarch copysignf for PowerPC32.
35653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
35654         and truncf multiarch implementations.
35655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
35656         New file.
35657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
35658         file.
35659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
35660         multiarch trunc for PowerPC32.
35661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
35662         New file.
35663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
35664         New file.
35665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
35666         multiarch truncf for PowerPC32.
35668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
35669         and roundf multiarch implementations.
35670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
35671         New file.
35672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
35673         file.
35674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
35675         multiarch round for PowerPC32.
35676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
35677         New file.
35678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
35679         New file.
35680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
35681         multiarch roundf for PowerPC32.
35683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
35684         and floorf multiarch implementations.
35685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
35686         New file.
35687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
35688         file.
35689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
35690         multiarch floor for PowerPC32.
35691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
35692         New file.
35693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
35694         New file.
35695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
35696         multiarch floorf for PowerPC32.
35698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
35699         and ceilf multiarch implementations.
35700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
35701         New file.
35702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
35703         file.
35704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
35705         multiarch ceil for PowerPC32.
35706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
35707         New file.
35708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
35709         file.
35710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
35711         multiarch ceilf for PowerPC32.
35713         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
35714         is defined.
35715         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
35716         FINITEF is defined.
35717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
35718         and finitef multiarch implementations.
35719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
35720         New file.
35721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
35722         file.
35723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
35724         multiarch finite for PowerPC32.
35725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
35726         New file.
35727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
35728         file: multiarch finitef for PowerPC32.
35730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
35731         and isinff multiarch implementations.
35732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
35733         file.
35734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
35735         file.
35736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
35737         multiarch isinf for PowerPC32.
35738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
35739         New file.
35740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
35741         multiarch isinff for PowerPC32.
35743         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
35744         alias when __isnan is defined.
35745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
35746         and isnanf multiarch implementations.
35747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
35748         file.
35749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
35750         file.
35751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
35752         file.
35753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
35754         file.
35755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
35756         multiarch isnan for PowerPC32.
35757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
35758         New file.
35759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
35760         New file.
35761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
35762         multiarch isnanf for PowerPC32.
35764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
35765         and sqrtf multiarch implementations.
35766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
35767         file.
35768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
35769         file.
35770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
35771         multiarch sqrt for PowerPC32.
35772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
35773         file.
35774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
35775         file.
35776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
35777         multiarch sqrtf for PowerPC32.
35779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
35780         and llroundf multiarch implementations.
35781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
35782         New file.
35783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
35784         New file.
35785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
35786         New file.
35787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
35788         file: multiarch llround for PowerPC32.
35789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
35790         file: multiarch llroundf for PowerPC32.
35792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
35793         multiarch PowerPC32 fpu implementations.
35794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
35795         New file.
35796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
35797         New file.
35798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
35799         multiarch llrint for PowerPC32.
35800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
35801         New file.
35802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
35803         New file.
35804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
35805         file.
35807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
35809         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
35810         file.
35811         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
35812         file.
35813         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
35814         file.
35815         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
35816         multiarch wordcopy for PPC32.
35817         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
35818         wordcopy objects.
35819         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35820         (__libc_ifunc_impl_list): Likewise.
35821         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
35822         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
35823         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
35824         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
35825         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
35826         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
35828         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
35829         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
35830         file.
35831         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
35832         file.
35833         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
35834         file.
35835         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
35836         multiarch wcscpy for PPC32.
35837         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
35838         multiarch objects.
35839         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35840         (__libc_ifunc_impl_list): Likewise.
35841         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
35842         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
35843         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
35844         sysdeps/powerpc/power6/wcscpy.c.
35846         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
35847         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
35848         file.
35849         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
35850         file.
35851         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
35852         file.
35853         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
35854         multiarch wcsrchr for PPC32.
35855         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
35856         multiarch objects.
35857         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35858         (__libc_ifunc_impl_list): Likewise.
35859         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
35860         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
35861         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
35862         sysdeps/powerpc/power6/wcsrchr.c.
35864         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
35865         file.
35866         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
35867         file.
35868         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
35869         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
35870         multiarch wcschr for PPc32.
35871         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
35872         multiarch objects.
35873         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35874         (__libc_ifunc_impl_list): Likewise.
35875         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
35876         * sysdeps/powerpc/power6/wcschr.c: ... to here.
35877         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
35878         sysdeps/powerpc/power6/wcschr.c.
35880         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
35881         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
35882         file.
35883         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
35884         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
35885         file: multiarch strchr for PPC32.
35886         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
35887         multiarch objects.
35888         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35889         (__libc_ifunc_impl_list): Likewise.
35891         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
35892         name.
35893         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
35894         file.
35895         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
35896         file.
35897         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
35898         multiarch strchrnul for PPC32.
35899         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
35900         multiarch objects.
35901         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35902         (__libc_ifunc_impl_list): Likewise.
35904         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
35905         file.
35906         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
35907         multiarch strncasecmp for PPC32.
35908         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
35909         file.
35910         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
35911         multiarch strncasecmp_l for PPC32.
35912         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
35913         strncasecmp multiarch objects.
35914         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35915         (__libc_ifunc_impl_list): Likewise.
35917         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
35918         file.
35919         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
35920         multiarch strncasecmp for PPC32.
35921         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
35922         New file.
35923         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
35924         multiarch strcasecmp_l for PPC32.
35925         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
35926         multiarch objects.
35927         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35928         (__libc_ifunc_impl_list): Likewise.
35930         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
35931         file.
35932         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
35933         file.
35934         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
35935         multiarch strncmp for PPC32.
35936         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
35937         multiarch objects.
35938         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35939         (__libc_ifunc_impl_list): Likewise.
35941         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
35942         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
35943         file.
35944         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
35945         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
35946         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
35947         multiarch objects.
35948         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35949         (__libc_ifunc_impl_list): Likewise.
35951         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
35952         file.
35953         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
35954         file.
35955         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
35956         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
35957         multiarch objects.
35958         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35959         (__libc_ifunc_impl_list): Likewise.
35961         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
35962         file.
35963         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
35964         file.
35965         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
35966         multiarch rawmemchr for PPC32.
35967         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
35968         multiarch objects.
35969         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35970         (__libc_ifunc_impl_list): Likewise.
35972         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
35973         file.
35974         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
35975         file.
35976         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
35977         file: memrchr multiarch for PPC32.
35978         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
35979         multiarch objects.
35980         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35981         (__libc_ifunc_impl_list): Likewise.
35983         * string/memchr.c (__memchr): Using macro to redefine symbol name.
35984         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
35985         file.
35986         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
35987         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
35988         multiarch memchr for PPC32.
35989         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
35990         multiarch objects.
35991         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35992         (__libc_ifunc_impl_list): Likewise.
35994         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
35995         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
35996         file.
35997         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
35998         file.
35999         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
36000         file: multiarch mempcpy for PPC32.
36001         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
36002         multiarch objects.
36003         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36004         (__libc_ifunc_impl_list): Likewise.
36006         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
36007         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
36008         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
36009         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
36010         multiarch bzero for PPC32.
36011         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
36012         file.
36013         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
36014         file.
36015         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
36016         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
36017         file: multiarch memset for PPC32.
36018         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
36019         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
36020         memset multiarch objects.
36021         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36022         (__libc_ifunc_impl_list): Likewise.
36024         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
36025         file.
36026         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
36027         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
36028         memcmp for PPC32.
36029         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
36030         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
36031         multiarch objects.
36032         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36033         (__libc_ifunc_impl_list): Likewise.
36035         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
36036         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
36037         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
36038         file.
36039         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
36040         file.
36041         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
36042         file.
36043         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
36044         multiarch memcpy for PPC32.
36045         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
36046         multiarch objects.
36047         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36048         (__libc_ifunc_impl_list): Likewise.
36050         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
36051         support multiarch for POWER/PPC32.
36052         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
36053         Likewise.
36054         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
36055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
36056         Implies file to make multiarch folder appers before the fpu and
36057         default folder for power4 configuration.
36059 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
36061         * scripts/bench.pl: Append volatile keyword to type.
36063 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36065         * sysdeps/sh/sotruss-lib.c: New file.
36066         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
36068 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36070         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36072 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
36074         [BZ #6810]
36075         * math/w_tgamma.c: Include <errno.h>.
36076         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
36077         * math/w_tgammaf.c: Include <errno.h>.
36078         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
36079         * math/w_tgammal.c: Include <errno.h>.
36080         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
36081         * math/auto-libm-test-in: Do not allow missing errno on tgamma
36082         underflow.  Add more tgamma tests.
36083         * math/auto-libm-test-out: Regenerated.
36084         * sysdeps/i386/fpu/libm-test-ulps: Update.
36085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36087         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
36088         sin, sinh, tan, tanh, tgamma, y0 and y1.
36089         * math/auto-libm-test-out: Regenerated.
36090         * math/libm-test.inc (TEST_COND_x86_64): New macro.
36091         (TEST_COND_x86): Likewise.
36092         (M_E2l): Remove macro.
36093         (M_E3l): Likewise.
36094         (M_2_SQRT_PIl): Likewise.
36095         (M_SQRT_PIl): Likewise.
36096         (M_1_DIV_El): Likewise.
36097         (log_test_data): Use AUTO_TESTS_f_f.
36098         (log10_test_data): Likewise.
36099         (log1p_test_data): Likewise.
36100         (log2_test_data): Likewise.
36101         (sin_test_data): Likewise.
36102         (sin_tonearest_test_data): Likewise.
36103         (sin_towardzero_test_data): Likewise.
36104         (sin_downward_test_data): Likewise.
36105         (sin_upward_test_data): Likewise.
36106         (sinh_test_data): Likewise.
36107         (sinh_tonearest_test_data): Likewise.
36108         (sinh_towardzero_test_data): Likewise.
36109         (sinh_downward_test_data): Likewise.
36110         (sinh_upward_test_data): Likewise.
36111         (tan_test_data): Likewise.
36112         (tan_tonearest_test_data): Likewise.
36113         (tan_towardzero_test_data): Likewise.
36114         (tan_downward_test_data): Likewise.
36115         (tan_upward_test_data): Likewise.
36116         (tanh_test_data): Likewise.
36117         (tgamma_test_data): Likewise.
36118         (y0_test_data): Likewise.
36119         (y1_test_data): Likewise.
36120         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
36121         (special_real_inputs): Add pi/4.
36122         * sysdeps/i386/fpu/libm-test-ulps: Update.
36123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36125 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36127         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
36128         "longjmp_target" static probes.
36129         (__longjmp): Rename to __longjmp_symbol.
36130         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36131         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
36132         on which longjmp to generate.
36133         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
36134         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
36135         probe.
36136         (__sigsetjmp): Rename to __sigsetjmp_symbol.
36137         (__sigjmp_save): Rename to __sigjmp_save_symbol.
36138         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
36139         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
36140         and __sigjmp_save_symbol based on which sigsetjmp to generated.
36141         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
36142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
36143         __longjmp_symbol based on which __longjmp to generate.
36144         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
36145         probe.
36146         (setjmp): Rename to setjmp_symbol.
36147         (__sigsetjmp): Rename to __sigsetjmp_symbol.
36148         (_setjmp): Rename to _setjmp_symbol.
36149         (__sigsetjmp): Rename to __sigsetjmp_symbol.
36150         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
36151         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
36152         which setjmp to generate.
36153         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
36154         "longjmp_target" static probes.
36156 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
36158         * benchtests/README: Add note about output arguments.
36159         * benchtests/bench-sincos.c: Remove file.
36160         * benchtests/sincos-inputs: New file.
36161         * scripts/bench.pl: Identify output arguments and define
36162         static variables for them.
36164         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
36166         [BZ #15941]
36167         * Makefile (INSTALL): Add install-plain.texi as the primary
36168         dependency.
36169         * manual/install-plain.texi: New file.
36170         * manual/install.texi: Include node directive only for
36171         non-plaintext output.
36173 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
36175         * stdlib/longlong.h: Update from GCC.
36177         [BZ #6807]
36178         [BZ #15901]
36179         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
36180         * math/w_j0f.c (y0f): Likewise.
36181         * math/w_j0l.c (__y0l): Likewise.
36182         * math/w_j1.c (y1): Likewise.
36183         * math/w_j1f.c (y1f): Likewise.
36184         * math/w_j1l.c (__y1l): Likewise
36185         * math/w_jn.c (yn): Likewise.
36186         * math/w_jnf.c (ynf): Likewise.
36187         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
36188         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
36189         value for Bessel function domain errors outside _SVID_ mode.
36190         Adjust sign of return value for yn (negative integer, 0).
36191         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
36192         by zero in return for negative x and set sign appropriately for
36193         negative n.
36194         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
36195         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
36196         * math/libm-test.inc (y0_test_data): Add more tests and adjust
36197         expectations in error cases.
36198         (y1_test_data): Likewise.
36199         (yn_test_data): Likewise.
36200         * sysdeps/i386/fpu/libm-test-ulps: Update.
36201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36203 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36205         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
36206         "64" to "64-v1".  Add "64-v2".
36207         (abi-64-options): Rename to ...
36208         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
36209         (abi-64-condition): Rename to ...
36210         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
36211         (abi-64-ld-soname): Rename to ...
36212         (abi-64-v1-ld-soname): ... this.
36213         (abi-64-v2-options): Define.
36214         (abi-64-v2-condition): Likewise.
36215         (abi-64-v2-ld-soname): Likewise.
36216         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
36217         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
36218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
36219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
36220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
36222 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36223             Alan Modra  <amodra@gmail.com>
36225         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
36226         New versions for use with the ELFv2 ABI.
36227         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
36228         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
36229         declaration.
36230         (struct La_ppc64v2_retval): Likewise.
36231         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
36232         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
36233         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
36234         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
36235         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
36236         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
36237         Do not save or restore CR.
36238         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
36239         (_dl_profile_resolve): Do no save or restore CR.  Support extended
36240         return values for ELFv2 ABI.  Fix location of FPR return registers.
36241         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
36242         updated values for _CALL_ELF == 2.
36243         (La_regs, La_retval, int_retval): Likewise.
36245 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36247         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
36248         (FRAME_MIN_SIZE_PARM): Likewise.
36249         (FRAME_BACKCHAIN): Likewise.
36250         (FRAME_CR_SAVE): Likewise.
36251         (FRAME_LR_SAVE): Likewise.
36252         (FRAME_TOC_SAVE): Likewise.
36253         (FRAME_PARM_SAVE): Likewise.
36254         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
36255         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
36256         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
36257         (call_mcount_parm_offset): New macro.
36258         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
36259         (PROF): Use symbolic stack frame offsets.
36260         (TAIL_CALL_SYSCALL_ERROR): Likewise.
36261         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
36262         Redefine in terms of FRAME_MIN_SIZE.
36263         (_dl_runtime_resolve): Use symbolic stack frame offsets.
36264         (_dl_profile_resolve): Likewise.  Update comment.
36265         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
36266         symbols stack frame offsets.
36267         (__sigsetjmp): Likewise.
36268         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
36269         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
36270         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
36271         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
36273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
36274         (FRAME_BACKCHAIN): Remove.
36275         (FRAME_CR_SAVE): Likewise.
36276         (FRAME_LR_SAVE): Likewise.
36277         (FRAME_COMPILER_DW): Likewise.
36278         (FRAME_LINKER_DW): Likewise.
36279         (FRAME_TOC_SAVE): Likewise.
36280         (FRAME_PARM_SAVE): Likewise.
36281         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
36282         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
36283         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
36284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
36285         (CHECK_SP): Use symbolic stack frame offsets.
36286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
36287         zone" instead of caller's parameter save area for temp storage.
36288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
36289         Likewise.  Also, use symbolic stack frame offsets.
36290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
36291         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
36292         our own stack frame instead of the caller's.
36293         (__socket): Use symbolic stack frame offsets.
36295 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36296             Alan Modra  <amodra@gmail.com>
36298         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
36299         Define.
36300         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
36301         (PPC64_LOCAL_ENTRY_OFFSET): Define.
36302         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
36303         New function.
36304         (elf_machine_fixup_plt): Call it.
36305         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
36306         reloc arguments.
36307         (elf_machine_rela): Update call to elf_machine_plt_conflict.
36308         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
36309         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
36310         r2 before calling target.
36312 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36313             Alan Modra  <amodra@gmail.com>
36315         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
36316         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
36317         versions of macros to support ELFv2 ABI.
36318         (LOCALENTRY): New macro.
36319         (ENTRY, EALIGN): Use it.
36320         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
36321         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
36322         fall through into ENTRY entry point.
36323         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
36324         Only define if _CALL_ELF != 2.
36326         (elf_machine_matches_host): Verify ABI version matches.
36327         (RTLD_START): Use LOCALENTRY.
36328         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
36329         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
36330         (PLT_ENTRY_WORDS): New macro.
36331         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
36332         (elf_machine_runtime_setup): Support ELFv2 ABI.
36333         (elf_machine_fixup_plt): Likewise.
36334         (elf_machine_plt_conflict): Likewise.
36335         (resolve_ifunc): Likewise.
36336         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
36337         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
36338         Likewise.
36339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
36340         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
36341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36342         (makecontext): Support ELFv2 ABI.
36343         * elf/elf.h (EF_PPC64_ABI): Define.
36345 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36347         * sysdeps/powerpc/powerpc64/sysdep.h
36348         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
36349         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
36350         (ENTRY) [ASSEMBLER]: ... but instead here ...
36351         (EALIGN) [ASSEMBLER]: ... and here.
36352         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
36353         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
36354         (ENTRY_2) [!ASSEMBLER]: Use it.
36355         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
36356         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
36357         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
36358         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
36359         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
36360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
36361         Use PPC64_LOAD_FUNCPTR.
36363         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
36365 2013-12-04  Alan Modra  <amodra@gmail.com>
36367         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
36368         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
36369         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
36370         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
36372         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
36373         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
36374         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
36375         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
36376         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
36377         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
36379 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36382         (__makecontext): Fix incorrect CFI when backtracing out of
36383         context created via makecontext.
36384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
36385         (__setcontext): Fix incorrect CFI during switch to new context.
36386         (__novec_setcontext): Likewise.
36388 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
36390         [BZ #4772]
36391         * time/strptime_l.c (__strptime_internal): Allow modifiers
36392         in strptime.
36393         * time/tst-strptime.c (day_tests): Add testcase.
36395 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36397         * scripts/bench.pl: Skip over blank lines.
36399 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
36401         [BZ #926]
36402         * manual/time.texi (Calendar Time): Clarify what timezone functions
36403         use.
36405 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36407         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36409 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
36411         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
36412         implementation.
36413         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
36414         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
36415         * debug/memset_chk.c (__memset_chk): Likewise.
36416         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
36417         * debug/strncpy_chk.c: Likewise.
36419 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
36421         [BZ #15268]
36422         [BZ #15425]
36423         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
36424         (__ieee754_exp): For possibly underflowing results, check size of
36425         result and force underflow exception if required.
36426         * math/auto-libm-test-in: Add more tests of exp.
36427         * math/auto-libm-test-out: Regenerated.
36428         * sysdeps/i386/fpu/libm-test-ulps: Update.
36429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36431         [BZ #16283]
36432         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
36433         * math/w_exp2f.c (__exp2f): Likewise.
36434         * math/w_exp2l.c (__exp2l): Likewise.
36435         * math/auto-libm-test-in: Do not allow missing errno on exp2
36436         underflow.
36437         * math/auto-libm-test-out: Regenerated.
36439 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
36441         [BZ #16274]
36442         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
36443         handle filename validation.
36444         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
36445         (do_open): Delete.
36447 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
36449         [BZ #6786]
36450         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
36451         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
36452         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
36453         <float.h>.
36454         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
36455         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
36456         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
36457         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
36458         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
36459         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
36460         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
36461         * math/auto-libm-test-in: Don't allow missing errno from erfc.
36462         Add more erfc tests.
36463         * math/auto-libm-test-out: Regenerated.
36464         * sysdeps/i386/fpu/libm-test-ulps: Update.
36465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36467         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
36468         exp2, expm1, j0 and j1.
36469         * math/auto-libm-test-out: Regenerated.
36470         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
36471         (erfc_test_data): Likewise.
36472         (exp_test_data): Likewise.
36473         (exp_tonearest_test_data): Likewise.
36474         (exp_towardzero_test_data): Likewise.
36475         (exp_downward_test_data): Likewise.
36476         (exp_upward_test_data): Likewise.
36477         (exp10_test_data): Likewise.
36478         (exp2_test_data): Likewise.
36479         (expm1_test_data): Likewise.
36480         (j0_test_data): Likewise.
36481         (j1_test_data): Likewise.
36482         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
36483         (input_flag_type): Add flag_xfail_rounding.
36484         (input_flags): Add xfail-rounding.
36485         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
36486         (output_for_one_input_case): Handle flag_xfail_rounding.
36487         * sysdeps/i386/fpu/libm-test-ulps: Update.
36488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36490 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
36492         [BZ #16289]
36493         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
36494         division by 0.
36496 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
36498         [BZ #16195]
36499         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
36500         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
36501         (STAP_PROBE0): New macro.
36502         (STAP_PROBE1): Likewise.
36503         (STAP_PROBE2): Likewise.
36504         (STAP_PROBE3): Likewise.
36505         (STAP_PROBE4): Likewise.
36507 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
36509         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
36511 2013-12-02  Steve Ellcey  <sellcey@mips.com>
36513         * benchtests/Makefile (bench): Add sqrt.
36514         (LDLIBS-bench-sqrt): New.
36515         * benchtests/sqrt-input: New.
36517 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
36519         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
36520         (GAIH_EAI): Likewise.
36521         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
36522         (gaih_inet): Likewise.
36523         (getaddrinfo): Don't use GAIH_EAI.
36525         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
36526         (struct gaih): Remove definition.
36528 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36530         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
36531         Use HERRNOP directly.
36533 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36535         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36537 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
36539         * math/gen-auto-libm-tests.c (test_functions): Add more
36540         single-argument functions.
36541         (special_fill_pi_2): New function.
36542         (special_fill_minus_pi_2): Likewise.
36543         (special_fill_pi_6): Likewise.
36544         (special_fill_minus_pi_6): Likewise.
36545         (special_fill_pi_3): Likewise.
36546         (special_fill_2pi_3): Likewise.
36547         (special_fill_e): Likewise.
36548         (special_fill_1_e): Likewise.
36549         (special_fill_e_minus_1): Likewise.
36550         (special_real_inputs): Add more special inputs.
36551         (output_for_one_input_case): Do not require ERANGE on underflow to
36552         zero if round-to-nearest result does not underflow to zero, unless
36553         exact results required.
36554         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
36555         atan, atanh, cbrt, cos and cosh.
36556         * math/auto-libm-test-out: Regenerated.
36557         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
36558         (acos_tonearest_test_data): Likewise.
36559         (acos_towardzero_test_data): Likewise.
36560         (acos_downward_test_data): Likewise.
36561         (acos_upward_test_data): Likewise.
36562         (acosh_test_data): Likewise.
36563         (asin_test_data): Likewise.
36564         (asin_tonearest_test_data): Likewise.
36565         (asin_towardzero_test_data): Likewise.
36566         (asin_upward_test_data): Likewise.
36567         (asinh_test_data): Likewise.
36568         (atan_test_data): Likewise.
36569         (atanh_test_data): Likewise.
36570         (cbrt_test_data): Likewise.
36571         (cos_test_data): Likewise.
36572         (cos_tonearest_test_data): Likewise.
36573         (cos_towardzero_test_data): Likewise.
36574         (cos_downward_test_data): Likewise.
36575         (cos_upward_test_data): Likewise.
36576         (cosh_test_data): Likewise.
36577         (cosh_tonearest_test_data): Likewise.
36578         (cosh_towardzero_test_data): Likewise.
36579         (cosh_downward_test_data): Likewise.
36580         (cosh_upward_test_data): Likewise.
36581         * sysdeps/i386/fpu/libm-test-ulps: Update.
36582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36584 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
36586         [BZ #6787]
36587         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
36588         * math/w_exp10f.c (__exp10f): Likewise.
36589         * math/w_exp10l.c (__exp10l): Likewise.
36590         * math/libm-test.inc (exp10_test_data): Add more tests and expect
36591         errno settings in existing tests.
36593         [BZ #14032]
36594         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
36595         precision control set to double precision.
36596         * sysdeps/i386/fpu/w_sqrt.c: New file.
36597         * math/auto-libm-test-in: Add more tests.
36598         * math/auto-libm-test-out: Update.
36600         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
36601         (sqrt_test_tonearest): New function.
36602         (sqrt_towardzero_test_data): New variable.
36603         (sqrt_test_towardzero): New function.
36604         (sqrt_downward_test_data): New variable.
36605         (sqrt_test_downward): New function.
36606         (sqrt_upward_test_data): New variable.
36607         (sqrt_test_upward): New function.
36608         (main): Call the new functions.
36610         * math/gen-auto-libm-tests.c: New file.
36611         * math/auto-libm-test-in: Likewise.
36612         * math/auto-libm-test-out: New generated file.
36613         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
36614         variables.
36615         (%beautify): Add generated representations of zero.
36616         (top level): Set $auto_input and call parse_auto_input.
36617         (beautify): Remove trailing "f" from hex float constants.
36618         (parse_args): Handle XFAIL_TEST.
36619         (convert_condition): New function.
36620         (or_value): Likewise.
36621         (or_cond_value): Likewise.
36622         (generate_testfile): Handle AUTO_TESTS_* lines.
36623         (parse_auto_input): New function.
36624         * math/libm-test.inc (XFAIL_TEST): New macro.
36625         (ERRNO_UNCHANGED): Update value.
36626         (ERRNO_EDOM): Likewise.
36627         (ERRNO_ERANGE): Likewise.
36628         (IGNORE_RESULT): Likewise.
36629         (TEST_COND_flt_32): New macro.
36630         (TEST_COND_dbl_64): Likewise.
36631         (TEST_COND_ldbl_96_intel): Likewise.
36632         (TEST_COND_ldbl_96_m68k): Likewise.
36633         (TEST_COND_ldbl_128): Likewise.
36634         (TEST_COND_ldbl_128ibm): Likewise.
36635         (TEST_COND_long32): Likewise.
36636         (TEST_COND_long64): Likewise.
36637         (TEST_COND_before_rounding): Likewise.
36638         (TEST_COND_after_rounding): Likewise.
36639         (enable_test): Handle XFAIL_TEST flag.
36640         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
36641         with finite results.
36642         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
36643         auto-libm-test-out.
36645 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36646             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36648         [BZ #16214]
36649         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
36650         __tls_get_addr_internal instead of __tls_get_offset in order to
36651         avoid GOT pointer dependency.  Make rtld export
36652         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
36653         __tls_get_addr since we are a __tls_get_offset platform.
36654         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
36655         GOT pointer being set up before.
36656         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
36658 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
36660         * manual/math.texi (Errors in Math Functions): Document accuracy
36661         goals.
36663         [BZ #15004]
36664         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
36665         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
36666         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36667         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36668         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36669         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36670         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36671         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
36672         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
36673         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36674         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36675         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36676         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36677         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36678         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36679         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
36681         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
36682         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
36683         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
36684         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
36685         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
36686         Likewise.
36687         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
36688         Likewise.
36689         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
36690         Likewise.
36691         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
36692         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
36693         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
36694         atomic-feupdateenv and flt-rounds.
36695         * sysdeps/powerpc/nofpu/Versions (libc): Add
36696         __atomic_feholdexcept, __atomic_feclearexcept,
36697         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
36698         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
36699         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
36700         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
36701         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
36702         here.
36703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
36704         Update.
36706         * manual/arith.texi (FP Exceptions): Document that exceptions may
36707         not be raised when matherr is used.
36708         (Math Error Reporting): Document overflow in directed rounding
36709         modes.  Document that errno may not be set when finite values are
36710         returned on overflow.  Document intent to set errno on underflow
36711         only for underflow to zero.
36713         [BZ #16271]
36714         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
36715         round-to-nearest then adjust result for other rounding modes.
36716         * include/fenv.h (fegetround): Use libm_hidden_proto.
36717         * math/fegetround.c (fegetround): Use libm_hidden_def.
36718         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
36719         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
36720         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
36721         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
36722         Likewise.
36723         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
36724         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
36725         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
36726         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
36728 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36730         [BZ #16077]
36731         * nss/Versions (libnss_files): Add
36732         _nss_files_gethostbyname3_r.
36733         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
36734         New function.
36735         (HOST_DB_LOOKUP): Remove macro.
36736         (_nss_files_gethostbyname_r): Implement function without the
36737         HOST_DB_LOOKUP macro.
36738         (_nss_files_gethostbyname2_r): Likewise.
36740 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
36742         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
36744 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
36746         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
36747         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
36748         warning.
36750 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36752         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
36753         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
36754         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
36755         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
36756         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
36757         __fe_nomask_env_priv and attribute_hidden.
36758         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
36759         (libc_feupdateenv_test_ppc): Likewise.
36760         (libc_feresetround_ppc): Likewise.
36761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36762         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
36763         compat_symbol macro.
36764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36765         (__fe_nomask_env): Likewise.
36766         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
36768 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
36770         * string/Makefile: Remove ifunc tests.
36771         * string/test-string.h: Define TEST_IFUNC.
36772         * string/test-bcopy-ifunc.c: Remove.
36773         * string/test-bzero-ifunc.c: Likewise.
36774         * string/test-memccpy-ifunc.c: Likewise.
36775         * string/test-memchr-ifunc.c: Likewise.
36776         * string/test-memcmp-ifunc.c: Likewise.
36777         * string/test-memcpy-ifunc.c: Likewise.
36778         * string/test-memmem-ifunc.c: Likewise.
36779         * string/test-memmove-ifunc.c: Likewise.
36780         * string/test-mempcpy-ifunc.c: Likewise.
36781         * string/test-memrchr-ifunc.c: Likewise.
36782         * string/test-memset-ifunc.c: Likewise.
36783         * string/test-rawmemchr-ifunc.c: Likewise.
36784         * string/test-stpcpy-ifunc.c: Likewise.
36785         * string/test-stpncpy-ifunc.c: Likewise.
36786         * string/test-strcasecmp-ifunc.c: Likewise.
36787         * string/test-strcasestr-ifunc.c: Likewise.
36788         * string/test-strcat-ifunc.c: Likewise.
36789         * string/test-strchr-ifunc.c: Likewise.
36790         * string/test-strchrnul-ifunc.c: Likewise.
36791         * string/test-strcmp-ifunc.c: Likewise.
36792         * string/test-strcpy-ifunc.c: Likewise.
36793         * string/test-strcspn-ifunc.c: Likewise.
36794         * string/test-strlen-ifunc.c: Likewise.
36795         * string/test-strncasecmp-ifunc.c: Likewise.
36796         * string/test-strncat-ifunc.c: Likewise.
36797         * string/test-strncmp-ifunc.c: Likewise.
36798         * string/test-strncpy-ifunc.c: Likewise.
36799         * string/test-strnlen-ifunc.c: Likewise.
36800         * string/test-strpbrk-ifunc.c: Likewise.
36801         * string/test-strrchr-ifunc.c: Likewise.
36802         * string/test-strspn-ifunc.c: Likewise.
36803         * string/test-strstr-ifunc.c: Likewise.
36805 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
36807         * benchtests/Makefile: Remove ifunc tests.
36808         * benchtests/bench-string.h: Define TEST_IFUNC.
36809         * benchtests/bench-bcopy-ifunc.c: Remove.
36810         * benchtests/bench-bzero-ifunc.c: Likewise.
36811         * benchtests/bench-memccpy-ifunc.c: Likewise.
36812         * benchtests/bench-memchr-ifunc.c: Likewise.
36813         * benchtests/bench-memcmp-ifunc.c: Likewise.
36814         * benchtests/bench-memcpy-ifunc.c: Likewise.
36815         * benchtests/bench-memmem-ifunc.c: Likewise.
36816         * benchtests/bench-memmove-ifunc.c: Likewise.
36817         * benchtests/bench-mempcpy-ifunc.c: Likewise.
36818         * benchtests/bench-memrchr-ifunc.c: Likewise.
36819         * benchtests/bench-memset-ifunc.c: Likewise.
36820         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
36821         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
36822         * benchtests/bench-stpcpy-ifunc.c: Likewise.
36823         * benchtests/bench-stpncpy-ifunc.c: Likewise.
36824         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
36825         * benchtests/bench-strcasestr-ifunc.c: Likewise.
36826         * benchtests/bench-strcat-ifunc.c: Likewise.
36827         * benchtests/bench-strchr-ifunc.c: Likewise.
36828         * benchtests/bench-strchrnul-ifunc.c: Likewise.
36829         * benchtests/bench-strcmp-ifunc.c: Likewise.
36830         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
36831         * benchtests/bench-strcpy-ifunc.c: Likewise.
36832         * benchtests/bench-strcspn-ifunc.c: Likewise.
36833         * benchtests/bench-strlen-ifunc.c: Likewise.
36834         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
36835         * benchtests/bench-strncat-ifunc.c: Likewise.
36836         * benchtests/bench-strncmp-ifunc.c: Likewise.
36837         * benchtests/bench-strncpy-ifunc.c: Likewise.
36838         * benchtests/bench-strnlen-ifunc.c: Likewise.
36839         * benchtests/bench-strpbrk-ifunc.c: Likewise.
36840         * benchtests/bench-strrchr-ifunc.c: Likewise.
36841         * benchtests/bench-strsep-ifunc.c: Likewise.
36842         * benchtests/bench-strspn-ifunc.c: Likewise.
36843         * benchtests/bench-strstr-ifunc.c: Likewise.
36845 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
36847         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
36849 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
36851         * resolv/netdb.h: Use __glibc_reserved instead __unused.
36852         * rt/aio.h: Likewise.
36853         * sysdeps/gnu/bits/utmp.h: Likewise.
36854         * sysdeps/gnu/bits/utmpx.h: Likewise.
36855         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
36856         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
36857         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
36858         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
36859         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
36860         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
36861         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
36862         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
36863         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
36864         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
36865         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
36866         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
36867         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
36868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
36869         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
36870         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
36871         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
36872         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
36873         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
36874         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
36875         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
36876         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
36877         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
36878         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36879         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
36880         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36881         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
36882         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
36883         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
36884         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
36885         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
36886         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
36887         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
36888         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
36889         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
36890         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
36891         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
36892         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
36893         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
36894         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
36895         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
36896         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
36898 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
36900         [BZ #16245]
36901         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
36902         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
36904 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
36906         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
36907         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
36908         Likewise.
36910 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36912         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
36913         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
36914         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
36915         (__fesetround): Remove define.
36916         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
36917         rounding and exceptions handling.
36918         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
36919         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
36920         (__fe_nomask_env): Likewise.
36921         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
36922         __fegetround instead of fegetround.
36923         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
36924         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
36926 2013-11-21  Roland McGrath  <roland@hack.frob.com>
36928         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
36929         it's there.
36931         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
36933 2013-11-21  Meador Inge  <meadori@codesourcery.com>
36935         [BZ #11157]
36936         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
36937         (encrypt_r): Likewise.
36938         * malloc/obstack.h (obstack_free): Likewise.
36939         * posix/unistd.h (encrypt): Likewise.
36941 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
36943         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
36944         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
36945         DL_CALL_DT_FINI() that call the functions directly.
36946         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
36947         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
36948         * elf/dl-fini.c: Likewise.
36950 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
36952         * malloc/hooks.c (memalign_check): Add alignment rounding.
36953         * malloc/malloc.c (_mid_memalign): New function.
36954         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
36955         Implement by calling _mid_memalign.
36956         * manual/probes.texi (Memory Allocation Probes): Remove
36957         memory_valloc_retry and memory_pvalloc_retry.
36959 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
36961         * locale/programs/locarchive.c (open_archive): Add const
36962         qualifier to ARCHIVEFNAME and copy default fname to
36963         DEFAULT_FNAME.
36965         [BZ #15601]
36966         * libio/tst-widetext.input: Rename Oriya to Odia.
36967         * locale/iso-639.def: Likewise.
36969         * manual/probes.texi (Mathematical Function Probes): Add
36970         documentation for sin, cos, asin and acos probes.
36971         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
36972         (__sin32): Add slowasin probe.
36973         (__cos32): Add slowacos probe.
36974         (__mpsin): Add slowsin probe.
36975         (__mpcos): Add slowcos probe.
36977 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
36979         [BZ #15483]
36980         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
36981         thread-local __sim_exceptions_thread and global
36982         __sim_exceptions_global.
36983         (__sim_disabled_exceptions): Change to thread-local
36984         __sim_disabled_exceptions_thread and global
36985         __sim_disabled_exceptions_global.
36986         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
36987         and global __sim_round_mode_global.
36988         (__simulate_exceptions): Use thread-local floating-point state and
36989         set global state from it as needed.
36990         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
36991         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
36992         __sim_round_mode_thread.
36993         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
36994         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
36995         and global __sim_exceptions_global.
36996         (__sim_disabled_exceptions): Change to thread-local
36997         __sim_disabled_exceptions_thread and global
36998         __sim_disabled_exceptions_global.
36999         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
37000         and global __sim_round_mode_global.
37001         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
37002         (SIM_SET_GLOBAL): Likewise.
37003         * sysdeps/powerpc/soft-fp/sfp-machine.h
37004         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
37005         __sim_round_mode_thread.
37006         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
37007         __sim_disabled_exceptions_thread.
37008         (__sim_exceptions): Change to __sim_exceptions_thread.
37009         (__sim_disabled_exceptions): Change to
37010         __sim_disabled_exceptions_thread.
37011         (__sim_round_mode): Change to __sim_round_mode_thread.
37012         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
37013         thread-local floating-point state and set global state from it as
37014         needed.
37015         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
37016         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
37017         (__sim_disabled_exceptions): Remove extern declaration.
37018         (feenableexcept): Use thread-local floating-point state and set
37019         global state from it as needed.
37020         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
37021         extern declaration.
37022         (__sim_disabled_exceptions): Likewise.
37023         (__sim_round_mode): Likewise.
37024         (__fegetenv): Use thread-local floating-point state.
37025         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
37026         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
37027         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
37028         floating-point state and set global state from it as needed.
37029         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
37030         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
37031         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
37032         Likewise.
37033         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
37034         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
37035         Likewise.
37036         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
37037         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
37038         Use __sim_round_mode_thread.
37039         * math/test-fenv-tls.c: New file.
37040         * math/Makefile (tests): Add test-fenv-tls.
37041         ($(objpfx)test-fenv-tls): Depend on
37042         $(common-objpfx)nptl/libpthread.so.
37044 2013-11-19  Andreas Schwab  <schwab@suse.de>
37046         * locale/programs/locale.c (show_info): Decode wordarray elements.
37047         * locale/categories.def (LC_MONETARY): Add element for
37048         _NL_MONETARY_CRNCYSTR.
37049         * locale/C-monetary.c (conversion_rate): New variable.
37050         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
37051         element.
37053 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
37055         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
37056         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
37058 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
37060         * elf/Makefile (tst-auxv): New test.
37061         * elf/tst-auxv.c: New
37062         * elf/rtld.c (dl_main): Adjust AT_EXECFN
37064 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
37066         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
37067         (hidden_proto): Caller changed.
37068         (hidden_tls_proto): New macro.
37069         (libc_hidden_tls_proto): Likewise.
37070         (rtld_hidden_tls_proto): Likewise.
37071         (libm_hidden_tls_proto): Likewise.
37072         (libresolv_hidden_tls_proto): Likewise.
37073         (librt_hidden_tls_proto): Likewise.
37074         (libdl_hidden_tls_proto): Likewise.
37075         (libnss_files_hidden_tls_proto): Likewise.
37076         (libnsl_hidden_tls_proto): Likewise.
37077         (libnss_nisplus_hidden_tls_proto): Likewise.
37078         (libutil_hidden_tls_proto): Likewise.
37080 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
37082         [BZ #10253]
37083         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
37084         (decompose_rpath): Defer expansion to fillin_rpath.
37085         (_dl_init_paths): Pass linkmap to fillin_rpath.
37087 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
37089         * benchtests/Makefile: Add strsep.
37090         * benchtests/bench-strsep.c: New file: strsep benchtest.
37091         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
37093 2013-11-18  Andreas Schwab  <schwab@suse.de>
37095         * locale/programs/locale.c (show_info) [case byte]: Check for
37096         '\377' instead of '\177'.
37097         * locale/C-monetary.c (not_available): Always use "\377".
37098         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
37099         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
37100         detect unavailable sign_posn locale elements.
37101         * locale/localeconv.c (__localeconv): For grouping and
37102         mon_grouping handle "\177" and "\377" like no grouping.
37103         (INT_ELEM): New macro.  Use it to set all numeric members.
37104         * locale/programs/ld-monetary.c (monetary_read)
37105         <tok_mon_grouping>: Normalize single -1 to the empty string.
37106         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
37107         Likewise.
37109 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
37111         [BZ #16055]
37112         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
37113         when we match (nil).
37114         * stdio-common/tst-sscanf.c (struct test): Add testcase.
37116 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
37118         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
37119         (NO_TEST_INLINE): Update value.
37120         (ERRNO_UNCHANGED): Likewise.
37121         (ERRNO_EDOM): Likewise.
37122         (ERRNO_ERANGE): Likewise.
37123         (IGNORE_RESULT): Likewise.
37124         (check_float_internal): Check signs of NaN results if
37125         TEST_NAN_SIGN used.
37126         (check_complex): Pass TEST_NAN_SIGN flag through to second
37127         check_float_internal call.
37128         (copysign_test_data): Add tests with quiet NaNs as second
37129         argument.  Use TEST_NAN_SIGN.
37130         (fabs_test_data): Add test of negative quiet NaN argument.  Use
37131         TEST_NAN_SIGN.
37132         (signbit_test_data): Add tests of quiet NaN argument.
37133         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
37135         * math/gen-libm-test.pl (show_exceptions): Take extra argument
37136         $ignore_result.
37137         (parse_args): Handle function results specified as IGNORE.
37138         * math/libm-test.inc (IGNORE_RESULT): New macro.
37139         (check_float_internal): Do not check numerical result if flag
37140         IGNORE_RESULT set.
37141         (check_complex): Pass through IGNORE_RESULT to second
37142         check_float_internal call.
37143         (check_int): Do not check numerical result if flag IGNORE_RESULT
37144         set.
37145         (check_long): Likewise.
37146         (check_bool): Likewise.
37147         (check_longlong): Likewise.
37148         (lrint_test_data): Add tests of infinite and NaN arguments.
37149         (lrint_tonearest_test_data): Likewise.
37150         (lrint_towardzero_test_data): Likewise.
37151         (lrint_downward_test_data): Likewise.
37152         (lrint_upward_test_data): Likewise.
37153         (llrint_test_data): Likewise.
37154         (llrint_tonearest_test_data): Likewise.
37155         (llrint_towardzero_test_data): Likewise.
37156         (llrint_downward_test_data): Likewise.
37157         (llrint_upward_test_data): Likewise.
37158         (lround_test_data): Likewise.
37159         (llround_test_data): Likewise.
37161         * math/libm-test.inc (NO_TEST_INLINE): New macro.
37162         (ERRNO_UNCHANGED): Update value.
37163         (ERRNO_EDOM): Likewise.
37164         (ERRNO_ERANGE): Likewise.
37165         (NO_TEST_INLINE_FLOAT): New macro.
37166         (NO_TEST_INLINE_DOUBLE): Likewise.
37167         (enable_test): New function.
37168         (RUN_TEST_f_f): Check enable_test before running test.
37169         (RUN_TEST_2_f): Likewise.
37170         (RUN_TEST_fff_f): Likewise.
37171         (RUN_TEST_c_f): Likewise.
37172         (RUN_TEST_f_f1): Likewise.
37173         (RUN_TEST_fF_f1): Likewise.
37174         (RUN_TEST_fI_f1): Likewise.
37175         (RUN_TEST_ffI_f1): Likewise.
37176         (RUN_TEST_c_c): Likewise.
37177         (RUN_TEST_cc_c): Likewise.
37178         (RUN_TEST_f_i): Likewise.
37179         (RUN_TEST_f_i_tg): Likewise.
37180         (RUN_TEST_ff_i_tg): Likewise.
37181         (RUN_TEST_f_b): Likewise.
37182         (RUN_TEST_f_b_tg): Likewise.
37183         (RUN_TEST_f_l): Likewise.
37184         (RUN_TEST_f_L): Likewise.
37185         (RUN_TEST_fFF_11): Likewise.
37186         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
37187         conditionals.
37188         (cosh_test_data): Likewise.
37189         (exp_test_data): Likewise.
37190         (expm1_test_data): Likewise.
37191         (hypot_test_data): Likewise.
37192         (pow_test_data): Likewise.
37193         (sinh_test_data): Likewise.
37194         (tanh_test_data): Likewise.
37195         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
37196         flags argument.
37198         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
37199         tests with quiet NaN input and output.
37200         (acosh_test_data): Likewise.
37201         (asin_test_data): Likewise.
37202         (asinh_test_data): Likewise.
37203         (atan_test_data): Likewise.
37204         (atanh_test_data): Likewise.
37205         (atan2_test_data): Likewise.
37206         (cbrt_test_data): Likewise.
37207         (cos_test_data): Likewise.
37208         (cosh_test_data): Likewise.
37209         (erf_test_data): Likewise.
37210         (erfc_test_data): Likewise.
37211         (exp_test_data): Likewise.
37212         (exp10_test_data): Likewise.
37213         (exp2_test_data): Likewise.
37214         (expm1_test_data): Likewise.
37215         (hypot_test_data): Likewise.
37216         (j0_test_data): Likewise.
37217         (j1_test_data): Likewise.
37218         (jn_test_data): Likewise.
37219         (lgamma_test_data): Likewise.
37220         (log_test_data): Likewise.
37221         (log10_test_data): Likewise.
37222         (log1p_test_data): Likewise.
37223         (log2_test_data): Likewise.
37224         (pow_test_data): Likewise.
37225         (scalb_test_data): Likewise.
37226         (sin_test_data): Likewise.
37227         (sincos_test_data): Likewise.
37228         (sinh_test_data): Likewise.
37229         (tan_test_data): Likewise.
37230         (tanh_test_data): Likewise.
37231         (tgamma_test_data): Likewise.
37232         (y0_test_data): Likewise.
37233         (y1_test_data): Likewise.
37234         (yn_test_data): Likewise.
37236         [BZ #16167]
37237         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
37238         argument being NaN and avoid computations with second argument in
37239         that case.
37240         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37241         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
37242         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37244 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
37246         * locale/iso-639.def: Add Chitwani Tharu (the).
37248 2013-11-14  Andreas Schwab  <schwab@suse.de>
37250         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
37251         word instead of empty string.
37253 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37256         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
37257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37258         (__fe_nomask_env): Likewise.
37260 2013-11-13  Steve Ellcey  <sellcey@mips.com>
37262         * benchtests/bench-timing.h: Include time.h.
37264 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
37266         [BZ #15997]
37267         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
37268         to 3.4.0 for x32.
37269         * sysdeps/unix/sysv/linux/configure: Regenerated.
37271 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
37273         [BZ #16151]
37274         * stdlib/strtod_l.c (round_and_return): Do not consider
37275         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
37276         exponent one less than half the least subnormal exponent.
37277         * stdlib/test-strtod-round-data: Add more tests.
37278         * stdlib/tst-strtod-round.c (tests): Regenerated.
37280 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37282         [BZ #14143]
37283         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
37284         (__fe_mask_env): Likewise.
37285         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
37286         libm_hidden_proto and add function prototype.
37287         (__fe_mask_env): Add function prototype.
37288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37289         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
37290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
37291         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
37292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37293         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
37295 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37297         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
37298         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
37300 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37302         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
37303         of htab_find_slot().
37305 2013-11-11  David S. Miller  <davem@davemloft.net>
37307         [BZ #16150]
37308         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
37309         symbol in the non-vis3 case in static builds.
37310         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
37311         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
37312         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
37313         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
37315 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
37317         [BZ #387]
37318         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
37319         it is empty.
37321 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37323         * benchtests/Makefile: Add bench-strtod.
37324         * benchtests/bench-strtod.c: New file: strtod benchtest
37326 2013-11-11  Andreas Schwab  <schwab@suse.de>
37328         [BZ #16153]
37329         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
37330         terminating NUL in key length.
37332 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37334         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
37335         Add artificial ODP entry for vDSO symbol for PPC64.
37336         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
37337         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
37339 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
37341         [BZ #15374]
37342         * nss/getent.c (services_keys): Recognize services starting with digit.
37344 2013-11-06  David S. Miller  <davem@davemloft.net>
37346         [BZ #15985]
37347         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
37348         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
37350 2013-11-06  Will Newton  <will.newton@linaro.org>
37352         * manual/memory.texi (Malloc Examples): Remove register
37353         keyword from examples.
37355 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
37357         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
37359 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
37361         [BZ #6981]
37362         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
37363         depending on [__GCC_IEC_559 > 0].
37364         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
37365         depending on [__GCC_IEC_559_COMPLEX > 0].
37367 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
37369         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
37370         to iso-639.def.
37372 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
37374         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
37376 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
37378         [BZ #16112]
37379         * malloc/malloc (malloc_info): Do not handle first bin as
37380         special case.
37382 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
37384         * locale/iso-639.def: Add Central Nahuatl (nhn).
37386 2013-11-01  Bruno Haible  <bruno@clisp.org>
37388         [BZ #7003]
37389         * manual/math.texi (BSD Random): Specify range upper bound as
37390         in POSIX.
37392 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
37394         * locale/iso-639.def: Add Meadow Mari (mhr).
37396 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
37398         [BZ #14752], [BZ #15763]
37399         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
37400         Validate name.
37401         * rt/tst_shm.c: Add test for escaping directory.
37403 2013-10-31  Andreas Schwab  <schwab@suse.de>
37405         [BZ #15917]
37406         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
37407         followed by 'x' as part of digit sequence.
37408         * stdio-common/tst-sscanf.c (double_tests2): New tests.
37410 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
37412         [BZ #16037]
37413         * configure.ac: allow GNU Make 4.0 and greater.
37414         * configure: Regenerated.
37416 2013-10-30  Will Newton  <will.newton@linaro.org>
37418         [BZ #16038]
37419         * malloc/hooks.c (memalign_check): Limit alignment to the
37420         maximum representable power of two.
37421         * malloc/malloc.c (__libc_memalign): Likewise.
37422         * malloc/tst-memalign.c (do_test): Add test for very
37423         large alignment values.
37424         * malloc/tst-posix_memalign.c (do_test): Likewise.
37426 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
37428         [BZ #11087]
37429         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
37430         (munmap_chunk): Likewise.
37431         (mremap_chunk): Likewise.
37433 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
37435         [BZ #15799]
37436         * stdlib/div.c (div): Remove obsolete code.
37437         * stdlib/ldiv.c (ldiv): Likewise.
37438         * stdlib/lldiv.c (lldiv): Likewise.
37440 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37442         [BZ #16071]
37443         * nss/nss_files/files-XXX.c (get_contents_ret): New
37444         enumerator.
37445         (get_contents): New function.
37446         (internal_getent): Use it.  Expand size of LINEBUFLEN.
37448 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
37450         * configure.in: Moved to ...
37451         * configure.ac: ... here. Change reference to configure.in
37452         to configure.ac.
37453         * sysdeps/arm/preconfigure.ac: ... here.
37454         configure.in to configure.ac.
37455         * sysdeps/gnu/configure.in: Moved to ...
37456         * sysdeps/gnu/configure.ac: ... here.
37457         * sysdeps/i386/configure.in: Moved to ...
37458         * sysdeps/i386/configure.ac: ... here.
37459         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
37460         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
37461         * sysdeps/mach/configure.in: Moved to ...
37462         * sysdeps/mach/configure.ac: ... here.
37463         * sysdeps/mach/hurd/configure.in: Moved to ...
37464         * sysdeps/mach/hurd/configure.ac: ... here.
37465         * sysdeps/powerpc/configure.in: Moved to ...
37466         * sysdeps/powerpc/configure.ac: ... here.
37467         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
37468         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
37469         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
37470         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
37471         * sysdeps/s390/s390-32/configure.in: Moved to ...
37472         * sysdeps/s390/s390-32/configure.ac: ... here.
37473         * sysdeps/s390/s390-64/configure.in: Moved to ...
37474         * sysdeps/s390/s390-64/configure.ac: ... here.
37475         * sysdeps/sh/configure.in: Moved to ...
37476         * sysdeps/sh/configure.ac: ... here.
37477         * sysdeps/sparc/configure.in: Moved to ...
37478         * sysdeps/sparc/configure.ac: ... here.
37479         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
37480         * sysdeps/unix/sysv/linux/configure.ac: ... here.
37481         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
37482         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
37483         * sysdeps/x86_64/configure.in: Moved to ...
37484         * sysdeps/x86_64/configure.ac: ... here.
37485         * sysdeps/x86_64/preconfigure.in: Moved to ...
37486         * sysdeps/x86_64/preconfigure.ac: ... here.
37487         * aclocal.m4: Change reference to configure.in to configure.ac.
37488         * config.h.in: Likewise.
37489         * manual/install.texi: Likewise.
37490         * manual/maint.texi: Likewise.
37491         * Makefile: Likewise.
37492         * malloc/Makefile: Likewise.
37493         * nscd/Makefile: Likewise.
37494         * Makeconfig: Change reference to configure.in and
37495         preconfigure.in to configure.ac and preconfigure.ac
37496         respectively.
37497         * INSTALL: Regenerated.
37498         * configure: Likewise.
37499         * sysdeps/gnu/configure: Likewise.
37500         * sysdeps/i386/configure: Likewise.
37501         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
37502         * sysdeps/mach/configure: Likewise.
37503         * sysdeps/mach/hurd/configure: Likewise.
37504         * sysdeps/powerpc/configure: Likewise.
37505         * sysdeps/powerpc/powerpc32/configure: Likewise.
37506         * sysdeps/powerpc/powerpc64/configure: Likewise.
37507         * sysdeps/s390/s390-32/configure: Likewise.
37508         * sysdeps/s390/s390-64/configure: Likewise.
37509         * sysdeps/sh/configure: Likewise.
37510         * sysdeps/sparc/configure: Likewise.
37511         * sysdeps/unix/sysv/linux/configure: Likewise.
37512         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
37513         * sysdeps/x86_64/configure: Likewise.
37514         * sysdeps/x86_64/preconfigure: Likewise.
37516 2013-10-29  Andreas Schwab  <schwab@suse.de>
37518         * stdio-common/Makefile (tst-swscanf-ENV): Define.
37520 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37522         * benchtests/pow-inputs: Add new inputs.
37524         * benchtests/exp-inputs: Add new inputs.
37526         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
37527         conditional check for return value.
37528         (__cos32): Likewise.
37530 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37532         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
37533         to provide a boost for large inputs with word alignment.
37534         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
37535         implementation based on optimized PPC64 strcpy.
37536         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
37537         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
37538         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
37539         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
37541 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
37543         [BZ #2801]
37544         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
37546 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
37548         [BZ #14876]
37549         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
37550         * time/tst-strptime.c (day_tests): Add testcase.
37552 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
37554         [BZ #14029]
37555         * manual/pattern.texi: Acknowledge that fnmatch can fail.
37557 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
37559         [BZ #16074]
37560         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
37561         MAP_FAILED on error.
37563 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37565         [BZ #16072]
37566         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
37567         heap for large requests.
37569 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
37571         [BZ #9954]
37572         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
37573         result if the result has no associated interface.
37574         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
37575         interface for all 127.X.Y.Z addresses.
37577 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
37579         * locale/iso-639.def: Add Ligurian (lij)
37581 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
37583         [BZ #15825]
37584         * sunrpc/rpc_main.c: Document rpcgen -5.
37586 2013-10-19  Michael Stahl  <mstahl@redhat.com>
37588         * elf/rtld.c (do_preload): Print the reason why preloading failed.
37590 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
37592         [BZ #10278]
37593         * posix/glob.c: Match only directories when trailing slash is present.
37594         * posix/tst-gnuglob.c (my_opendir): Do not open files.
37595         (main): Add testcase.
37597 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
37599         [BZ #15670]
37600         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
37602 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
37604         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
37605         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
37606         AUTH_DES and cindex for FIPS 140-2.
37607         (DES Encryption): Add cindex FIPS 46-3.
37609         * locale/locarchive.h (struct locarhandle): Add fname.
37610         * locale/programs/localedef.c (main): Pass ARGV[remaining]
37611         if an optional argument was specified to --list-archive,
37612         otherwise NULL.
37613         * locale/programs/locarchive.c (show_archive_content): Take new
37614         argument fname and pass it via ah.fname to open_archive.
37615         * locale/programs/localedef.h: Update decl.
37616         (open_archive): If AH->fname is non-null, open that file
37617         rather than the default file name, and don't ignore ENOENT.
37618         (create_archive): Set AH.fname to NULL.
37619         (delete_locales_from_archive): Likewise.
37620         (add_locales_to_archive): Likewise.
37621         * locale/programs/locfile.c (write_all_categories): Likewise.
37623 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
37624             Aldy Hernandez  <aldyh@redhat.com>
37626         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
37627         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
37628         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
37629         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
37630         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
37631         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
37632         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
37633         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
37634         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
37635         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
37636         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
37637         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
37638         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
37639         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
37640         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
37641         Likewise.
37642         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
37643         Likewise.
37644         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
37645         Likewise.
37646         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
37647         Likewise.
37648         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
37649         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
37650         Likewise.
37651         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
37652         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
37653         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
37654         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
37655         Likewise.
37656         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
37657         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
37658         * sysdeps/powerpc/preconfigure: Likewise.
37659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
37660         Likewise.
37661         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
37662         Replace contents of file by #include of <fenv_libc.h>.
37663         * sysdeps/powerpc/soft-fp/sfp-machine.h
37664         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
37665         and <sys/prctl.h>.
37666         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
37667         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
37668         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
37669         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
37670         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
37671         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
37672         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
37673         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
37674         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
37675         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
37676         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
37677         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
37678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
37679         Allow copysignl PLT reference to be missing.
37681 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
37682             Joseph Myers  <joseph@codesourcery.com
37684         [BZ #15948]
37685         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
37686         single character.
37687         (add_to_tablewc): Assert sequence of wide characters is nonempty.
37689 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37691         * elf/tst-tls-dlinfo.c: Don't include tls.h.
37692         * elf/tst-tls1.c: Likewise.
37693         * elf/tst-tls10.h: Likewise.
37694         * elf/tst-tls14.c: Likewise.
37695         * elf/tst-tls2.c: Likewise.
37696         * elf/tst-tls3.c: Likewise.
37697         * elf/tst-tls4.c: Likewise.
37698         * elf/tst-tls5.c: Likewise.
37699         * elf/tst-tls6.c: Likewise.
37700         * elf/tst-tls7.c: Likewise.
37701         * elf/tst-tls8.c: Likewise.
37702         * elf/tst-tls9.c: Likewise.
37703         * elf/tst-tlsmod1.c: Likewise.
37704         * elf/tst-tlsmod13.c: Likewise.
37705         * elf/tst-tlsmod13a.c: Likewise.
37706         * elf/tst-tlsmod14a.c: Likewise.
37707         * elf/tst-tlsmod16a.c: Likewise.
37708         * elf/tst-tlsmod16b.c: Likewise.
37709         * elf/tst-tlsmod2.c: Likewise.
37710         * elf/tst-tlsmod3.c: Likewise.
37711         * elf/tst-tlsmod4.c: Likewise.
37712         * elf/tst-tlsmod5.c: Likewise.
37713         * elf/tst-tlsmod6.c: Likewise.
37715 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
37717         [BZ #12486]
37718         * malloc/malloc.c: remove checks for statistics.
37720 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
37722         [BZ #15277]
37723         * inet/inet_net.c (inet_network): Detect additional invalid strings.
37724         * inet/tst-network.c: Add testcase.
37726 2013-10-17  Andreas Schwab  <schwab@suse.de>
37728         [BZ #15218]
37729         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
37730         to determine canonical name.
37732 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
37734         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
37735         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
37736         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37737         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37738         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37739         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37740         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37741         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37742         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
37743         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37744         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37745         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37746         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37747         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37748         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37749         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37750         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37751         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37752         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
37753         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37754         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37755         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37756         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37757         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
37758         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
37759         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37760         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37761         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
37762         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37763         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
37764         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37765         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37766         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
37767         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37768         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37769         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37770         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37771         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37772         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37773         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37774         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37775         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
37776         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
37777         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37778         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
37779         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37780         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37781         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37782         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37783         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37784         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37785         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37786         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37787         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37788         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37789         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37790         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37791         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37793 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
37795         [BZ #16041]
37796         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
37797         make result into a quiet NaN.
37799 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
37801         * soft-fp/adddf3.c: Fix horizontal whitespace.
37802         * soft-fp/addsf3.c: Likewise.
37803         * soft-fp/addtf3.c: Likewise.
37804         * soft-fp/divdf3.c: Likewise.
37805         * soft-fp/divsf3.c: Likewise.
37806         * soft-fp/divtf3.c: Likewise.
37807         * soft-fp/double.h: Likewise.
37808         * soft-fp/eqdf2.c: Likewise.
37809         * soft-fp/eqsf2.c: Likewise.
37810         * soft-fp/eqtf2.c: Likewise.
37811         * soft-fp/extenddftf2.c: Likewise.
37812         * soft-fp/extended.h: Likewise.
37813         * soft-fp/extendsfdf2.c: Likewise.
37814         * soft-fp/extendsftf2.c: Likewise.
37815         * soft-fp/extendxftf2.c: Likewise.
37816         * soft-fp/fixdfdi.c: Likewise.
37817         * soft-fp/fixdfsi.c: Likewise.
37818         * soft-fp/fixdfti.c: Likewise.
37819         * soft-fp/fixsfdi.c: Likewise.
37820         * soft-fp/fixsfsi.c: Likewise.
37821         * soft-fp/fixsfti.c: Likewise.
37822         * soft-fp/fixtfdi.c: Likewise.
37823         * soft-fp/fixtfsi.c: Likewise.
37824         * soft-fp/fixtfti.c: Likewise.
37825         * soft-fp/fixunsdfdi.c: Likewise.
37826         * soft-fp/fixunsdfsi.c: Likewise.
37827         * soft-fp/fixunsdfti.c: Likewise.
37828         * soft-fp/fixunssfdi.c: Likewise.
37829         * soft-fp/fixunssfsi.c: Likewise.
37830         * soft-fp/fixunssfti.c: Likewise.
37831         * soft-fp/fixunstfdi.c: Likewise.
37832         * soft-fp/fixunstfsi.c: Likewise.
37833         * soft-fp/fixunstfti.c: Likewise.
37834         * soft-fp/floatdidf.c: Likewise.
37835         * soft-fp/floatdisf.c: Likewise.
37836         * soft-fp/floatditf.c: Likewise.
37837         * soft-fp/floatsidf.c: Likewise.
37838         * soft-fp/floatsisf.c: Likewise.
37839         * soft-fp/floatsitf.c: Likewise.
37840         * soft-fp/floattidf.c: Likewise.
37841         * soft-fp/floattisf.c: Likewise.
37842         * soft-fp/floattitf.c: Likewise.
37843         * soft-fp/floatundidf.c: Likewise.
37844         * soft-fp/floatundisf.c: Likewise.
37845         * soft-fp/floatunditf.c: Likewise.
37846         * soft-fp/floatunsidf.c: Likewise.
37847         * soft-fp/floatunsisf.c: Likewise.
37848         * soft-fp/floatunsitf.c: Likewise.
37849         * soft-fp/floatuntidf.c: Likewise.
37850         * soft-fp/floatuntisf.c: Likewise.
37851         * soft-fp/floatuntitf.c: Likewise.
37852         * soft-fp/fmadf4.c: Likewise.
37853         * soft-fp/fmasf4.c: Likewise.
37854         * soft-fp/fmatf4.c: Likewise.
37855         * soft-fp/gedf2.c: Likewise.
37856         * soft-fp/gesf2.c: Likewise.
37857         * soft-fp/getf2.c: Likewise.
37858         * soft-fp/ledf2.c: Likewise.
37859         * soft-fp/lesf2.c: Likewise.
37860         * soft-fp/letf2.c: Likewise.
37861         * soft-fp/muldf3.c: Likewise.
37862         * soft-fp/mulsf3.c: Likewise.
37863         * soft-fp/multf3.c: Likewise.
37864         * soft-fp/negdf2.c: Likewise.
37865         * soft-fp/negsf2.c: Likewise.
37866         * soft-fp/negtf2.c: Likewise.
37867         * soft-fp/op-1.h: Likewise.
37868         * soft-fp/op-2.h: Likewise.
37869         * soft-fp/op-4.h: Likewise.
37870         * soft-fp/op-8.h: Likewise.
37871         * soft-fp/op-common.h: Likewise.
37872         * soft-fp/quad.h: Likewise.
37873         * soft-fp/single.h: Likewise.
37874         * soft-fp/soft-fp.h: Likewise.
37875         * soft-fp/sqrtdf2.c: Likewise.
37876         * soft-fp/sqrtsf2.c: Likewise.
37877         * soft-fp/sqrttf2.c: Likewise.
37878         * soft-fp/subdf3.c: Likewise.
37879         * soft-fp/subsf3.c: Likewise.
37880         * soft-fp/subtf3.c: Likewise.
37881         * soft-fp/truncdfsf2.c: Likewise.
37882         * soft-fp/trunctfdf2.c: Likewise.
37883         * soft-fp/trunctfsf2.c: Likewise.
37884         * soft-fp/trunctfxf2.c: Likewise.
37885         * soft-fp/unorddf2.c: Likewise.
37886         * soft-fp/unordsf2.c: Likewise.
37887         * soft-fp/unordtf2.c: Likewise.
37889 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
37891         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
37892         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
37894 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
37896         * elf/dl-libc.c: Clear initfini list after freeing.
37898 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
37900         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
37901         * soft-fp/addsf3.c: Likewise.
37902         * soft-fp/addtf3.c: Likewise.
37903         * soft-fp/divdf3.c: Likewise.
37904         * soft-fp/divsf3.c: Likewise.
37905         * soft-fp/divtf3.c: Likewise.
37906         * soft-fp/double.h: Likewise.
37907         * soft-fp/eqdf2.c: Likewise.
37908         * soft-fp/eqsf2.c: Likewise.
37909         * soft-fp/eqtf2.c: Likewise.
37910         * soft-fp/extenddftf2.c: Likewise.
37911         * soft-fp/extended.h: Likewise.
37912         * soft-fp/extendsfdf2.c: Likewise.
37913         * soft-fp/extendsftf2.c: Likewise.
37914         * soft-fp/extendxftf2.c: Likewise.
37915         * soft-fp/fixdfdi.c: Likewise.
37916         * soft-fp/fixdfsi.c: Likewise.
37917         * soft-fp/fixdfti.c: Likewise.
37918         * soft-fp/fixsfdi.c: Likewise.
37919         * soft-fp/fixsfsi.c: Likewise.
37920         * soft-fp/fixsfti.c: Likewise.
37921         * soft-fp/fixtfdi.c: Likewise.
37922         * soft-fp/fixtfsi.c: Likewise.
37923         * soft-fp/fixtfti.c: Likewise.
37924         * soft-fp/fixunsdfdi.c: Likewise.
37925         * soft-fp/fixunsdfsi.c: Likewise.
37926         * soft-fp/fixunsdfti.c: Likewise.
37927         * soft-fp/fixunssfdi.c: Likewise.
37928         * soft-fp/fixunssfsi.c: Likewise.
37929         * soft-fp/fixunssfti.c: Likewise.
37930         * soft-fp/fixunstfdi.c: Likewise.
37931         * soft-fp/fixunstfsi.c: Likewise.
37932         * soft-fp/fixunstfti.c: Likewise.
37933         * soft-fp/floatdidf.c: Likewise.
37934         * soft-fp/floatdisf.c: Likewise.
37935         * soft-fp/floatditf.c: Likewise.
37936         * soft-fp/floatsidf.c: Likewise.
37937         * soft-fp/floatsisf.c: Likewise.
37938         * soft-fp/floatsitf.c: Likewise.
37939         * soft-fp/floattidf.c: Likewise.
37940         * soft-fp/floattisf.c: Likewise.
37941         * soft-fp/floattitf.c: Likewise.
37942         * soft-fp/floatundidf.c: Likewise.
37943         * soft-fp/floatundisf.c: Likewise.
37944         * soft-fp/floatunsidf.c: Likewise.
37945         * soft-fp/floatunsisf.c: Likewise.
37946         * soft-fp/floatuntidf.c: Likewise.
37947         * soft-fp/floatuntisf.c: Likewise.
37948         * soft-fp/floatuntitf.c: Likewise.
37949         * soft-fp/fmadf4.c: Likewise.
37950         * soft-fp/fmasf4.c: Likewise.
37951         * soft-fp/fmatf4.c: Likewise.
37952         * soft-fp/gedf2.c: Likewise.
37953         * soft-fp/gesf2.c: Likewise.
37954         * soft-fp/getf2.c: Likewise.
37955         * soft-fp/ledf2.c: Likewise.
37956         * soft-fp/lesf2.c: Likewise.
37957         * soft-fp/letf2.c: Likewise.
37958         * soft-fp/muldf3.c: Likewise.
37959         * soft-fp/mulsf3.c: Likewise.
37960         * soft-fp/multf3.c: Likewise.
37961         * soft-fp/negdf2.c: Likewise.
37962         * soft-fp/negsf2.c: Likewise.
37963         * soft-fp/negtf2.c: Likewise.
37964         * soft-fp/op-1.h: Likewise.
37965         * soft-fp/op-2.h: Likewise.
37966         * soft-fp/op-4.h: Likewise.
37967         * soft-fp/op-8.h: Likewise.
37968         * soft-fp/op-common.h: Likewise.
37969         * soft-fp/quad.h: Likewise.
37970         * soft-fp/single.h: Likewise.
37971         * soft-fp/soft-fp.h: Likewise.
37972         * soft-fp/sqrtdf2.c: Likewise.
37973         * soft-fp/sqrtsf2.c: Likewise.
37974         * soft-fp/sqrttf2.c: Likewise.
37975         * soft-fp/subdf3.c: Likewise.
37976         * soft-fp/subsf3.c: Likewise.
37977         * soft-fp/subtf3.c: Likewise.
37978         * soft-fp/truncdfsf2.c: Likewise.
37979         * soft-fp/trunctfdf2.c: Likewise.
37980         * soft-fp/trunctfsf2.c: Likewise.
37981         * soft-fp/trunctfxf2.c: Likewise.
37982         * soft-fp/unorddf2.c: Likewise.
37983         * soft-fp/unordsf2.c: Likewise.
37984         * soft-fp/unordtf2.c: Likewise.
37986 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
37988         [BZ #15672]
37989         * misc/error.c (error_tail): Fix possible buffer overflow.
37991 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
37993         [BZ #13028]
37994         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
37995         address.
37997 2013-10-14  P. J. McDermott  <pj@pehjota.net>
37999         [BZ #832]
38000         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
38001         testing pipefail option.
38003 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
38005         * soft-fp/double.h: Indent preprocessor directives inside #if.
38006         * soft-fp/extended.h: Likewise.
38007         * soft-fp/op-2.h: Likewise.
38008         * soft-fp/op-4.h: Likewise.
38009         * soft-fp/op-common.h: Likewise.
38010         * soft-fp/quad.h: Likewise.
38011         * soft-fp/single.h: Likewise.
38012         * soft-fp/soft-fp.h: Likewise.
38014 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
38016         * iconv/iconv_prog.c: Fix typos.
38017         * stdio-common/psiginfo-data.h: Likewise.
38019 2013-10-12   Reuben Thomas <rrt@sc3d.org>
38021         [BZ #15764]
38022         * locale/setlocale.c: Fix typo.
38024 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
38026         [BZ #16036]
38027         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
38028         signaling NaN arguments.
38029         * soft-fp/unordsf2.c (__unordsf2): Likewise.
38030         * soft-fp/unordtf2.c (__unordtf2): Likewise.
38032         [BZ #14910]
38033         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
38034         unordered operands.
38035         * soft-fp/gesf2.c (__gesf2): Likewise.
38036         * soft-fp/getf2.c (__getf2): Likewise.
38037         * soft-fp/ledf2.c (__ledf2): Likewise.
38038         * soft-fp/lesf2.c (__lesf2): Likewise.
38039         * soft-fp/letf2.c (__letf2): Likewise.
38041         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
38042         * soft-fp/eqsf2.c (__eqsf2): Likewise.
38043         * soft-fp/eqtf2.c (__eqtf2): Likewise.
38044         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
38045         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
38046         * soft-fp/fixdfti.c (__fixdfti): Likewise.
38047         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
38048         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
38049         * soft-fp/fixsfti.c (__fixsfti): Likewise.
38050         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
38051         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
38052         * soft-fp/fixtfti.c (__fixtfti): Likewise.
38053         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
38054         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
38055         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
38056         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
38057         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
38058         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
38059         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
38060         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
38061         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
38062         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
38063         * soft-fp/floatdisf.c (__floatdisf): Likewise.
38064         * soft-fp/floatsisf.c (__floatsisf): Likewise.
38065         * soft-fp/floattidf.c (__floattidf): Likewise.
38066         * soft-fp/floattisf.c (__floattisf): Likewise.
38067         * soft-fp/floattitf.c (__floattitf): Likewise.
38068         * soft-fp/floatundidf.c (__floatundidf): Likewise.
38069         * soft-fp/floatundisf.c (__floatundisf): Likewise.
38070         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
38071         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
38072         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
38073         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
38074         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
38075         * soft-fp/gesf2.c (__gesf2): Likewise.
38076         * soft-fp/getf2.c (__getf2): Likewise.
38077         * soft-fp/ledf2.c (__ledf2): Likewise.
38078         * soft-fp/lesf2.c (__lesf2): Likewise.
38079         * soft-fp/letf2.c (__letf2): Likewise.
38081         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
38082         Undefine and redefine.
38083         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
38084         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
38085         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
38086         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
38087         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38088         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
38089         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38090         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
38091         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38092         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
38093         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38094         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
38095         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38096         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
38097         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38099         [BZ #16032]
38100         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
38101         without decrementing exponent if mantissa >= that for the
38102         denominator, not >.
38103         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
38104         denominator, not >.  Decrement exponent in < case instead of
38105         incrementing in >= case.
38106         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
38107         without decrementing exponent if mantissa >= that for the
38108         denominator, not >.
38110         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
38111         computing saturated result for unsigned overflow.
38113 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38114             Jeff Law  <law@redhat.com>
38116         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
38117         (atan2Mp): Add systemtap probe marker.
38118         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
38119         (__ieee754_log): Add systemtap probe marker.
38120         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
38121         (atanMp): Add systemtap probe marker.
38122         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
38123         (tanMp): Add systemtap probe marker.
38124         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
38125         (__slowexp): Add systemtap probe marker.
38126         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
38127         (__slowpow): Add systemtap probe marker.
38128         * manual/probes.texi: Document probes.
38130 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
38132         [BZ #15362]
38133         * libio/fileops.c (_IO_new_file_write): Return count of bytes
38134         written.
38135         (_IO_new_file_xsputn): Don't return EOF if nothing has been
38136         written.
38137         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
38138         written to buffer but not flushed.
38139         * libio/iofwrite_u.c:  Likewise.
38140         * libio/iopadn.c:  Return bytes returned even if EOF was
38141         encountered.
38142         * libio/iowpadn.c:  Likewise.
38143         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
38144         if _IO_padn does not write the whole buffer.
38145         [!COMPILE_WPRINTF] (PAD): Likewise.
38147 2013-10-10  David S. Miller  <davem@davemloft.net>
38149         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
38150         directory block.
38152 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
38154         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
38155         instead of FSF address.
38156         * soft-fp/fixdfti.c: Likewise.
38157         * soft-fp/fixsfti.c: Likewise.
38158         * soft-fp/fixtfti.c: Likewise.
38159         * soft-fp/fixunsdfti.c: Likewise.
38160         * soft-fp/fixunssfti.c: Likewise.
38161         * soft-fp/fixunstfti.c: Likewise.
38162         * soft-fp/floattidf.c: Likewise.
38163         * soft-fp/floattisf.c: Likewise.
38164         * soft-fp/floattitf.c: Likewise.
38165         * soft-fp/floatuntidf.c: Likewise.
38166         * soft-fp/floatuntisf.c: Likewise.
38167         * soft-fp/floatuntitf.c: Likewise.
38168         * soft-fp/trunctfxf2.c: Likewise.
38170         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
38171         * soft-fp/fixdfti.c: Likewise.
38172         * soft-fp/fixsfti.c: Likewise.
38173         * soft-fp/fixtfti.c: Likewise.
38174         * soft-fp/fixunsdfti.c: Likewise.
38175         * soft-fp/fixunssfti.c: Likewise.
38176         * soft-fp/fixunstfti.c: Likewise.
38177         * soft-fp/floattidf.c: Likewise.
38178         * soft-fp/floattisf.c: Likewise.
38179         * soft-fp/floattitf.c: Likewise.
38180         * soft-fp/floatuntidf.c: Likewise.
38181         * soft-fp/floatuntisf.c: Likewise.
38182         * soft-fp/floatuntitf.c: Likewise.
38183         * soft-fp/trunctfxf2.c: Likewise.
38185 2013-10-10  David S. Miller  <davem@davemloft.net>
38187         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38189 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
38191         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
38192         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
38193         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
38194         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
38195         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
38196         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
38197         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
38199         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
38200         for NaNs before doing comparisons on argument.
38201         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
38202         Likewise.
38204 2013-10-10  Will Newton  <will.newton@linaro.org>
38206         * malloc/hooks.c (memalign_check): Ensure the value of bytes
38207         passed to _int_memalign does not overflow.
38209 2013-10-10  Torvald Riegel  <triegel@redhat.com>
38211         * scripts/bench.pl: Add include-sources directive.
38212         * benchtests/README: Update documentation.
38214 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
38216         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
38217         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
38218         instead of FP_INIT_ROUNDMODE.
38219         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
38220         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
38222         [BZ #16034]
38223         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
38224         copy class of input value.
38225         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
38226         not handle exceptions.
38227         * soft-fp/negsf2.c (__negsf2): Likewise.
38228         * soft-fp/negtf2.c (__negtf2): Likewise.
38229         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
38231 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
38233         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
38234         semicolon.  From Linux kernel.
38236 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
38238         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
38240 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
38242         [BZ #156]
38243         * manual/socket.texi: Added statement about buffer
38244         for gethostbyname2_r.
38246 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
38248         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
38249         Use .p2align directive instead, throughout.
38250         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
38251         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
38252         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
38253         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38254         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38255         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
38256         * sysdeps/x86_64/strchr.S: Likewise.
38257         * sysdeps/x86_64/strrchr.S: Likewise.
38259 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
38261         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
38263         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
38265         * sysdeps/generic/math_private.h (__mpsin1): Remove
38266         declaration.
38267         (__mpcos1): Likewise.
38268         (__mpsin): New argument __range_reduce.
38269         (__mpcos): Likewise.
38270         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38271         (slow): Use __mpsin and __mpcos.
38272         (slow1): Likewise.
38273         (slow2): Likewise.
38274         (sloww): Likewise.
38275         (sloww1): Likewise.
38276         (sloww2): Likewise.
38277         (bsloww): Likewise.
38278         (bsloww1): Likewise.
38279         (bsloww2): Likewise.
38280         (cslow2): Likewise.
38281         (csloww): Likewise.
38282         (csloww1): Likewise.
38283         (csloww2): Likewise.
38284         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
38285         range_reduce.  Merge in __mpsin1.
38286         (__mpcos): Likewise.
38287         (__mpsin1): Remove.
38288         (__mpcos1): Likewise.
38290 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
38292         * locale/loadlocale.c (_nl_intern_locale_data): Use
38293         LOCFILE_ALIGNED_P.
38294         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
38295         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
38296         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
38297         obstack data is appropriately aligned.
38298         (obstack_int32_grow_fast): Likewise.
38299         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
38300         * locale/programs/locfile.c (add_locale_uint32): Likewise.
38301         (add_locale_uint32_array): Likewise.
38303 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
38305         * benchtests/Makefile: Remove ARGLIST and RET variables.
38306         ($(objpfx)bench-%.c): Pass only function name to the script.
38307         * benchtests/README: Update documentation.
38308         * benchtests/acos-inputs: Add new directives.
38309         * benchtests/acosh-inputs: Likewise.
38310         * benchtests/asin-inputs: Likewise.
38311         * benchtests/asinh-inputs: Likewise.
38312         * benchtests/atan-inputs: Likewise.
38313         * benchtests/atanh-inputs: Likewise.
38314         * benchtests/cos-inputs: Likewise.
38315         * benchtests/cosh-inputs: Likewise.
38316         * benchtests/exp-inputs: Likewise.
38317         * benchtests/log-inputs: Likewise.
38318         * benchtests/pow-inputs: Likewise.
38319         * benchtests/rint-inputs: Likewise.
38320         * benchtests/sin-inputs: Likewise.
38321         * benchtests/sinh-inputs: Likewise.
38322         * benchtests/tan-inputs: Likewise.
38323         * benchtests/tanh-inputs: Likewise.
38324         * scripts/bench.pl: Add support for new directives.
38326 2013-10-07  Alan Modra  <amodra@gmail.com>
38328         * README: Fix careless merge.
38330 2013-10-05  Alan Modra  <amodra@gmail.com>
38332         * NEWS: Mention powerpc64le support and bugs fixed.
38333         * README: Both big-endian and little-endian powerpc64 supported.
38335 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38337         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
38338         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
38339         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
38340         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
38342 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
38344         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
38345         match prototype.
38347 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
38349         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
38350         Move -mhard-float appending from
38351         ports/sysdeps/powerpc/powerpc32/Makefile.
38352         [$(with-fp) = yes] (ASFLAGS): Likewise.
38353         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
38354         * sysdeps/powerpc/nofpu: Move directory from
38355         ports/sysdeps/powerpc/nofpu.
38356         * sysdeps/powerpc/soft-fp: Move directory from
38357         ports/sysdeps/powerpc/soft-fp.
38358         * sysdeps/powerpc/powerpc32/405: Move directory from
38359         ports/sysdeps/powerpc/powerpc32/405.
38360         * sysdeps/powerpc/powerpc32/440: Move directory from
38361         ports/sysdeps/powerpc/powerpc32/440.
38362         * sysdeps/powerpc/powerpc32/464: Move directory from
38363         ports/sysdeps/powerpc/powerpc32/464.
38364         * sysdeps/powerpc/powerpc32/476: Move directory from
38365         ports/sysdeps/powerpc/powerpc32/476.
38366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
38367         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
38368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
38369         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
38370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
38371         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
38372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
38373         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
38374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
38375         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
38376         * README: Update for powerpc-*-linux-gnu software floating point
38377         support in libc.
38379         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
38380         case to powerpc/powerpc32*.
38381         * sysdeps/unix/sysv/linux/configure: Regenerated.
38383         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
38384         (_FPU_MASK_OM): Define as 0x04.
38385         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
38386         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
38387         0x00c10080.
38388         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
38389         0x0000003c.
38390         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
38392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
38393         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
38394         getcontext_e500.
38395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
38396         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
38397         setcontext_e500.
38398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
38399         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
38400         and setcontext_e500.
38402 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
38404         * locale/iso-3166.def: Update iso-1366.def and related occurrences
38406 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38408         * manual/threads.texi (Default Thread Attributes): Fix typo.
38410 2013-10-04  Will Newton  <will.newton@linaro.org>
38412         * malloc/Makefile: Add tst-memalign.
38413         * malloc/tst-memalign.c: New file.
38415         * malloc/tst-posix_memalign.c: Add comments.
38416         (do_test): Add comments and call free on all potentially
38417         allocated pointers. Add space after cast.
38419         * malloc/tst-pvalloc.c: Add comments.
38420         (do_test): Add comments and call free on all potentially
38421         allocated pointers. Remove duplicate check for NULL pointer.
38422         Add space after cast.
38424         * malloc/tst-valloc.c: Add comments.
38425         (do_test): Add comments and call free on all potentially
38426         allocated pointers. Remove duplicate check for NULL pointer.
38427         Add space after cast.
38429 2013-10-04  Alan Modra  <amodra@gmail.com>
38431         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
38432         Use stdint types in rather than __attribute__((mode())).
38433         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38435 2013-10-04  Alan Modra  <amodra@gmail.com>
38437         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
38438         Correct handling of unaligned relocs for little-endian.
38439         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38441 2013-10-04  Alan Modra  <amodra@gmail.com>
38443         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
38444         * configure: Regenerate.
38445         * nptl/shlib-versions: Powerpc*le starts at 2.18.
38446         * shlib-versions: Likewise.
38448 2013-10-04  Alan Modra  <amodra@gmail.com>
38450         * string/tester.c (test_memrchr): Increment reported test cycle.
38452 2013-10-04  Alan Modra  <amodra@gmail.com>
38454         * string/test-memcpy.c (do_one_test): When reporting errors, print
38455         string address and don't overrun end of string.
38457 2013-10-04  Alan Modra  <amodra@gmail.com>
38459         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
38460         insrdi.  Make better use of reg selection to speed exit slightly.
38461         Schedule entry path a little better.  Remove useless "are we done"
38462         checks on entry to main loop.  Handle wrapping around zero address.
38463         Correct main loop count.  Handle single left-over word from main
38464         loop inline rather than by using loop_small.  Remove extra word
38465         case in loop_small caused by wrong loop count.  Add little-endian
38466         support.
38467         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
38468         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
38469         cache hint.
38470         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
38471         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
38472         support.  Avoid rlwimi.
38473         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
38475 2013-10-04  Alan Modra  <amodra@gmail.com>
38477         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
38478         insrdi.  Formatting.
38479         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
38480         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
38481         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
38482         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
38483         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
38484         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
38486 2013-10-04  Alan Modra  <amodra@gmail.com>
38488         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
38489         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38490         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
38491         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
38492         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
38493         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
38494         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38495         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
38496         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
38497         use of regs.  Use power7 mtocrf.  Tidy function tails.
38499 2013-10-04  Alan Modra  <amodra@gmail.com>
38501         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
38502         Formatting.  Consistently use rXXX register defines or rN defines.
38503         Use early exit labels that avoid restoring unused non-volatile regs.
38504         Make cr field use more consistent with rWORDn compares.  Rename
38505         regs used as shift registers for unaligned loop, using rN defines
38506         for short lifetime/multiple use regs.
38507         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
38508         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
38509         addi 1,1,64 to pop stack frame.  Simplify return value code.
38510         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38512 2013-10-04  Alan Modra  <amodra@gmail.com>
38514         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
38515         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
38516         rather than rlwimi.
38517         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
38518         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
38519         little-endian support.  Correct typos.
38520         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
38521         rather than rlwimi.
38522         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
38523         in loop and entry code to keep "and." results.
38524         (strchr): Add little-endian support.  Comment.  Move cntlzd
38525         earlier in tail.
38526         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
38528 2013-10-04  Alan Modra  <amodra@gmail.com>
38530         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
38531         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
38532         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
38533         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
38535 2013-10-04  Alan Modra  <amodra@gmail.com>
38537         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
38538         (rTMP): Define as r11.
38539         (strcmp): Add little-endian support.  Optimise tail.
38540         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
38541         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
38542         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
38543         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38544         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
38545         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38546         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38548 2013-10-04  Alan Modra  <amodra@gmail.com>
38550         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
38551         little-endian support.  Remove unnecessary "are we done" tests.
38552         Handle "s" wrapping around zero and extremely large "size".
38553         Correct main loop count.  Handle single left-over word from main
38554         loop inline rather than by using small_loop.  Correct comments.
38555         Delete "zero" tail, use "end_max" instead.
38556         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
38558 2013-10-04  Alan Modra  <amodra@gmail.com>
38560         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
38561         support.  Don't branch over align.
38562         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
38563         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
38564         support.  Rearrange tmp reg use to suit.  Comment.
38565         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
38567 2013-10-04  Alan Modra  <amodra@gmail.com>
38569         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
38571 2013-10-04  Alan Modra  <amodra@gmail.com>
38573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
38574         conditional form of branch and link when obtaining pc.
38575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
38577 2013-10-04  Alan Modra  <amodra@gmail.com>
38579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
38580         HIWORD/LOWORD.
38581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
38582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
38584 2013-10-04  Alan Modra  <amodra@gmail.com>
38586         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
38587         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
38588         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
38589         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
38590         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
38591         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
38592         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
38593         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
38594         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
38595         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
38597 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
38598             Alistair Popple <alistair@ozlabs.au.ibm.com>
38599             Alan Modra <amodra@gmail.com>
38601         [BZ #15723]
38602         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
38603         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
38604         _dl_hwcap access for little-endian.
38605         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
38606         destroy vmx regs when saving unaligned.
38607         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
38608         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
38609         destroy vmx regs when saving unaligned.
38611 2013-10-04  Alan Modra  <amodra@gmail.com>
38613         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
38614         Don't use a union to pack hi/low value.
38616 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
38618         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
38619         for little-endian.
38620         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
38621         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
38622         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
38623         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
38624         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
38626 2013-10-04  Alan Modra  <amodra@gmail.com>
38628         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
38629         constants to usual value for .cst8 section, and remove redundant
38630         high address load.
38631         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
38632         constant for 0x1p52.  Load little-endian words of double from
38633         correct stack offsets.
38635 2013-10-04  Alan Modra  <amodra@gmail.com>
38637         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
38638         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
38639         words of double from correct stack offsets.
38640         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
38641         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
38642         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
38643         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
38644         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
38645         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
38646         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
38647         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
38648         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
38649         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
38650         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
38651         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
38652         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38653         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38654         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38655         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
38656         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
38658 2013-10-04  Alan Modra  <amodra@gmail.com>
38660         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
38661         64-bit int/double union.
38662         (_FPU_SETCW): Likewise.
38663         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
38664         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
38666 2013-10-04  Alan Modra  <amodra@gmail.com>
38668         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
38669         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
38671 2013-10-04  Alan Modra  <amodra@gmail.com>
38673         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
38674         use vector int constants.
38675         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
38677 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
38679         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
38680         array with long long.
38681         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
38682         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
38683         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
38684         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
38685         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
38686         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
38687         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
38688         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
38689         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
38690         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
38691         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
38692         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
38693         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
38695 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
38697         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
38698         (__signbit): Likewise.  Correct for little-endian.
38699         (__signbitl): Call __signbit.
38700         (lrint): Correct for little-endian.
38701         (lrintf): Call lrint.
38703 2013-10-04  Alan Modra  <amodra@gmail.com>
38705         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
38706         union 32-bit int array member with 64-bit int array.
38707         (t515, tm256): Double rather than long double.
38708         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
38710 2013-10-04  Alan Modra  <amodra@gmail.com>
38712         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
38713         Delete.
38714         (IEEE854_LONG_DOUBLE_BIAS): Delete.
38715         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
38716         version of math_ldbl.h.
38718 2013-10-04  Alan Modra  <amodra@gmail.com>
38720         [BZ #15734], [BZ #15735]
38721         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
38722         all uses of ieee875 long double macros and unions.  Simplify test
38723         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
38724         ldbl_extract_mantissa value for ix,iy exponents.  Properly
38725         normalize after ldbl_extract_mantissa, and don't add hidden bit
38726         already handled.  Don't treat low word of ieee854 mantissa like
38727         low word of IBM long double and mask off bit when testing for
38728         zero.
38729         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
38730         all uses of ieee875 long double macros and unions.  Simplify tests
38731         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
38732         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
38733         two1022, instead use their values.  Recognise that tests for large
38734         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
38735         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
38736         Rewrite all uses of ieee875 long double macros and unions.  Simplify
38737         test for 0.0L and nan.  Correct negation.
38738         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
38739         ieee875 long double macros and unions.  Correct output for large
38740         magnitude x.  Correct absolute value calculation.
38741         (__erfcl): Likewise.
38742         * math/libm-test.inc: Add tests for errors discovered in IBM long
38743         double versions of fmodl, remainderl, erfl and erfcl.
38745 2013-10-04  Alan Modra  <amodra@gmail.com>
38747         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
38748         all uses of ieee854 long double macros and unions.  Simplify tests
38749         for long doubles that are fully specified by the high double.
38750         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
38751         Likewise.
38752         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
38753         Remove dead code too.
38754         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
38755         (__ieee754_ynl): Likewise.
38756         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
38757         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
38758         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
38759         Remove dead code too.
38760         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
38761         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
38762         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
38763         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
38764         Simplify.
38765         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
38766         Simplify.
38767         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
38768         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
38769         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
38770         Comment on variable precision.
38771         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
38772         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38773         Likewise.
38774         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
38775         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
38776         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
38777         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
38778         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
38780 2013-10-04  Alan Modra  <amodra@gmail.com>
38782         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
38783         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
38784         all uses of ieee854 long double macros and unions.
38785         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
38786         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
38787         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
38788         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
38789         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
38790         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
38791         Likewise.
38792         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
38793         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38794         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
38795         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38796         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
38797         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
38798         Simplify sign and nan test too.
38799         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
38800         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
38801         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
38802         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
38803         Likewise.
38804         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
38805         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
38806         Likewise.
38807         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38808         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
38809         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
38810         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
38811         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
38812         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
38814 2013-10-04  Alan Modra  <amodra@gmail.com>
38816         * stdio-common/printf_size.c (__printf_size): Don't use
38817         union ieee854_long_double in fpnum union.
38818         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
38819         signbit macro to retrieve sign from long double.
38820         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
38821         retrieve sign from long double.
38822         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
38823         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
38824         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
38825         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
38826         * math/test-misc.c (main): Don't use union ieee854_long_double.
38828 2013-10-04  Alan Modra  <amodra@gmail.com>
38830         [BZ #15680]
38831         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
38832         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
38833         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
38834         calculation.  Remove unnecessary test for denormal exponent.
38835         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
38836         Correct handling of denormals.  Avoid undefined shift behaviour.
38837         Correct normalisation of low mantissa when low double is denormal.
38838         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
38839         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
38840         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
38841         Correct normalisation of low mantissa.  Test for overflow of high
38842         mantissa and normalise.
38843         (ldbl_nearbyint): Use more readable constant for two52.
38844         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
38845         (__mpn_construct_long_double): Fix test for overflow of high
38846         mantissa and correct normalisation.  Avoid undefined shift.
38848 2013-10-04  Alan Modra  <amodra@gmail.com>
38850         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
38851         (union ibm_extended_long_double): Define as an array of ieee754_double.
38852         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
38853         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
38854         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
38855         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
38856         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38857         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
38858         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
38859         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
38860         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
38861         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
38862         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
38864 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
38866         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
38867         page size instead of calling getpagesize.
38869         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
38870         (LOCFILE_ALIGN_MASK): Likewise.
38871         (LOCFILE_ALIGN_UP): Likewise.
38872         (LOCFILE_ALIGNED_P): Likewise.
38873         * locale/programs/ld-collate.c (collate_output): Use the new
38874         macros instead of __alignof__ (int32_t).
38875         * locale/weight.h (findidx): Likewise.
38877 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
38879         [BZ #431]
38880         * manual/string.texi: Fix strncat and wcsncat.
38882 2013-10-03  Brooks Moses  <bmoses@google.com>
38884         [BZ #15915]
38885         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
38886         * Makerules: ...here, and adjust associated comments.
38888 2013-10-02  Will Newton  <will.newton@linaro.org>
38890         * malloc/Makefile: Add tst-pvalloc.
38891         * malloc/tst-pvalloc.c: New file.
38893 2013-10-02  Will Newton  <will.newton@linaro.org>
38895         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
38896         improve test coverage.
38898 2013-10-02  Will Newton  <will.newton@linaro.org>
38900         * malloc/Makefile: Add tst-posix_memalign.
38901         * malloc/tst-posix_memalign.c: New file.
38903 2013-10-01  Eric Blake  <eblake@redhat.com>
38905         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
38906         Use __THROWNL rather than __THROW on static functions.
38908 2013-09-30  Petr Machata  <pmachata@redhat.com>
38910         * elf/elf.h (R_AARCH64_ABS16): New macro.
38911         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
38912         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
38913         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
38914         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
38915         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
38916         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
38917         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
38918         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
38919         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
38920         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
38921         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
38922         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
38923         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
38924         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
38925         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
38926         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
38927         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
38928         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
38929         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
38930         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
38931         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
38932         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
38933         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
38934         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
38935         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
38936         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
38937         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
38938         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
38939         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
38940         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
38941         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
38942         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
38943         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
38944         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
38945         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
38946         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
38947         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
38948         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
38949         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
38950         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
38951         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
38952         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
38953         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
38954         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
38955         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
38956         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
38957         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
38958         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
38959         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
38960         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
38961         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
38962         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
38963         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
38964         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
38965         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
38966         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
38967         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
38968         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
38969         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
38970         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
38971         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
38972         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
38973         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
38974         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
38975         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
38976         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
38977         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
38978         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
38979         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
38980         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
38981         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
38982         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
38983         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
38984         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
38985         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
38986         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
38987         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
38988         (R_AARCH64_TLSDESC_LDR): Likewise.
38989         (R_AARCH64_TLSDESC_ADD): Likewise.
38990         (R_AARCH64_TLSDESC_CALL): Likewise.
38992 2013-09-30  Andreas Schwab  <schwab@suse.de>
38994         [BZ #15048]
38995         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
38996         the nss database lookup.
38997         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38998         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
39000 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
39002         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
39004 2013-09-28  P. J. McDermott  <pj@pehjota.net>
39006         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
39007         ${Bash-specific parameter/pattern/string} parameter expansion.
39008         * sysdeps/unix/make-syscalls.sh: Likewise.
39010 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39012         * sysdeps/sh/stackguard-macros.h: New file.
39014 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
39016         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
39017         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
39018         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
39019         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
39020         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39021         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
39023 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39025         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
39026         Fix thread ID register.
39028 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
39030         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
39031         [POSIX || UNIX98]: Require rather than permitting all symbols from
39032         <time.h>.
39033         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
39034         element of struct sched_param.
39035         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
39036         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
39037         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
39038         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
39039         constant.
39041 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
39043         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
39044         argument calculation.
39046 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
39048         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
39049         Expect macro.
39050         [POSIX] (pthread_attr_t): Do not require type.
39051         [POSIX] (pthread_cond_t): Likewise.
39052         [POSIX] (pthread_condattr_t): Likewise.
39053         [POSIX] (pthread_key_t): Likewise.
39054         [POSIX] (pthread_mutex_t): Likewise.
39055         [POSIX] (pthread_mutexattr_t): Likewise.
39056         [POSIX] (pthread_once_t): Likewise.
39057         [POSIX] (pthread_t): Likewise.
39058         [POSIX-based standards] (pthread_atfork): Expect function.
39060 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
39061             Richard Sandiford  <richard@codesourcery.com>
39063         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
39064         (swap_endianness_p): New extern variable.
39065         (set_big_endian): New inline function.
39066         (maybe_swap_uint32): Likewise.
39067         (maybe_swap_uint32_array): Likewise.
39068         (maybe_swap_uint32_obstack): Likewise.
39069         * locale/programs/locfile.c: Include <stdbool.h>.
39070         (swap_endianness_p): New variable.
39071         (add_locale_uint32): Call maybe_swap_uint32.
39072         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
39073         (write_locale_data): Call maybe_swap_uint32_array.
39074         * locale/programs/ld-collate.c (obstack_int32_grow): Call
39075         maybe_swap_uint32.
39076         (obstack_int32_grow_fast): Likewise.
39077         (output_weightwc): Call maybe_swap_uint32_obstack.
39078         (collate_output): Likewise.
39079         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
39080         (OPT_LITTLE_ENDIAN): Likewise.
39081         (options): Add --little-endian and --big-endian options.
39082         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
39083         * locale/programs/locarchive.c: Include "locfile.h".
39084         (GET): New macro.
39085         (SET): Likewise.
39086         (INC): Likewise.
39087         (create_archive): Use the new macros to access fields of
39088         structures directly mapped from or written to locale archives.
39089         (oldlocrecentcmp): Likewise.
39090         (enlarge_archive): Likewise.
39091         (insert_name): Likewise.
39092         (add_alias): Likewise.
39093         (add_locale): Likewise.
39094         (delete_locales_from_archive): Likewise.
39095         (show_archive_content): Likewise.
39096         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
39097         locale data.
39099 2013-09-24  Roland McGrath  <roland@hack.frob.com>
39101         * manual/freemanuals.texi: Updated from (newly) canonical copy at
39102         http://www.gnu.org/doc/freemanuals.texi.
39103         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
39105 2013-09-24  Will Newton  <will.newton@linaro.org>
39107         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
39108         macro.
39110 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
39112         * locale/hashval.h (compute_hashval): Interpret bytes of key as
39113         unsigned char.
39115 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
39117         * manual/threads.texi (POSIX Threads): Fix a typo.
39119 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
39121         [BZ #14547]
39122         * string/tst-strcoll-overflow.c: New test case.
39123         * string/Makefile (xtests): Add tst-strcoll-overflow.
39124         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
39125         cache if string sizes may cause integer overflow.
39127         [BZ #14547]
39128         * string/strcoll_l.c (coll_seq): New members rule, idx,
39129         save_idx and back_us.
39130         (get_next_seq_nocache): New function.
39131         (do_compare_nocache): New function.
39132         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
39133         when malloc fails.
39135 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
39137         [BZ #15754]
39138         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
39139         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
39140         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
39142         [BZ #15754]
39143         * elf/Makefile (tests): Add tst-ptrguard1.
39144         (tests-static): Add tst-ptrguard1-static.
39145         (tst-ptrguard1-ARGS): Define.
39146         (tst-ptrguard1-static-ARGS): Define.
39147         * elf/tst-ptrguard1.c: New file.
39148         * elf/tst-ptrguard1-static.c: New file.
39149         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
39150         * sysdeps/i386/stackguard-macros.h: Likewise.
39151         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
39152         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
39153         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
39154         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
39155         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
39156         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
39158 2013-09-23  Hector Marco  <hecmargi@upv.es>
39159             Ismael Ripoll  <iripoll@disca.upv.es>
39160             Carlos O'Donell  <carlos@redhat.com>
39162         [BZ #15754]
39163         * sysdeps/generic/stackguard-macros.h: Define
39164         __pointer_chk_guard_local and POINTER_CHK_GUARD.
39165         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
39166         Define __pointer_chk_guard_local.
39167         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
39168         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
39170 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
39172         [BZ #15859]
39173         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
39175 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
39177         * include/string.h (__ffs): Declare as hidden.
39178         * string/ffs.c (__ffs): Define as hidden.
39179         * sysdeps/i386/ffs.c (__ffs): Likewise.
39180         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
39181         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
39182         * sysdeps/s390/ffs.c (__ffs): Likewise.
39183         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
39185 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
39187         * NEWS: Mention malloc probes.
39189         * malloc/arena.c (new_heap): New memory_heap_new probe.
39190         (grow_heap): New memory_heap_more probe.
39191         (shrink_heap): New memory_heap_less probe.
39192         (heap_trim): New memory_heap_free probe.
39193         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
39194         (systrim): New memory_sbrk_less probe.
39195         * manual/probes.texi: Document them.
39197         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
39198         * manual/probes.texi: Document it.
39200         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
39201         (__libc_realloc): Add memory_realloc_retry probe.
39202         (__libc_memalign): Add memory_memalign_retry probe.
39203         (__libc_valloc): Add memory_valloc_retry probe.
39204         (__libc_pvalloc): Add memory_pvalloc_retry probe.
39205         (__libc_calloc): Add memory_calloc_retry probe.
39206         * manual/probes.texi: Document them.
39208         * malloc/arena.c (get_free_list): Add probe
39209         memory_arena_reuse_free_list.
39210         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
39211         and memory_arena_reuse.
39212         (arena_get2) [!PER_THREAD]: Likewise.
39213         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
39214         memory_arena_reuse_realloc.
39215         * manual/probes.texi: Document them.
39217         * malloc/malloc.c (__libc_free): Add
39218         memory_mallopt_free_dyn_thresholds probe.
39219         (__libc_mallopt): Add multiple memory_mallopt probes.
39220         * manual/probes.texi: Document them.
39222         * malloc/malloc.c: Include stap-probe.h.
39223         (__libc_mallopt): Add memory_mallopt probe.
39224         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
39225         * manual/probes.texi: New.
39226         * manual/Makefile (chapters): Add probes.
39227         * manual/threads.texi: Set next node.
39229 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
39231         [BZ #15963, #13985]
39232         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
39233         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
39234         Add `Chinese' to `nan' entry name.
39236 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
39238         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
39239         (POLYNOMIAL): Likewise.
39240         (TAYLOR_SINCOS): Likewise.
39241         (TAYLOR_SLOW): Likewise.
39242         (__sin): Use TAYLOR_SINCOS.
39243         (__cos): Likewise.
39244         (slow): Use TAYLOR_SLOW.
39245         (sloww): Likewise.
39246         (bsloww): Likewise.
39247         (csloww): Likewise.
39249 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39251         * stdlib/strtod_l.c: Fix buffer overrun.
39253 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
39255         * benchtests/Makefile (bench): Add sincos.
39256         * benchtests/bench-sincos.c: New file.
39258         * math/libm-test.inc (cos_test_data): New test inputs.
39259         (sin_test_data): Likewise.
39261         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
39262         macro.
39263         (__sin): Use it.
39264         (__cos): Likewise.
39265         (slow1): Likewise.
39266         (slow2): Likewise.
39267         (sloww1): Likewise.
39268         (sloww2): Likewise.
39269         (bsloww1): Likewise.
39270         (bsloww2): Likewise.
39271         (cslow2): Likewise.
39272         (csloww1): Likewise.
39273         (csloww2): Likewise.
39275         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
39276         function.
39277         (__sin): Use it.
39278         (__cos): Likewise.
39280         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
39281         gotos.
39282         (__cos): Likewise.
39284 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
39286         * config.h.in (HAVE_MIPS_NAN2008): New macro.
39287         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
39288         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
39289         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
39290         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
39291         * elf/cache.c (print_entry): Handle the new cache flags.
39293 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
39294             Aldy Hernandez  <aldyh@redhat.com>
39296         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
39297         Change condition to [_SOFT_FLOAT].
39298         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
39299         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
39300         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
39301         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
39302         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
39303         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
39304         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
39305         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
39306         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
39307         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
39308         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
39309         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
39310         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
39311         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
39312         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
39313         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
39314         declaration.
39316 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
39318         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
39319         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
39320         (__longjmp): Use LOAD_GP to load saved GPRs.
39321         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
39322         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
39323         (__sigsetjmp): Use SAVE_GP to save GPRs.
39325         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
39326         Do not append -msoft-float.
39327         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
39329 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
39331         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
39333 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
39335         [BZ #15966]
39336         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
39337         (_FPU_GETCW): Use initial "__" on variable and field names but not
39338         on macro parameter name.
39339         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
39340         parentheses around reference to macro parameter.
39342 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
39344         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
39345         prototype.
39346         (ctype_startup): Use uint32_t in cast and sizeof for
39347         ctype->charnames.
39349 2013-09-11  Jia Liu  <proljc@gmail.com>
39351         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
39352         __daddr_t_defined.
39353         [__FreeBSD__]: Likewise.
39355 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
39357         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
39358         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
39359         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
39360         (strchr): Remove __strchr_sse42 ifunc selection.
39361         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
39362         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
39364 2013-09-11  Will Newton  <will.newton@linaro.org>
39366         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
39367         parameter to RES. Remove hardcoded 1000 value.
39368         * benchtests/bench-skeleton.c (main): Pass RES parameter
39369         to TIMING_INIT and multiply result by 1000.
39371 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39373         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39375 2013-09-11  Andreas Schwab  <schwab@suse.de>
39377         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
39378         if not defined.
39379         (O_TMPFILE) [__USE_GNU]: Define.
39380         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
39381         Define.
39383 2013-09-11  Will Newton  <will.newton@linaro.org>
39385         [BZ #15857]
39386         * malloc/malloc.c (__libc_memalign): Check the value of bytes
39387         does not overflow.
39389 2013-09-11  Will Newton  <will.newton@linaro.org>
39391         [BZ #15856]
39392         * malloc/malloc.c (__libc_valloc): Check the value of bytes
39393         does not overflow.
39395 2013-09-11  Will Newton  <will.newton@linaro.org>
39397         [BZ #15855]
39398         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
39399         does not overflow.
39401 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
39403         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
39404         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39405         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39406         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39407         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39409 2013-09-10  Allan McRae  <allan@archlinux.org>
39411         [BZ #15748]
39412         * manual/arith.texi (Parsing of Floats): Clarify
39413         cross-reference.
39415         [BZ #15849]
39416         * manual/install.texi (Running make install): Mention
39417         --enable-pt-chown.
39418         * INSTALL: Regenerated.
39420 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
39422         * csu/init-first.c (_init): Remove the !SHARED condition around
39423         FPU control word initialization.
39424         * elf/dl-support.c (_dl_fpu_control): New variable.
39425         (_dl_aux_init) <AT_FPUCW>: Initialize it.
39426         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
39427         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
39428         * math/test-fpucw-static.c: New file.
39429         * math/test-fpucw-ieee.c: New file.
39430         * math/test-fpucw-ieee-static.c: New file.
39431         * math/Makefile (tests): Add `test-fpucw-ieee' and
39432         `$(tests-static)'.
39433         (tests-static): New variable.
39434         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
39435         dependency to...
39436         [($(build-shared),yes)]
39437         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
39438         ... this.
39439         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
39440         New dependency.
39442 2013-09-09  Allan McRae  <allan@archlinux.org>
39444         [BZ #15939]
39445         * manual/string.texi (Collation Functions): Fix typo in
39446         strcoll example.
39447         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
39449         [BZ #15893]
39450         * stdlib/isomac.c (get_null_defines): Fix memory leak.
39452         [BZ #15892]
39453         * libio/memstream.c (open_memstream): Fix memory leak.
39454         * libio/wmemstream.c (open_wmemstream): Likewise.
39456         [BZ #15895]
39457         * nscd/netgroupcache.c: Fix nesting of ifdefs.
39459 2013-09-09  Will Newton  <will.newton@linaro.org>
39461         * malloc/Makefile: Add tst-realloc to tests.
39462         * malloc/tst-realloc.c: New file.
39464 2013-09-09  Allan McRae  <allan@archlinux.org>
39466         [BZ #15844]
39467         * COPYING: Update from GNU website to fix FSF address.
39468         * COPYING.LIB: Likewise.
39470 2013-09-06  David S. Miller  <davem@davemloft.net>
39472         * po/zh_TW.po: Update Chinese (traditional) translation from
39473         translation project.
39475 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
39476             Joseph Myers  <joseph@codesourcery.com>
39478         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
39479         "localeinfo.h".
39480         (obstack_chunk_alloc): New macro.
39481         (obstack_chunk_free): Likewise.
39482         (record_offset): New function.
39483         (init_locale_data): Likewise.
39484         (align_locale_data): Likewise.
39485         (add_locale_empty): Likewise.
39486         (add_locale_raw_data): Likewise.
39487         (add_locale_raw_obstack): Likewise.
39488         (add_locale_string): Likewise.
39489         (add_locale_wstring): Likewise.
39490         (add_locale_uint32): Likewise.
39491         (add_locale_uint32_array): Likewise.
39492         (add_locale_char): Likewise.
39493         (start_locale_structure): Likewise.
39494         (end_locale_structure): Likewise.
39495         (start_locale_prelude): Likewise.
39496         (end_locale_prelude): Likewise.
39497         (write_locale_data): Take locale_file structure rather than an
39498         iovec.
39499         * locale/programs/locfile.h: Include "obstack.h".
39500         (struct locale_file): Change to store locale file contents instead
39501         of header.
39502         (init_locale_data): New prototype.
39503         (align_locale_data): Likewise.
39504         (add_locale_empty): Likewise.
39505         (add_locale_raw_data): Likewise.
39506         (add_locale_raw_obstack): Likewise.
39507         (add_locale_string): Likewise.
39508         (add_locale_wstring): Likewise.
39509         (add_locale_uint32): Likewise.
39510         (add_locale_uint32_array): Likewise.
39511         (add_locale_char): Likewise.
39512         (start_locale_structure): Likewise.
39513         (end_locale_structure): Likewise.
39514         (start_locale_prelude): Likewise.
39515         (end_locale_prelude): Likewise.
39516         (write_locale_data): Update prototype.
39517         * locale/programs/3level.h (struct TABLE): Remove result field.
39518         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
39519         Use new locale_file interface.
39520         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
39521         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
39522         * locale/programs/ld-address.c (address_output): Use new
39523         locale_file interface.
39524         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
39525         NO_ADD_LOCALE.
39526         (collate_finish): Don't call collseq_table_finalize.
39527         (collate_output): Use new locale_file interface.
39528         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
39529         in file.
39530         (NO_FINALIZE): Change to NO_ADD_LOCALE.
39531         (TABLE): Move defines earlier in file.
39532         (ELEMENT): Likewise.
39533         (DEFAULT): Likewise.
39534         (wctrans_table_add): Move macro and inline function earlier in
39535         file.
39536         (struct wctype_table): Move type earlier in file.
39537         (add_locale_wctype_table): New static prototype.
39538         (struct locale_ctype_t): Use logical types instead of struct iovec
39539         pointers for members.
39540         (ctype_output): Use new locale_file interface.
39541         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
39542         new locale_file interface.
39543         (allocate_arrays): Update for use of new locale_file interface.
39544         * locale/programs/ld-identification.c (identification_output): Use
39545         new locale_file interface.
39546         * locale/programs/ld-measurement.c (measurement_output): Likewise.
39547         * locale/programs/ld-messages.c (messages_output): Likewise.
39548         * locale/programs/ld-monetary.c (monetary_output): Likewise.
39549         * locale/programs/ld-name.c (name_output): Likewise.
39550         * locale/programs/ld-numeric.c (numeric_output): Likewise.
39551         * locale/programs/ld-paper.c (paper_output): Likewise.
39552         * locale/programs/ld-telephone.c (telephone_output): Likewise.
39553         * locale/programs/ld-time.c (time_output): Likewise.
39555 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39557         * benchtests/Makefile: Add memrchr benchmark.
39558         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
39559         benchmark as memrchr.
39560         * benchtests/bench-memrchr-ifunc.c: New file.
39561         * benchtests/bench-memrchr.c: New file.
39563 2013-09-06   Will Newton  <will.newton@linaro.org>
39565         * benchtests/Makefile (string-bench): Add memcpy.
39567 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
39568             Cong Wang  <amwang@redhat.com>
39570         [BZ #15850]
39571         * sysdeps/unix/sysv/linux/bits/in.h
39572         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
39573         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
39574         before __USE_KERNEL_IPV6_DEFS uses.
39575         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
39576         IPPROTO_BEETPH.
39577         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
39578         sockaddr_in6, or ipv6_mreq.
39580 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39582         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
39583         memory access for final bytes in some large inputs.
39584         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
39586 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39588         * string/test-memrchr.c: New file.
39589         * string/test-memrchr-ifunc.c: New file.
39590         * string/Makefile: Add new memrchr testcase.
39592 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
39594         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
39595         fanotify_init returns EPERM.
39597 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
39599         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
39600         errors.
39601         (top level): Treat second token from macro or constant entries for
39602         allowed headers as allowed.
39603         * include/complex.h: Condition internal declarations on
39604         [!_ISOMAC].
39605         * include/fenv.h: Condition include of <stdbool.h> and internal
39606         declarations on [!_ISOMAC].
39608 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
39610         [BZ #15923]
39611         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
39613 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
39615         * configure.in (--enable-versioning): Remove configure option.
39616         (libc_cv_asm_symver_directive): Remove configure test.
39617         (libc_cv_ld_version_script_option): Likewise.
39618         (VERSIONING): Remove variable and AC_SUBST.
39619         (DO_VERSIONING): Remove AC_DEFINE.
39620         * configure: Regenerated.
39621         * config.h.in (DO_VERSIONING): Remove macro.
39622         * Makerules [$(versioning) = yes]: Change conditionals to
39623         [$(build-shared) = yes].
39624         * config.make.in (versioning): Remove variable.
39625         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
39626         [$(build-shared) = yes].
39627         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
39628         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
39629         * elf/Makefile [$(versioning) = yes]: Change conditionals to
39630         [$(build-shared) = yes].
39631         * extra-lib.mk [$(versioning) = yes]: Likewise.
39632         * hurd/Makefile [$(versioning) = yes]: Likewise.
39633         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
39634         [SHARED].
39635         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
39636         [SHARED].
39637         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
39638         [SHARED && !NO_HIDDEN].
39639         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
39640         [SHARED].
39641         [SHARED && DO_VERSIONING]: Likewise..
39642         * libio/Makefile [$(versioning) = yes]: Change conditionals to
39643         [$(build-shared) = yes].
39644         * manual/install.texi (--disable-versioning): Remove
39645         documentation.
39646         * INSTALL: Regenerated.
39647         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
39648         to [SHARED].
39649         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
39650         [$(build-shared) = yes].
39651         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
39652         * sysdeps/i386/i686/multiarch/strstr-c.c
39653         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
39654         [SHARED && !NO_HIDDEN].
39655         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
39656         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
39657         * sysdeps/powerpc/powerpc32/dl-machine.c
39658         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
39659         * sysdeps/powerpc/powerpc32/sysdep.h
39660         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
39661         to [SHARED && PIC && !NO_HIDDEN].
39662         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
39663         conditional to [SHARED].
39665 2013-09-04   Will Newton  <will.newton@linaro.org>
39667         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
39668         * benchtests/bench-string.h: Include bench-timing.h instead
39669         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
39670         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
39671         call to HP_TIMING_DIFF_INIT.
39672         * benchtests/bench-memccpy.c: Use bench-timing.h macros
39673         instead of hp-timing.h macros.
39674         * benchtests/bench-memchr.c: Likewise.
39675         * benchtests/bench-memcmp.c: Likewise.
39676         * benchtests/bench-memcpy.c: Likewise.
39677         * benchtests/bench-memmem.c: Likewise.
39678         * benchtests/bench-memmove.c: Likewise.
39679         * benchtests/bench-memset.c: Likewise.
39680         * benchtests/bench-rawmemchr.c: Likewise.
39681         * benchtests/bench-strcasecmp.c: Likewise.
39682         * benchtests/bench-strcasestr.c: Likewise.
39683         * benchtests/bench-strcat.c: Likewise.
39684         * benchtests/bench-strchr.c: Likewise.
39685         * benchtests/bench-strcmp.c: Likewise.
39686         * benchtests/bench-strcpy.c: Likewise.
39687         * benchtests/bench-strcpy_chk.c: Likewise.
39688         * benchtests/bench-strlen.c: Likewise.
39689         * benchtests/bench-strncasecmp.c: Likewise.
39690         * benchtests/bench-strncat.c: Likewise.
39691         * benchtests/bench-strncmp.c: Likewise.
39692         * benchtests/bench-strncpy.c: Likewise.
39693         * benchtests/bench-strnlen.c: Likewise.
39694         * benchtests/bench-strpbrk.c: Likewise.
39695         * benchtests/bench-strrchr.c: Likewise.
39696         * benchtests/bench-strspn.c: Likewise.
39697         * benchtests/bench-strstr.c: Likewise.
39699 2013-09-04  Will Newton  <will.newton@linaro.org>
39701         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
39703 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
39705         [BZ #15427]
39706         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
39707         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
39708         * math/libm-test.inc (lgamma_test_data): Add more tests.
39709         * sysdeps/i386/fpu/libm-test-ulps: Update.
39710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39712 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
39714         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
39715         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39716         Add ifunc.
39717         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
39718         Add strcmp-sse2-unaligned
39719         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
39721 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
39723         * Versions.def (libc): Add GLIBC_2.19.
39725 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
39727         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
39728         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
39730 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
39732         [BZ #14155]
39733         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
39734         intermediate calculations in recurrence.
39735         (__ieee754_ynf): Likewise.
39736         * math/libm-test.inc (jn_test_data): Do not allow spurious
39737         underflow exception.  Add more tests.
39738         (yn_test_data): Add more tests.
39739         * sysdeps/i386/fpu/libm-test-ulps: Update.
39740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39742 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
39744         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
39746 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
39748         * csu/init-first.c: Fix then/than typos.
39749         * locale/programs/ld-collate.c: Likewise.
39750         * locale/programs/linereader.h: Likewise.
39751         * manual/charset.texi: Likewise.
39752         * manual/filesys.texi: Likewise.
39753         * manual/stdio.texi: Likewise.
39754         * manual/string.texi: Likewise.
39755         * stdlib/fmtmsg.c: Likewise.
39756         * sysdeps/i386/stpncpy.S: Likewise.
39757         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
39758         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
39759         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
39760         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
39762 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
39764         * elf/dl-open.c: Fix typos.
39765         * iconvdata/gbbig5.c: Likewise.
39766         * iconvdata/iso-2022-jp.c: Likewise.
39767         * iconv/gconv_int.h: Likewise.
39768         * iconv/loop.c: Likewise.
39769         * nis/rpcsvc/nis.h: Likewise.
39770         * resolv/ns_name.c: Likewise.
39771         * stdio-common/vfscanf.c: Likewise.
39772         * streams/stropts.h: Likewise.
39773         * sunrpc/rpc_thread.c: Likewise.
39774         * sysdeps/i386/strpbrk.S: Likewise.
39775         * sysdeps/ieee754/k_standard.c: Likewise.
39776         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39777         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39778         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
39779         * sysdeps/mach/hurd/profil.c: Likewise.
39780         * sysdeps/s390/dl-procinfo.h: Likewise.
39781         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
39782         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
39783         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
39784         * sysdeps/x86_64/dl-trampoline.S: Likewise.
39785         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
39787 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
39789         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
39790         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
39792 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
39794         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
39795         aix specific files.
39796         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
39797         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
39798         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
39799         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
39800         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
39801         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
39802         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
39803         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
39805 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
39806             Roland McGrath  <roland@hack.frob.com>
39808         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
39809         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
39811 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39813         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
39814         __executable_start symbol instead of _start.
39816 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
39818         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
39819         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
39820         Move macros to...
39821         * sysdeps/gnu/ldsodefs.h: ... this new file.
39823         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
39824         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
39825         instead of ELFOSABI_LINUX.
39827         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
39828         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
39829         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
39830         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
39831         Likewise.
39832         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
39833         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
39834         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
39835         Likewise.
39836         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
39837         (ibm_extended_long_double): Add ieee_nan member.
39838         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
39839         (do_test): New function.
39841         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
39842         TEST_TRUNC.
39843         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
39844         functions, renamed from truncdfsf_test, trunctfsf_test,
39845         trunctfdf_test.
39846         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
39847         functions.
39848         (do_test): Run all these.
39850 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
39852         * argp/argp-help.c: Fix typos.
39853         * argp/argp-parse.c: Likewise.
39854         * debug/backtracesyms.c: Likewise.
39855         * elf/elf.h: Likewise.
39856         * malloc/malloc.c: Likewise.
39857         * nis/nis_print.c: Likewise.
39858         * resolv/res_comp.c: Likewise.
39859         * stdlib/stdlib.h: Likewise.
39860         * sunrpc/clnt_tcp.c: Likewise.
39861         * sunrpc/clnt_udp.c: Likewise.
39862         * sunrpc/clnt_unix.c: Likewise.
39863         * sysdeps/unix/bsd/ptsname.c: Likewise.
39864         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
39865         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
39866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
39867         Likewise.
39868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
39869         Likewise.
39870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
39871         Likewise.
39872         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39874 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39876         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
39877         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
39879 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
39881         [BZ #15897]
39882         * dlfcn/Makefile (tests): Add bug-dl-leaf.
39883         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
39884         ($(objpfx)bug-dl-leaf): New rule.
39885         ($(objpfx)bug-dl-leaf.so): Likewise.
39886         ($(objpfx)bug-dl-leaf.out): Likewise.
39887         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
39888         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
39889         * dlfcn/bug-dl-leaf.c: New test.
39890         * dlfcn/bug-dl-leaf-lib.c: Likewise.
39891         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
39892         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
39893         (dlclose): Likewise.
39894         (dlmopen): Likewise.
39896 2013-08-27  Roland McGrath  <roland@hack.frob.com>
39898         * include/netdb.h [!_ISOMAC]:
39899         Don't include <tls.h>.
39900         (h_errno, __libc_h_errno): Move declaration and macros out of
39901         [_LIBC_REENTRANT].
39903         * include/resolv.h [_RESOLV_H_]:
39904         Don't include <tls.h>.
39905         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
39906         * resolv/res_libc.c: Don't include <tls.h>.
39907         (_res): Use __attribute__ ((nocommon)) in place of
39908         __attribute__ ((section (".bss"))).
39910         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
39911         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
39913         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
39915         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
39916         only under [SIOCGIFCONF && SIOCGIFNETMASK].
39918         * resolv/res_mkquery.c: Include <sys/time.h>.
39920         * inet/ifreq.c: Moved to ...
39921         * sysdeps/unix/ifreq.c: ... here.
39922         * inet/ifreq.c: New file, true stub version.
39924         * socket/sa_len.c: New file.
39925         * socket/Makefile (aux): Add it.
39926         * sysdeps/unix/sysv/linux/Makefile
39927         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
39928         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
39929         and #include <socket/sa_len.c>.
39930         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
39931         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
39933         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
39934         * bits/socket.h: ... here.
39936         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
39937         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
39938         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
39940 2013-08-27  Andreas Schwab  <schwab@suse.de>
39942         [BZ #15736]
39943         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
39944         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
39945         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
39946         * string/test-strcasecmp.c (test_main): Run tests in several
39947         locales.
39948         * string/test-strncasecmp.c (test_main): Likewise.
39950         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
39951         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
39952         to __strcasecmp_nonascii and __strncasecmp_nonascii.
39953         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
39954         (__strncasecmp_ssse3) [PIC]: Likewise.
39956 2013-08-26  Roland McGrath  <roland@hack.frob.com>
39958         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
39960         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
39961         instead of explicitly declaring xdecrypt.
39962         * nis/nss_nis/nis-publickey.c: Likewise.
39964 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39966         [BZ #15890]
39967         * nscd/aicache.c: Include res_hconf.h.
39968         (addhstaiX): Initialize res_hconf.
39970 2013-08-26  Andreas Schwab  <schwab@suse.de>
39972         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
39973         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
39975 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39977         * nscd/aicache.c (addhstaiX): Fix indentation.
39979 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
39981         * configure.ac: Quote $build_pt_chown test.
39982         * configure: Regenerated.
39984 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
39986         [BZ #15532]
39987         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
39988         * math/s_cexpf.c (__cexpf): Likewise.
39989         * math/s_cexpl.c (__cexpl): Likewise.
39990         * math/libm-test.inc (cexp_test_data): Correct expected return
39991         value for NaN + i0.  Add another test.
39993 2013-08-22  David S. Miller  <davem@davemloft.net>
39995         * po/ca.po: Update Catalan translation from translation project.
39996         * po/uk.po: Add Ukrainian translations from translation project.
39998 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
40000         [BZ #15797]
40001         * math/s_fdim.c (__fdim): Check for infinite arguments if result
40002         is infinite, not alongside NaN test.
40003         * math/s_fdimf.c (__fdimf): Likewise.
40004         * math/s_fdiml.c (__fdiml): Likewise.
40005         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
40006         errno is unchanged.
40008 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
40010         * argp/argp-help.c: Fix typos.
40011         * crypt/speeds.c: Likewise.
40012         * csu/check_fds.c: Likewise.
40013         * elf/dl-load.c: Likewise.
40014         * elf/dl-open.c: Likewise.
40015         * elf/reldep3.c: Likewise.
40016         * elf/reldep.c: Likewise.
40017         * elf/sprof.c: Likewise.
40018         * iconv/iconv_charmap.c: Likewise.
40019         * iconv/skeleton.c: Likewise.
40020         * iconv/strtab.c: Likewise.
40021         * io/lockf64.c: Likewise.
40022         * libio/libioP.h: Likewise.
40023         * resolv/gai_notify.c: Likewise.
40024         * resolv/ns_name.c: Likewise.
40025         * resolv/ns_samedomain.c: Likewise.
40026         * resolv/res_send.c: Likewise.
40027         * stdlib/random.c: Likewise.
40028         * sunrpc/rpc/xdr.h: Likewise.
40029         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
40030         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40031         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40032         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40033         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40034         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40035         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40036         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40037         * sysdeps/mach/hurd/check_fds.c: Likewise.
40038         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
40039         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
40040         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
40041         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
40042         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
40043         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
40044         * sysdeps/pthread/aio_notify.c: Likewise.
40045         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
40046         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
40047         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
40048         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
40049         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
40051 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40053         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
40054         version if bit_Slow_SSE4_2 is set.
40055         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40056         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40058 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40060         [BZ #15867]
40061         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
40062         trampoline stack frame information.
40063         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
40064         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
40065         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
40066         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
40067         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
40068         * sysdeps/unix/sysv/linux/powerpc/init-first.c
40069         (_libc_vdso_platform_setup): Initialize the signal trampolines.
40070         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
40071         sa_flags value.
40072         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
40073         interrupting a syscall and set with option SA_SIGINFO.
40075 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
40077         [BZ #15531]
40078         * math/s_cproj.c (__cproj): Only return an infinity if one part of
40079         argument is infinite.
40080         * math/s_cprojf.c (__cprojf): Likewise.
40081         * math/s_cprojl.c (__cprojl): Likewise.
40082         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
40083         * math/libm-test.inc (cproj_test_data): Add more tests.
40085         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
40087         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
40088         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
40089         size.  Use __ffs to determine corresponding shift.
40091 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
40092             Roland McGrath  <roland@hack.frob.com>
40094         * Makefile (INSTALL): Remove trailing blank lines from output of
40095         makeinfo.
40097 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40099         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
40100         Align 32 bit compat elf_greg to 8 bytes.
40102 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
40104         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
40106 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
40108         * string/strcoll_l.c (coll_seq): New structure.
40109         (get_next_seq_cached): New function.
40110         (get_next_seq): New function.
40111         (do_compare): New function.
40112         (STRCOLL): Use GNU style definition.  Simplify implementation
40113         by using get_next_seq, get_next_seq_cached and do_compare.
40115 2013-08-16  Florian Weimer  <fweimer@redhat.com>
40117         [BZ #14699]
40118         CVE-2013-4237
40119         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
40120         member.
40121         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
40122         member.
40123         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
40124         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
40125         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
40126         conditional.
40127         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
40128         GETDENTS_64BIT_ALIGNED.
40129         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
40130         * manual/filesys.texi (Reading/Closing Directory): Document
40131         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
40132         strongly.
40133         * manual/conf.texi (Limits for Files): Add portability note to
40134         NAME_MAX, PATH_MAX.
40135         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
40137 2013-08-13  Andreas Schwab  <schwab@suse.de>
40139         [BZ #15749]
40140         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
40141         of fabs.
40142         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
40143         LDBL_MAX_EXP >= 16384]: Add tests for it.
40145 2013-08-12  David S. Miller  <davem@davemloft.net>
40147         * version.h (RELEASE): Set to "development".
40148         (VERSION): Set to "2.18.90".
40149         * NEWS: Add 2.19 section.
40151 2013-08-03  David S. Miller  <davem@davemloft.net>
40153         * po/ko.po: Update Korean translation from translation project.
40155 2013-08-01  David S. Miller  <davem@davemloft.net>
40157         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
40158         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
40159         Bilka.
40161 2013-07-30  David S. Miller  <davem@davemloft.net>
40163         * po/fr.po: Update French translation from translation project.
40165 2013-07-28  David S. Miller  <davem@davemloft.net>
40167         * po/cs.po: Update Czech translation from translation project.
40169         * po/sv.po: Update Swedish translation from translation project.
40171 2013-07-27  David S. Miller  <davem@davemloft.net>
40173         * po/eo.po: Update Esperanto translation from translation project.
40175         * po/vi.po: Update Vietnamese translation from translation project.
40177         * po/de.po: Update German translation from translation project.
40179 2013-07-26  David S. Miller  <davem@davemloft.net>
40181         * po/bg.po: Update Bulgarian translation from translation project.
40183         * po/nl.po: Update Dutch translation from translation project.
40184         * po/pl.po: Update Polish translation from translation project.
40185         * po/ru.po: Update Russian translation from translation project.
40187 2013-07-24  David S. Miller  <davem@davemloft.net>
40189         * po/libc.pot: Update.
40191 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40193         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
40194         variable page size.
40195         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
40196         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
40197         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
40199 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40201         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
40203 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40204             Andreas Schwab  <schwab@suse.de>
40205             Roland McGrath  <roland@hack.frob.com>
40206             Joseph Myers  <joseph@codesourcery.com>
40207             Carlos O'Donell  <carlos@redhat.com>
40209         [BZ #15755]
40210         * config.h.in: Define HAVE_PT_CHOWN.
40211         * config.make.in (build-pt-chown): New variable.
40212         * configure.in (--enable-pt_chown): New configure option.
40213         * configure: Regenerate.
40214         * login/Makefile: Include Makeconfig.  Build pt_chown only if
40215         build-pt-chown is enabled.
40216         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
40217         pt_chown to fix pty ownership.
40218         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
40219         CLOSE_ALL_FDS.
40220         * manual/install.texi (Configuring and compiling): Mention
40221         --enable-pt_chown. Add @findex for grantpt.
40222         * INSTALL: Regenerate.
40224 2013-07-20  David S. Miller  <davem@davemloft.net>
40226         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
40227         difference between 32-bit and 64-bit.
40229 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
40231         [BZ #15711]
40232         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
40233         Avoid system header dependency with -ffreestanding.
40234         ($(objpfx)bits/syscall%d): Likewise.
40236 2013-07-13  David S. Miller  <davem@davemloft.net>
40238         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
40239         underflows from atanl/atan2l due to bug 15319.
40240         (casinh_test_data): Likewise.
40242 2013-07-07  David S. Miller  <davem@davemloft.net>
40244         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
40246 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
40248         * sysdeps/i386/fpu/libm-test-ulps: Update.
40249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40251 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40253         * configure.in (--enable-lock-elision): Fix message text.
40254         * INSTALL: Regenerate.
40255         * configure: Regenerate.
40257 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40259         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40261 2013-07-03  Andreas Jaeger  <aj@suse.de>
40263         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
40264         define.
40265         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
40266         (ptrace_peeksiginfo_args): Add.
40267         (__ptrace_peeksiginfo_flags): Add.
40268         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40269         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40270         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40272 2013-07-03  Allan McRae  <allan@archlinux.org>
40274         * sysdeps/i386/fpu/libm-test-ulps: Update.
40276 2013-07-02  David S. Miller  <davem@davemloft.net>
40278         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40280 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
40282         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40284 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
40286         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
40287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40289 2013-07-02  Andi Kleen <ak@linux.intel.com>
40291         * config.h.in (ENABLE_LOCK_ELISION): Add.
40292         * configure.in (--enable-lock-elision): Add option.
40293         * manual/install.texi: Document --enable lock elision.
40294         * configure: Regenerate
40295         * INSTALL: Regenerate.
40297 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
40299         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
40300         SSE4.2 strcasecmp for libc.a.
40301         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
40303 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
40305         [BZ #13304]
40306         * soft-fp/op-common.h (_FP_FMA): New macro.
40307         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
40308         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
40309         (_FP_MUL_MEAT_1_imm): ... here.
40310         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
40311         (_FP_MUL_MEAT_1_wide): ... here.
40312         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
40313         (_FP_MUL_MEAT_1_hard): ... here.
40314         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
40315         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
40316         (_FP_MUL_MEAT_2_wide): ... here.
40317         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
40318         (_FP_MUL_MEAT_2_wide_3mul): ... here.
40319         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
40320         (_FP_MUL_MEAT_2_gmp): ... here.
40321         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
40322         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
40323         (_FP_MUL_MEAT_4_wide): ... here.
40324         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
40325         (_FP_MUL_MEAT_4_gmp): ... here.
40326         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
40327         (_FP_WFRACBITS_DW_S): Likewise.
40328         (_FP_WFRACXBITS_DW_S): Likewise.
40329         (_FP_HIGHBIT_DW_S): Likewise.
40330         (FP_FMA_S): Likewise.
40331         (_FP_FRAC_HIGH_DW_S): Likewise.
40332         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
40333         (_FP_WFRACBITS_DW_D): Likewise.
40334         (_FP_WFRACXBITS_DW_D): Likewise.
40335         (_FP_HIGHBIT_DW_D): Likewise.
40336         (FP_FMA_D): Likewise.
40337         (_FP_FRAC_HIGH_DW_D): Likewise.
40338         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
40339         (_FP_WFRACBITS_DW_E): Likewise.
40340         (_FP_WFRACXBITS_DW_E): Likewise.
40341         (_FP_HIGHBIT_DW_E): Likewise.
40342         (FP_FMA_E): Likewise.
40343         (_FP_FRAC_HIGH_DW_E): Likewise.
40344         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
40345         (_FP_WFRACBITS_DW_Q): Likewise.
40346         (_FP_WFRACXBITS_DW_Q): Likewise.
40347         (_FP_HIGHBIT_DW_Q): Likewise.
40348         (FP_FMA_Q): Likewise.
40349         (_FP_FRAC_HIGH_DW_Q): Likewise.
40350         * soft-fp/fmasf4.c: New file.
40351         * soft-fp/fmadf4.c: Likewise.
40352         * soft-fp/fmatf4.c: Likewise.
40354 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40356         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
40357         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
40358         Silvermont.
40359         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
40360         macro.
40361         (index_Slow_SSE4_2): Likewise.
40362         (index_Prefer_PMINUB_for_stringop): Likewise.
40363         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
40364         bit_Slow_SSE4_2 is set.
40365         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
40366         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40368 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40370         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
40371         rtld_global._dl_hwcap2.
40372         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
40373         POWER8.
40374         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
40375         POWER8 feature descriptions defined in _dl_hwcap2.
40376         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
40377         string handling for POWER8 feature bits.
40378         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
40379         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
40380         _dl_powerpc_cap_flags.
40381         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
40382         * sysdeps/powerpc/rtld-global-offsets.sym
40383         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
40384         _dl_hwcap2 in the rtld_global_ro structure.
40386 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40388         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
40389         hardware capabilities in support of AT_HWCAP2.
40390         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
40391         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
40392         GLRO(dl_hwcap2).
40393         (_dl_show_auxv): Add support for calling _dl_procinfo to display
40394         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
40395         explicitly the unknown a_type display mechanism is used.
40396         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
40397         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
40398         struct member.
40399         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
40400         to macro prototype for AT_HWCAP2 support.
40401         * sysdeps/i386/dl-procinfo.h: Likewise.
40402         * sysdeps/s390/dl-procinfo.h: Likewise.
40403         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
40404         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
40405         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
40406         return -1 for unknown a_type display fallback.
40407         * sysdeps/sparc/dl-procinfo.h: Likewise.
40408         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
40409         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
40411 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
40413         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
40414         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
40416 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
40418         [BZ #12492]
40419         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
40420         mprotect making __stack_prot writable.
40422 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
40423             Joseph Myers  <joseph@codesourcery.com>
40425         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
40426         as being properly aligned.
40428 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
40430         * dlfcn/modstatic5.c: New file.
40431         * dlfcn/tststatic5.c: New file.
40432         * dlfcn/Makefile (tests): Add tststatic5.
40433         (tests-static): Likewise.
40434         (modules-names): Add modstatic5.
40435         (tststatic5-ENV): New variable.
40436         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
40438         [BZ #15022]
40439         * elf/dl-support.c (_dl_main_map): New variable.
40440         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
40441         (_dl_nns, _dl_load_adds): Set to 1.
40442         (_dl_initial_searchlist): Refer to _dl_main_map.
40443         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
40444         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
40445         call to _dl_get_origin.
40446         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
40447         around call_map.
40448         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
40449         * dlfcn/modstatic3.c: New file.
40450         * dlfcn/tststatic3.c: New file.
40451         * dlfcn/tststatic4.c: New file.
40452         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
40453         (tests-static): Likewise.
40454         (modules-names): Add modstatic3.
40455         (tststatic3-ENV, tststatic4-ENV): New variables.
40456         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
40457         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
40459 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
40461         * configure.in (CC): Require GCC version 4.4 or later.
40462         * configure: Regenerated.
40463         * manual/install.texi (Tools for Compilation): Update GCC version
40464         requirement.
40465         * INSTALL: Regenerated.
40467 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40469         [BZ #15674]
40470         * string/test-memcmp.c (check2): New.
40471         (main): Call check2.
40473         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
40475 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
40477         [BZ #15022]
40478         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
40479         over to...
40480         (dl_open_worker) [!SHARED]: ... here.
40482 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40484         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
40486 2013-06-25  Richard Henderson  <rth@redhat.com>
40488         * locale/programs/locarchive.c: Include <libc-internal.h>
40490 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
40492         * manual/texinfo.tex: Update to version 2013-06-21.17, with
40493         trailing whitespace removed.
40495 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
40497         [BZ #10283]
40498         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
40499         * locale/programs/locarchive.c: Include libc-mmap.h.
40500         (prepare_address_space): Take two new outputs (the mmap base and len).
40501         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
40502         values.
40503         (create_archive): Declare new mmap base and len values for
40504         prepare_address_space, and store the result in ah.
40505         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
40506         (enlarge_archive): If ah->mmap_base is not NULL, use that and
40507         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
40508         Declare new mmap base and len values for
40509         prepare_address_space, and store the result in new_ah.
40510         (open_archive): Declare new mmap base and len values for
40511         prepare_address_space, and store the result in ah.
40512         (close_archive): If ah->mmap_base is not NULL, use that and
40513         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
40514         * sysdeps/generic/libc-mmap.h: New file.
40516 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
40518         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
40519         (ALIGN_UP): Likewise.
40520         (PTR_ALIGN_DOWN): Likewise.
40521         (PTR_ALIGN_UP): Likewise.
40523 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40525         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
40526         entry mapped to PPC_PLATFORM_POWER8.
40527         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
40528         POWER8.
40529         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
40530         (_dl_string_platform): Add case for exporting platform position for
40531         POWER8.
40532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
40533         search path to sysdeps/powerpc/powerpc32/power8 directory.
40534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
40535         search path to sysdeps/powerpc/powerpc64/power8 directory.
40536         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
40537         power7 directories.
40538         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
40539         power7 directories.
40541 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
40543         * INSTALL: Regenerate.
40545         * nscd/connections.c (nscd_init): Fix comment.
40547 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
40549         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
40551         [BZ #15667]
40552         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
40553         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
40555 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
40557         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
40558         DL_DST_REQ_STATIC.
40559         (DL_DST_REQ_STATIC): Remove macro.
40561 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
40563         [BZ #7006]
40564         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
40565         with a shift of 0 bits.
40567 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
40569         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
40570         $(tststatic-ENV).
40572 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40574         [BZ #15655]
40575         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
40577 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40579         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
40580         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
40581         accepts -fno-tree-loop-distribute-patterns.
40582         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
40583         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
40584         recursive call.
40585         * string/memset.c (memset): Likewise.
40586         * string/test-memmove.c (simple_memmove): Disable loop transformation
40587         to library calls.
40588         * string/test-memset.c (simple_memset): Likewise.
40589         * benchtests/bench-memmove.c (simple_memmove): Likewise.
40590         * benchtests/bench-memset.c (simple_memset): Likewise.
40591         * configure: Regenerated.
40593 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
40595         * math/test-misc.c (main): Ignore fesetround failure when failures
40596         of subsequent rounding tests would be ignored.
40598         [BZ #15654]
40599         * math/fedisblxcpt.c (fedisableexcept): Return 0.
40600         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
40601         * math/fegetenv.c (__fegetenv): Return 0.
40602         * math/fegetexcept.c (fegetexcept): Return 0.
40603         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
40604         FE_TONEAREST.
40605         * math/feholdexcpt.c (feholdexcept): Return 0.
40606         * math/fesetenv.c (__fesetenv): Return 0.
40607         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
40608         argument FE_TONEAREST.
40609         * math/feupdateenv.c (__feupdateenv): Return 0.
40610         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
40612 2013-06-18  Roland McGrath  <roland@hack.frob.com>
40614         * elf/rtld-Rules (rtld-compile-command.S): New variable.
40615         (rtld-compile-command.s, rtld-compile-command.c): New variables.
40616         ($(objpfx)rtld-%.os rules): Use them.
40618 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40620         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
40621         fields.
40623 2013-06-17  Roland McGrath  <roland@hack.frob.com>
40625         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
40626         length of target pattern, then descending length of dependency pattern.
40627         * configure.in (AWK): Require gawk 3.1.2 or newer.
40628         * manual/install.texi (Tools for Compilation): Say that we do.
40629         * configure: Regenerated.
40631         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
40632         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
40633         * scripts/sysd-rules.awk: ... this new script.
40634         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
40635         than a glob-style pattern.
40637 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
40639         * math/test-misc.c (main): Do not treat incorrectly rounded
40640         conversions as failure unless ROUNDING_TESTS passes.
40642 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
40644         [BZ #15631]
40645         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
40646         restore exception state around main square root computation, then
40647         check for inexactness explicitly.
40649         * math/libm-test.inc (fma_test_data): Add another test.
40651 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
40653         * manual/threads.texi (Non-POSIX Extensions): New document
40654         node.  Document pthread_getattr_default_np and
40655         pthread_setattr_default_np.
40657         * Versions.def (libpthread): Add GLIBC_2.18.
40658         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
40659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
40660         Likewise.
40661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40662         Likewise.
40663         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40664         Likewise.
40665         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40666         Likewise.
40667         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
40668         Likewise.
40669         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
40670         Likewise.
40671         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
40672         Likewise.
40673         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
40674         Likewise.
40675         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
40676         Likewise.
40678 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40680         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40681         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
40683 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
40684             H.J. Lu  <hjl.tools@gmail.com>
40686         [BZ #15627]
40687         * sysdeps/x86_64/rtld-memset.c: Remove file.
40688         * sysdeps/x86_64/rtld-memset.S: New file.
40690 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
40692         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
40693         (test_in_one_mode): Take arguments for whether the rounding mode
40694         is supported for each floating-point type.
40695         (do_test): Pass new arguments to test_in_one_mode using
40696         ROUNDING_TESTS.
40698 2013-06-13  Roland McGrath  <roland@hack.frob.com>
40700         * posix/tst-waitid.c (do_test): Distinguish different instances of
40701         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
40702         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
40703         before entering the kernel for waitpid.
40705 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
40707         * NEWS: Fix note on clock function precision.  Text by Roland
40708         McGrath.
40710 2013-06-13  Roland McGrath  <roland@hack.frob.com>
40712         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
40713         it into place only when and if the sanity check passes.
40715 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
40717         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
40718         output for whether conversion result is exact.  Take argument
40719         indicating whether type is IBM long double.
40720         (round_for_all): Change need_exact field to ibm_ld.
40721         * stdlib/tst-strtod-round.c (struct exactness): New type.
40722         (struct test): Change bool ld_ok field to struct exactness exact.
40723         (TEST): Update all definitions for change to field.
40724         (tests): Regenerate array contents.
40725         (test_in_one_mode): Take pointer to new field instead of old ld_ok
40726         field value.  Check for IBM long double here.
40727         (do_test): Update calls to test_in_one_mode.
40729 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
40731         [BZ #12515]
40732         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
40733         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
40735 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40737         [BZ #15605]
40738         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
40739         generated by the compiler on loop optimizations.
40740         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
40741         general definitions.
40743 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
40745         * math/bug-nextafter.c: Include <math-tests.h>.
40746         (main): Only test for exceptions if EXCEPTION_TESTS is true for
40747         the relevant type.
40748         * math/bug-nexttoward.c: Include <math-tests.h>.
40749         (main): Only test for exceptions if EXCEPTION_TESTS is true for
40750         the relevant type.
40751         * math/test-misc.c: Include <math-tests.h>.
40752         (main): Only test for exceptions if EXCEPTION_TESTS is true for
40753         the relevant type.
40755 2013-06-12  Andreas Jaeger  <aj@suse.de>
40757         * po/ia.po: Update Interlingua translation from translation
40758         project.
40760 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40762         * include/fenv.h: Include stdbool.h.
40763         (struct rm_ctx): New structure.
40764         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
40765         Define macro.
40766         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
40767         (SET_RESTORE_ROUNDF): Likewise.
40768         (SET_RESTORE_ROUNDL): Likewise.
40769         (SET_RESTORE_ROUND_NOEX): Likewise.
40770         (SET_RESTORE_ROUND_NOEXF): Likewise.
40771         (SET_RESTORE_ROUND_NOEXL): Likewise.
40772         (SET_RESTORE_ROUND_53BIT): Likewise.
40773         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
40774         (libc_feresetround_noexf_ctx): Likewise.
40775         (libc_feresetround_noexl_ctx): Likewise.
40776         (libc_feholdsetround_53bit_ctx): Likewise.
40777         (libc_feresetround_53bit_ctx): Likewise.
40778         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
40779         (libc_feholdexcept_setround_sse_ctx): New function.
40780         (libc_fesetenv_sse_ctx): Likewise.
40781         (libc_feupdateenv_sse_ctx): Likewise.
40782         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
40783         (libc_feholdexcept_setround_387_ctx): Likewise.
40784         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
40785         (libc_feholdsetround_387_prec_ctx): Likewise.
40786         (libc_feholdsetround_387_ctx): Likewise.
40787         (libc_feholdsetround_387_53bit_ctx): Likewise.
40788         (libc_feholdsetround_sse_ctx): Likewise.
40789         (libc_feresetround_sse_ctx): Likewise.
40790         (libc_feresetround_387_ctx): Likewise.
40791         (libc_feupdateenv_387_ctx): Likewise.
40792         (libc_feholdexcept_setroundf_ctx): Define macro.
40793         (libc_fesetenvf_ctx): Likewise.
40794         (libc_feupdateenvf_ctx): Likewise.
40795         (libc_feholdsetroundf_ctx): Likewise.
40796         (libc_feresetroundf_ctx): Likewise.
40797         (libc_feholdexcept_setround_ctx): Likewise.
40798         (libc_fesetenv_ctx): Likewise.
40799         (libc_feupdateenv_ctx): Likewise.
40800         (libc_feholdsetround_ctx): Likewise.
40801         (libc_feresetround_ctx): Likewise.
40802         (libc_feholdexcept_setroundl_ctx): Likewise.
40803         (libc_feupdateenvl_ctx): Likewise.
40804         (libc_feholdsetroundl_ctx): Likewise.
40805         (libc_feresetroundl_ctx): Likewise.
40806         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
40807         (libc_feresetround_53bit_ctx): Likewise.
40809 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40811         * locale/iso-639.def: Convert to UTF-8.
40813 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
40815         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
40816         (EXCEPTION_TESTS_double): Likewise.
40817         (EXCEPTION_TESTS_long_double): Likewise.
40818         (EXCEPTION_TESTS): Likewise.
40819         * math/libm-test.inc (test_exceptions): Only test exceptions if
40820         EXCEPTION_TESTS (FLOAT).
40822 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40824         * benchtests/Makefile (string-bench): Add strcpy_chk and
40825         stpcpy_chk.
40826         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
40827         * benchtests/bench-stpcpy_chk.c: New file.
40828         * benchtests/bench-strcpy_chk-ifunc.c: New file.
40829         * benchtests/bench-strcpy_chk.c: New file.
40830         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
40831         code.
40832         (do_test): Likewise.
40834 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40836         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
40837         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
40838         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
40839         with tabs where appropriate.
40840         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
40841         dl-procinfo.h.
40842         [PPC_PLATFORM_PPC440]: Likewise.
40843         [PPC_PLATFORM_PPC464]: Likewise.
40844         [PPC_PLATFORM_PPC476]: Likewise.
40845         (_dl_string_platform): Add support for detecting ppc405, ppc440,
40846         ppc464, and ppc476 platform strings merging from ports/
40847         dl-procinfo.h.
40849 2013-06-11  Andreas Schwab  <schwab@suse.de>
40851         [BZ #14991]
40852         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
40853         (from_ucs4_idx): Regenerate.
40854         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
40855         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
40856         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
40857         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
40858         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
40859         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
40860         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
40861         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
40862         from FROM_LOOP and TO_LOOP specific macros.
40863         (BODY): Handle combining characters.
40864         * iconvdata/BIG5HKSCS.irreversible: Update.
40865         * iconvdata/BIG5HKSCS.precomposed: New file.
40866         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
40867         characters.
40868         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
40870 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40872         * include/sys/time.h: Fix indentation and add copyright header.
40874         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
40875         (do_test): Likewise.
40876         * string/test-memchr.c (do_one_test): Likewise.
40877         (do_test): Likewise.
40878         * string/test-memcmp.c (do_one_test): Likewise.
40879         (do_test): Likewise.
40880         * string/test-memcpy.c (do_one_test): Likewise.
40881         (do_test): Likewise.
40882         * string/test-memmem.c (do_one_test): Likewise.
40883         (do_test): Likewise.
40884         (do_random_tests): Likewise.
40885         * string/test-memmove.c (do_one_test): Likewise.
40886         (do_test): Likewise.
40887         * string/test-memset.c (do_one_test): Likewise.
40888         (do_test): Likewise.
40889         * string/test-rawmemchr.c (do_one_test): Likewise.
40890         (do_test): Likewise.
40891         * string/test-strcasecmp.c (do_one_test): Likewise.
40892         (do_test): Likewise.
40893         * string/test-strcasestr.c (do_one_test): Likewise.
40894         (do_test): Likewise.
40895         * string/test-strcat.c (do_one_test): Likewise.
40896         (do_test): Likewise.
40897         * string/test-strchr.c (do_one_test): Likewise.
40898         (do_test): Likewise.
40899         * string/test-strcmp.c (do_one_test): Likewise.
40900         (do_test): Likewise.
40901         * string/test-strcpy.c (do_one_test): Likewise.
40902         (do_test): Likewise.
40903         * string/test-string.h: Likewise.
40904         (test_init): Likewise.
40905         * string/test-strlen.c (do_one_test): Likewise.
40906         (do_test): Likewise.
40907         * string/test-strncasecmp.c (do_one_test): Likewise.
40908         (do_test): Likewise.
40909         * string/test-strncat.c (do_one_test): Likewise.
40910         (do_test): Likewise.
40911         * string/test-strncmp.c (do_one_test): Likewise.
40912         (do_test_limit): Likewise.
40913         (do_test): Likewise.
40914         * string/test-strncpy.c (do_one_test): Likewise.
40915         (do_test): Likewise.
40916         * string/test-strnlen.c (do_one_test): Likewise.
40917         (do_test): Likewise.
40918         * string/test-strpbrk.c (do_one_test): Likewise.
40919         (do_test): Likewise.
40920         * string/test-strrchr.c (do_one_test): Likewise.
40921         (do_test): Likewise.
40922         * string/test-strspn.c (do_one_test): Likewise.
40923         (do_test): Likewise.
40924         * string/test-strstr.c (do_one_test): Likewise.
40925         (do_test): Likewise.
40927         * benchtests/Makefile (string-bench): Add string benchmarks.
40928         * benchtests/bench-bcopy-ifunc.c: New file.
40929         * benchtests/bench-bcopy.c: New file.
40930         * benchtests/bench-bzero-ifunc.c: New file.
40931         * benchtests/bench-bzero.c: New file.
40932         * benchtests/bench-memccpy-ifunc.c: New file.
40933         * benchtests/bench-memccpy.c: New file.
40934         * benchtests/bench-memchr-ifunc.c: New file.
40935         * benchtests/bench-memchr.c: New file.
40936         * benchtests/bench-memcmp-ifunc.c: New file.
40937         * benchtests/bench-memcmp.c: New file.
40938         * benchtests/bench-memmem-ifunc.c: New file.
40939         * benchtests/bench-memmem.c: New file.
40940         * benchtests/bench-memmove-ifunc.c: New file.
40941         * benchtests/bench-memmove.c: New file.
40942         * benchtests/bench-mempcpy-ifunc.c: New file.
40943         * benchtests/bench-mempcpy.c: New file.
40944         * benchtests/bench-memset-ifunc.c: New file.
40945         * benchtests/bench-memset.c: New file.
40946         * benchtests/bench-rawmemchr-ifunc.c: New file.
40947         * benchtests/bench-rawmemchr.c: New file.
40948         * benchtests/bench-stpcpy-ifunc.c: New file.
40949         * benchtests/bench-stpcpy.c: New file.
40950         * benchtests/bench-stpncpy-ifunc.c: New file.
40951         * benchtests/bench-stpncpy.c: New file.
40952         * benchtests/bench-strcasecmp-ifunc.c: New file.
40953         * benchtests/bench-strcasecmp.c: New file.
40954         * benchtests/bench-strcasestr-ifunc.c: New file.
40955         * benchtests/bench-strcasestr.c: New file.
40956         * benchtests/bench-strcat-ifunc.c: New file.
40957         * benchtests/bench-strcat.c: New file.
40958         * benchtests/bench-strchr-ifunc.c: New file.
40959         * benchtests/bench-strchr.c: New file.
40960         * benchtests/bench-strchrnul-ifunc.c: New file.
40961         * benchtests/bench-strchrnul.c: New file.
40962         * benchtests/bench-strcmp-ifunc.c: New file.
40963         * benchtests/bench-strcmp.c: New file.
40964         * benchtests/bench-strcpy-ifunc.c: New file.
40965         * benchtests/bench-strcpy.c: New file.
40966         * benchtests/bench-strcspn-ifunc.c: New file.
40967         * benchtests/bench-strcspn.c: New file.
40968         * benchtests/bench-strlen-ifunc.c: New file.
40969         * benchtests/bench-strlen.c: New file.
40970         * benchtests/bench-strncasecmp-ifunc.c: New file.
40971         * benchtests/bench-strncasecmp.c: New file.
40972         * benchtests/bench-strncat-ifunc.c: New file.
40973         * benchtests/bench-strncat.c: New file.
40974         * benchtests/bench-strncmp-ifunc.c: New file.
40975         * benchtests/bench-strncmp.c: New file.
40976         * benchtests/bench-strncpy-ifunc.c: New file.
40977         * benchtests/bench-strncpy.c: New file.
40978         * benchtests/bench-strnlen-ifunc.c: New file.
40979         * benchtests/bench-strnlen.c: New file.
40980         * benchtests/bench-strpbrk-ifunc.c: New file.
40981         * benchtests/bench-strpbrk.c: New file.
40982         * benchtests/bench-strrchr-ifunc.c: New file.
40983         * benchtests/bench-strrchr.c: New file.
40984         * benchtests/bench-strspn-ifunc.c: New file.
40985         * benchtests/bench-strspn.c: New file.
40986         * benchtests/bench-strstr-ifunc.c: New file.
40987         * benchtests/bench-strstr.c: New file.
40989         * benchtests/Makefile: Disable parallel execution of targets.
40990         (string-bench): Add memcpy.
40991         (benchset): New variable to store a list of benchmark sets.
40992         (bench-func): Renamed from bench.
40993         (bench-set): New target.
40994         (bench): Depend on bench-func and bench-set.
40995         * benchtests/README: Add section on benchmark sets.
40996         * benchtests/bench-memcpy-ifunc.c: New file.
40997         * benchtests/bench-memcpy.c: New file.
40998         * benchtests/bench-string.h: New file.
41000 2013-06-11  Andreas Schwab  <schwab@suse.de>
41002         [BZ #15577]
41003         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
41004         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
41005         values in the triple.
41006         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
41007         terminator in the group key.
41009 2013-06-11  Andreas Jaeger  <aj@suse.de>
41011         * po/zh_TW.po: Update Chinese (traditional) translation from
41012         translation project.
41014 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41016         * include/time.h (__clock_gettime): Add libc_hidden_proto.
41017         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
41018         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
41019         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
41020         (clock_getcpuclockid): Likewise.
41021         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
41022         Add weak_alias and libc_hidden_def.
41023         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
41024         * rt/clock_gettime.c (clock_gettime): Rename to
41025         __clock_gettime.  Add weak_alias and libc_hidden_def.
41026         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
41027         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
41028         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
41029         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
41030         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
41031         Likewise.
41032         * rt/clock_settime.c (clock_settime): Rename to
41033         __clock_settime.  Add weak_alias and libc_hidden_def.
41034         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
41036 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
41038         * mach/err_boot.sub: Remove trailing whitespace.
41039         * mach/err_ipc.sub: Likewise.
41040         * mach/err_mach.sub: Likewise.
41042         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
41043         (ROUNDING_TESTS_double): Likewise.
41044         (ROUNDING_TESTS_long_double): Likewise.
41045         (ROUNDING_TESTS): Likewise.
41046         * math/libm-test.inc: Include <math-tests.h>.
41047         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
41048         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
41049         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
41050         (IF_ROUND_INIT_FE_UPWARD): Likewise.
41052 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41054         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
41055         of assigning.
41057 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
41059         * sysdeps/gnu/errlist.awk: Do not generate space at end of
41060         otherwise empty TRANS lines.
41061         * sysdeps/gnu/errlist.c: Regenerated.
41063         * catgets/gencat.c (error_print): Use (void) in function
41064         definition.
41065         * crypt/crypt_util.c (__init_des): Likewise.
41066         * crypt/speeds.c (Stop): Likewise.
41067         (main): Likewise.
41068         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
41069         * inet/ruserpass.c (token): Likewise.
41070         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
41071         * intl/localealias.c (extend_alias_table): Likewise.
41072         * intl/plural-exp.c (init_germanic_plural): Likewise.
41073         * libio/fcloseall.c (__fcloseall): Likewise.
41074         * libio/genops.c (_IO_flush_all): Likewise.
41075         (_IO_flush_all_linebuffered): Likewise.
41076         (_IO_cleanup): Likewise.
41077         (_IO_iter_begin): Likewise.
41078         (_IO_iter_end): Likewise.
41079         (_IO_list_lock): Likewise.
41080         (_IO_list_unlock): Likewise.
41081         (_IO_list_resetlock): Likewise.
41082         * libio/getchar.c (getchar): Likewise.
41083         * libio/getchar_u.c (getchar_unlocked): Likewise.
41084         * libio/getwchar.c (getwchar): Likewise.
41085         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
41086         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
41087         * login/getpt.c (__getpt): Likewise.
41088         * login/tst-utmp.c (main): Likewise.
41089         * malloc/hooks.c (__malloc_check_init): Likewise.
41090         * malloc/malloc.c (__malloc_stats): Likewise.
41091         * malloc/mtrace.c (tr_break): Likewise.
41092         (mtrace): Likewise.
41093         (muntrace): Likewise.
41094         * misc/fstab.c (endfsent): Likewise.
41095         * misc/getclktck.c (__getclktck): Likewise.
41096         * misc/getdtsz.c (__getdtablesize): Likewise.
41097         * misc/gethostid.c (gethostid): Likewise.
41098         * misc/getpagesize.c (__getpagesize): Likewise.
41099         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
41100         (__get_nprocs): Likewise.
41101         (__get_phys_pages): Likewise.
41102         (__get_avphys_pages): Likewise.
41103         * misc/getttyent.c (getttyent): Likewise.
41104         (setttyent): Likewise.
41105         (endttyent): Likewise.
41106         * misc/getusershell.c (getusershell): Likewise.
41107         (endusershell): Likewise.
41108         (setusershell): Likewise.
41109         (initshells): Likewise.
41110         * misc/hsearch.c (__hdestroy): Likewise.
41111         * misc/sync.c (sync): Likewise.
41112         * misc/syslog.c (closelog_internal): Likewise.
41113         (closelog): Likewise.
41114         * misc/ttyslot.c (ttyslot): Likewise.
41115         * misc/vhangup.c (vhangup): Likewise.
41116         * posix/fork.c (__fork): Likewise.
41117         * posix/getegid.c (__getegid): Likewise.
41118         * posix/geteuid.c (__geteuid): Likewise.
41119         * posix/getgid.c (__getgid): Likewise.
41120         * posix/getpid.c (__getpid): Likewise.
41121         * posix/getppid.c (__getppid): Likewise.
41122         * posix/getuid.c (__getuid): Likewise.
41123         * posix/pause.c (pause): Likewise.
41124         * posix/setpgrp.c (setpgrp): Likewise.
41125         * posix/setsid.c (__setsid): Likewise.
41126         * posix/test-vfork.c (noop): Likewise.
41127         * resolv/gethnamaddr.c (_endhtent): Likewise.
41128         (_gethtent): Likewise.
41129         (ht_endhostent): Likewise.
41130         (gethostent): Likewise.
41131         (dns_service): Likewise.
41132         * stdlib/drand48.c (drand48): Likewise.
41133         * stdlib/lrand48.c (lrand48): Likewise.
41134         * stdlib/mrand48.c (mrand48): Likewise.
41135         * stdlib/rand.c (rand): Likewise.
41136         * stdlib/random.c (__random): Likewise.
41137         * stdlib/setenv.c (clearenv): Likewise.
41138         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
41139         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
41140         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
41141         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
41142         (__get_nprocs): Likewise.
41143         (__get_phys_pages): Likewise.
41144         (__get_avphys_pages): Likewise.
41145         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
41146         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
41147         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
41148         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
41149         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
41150         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
41151         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
41152         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
41153         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
41154         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
41155         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
41156         * sysdeps/mach/hurd/sync.c (sync): Likewise.
41157         * sysdeps/posix/clock.c (clock): Likewise.
41158         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
41159         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
41160         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
41161         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
41162         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
41163         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
41164         (__get_nprocs_conf): Likewise.
41165         (__get_phys_pages): Likewise.
41166         (__get_avphys_pages): Likewise.
41167         * time/clock.c (clock): Likewise.
41168         * time/tzset.c (__tzname_max): Likewise.
41170 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
41172         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
41173         (__bswap_32): Do not use "register".
41174         * crypt/crypt.c (_ufc_doit_r): Likewise.
41175         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
41176         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
41177         * gmon/gmon.c (__monstartup): Likewise.
41178         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
41179         * hurd/hurdmalloc.c (more_memory): Likewise.
41180         (malloc): Likewise.
41181         (free): Likewise.
41182         (realloc): Likewise.
41183         (malloc_fork_prepare): Likewise.
41184         (malloc_fork_parent): Likewise.
41185         (malloc_fork_child): Likewise.
41186         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
41187         (_svcauth_des): Likewise.
41188         * inet/inet_lnaof.c (inet_lnaof): Likewise.
41189         * inet/inet_net.c (inet_network): Likewise.
41190         * inet/inet_netof.c (inet_netof): Likewise.
41191         * inet/rcmd.c (__validuser2_sa): Likewise.
41192         * io/fts.c (fts_open): Likewise.
41193         (fts_load): Likewise.
41194         (fts_close): Likewise.
41195         (fts_read): Likewise.
41196         (fts_children): Likewise.
41197         (fts_build): Likewise.
41198         (fts_stat): Likewise.
41199         (fts_sort): Likewise.
41200         (fts_alloc): Likewise.
41201         (fts_lfree): Likewise.
41202         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
41203         (_IO_file_xsgetn): Likewise.
41204         (_IO_file_xsgetn_mmap): Likewise.
41205         * libio/iofopncook.c (_IO_cookie_read): Likewise.
41206         (_IO_cookie_write): Likewise.
41207         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
41208         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
41209         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
41210         * malloc/obstack.c (_obstack_begin): Likewise.
41211         (_obstack_begin_1): Likewise.
41212         (_obstack_newchunk): Likewise.
41213         (_obstack_allocated_p): Likewise.
41214         (obstack_free): Likewise.
41215         (_obstack_memory_used): Likewise.
41216         * misc/getttyent.c (getttynam): Likewise.
41217         (getttyent): Likewise.
41218         (skip): Likewise.
41219         (value): Likewise.
41220         * misc/getusershell.c (initshells): Likewise.
41221         * misc/syslog.c (__vsyslog_chk): Likewise.
41222         * misc/ttyslot.c (ttyslot): Likewise.
41223         * nis/nis_hash.c (__nis_hash): Likewise.
41224         * posix/fnmatch_loop.c (FCT): Likewise.
41225         * posix/getconf.c (print_all): Likewise.
41226         (main): Likewise.
41227         * posix/getopt.c (exchange): Likewise.
41228         * posix/glob.c (globfree): Likewise.
41229         (prefix_array): Likewise.
41230         (__glob_pattern_type): Likewise.
41231         * resolv/arpa/nameser.h (NS_GET16): Likewise.
41232         (NS_GET32): Likewise.
41233         (NS_PUT16): Likewise.
41234         (NS_PUT32): Likewise.
41235         * resolv/gethnamaddr.c (getanswer): Likewise.
41236         (gethostbyname2): Likewise.
41237         (gethostbyaddr): Likewise.
41238         (_gethtent): Likewise.
41239         (_gethtbyname2): Likewise.
41240         (_gethtbyaddr): Likewise.
41241         * resolv/ns_print.c (dst_s_get_int16): Likewise.
41242         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
41243         * resolv/res_init.c (__res_vinit): Likewise.
41244         (net_mask): Likewise.
41245         * resolv/res_mkquery.c (outchar): Likewise.
41246         (PRINT): Likewise.
41247         * stdio-common/printf_fp.c (outchar): Likewise.
41248         (PRINT): Likewise.
41249         * stdio-common/printf_fphex.c (outchar): Likewise.
41250         (PRINT): Likewise.
41251         * stdio-common/printf_size.c (outchar): Likewise.
41252         (PRINT): Likewise.
41253         * stdio-common/test_rdwr.c (main): Likewise.
41254         * stdio-common/tfformat.c (matches): Likewise.
41255         * stdio-common/vfprintf.c (outchar): Likewise.
41256         (printf_unknown): Likewise.
41257         (buffered_vfprintf): Likewise.
41258         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
41259         * stdio-common/xbug.c (AppendToBuffer): Likewise.
41260         (ReadFile): Likewise.
41261         * stdlib/qsort.c (SWAP): Likewise.
41262         (_quicksort): Likewise.
41263         * stdlib/setenv.c (__add_to_environ): Likewise.
41264         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
41265         * stdlib/strtol_l.c (__strtol_l): Likewise.
41266         * stdlib/tst-strtod.c (main): Likewise.
41267         * stdlib/tst-strtol.c (main): Likewise.
41268         * stdlib/tst-strtoll.c (main): Likewise.
41269         * string/bits/string2.h (__strcmp_cc): Likewise.
41270         (__strcmp_cg): Likewise.
41271         (__strcspn_c1): Likewise.
41272         (__strcspn_c2): Likewise.
41273         (__strcspn_c3): Likewise.
41274         (__strspn_c1): Likewise.
41275         (__strspn_c2): Likewise.
41276         (__strspn_c3): Likewise.
41277         (__strsep_1c): Likewise.
41278         (__strsep_2c): Likewise.
41279         (__strsep_3c): Likewise.
41280         * string/memccpy.c (__memccpy): Likewise.
41281         * string/stpcpy.c (__stpcpy): Likewise.
41282         * string/strcmp.c (strcmp): Likewise.
41283         * string/strrchr.c (strrchr): Likewise.
41284         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
41285         Likewise.
41286         * sysdeps/mach/hurd/getcwd.c
41287         (_hurd_canonicalize_directory_name_internal): Likewise.
41288         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
41289         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
41290         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
41291         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
41292         Likewise, in both definitions.
41293         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
41294         definitions.
41295         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
41296         64] (__bswap_64): Likewise.
41297         * time/test_time.c (main): Likewise.
41298         * time/tzfile.c (__tzfile_read): Likewise.
41299         (__tzfile_compute): Likewise.
41300         * time/tzset.c (__tzset_parse_tz): Likewise.
41301         (tzset_internal): Likewise.
41302         (compute_change): Likewise.
41303         * wcsmbs/wcscat.c (__wcscat): Likewise.
41304         * wcsmbs/wcschr.c (wcschr): Likewise.
41305         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
41306         * wcsmbs/wcscspn.c (wcscspn): Likewise.
41307         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
41308         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
41309         * wcsmbs/wcsspn.c (wcsspn): Likewise.
41310         * wcsmbs/wcsstr.c (wcsstr): Likewise.
41311         * wcsmbs/wmemchr.c (wmemchr): Likewise.
41312         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
41313         * wcsmbs/wmemset.c (wmemset): Likewise.
41315 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
41317         * scripts/config.guess: Update to version 2013-05-16.
41318         * scripts/config.sub: Update to version 2013-04-24.
41319         * scripts/install-sh: Update to version 2011-11-20.07.
41320         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
41321         * scripts/move-if-change: Update to version 2012-01-06 07:23.
41323 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
41325         * debug/fgetws_u_chk.c: Fix leading whitespaces.
41326         * elf/sln.c: Likewise.
41327         * hurd/hurd/ioctl.h: Likewise.
41328         * hurd/hurdmalloc.c: Likewise.
41329         * hurd/xattr.c: Likewise.
41330         * include/shlib-compat.h: Likewise.
41331         * inet/ruserpass.c: Likewise.
41332         * libio/iofgets_u.c: Likewise.
41333         * libio/iofgetws_u.c: Likewise.
41334         * locale/programs/ld-identification.c: Likewise.
41335         * locale/programs/ld-time.c: Likewise.
41336         * mach/msg-destroy.c: Likewise.
41337         * nss/nss_files/files-netgrp.c: Likewise.
41338         * resolv/res_data.c: Likewise.
41339         * soft-fp/op-1.h: Likewise.
41340         * soft-fp/op-2.h: Likewise.
41341         * soft-fp/op-4.h: Likewise.
41342         * soft-fp/op-common.h: Likewise.
41343         * stdio-common/printf_fphex.c: Likewise.
41344         * stdlib/strtod_l.c: Likewise.
41345         * sunrpc/rpc/clnt.h: Likewise.
41346         * sysdeps/generic/framestate.c: Likewise.
41347         * sysdeps/i386/bsd-_setjmp.S: Likewise.
41348         * sysdeps/i386/bsd-setjmp.S: Likewise.
41349         * sysdeps/i386/__longjmp.S: Likewise.
41350         * sysdeps/i386/setjmp.S: Likewise.
41351         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41352         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41353         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41354         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41355         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41356         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
41357         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41358         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41359         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41360         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
41361         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
41362         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
41363         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
41364         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
41365         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
41366         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41367         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
41368         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
41369         * sysdeps/ieee754/support.c: Likewise.
41370         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41371         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
41372         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
41373         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
41374         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
41375         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
41376         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
41377         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
41378         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
41379         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
41380         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
41381         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
41382         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
41383         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
41384         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
41385         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
41386         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
41387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
41389 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
41391         * posix/transbug.c: Remove executable mode.
41393 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
41395         * crypt/speeds.c: Remove trailing whitespace.
41396         * dlfcn/default.c: Likewise.
41397         * elf/ifuncdep2.c: Likewise.
41398         * elf/ifuncmain1.c: Likewise.
41399         * elf/ifuncmain1vis.c: Likewise.
41400         * elf/testobj.h: Likewise.
41401         * elf/tst-stackguard1.c: Likewise.
41402         * gmon/sys/gmon.h: Likewise.
41403         * hurd/hurdmsg.c: Likewise.
41404         * hurd/new-fd.c: Likewise.
41405         * hurd/ports-get.c: Likewise.
41406         * iconvdata/ibm1008_420.c: Likewise.
41407         * inet/tst-getni1.c: Likewise.
41408         * inet/tst-getni2.c: Likewise.
41409         * libio/ioungetc.c: Likewise.
41410         * libio/wfiledoalloc.c: Likewise.
41411         * manual/libm-err-tab.pl: Likewise.
41412         * math/w_dremf.c: Likewise.
41413         * misc/ftruncate.c: Likewise.
41414         * posix/bug-glob2.c: Likewise.
41415         * posix/tst-pcre.c: Likewise.
41416         * posix/wait4.c: Likewise.
41417         * resolv/README: Likewise.
41418         * resolv/res_debug.h: Likewise.
41419         * resolv/tst-inet_ntop.c: Likewise.
41420         * setjmp/bug269-setjmp.c: Likewise.
41421         * soft-fp/extended.h: Likewise.
41422         * soft-fp/op-1.h: Likewise.
41423         * soft-fp/op-2.h: Likewise.
41424         * soft-fp/op-4.h: Likewise.
41425         * soft-fp/op-8.h: Likewise.
41426         * soft-fp/testit.c: Likewise.
41427         * stdio-common/bug16.c: Likewise.
41428         * stdlib/random.c: Likewise.
41429         * sunrpc/rpcsvc/rquota.x: Likewise.
41430         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
41431         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41432         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41433         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41434         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41435         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41436         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41437         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41438         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41439         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41440         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41441         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
41442         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41443         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
41444         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41445         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
41446         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
41447         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41448         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
41449         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41450         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41451         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41452         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
41453         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
41454         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
41455         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
41456         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
41457         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41458         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41459         * sysdeps/ieee754/s_lib_version.c: Likewise.
41460         * sysdeps/mach/hurd/check_fds.c: Likewise.
41461         * sysdeps/mach/hurd/getsockname.c: Likewise.
41462         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
41463         * sysdeps/mach/hurd/recvfrom.c: Likewise.
41464         * sysdeps/powerpc/bits/link.h: Likewise.
41465         * sysdeps/powerpc/dl-procinfo.c: Likewise.
41466         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
41467         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
41468         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
41469         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
41470         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
41471         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
41472         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
41473         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
41474         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41475         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
41476         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
41477         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
41478         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41479         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41480         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41481         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
41482         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
41483         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41484         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41485         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41486         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
41487         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
41488         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
41489         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
41490         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
41491         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
41492         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41493         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41494         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
41495         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
41496         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
41497         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
41498         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
41499         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
41500         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
41501         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
41502         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
41503         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
41504         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
41505         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
41506         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
41507         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
41508         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
41509         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
41510         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
41511         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
41512         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
41513         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
41514         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
41515         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41516         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41517         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
41518         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
41519         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
41520         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
41521         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
41522         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
41523         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
41524         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
41525         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
41526         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
41527         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
41528         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
41529         * sysdeps/powerpc/sysdep.h: Likewise.
41530         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
41531         * sysdeps/s390/s390-64/sub_n.S: Likewise.
41532         * sysdeps/sh/dl-trampoline.S: Likewise.
41533         * sysdeps/sh/memset.S: Likewise.
41534         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
41535         * sysdeps/sh/strlen.S: Likewise.
41536         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
41537         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
41538         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
41539         * sysdeps/sparc/sparc32/rem.S: Likewise.
41540         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
41541         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
41542         * sysdeps/sparc/sparc32/strchr.S: Likewise.
41543         * sysdeps/sparc/sparc32/udiv.S: Likewise.
41544         * sysdeps/sparc/sparc32/urem.S: Likewise.
41545         * sysdeps/sparc/sparc64/add_n.S: Likewise.
41546         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
41547         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
41548         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
41549         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
41550         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
41551         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
41552         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
41553         * sysdeps/unix/bsd/times.c: Likewise.
41554         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
41555         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
41556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
41557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
41558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
41559         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
41560         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
41561         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
41562         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
41563         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
41564         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
41565         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
41566         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
41567         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
41568         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
41569         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
41570         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
41571         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
41572         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
41573         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
41574         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
41575         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
41576         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
41577         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
41578         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
41579         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
41580         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
41581         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41582         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
41583         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
41584         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
41585         * sysdeps/x86_64/strcspn.S: Likewise.
41587 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41589         * locale/C-translit.h: Revert #include <stdint.h> because this is a
41590         generated file.  Regenerate properly from gen-translit.pl.
41591         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
41592         locale/C-translit.h.
41594 2013-06-05  Andreas Schwab  <schwab@suse.de>
41596         [BZ #15100]
41597         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
41598         week as 6 instead of -1.
41599         * time/tst-strptime.c (day_tests): Add test case.
41601 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41603         * sysdeps/generic/math_private.h
41604         (libc_feholdexcept_setround_53bit): Replace with
41605         libc_feholdsetround_53bit.
41606         (libc_feupdateenv_53bit): Replace with
41607         libc_feresetround_53bit.
41608         (SET_RESTORE_ROUND_53BIT): Adjust.
41610 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
41612         * string/test-strchrnul.c: Add copyright header.
41614         * posix/tst-getaddrinfo4.c: Increase test timeout.
41616 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
41618         [BZ #15536]
41619         * math/libm-test.inc (MAX_EXP): Remove
41620         (MIN_EXP): Define.
41621         (ulp): Use MIN_EXP - MANT_DIG.
41622         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
41624 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
41626         * po/be.po: Revert last change.
41627         * po/zh_CN.po: Likewise.
41628         * po/header.pot: Likewise.
41630 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
41632         * Makefile ($(common-objpfx)linkobj/libc.so): Define
41633         link-libc-deps to empty as target-specific variable.
41634         * Makerules (link-libc-args): New variable.
41635         (libc-for-link): Likewise.
41636         (link-libc-deps): Likewise.
41637         (lib%.so): Depend on $(link-libc-deps).  Link with
41638         $(link-libc-args).
41639         (build-module): Link with $(link-libc-args).
41640         (build-module-asneeded): Likewise.
41641         (build-module-helper-objlist): Filter out $(link-libc-deps) from
41642         list of objects.
41643         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
41644         target-specific variable.
41645         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
41646         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
41647         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
41648         libc.
41649         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
41650         libc and ld.so.
41651         ($(objpfx)libpcprofile.so): Likewise.
41652         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
41653         libc_nonshared.a.
41654         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
41655         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
41656         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
41657         $(link-libc-deps).
41658         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
41659         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
41660         * login/Makefile ($(objpfx)libutil.so): Likewise.
41661         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
41662         * math/Makefile ($(objpfx)libm.so): Likewise.
41663         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
41664         $(objpfx)libnsl.so): Define libc-for-link as target-specific
41665         variable instead of depending directly on libc.
41666         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
41667         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
41668         $(link-libc-deps).
41669         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
41670         libc.
41671         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
41672         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
41673         ($(objpfx)libanl.so): Likewise.
41674         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
41675         ld.so.
41676         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
41677         $(link-libc-deps).
41678         * sysdeps/i386/fpu/Makefile: Remove file.
41679         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
41680         ($(objpfx)libm.so): Remove dependency on ld.so.
41682 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
41684         [BZ # 15553]
41685         * nis/yp_xdr.c (XDRMAXNAME): Define.
41686         (XDRMAXRECORD): Define.
41687         (xdr_domainname): Use XDRMAXNAME.
41688         (xdr_mapname): Likewise.
41689         (xdr_peername): Likewise.
41690         (xdr_keydat): Use XDRMAXRECORD.
41691         (xdr_valdat): Likewise.
41693 2013-05-30  Jeff Law  <law@redhat.com>
41695         [BZ #14256]
41696         * manual/errno.texi (ESTALE): Update to account for more than
41697         just NFS file systems.
41698         * sysdeps/gnu/errlist.c: Regenerated.
41700 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41702         [BZ #15465]
41703         * elf/Makefile (tests): Add tst-null-argv.
41704         (modules-names):  Add tst-null-argv-lib.
41705         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
41706         (tst-null-argv-ENV): Set environment for tst-null-argv.
41707         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
41708         (RTLD_PROGNAME): New macro.
41709         * elf/tst-null-argv.c: New test case.
41710         * elf/tst-null-argv-lib.c: Library for test case.
41711         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
41712         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
41713         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
41714         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
41715         * elf/dl-init.c (call_init): Likewise.
41716         (_dl_init): Likewise.
41717         * elf/dl-load.c (print_search_path): Likewise.
41718         (_dl_map_object): Likewise.
41719         * elf/dl-lookup.c (do_lookup_x): Likewise.
41720         (add_dependency): Likewise.
41721         (_dl_lookup_symbol_x): Likewise.
41722         (_dl_debug_bindings): Likewise.
41723         * elf/dl-open.c (_dl_show_scope): Likewise.
41724         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
41725         * elf/dl-version.c (match_symbol): Likewise.
41726         (_dl_check_map_versions): Likewise.
41727         * elf/rtld.c (dl_main): Likewise.
41728         (print_unresolved): Use RTLD_PROGNAME.
41729         (print_missing_version): Likewise.
41730         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
41731         (elf_machine_rela): Likewise.
41732         * sysdeps/powerpc/powerpc32/dl-machine.c
41733         (__process_machine_rela): Likewise.
41734         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41735         Likewise.
41736         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
41737         Likewise.
41738         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
41739         Likewise.
41740         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41741         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
41742         Likewise.
41743         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
41744         Likewise.
41745         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
41747 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
41749         * po/be.po: Add descriptive title.
41750         * po/zh_CN.po: Likewise.
41751         * po/header.pot: Likewise.
41753 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
41755         * locale/programs/locarchive.c (create_archive): Inlucde fname in
41756         error message.
41757         (enlarge_archive): Likewise.
41759 2013-05-28  Ben North  <ben@redfrontdoor.org>
41761         * manual/arith.texi (frexp): It is the magnitude of the return
41762         value which lies in [0.5, 1), not the return value itself.
41764 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41766         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41768 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
41770         * stdio-common/bug26.c (main): Correct fscanf template.
41772         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
41773         declare _dl_skip_args.
41775         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
41776         Don't declare.
41778         * manual/platform.texi: Add missing @end deftypefun.
41780 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
41782         [BZ #15529]
41783         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
41784         bit of mantissa of 2^16382.
41785         * math/libm-test.inc (hypot_test_data): Add more tests.
41787         * math/libm-test.inc: Add drem and pow10 to list of tested
41788         functions.
41789         (pow10_test): New function.
41790         (drem_test): Likewise.
41791         (drem_test_tonearest): Likewise.
41792         (drem_test_towardzero): Likewise.
41793         (drem_test_downward): Likewise.
41794         (drem_test_upward): Likewise.
41795         (main): Call the new functions.
41797         * math/libm-test.inc (finite_test_data): Remove.
41798         (finite_test): Run tests from isfinite_test_data.
41799         (gamma_test_data): Remove.
41800         (gamma_test): Run tests from lgamma_test_data.
41801         * sysdeps/i386/fpu/libm-test-ulps: Update.
41802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41804 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41806         * manual/platform.texi: Add PowerPC PPR function set documentation.
41807         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
41808         implementation.
41810 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
41812         * math/libm-test.inc (MAX_EXP): Define.
41813         (ULPDIFF): Define.
41814         (ulp): New function.
41815         (check_float_internal): Use ULPDIFF.
41816         (cpow_test): Disable failing test.
41817         (check_ulp): Test ulp() implemetnation.
41818         (main): Call check_ulp before starting tests.
41820 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
41822         * math/gen-libm-test.pl (generate_testfile): Do not handle
41823         START_DATA and END_DATA.
41824         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
41825         END_DATA.
41826         (acos_tonearest_test_data): Likewise.
41827         (acos_towardzero_test_data): Likewise.
41828         (acos_downward_test_data): Likewise.
41829         (acos_upward_test_data): Likewise.
41830         (acosh_test_data): Likewise.
41831         (asin_test_data): Likewise.
41832         (asin_tonearest_test_data): Likewise.
41833         (asin_towardzero_test_data): Likewise.
41834         (asin_downward_test_data): Likewise.
41835         (asin_upward_test_data): Likewise.
41836         (asinh_test_data): Likewise.
41837         (atan_test_data): Likewise.
41838         (atanh_test_data): Likewise.
41839         (atan2_test_data): Likewise.
41840         (cabs_test_data): Likewise.
41841         (cacos_test_data): Likewise.
41842         (cacosh_test_data): Likewise.
41843         (carg_test_data): Likewise.
41844         (casin_test_data): Likewise.
41845         (casinh_test_data): Likewise.
41846         (catan_test_data): Likewise.
41847         (catanh_test_data): Likewise.
41848         (cbrt_test_data): Likewise.
41849         (ccos_test_data): Likewise.
41850         (ccosh_test_data): Likewise.
41851         (ceil_test_data): Likewise.
41852         (cexp_test_data): Likewise.
41853         (cimag_test_data): Likewise.
41854         (clog_test_data): Likewise.
41855         (clog10_test_data): Likewise.
41856         (conj_test_data): Likewise.
41857         (copysign_test_data): Likewise.
41858         (cos_test_data): Likewise.
41859         (cos_tonearest_test_data): Likewise.
41860         (cos_towardzero_test_data): Likewise.
41861         (cos_downward_test_data): Likewise.
41862         (cos_upward_test_data): Likewise.
41863         (cosh_test_data): Likewise.
41864         (cosh_tonearest_test_data): Likewise.
41865         (cosh_towardzero_test_data): Likewise.
41866         (cosh_downward_test_data): Likewise.
41867         (cosh_upward_test_data): Likewise.
41868         (cpow_test_data): Likewise.
41869         (cproj_test_data): Likewise.
41870         (creal_test_data): Likewise.
41871         (csin_test_data): Likewise.
41872         (csinh_test_data): Likewise.
41873         (csqrt_test_data): Likewise.
41874         (ctan_test_data): Likewise.
41875         (ctan_tonearest_test_data): Likewise.
41876         (ctan_towardzero_test_data): Likewise.
41877         (ctan_downward_test_data): Likewise.
41878         (ctan_upward_test_data): Likewise.
41879         (ctanh_test_data): Likewise.
41880         (ctanh_tonearest_test_data): Likewise.
41881         (ctanh_towardzero_test_data): Likewise.
41882         (ctanh_downward_test_data): Likewise.
41883         (ctanh_upward_test_data): Likewise.
41884         (erf_test_data): Likewise.
41885         (erfc_test_data): Likewise.
41886         (exp_test_data): Likewise.
41887         (exp_tonearest_test_data): Likewise.
41888         (exp_towardzero_test_data): Likewise.
41889         (exp_downward_test_data): Likewise.
41890         (exp_upward_test_data): Likewise.
41891         (exp10_test_data): Likewise.
41892         (exp2_test_data): Likewise.
41893         (expm1_test_data): Likewise.
41894         (fabs_test_data): Likewise.
41895         (fdim_test_data): Likewise.
41896         (finite_test_data): Likewise.
41897         (floor_test_data): Likewise.
41898         (fma_test_data): Likewise.
41899         (fma_towardzero_test_data): Likewise.
41900         (fma_downward_test_data): Likewise.
41901         (fma_upward_test_data): Likewise.
41902         (fmax_test_data): Likewise.
41903         (fmin_test_data): Likewise.
41904         (fmod_test_data): Likewise.
41905         (fpclassify_test_data): Likewise.
41906         (frexp_test_data): Likewise.
41907         (gamma_test_data): Likewise.
41908         (hypot_test_data): Likewise.
41909         (ilogb_test_data): Likewise.
41910         (isfinite_test_data): Likewise.
41911         (isgreater_test_data): Likewise.
41912         (isgreaterequal_test_data): Likewise.
41913         (isinf_test_data): Likewise.
41914         (isless_test_data): Likewise.
41915         (islessequal_test_data): Likewise.
41916         (islessgreater_test_data): Likewise.
41917         (isnan_test_data): Likewise.
41918         (isnormal_test_data): Likewise.
41919         (issignaling_test_data): Likewise.
41920         (isunordered_test_data): Likewise.
41921         (j0_test_data): Likewise.
41922         (j1_test_data): Likewise.
41923         (jn_test_data): Likewise.
41924         (ldexp_test_data): Likewise.
41925         (lgamma_test_data): Likewise.
41926         (lrint_test_data): Likewise.
41927         (lrint_tonearest_test_data): Likewise.
41928         (lrint_towardzero_test_data): Likewise.
41929         (lrint_downward_test_data): Likewise.
41930         (lrint_upward_test_data): Likewise.
41931         (llrint_test_data): Likewise.
41932         (llrint_tonearest_test_data): Likewise.
41933         (llrint_towardzero_test_data): Likewise.
41934         (llrint_downward_test_data): Likewise.
41935         (llrint_upward_test_data): Likewise.
41936         (log_test_data): Likewise.
41937         (log10_test_data): Likewise.
41938         (log1p_test_data): Likewise.
41939         (log2_test_data): Likewise.
41940         (logb_test_data): Likewise.
41941         (logb_downward_test_data): Likewise.
41942         (lround_test_data): Likewise.
41943         (llround_test_data): Likewise.
41944         (modf_test_data): Likewise.
41945         (nearbyint_test_data): Likewise.
41946         (nextafter_test_data): Likewise.
41947         (nexttoward_test_data): Likewise.
41948         (pow_test_data): Likewise.
41949         (pow_tonearest_test_data): Likewise.
41950         (pow_towardzero_test_data): Likewise.
41951         (pow_downward_test_data): Likewise.
41952         (pow_upward_test_data): Likewise.
41953         (remainder_test_data): Likewise.
41954         (remainder_tonearest_test_data): Likewise.
41955         (remainder_towardzero_test_data): Likewise.
41956         (remainder_downward_test_data): Likewise.
41957         (remainder_upward_test_data): Likewise.
41958         (remquo_test_data): Likewise.
41959         (rint_test_data): Likewise.
41960         (rint_tonearest_test_data): Likewise.
41961         (rint_towardzero_test_data): Likewise.
41962         (rint_downward_test_data): Likewise.
41963         (rint_upward_test_data): Likewise.
41964         (round_test_data): Likewise.
41965         (scalb_test_data): Likewise.
41966         (scalbn_test_data): Likewise.
41967         (scalbln_test_data): Likewise.
41968         (signbit_test_data): Likewise.
41969         (sin_test_data): Likewise.
41970         (sin_tonearest_test_data): Likewise.
41971         (sin_towardzero_test_data): Likewise.
41972         (sin_downward_test_data): Likewise.
41973         (sin_upward_test_data): Likewise.
41974         (sincos_test_data): Likewise.
41975         (sinh_test_data): Likewise.
41976         (sinh_tonearest_test_data): Likewise.
41977         (sinh_towardzero_test_data): Likewise.
41978         (sinh_downward_test_data): Likewise.
41979         (sinh_upward_test_data): Likewise.
41980         (sqrt_test_data): Likewise.
41981         (tan_test_data): Likewise.
41982         (tan_tonearest_test_data): Likewise.
41983         (tan_towardzero_test_data): Likewise.
41984         (tan_downward_test_data): Likewise.
41985         (tan_upward_test_data): Likewise.
41986         (tanh_test_data): Likewise.
41987         (tgamma_test_data): Likewise.
41988         (trunc_test_data): Likewise.
41989         (y0_test_data): Likewise.
41990         (y1_test_data): Likewise.
41991         (yn_test_data): Likewise.
41992         (significand_test_data): Likewise.
41994         * math/gen-libm-test.pl (@functions): Remove variable.
41995         (generate_testfile): Don't handle START and END lines.
41996         * math/libm-test.inc (START): New macro.
41997         (END): Likewise.
41998         (END_COMPLEX): Likewise.
41999         (acos_test): Use END macro without arguments.
42000         (acos_test_tonearest): Likewise.
42001         (acos_test_towardzero): Likewise.
42002         (acos_test_downward): Likewise.
42003         (acos_test_upward): Likewise.
42004         (acosh_test): Likewise.
42005         (asin_test): Likewise.
42006         (asin_test_tonearest): Likewise.
42007         (asin_test_towardzero): Likewise.
42008         (asin_test_downward): Likewise.
42009         (asin_test_upward): Likewise.
42010         (asinh_test): Likewise.
42011         (atan_test): Likewise.
42012         (atanh_test): Likewise.
42013         (atan2_test): Likewise.
42014         (cabs_test): Likewise.
42015         (cacos_test): Use END_COMPLEX macro without arguments.
42016         (cacosh_test): Likewise.
42017         (carg_test): Use END macro without arguments.
42018         (casin_test): Use END_COMPLEX macro without arguments.
42019         (casinh_test): Likewise.
42020         (catan_test): Likewise.
42021         (catanh_test): Likewise.
42022         (cbrt_test): Use END macro without arguments.
42023         (ccos_test): Use END_COMPLEX macro without arguments.
42024         (ccosh_test): Likewise.
42025         (ceil_test): Use END macro without arguments.
42026         (cexp_test): Use END_COMPLEX macro without arguments.
42027         (cimag_test): Use END macro without arguments.
42028         (clog_test): Use END_COMPLEX macro without arguments.
42029         (clog10_test): Likewise.
42030         (conj_test): Likewise.
42031         (copysign_test): Use END macro without arguments.
42032         (cos_test): Likewise.
42033         (cos_test_tonearest): Likewise.
42034         (cos_test_towardzero): Likewise.
42035         (cos_test_downward): Likewise.
42036         (cos_test_upward): Likewise.
42037         (cosh_test): Likewise.
42038         (cosh_test_tonearest): Likewise.
42039         (cosh_test_towardzero): Likewise.
42040         (cosh_test_downward): Likewise.
42041         (cosh_test_upward): Likewise.
42042         (cpow_test): Use END_COMPLEX macro without arguments.
42043         (cproj_test): Likewise.
42044         (creal_test): Use END macro without arguments.
42045         (csin_test): Use END_COMPLEX macro without arguments.
42046         (csinh_test): Likewise.
42047         (csqrt_test): Likewise.
42048         (ctan_test): Likewise.
42049         (ctan_test_tonearest): Likewise.
42050         (ctan_test_towardzero): Likewise.
42051         (ctan_test_downward): Likewise.
42052         (ctan_test_upward): Likewise.
42053         (ctanh_test): Likewise.
42054         (ctanh_test_tonearest): Likewise.
42055         (ctanh_test_towardzero): Likewise.
42056         (ctanh_test_downward): Likewise.
42057         (ctanh_test_upward): Likewise.
42058         (erf_test): Use END macro without arguments.
42059         (erfc_test): Likewise.
42060         (exp_test): Likewise.
42061         (exp_test_tonearest): Likewise.
42062         (exp_test_towardzero): Likewise.
42063         (exp_test_downward): Likewise.
42064         (exp_test_upward): Likewise.
42065         (exp10_test): Likewise.
42066         (exp2_test): Likewise.
42067         (expm1_test): Likewise.
42068         (fabs_test): Likewise.
42069         (fdim_test): Likewise.
42070         (finite_test): Likewise.
42071         (floor_test): Likewise.
42072         (fma_test): Likewise.
42073         (fma_test_towardzero): Likewise.
42074         (fma_test_downward): Likewise.
42075         (fma_test_upward): Likewise.
42076         (fmax_test): Likewise.
42077         (fmin_test): Likewise.
42078         (fmod_test): Likewise.
42079         (fpclassify_test): Likewise.
42080         (frexp_test): Likewise.
42081         (gamma_test): Likewise.
42082         (hypot_test): Likewise.
42083         (ilogb_test): Likewise.
42084         (isfinite_test): Likewise.
42085         (isgreater_test): Likewise.
42086         (isgreaterequal_test): Likewise.
42087         (isinf_test): Likewise.
42088         (isless_test): Likewise.
42089         (islessequal_test): Likewise.
42090         (islessgreater_test): Likewise.
42091         (isnan_test): Likewise.
42092         (isnormal_test): Likewise.
42093         (issignaling_test): Likewise.
42094         (isunordered_test): Likewise.
42095         (j0_test): Likewise.
42096         (j1_test): Likewise.
42097         (jn_test): Likewise.
42098         (ldexp_test): Likewise.
42099         (lgamma_test): Likewise.
42100         (lrint_test): Likewise.
42101         (lrint_test_tonearest): Likewise.
42102         (lrint_test_towardzero): Likewise.
42103         (lrint_test_downward): Likewise.
42104         (lrint_test_upward): Likewise.
42105         (llrint_test): Likewise.
42106         (llrint_test_tonearest): Likewise.
42107         (llrint_test_towardzero): Likewise.
42108         (llrint_test_downward): Likewise.
42109         (llrint_test_upward): Likewise.
42110         (log_test): Likewise.
42111         (log10_test): Likewise.
42112         (log1p_test): Likewise.
42113         (log2_test): Likewise.
42114         (logb_test): Likewise.
42115         (logb_test_downward): Likewise.
42116         (lround_test): Likewise.
42117         (llround_test): Likewise.
42118         (modf_test): Likewise.
42119         (nearbyint_test): Likewise.
42120         (nextafter_test): Likewise.
42121         (nexttoward_test): Likewise.
42122         (pow_test): Likewise.
42123         (pow_test_tonearest): Likewise.
42124         (pow_test_towardzero): Likewise.
42125         (pow_test_downward): Likewise.
42126         (pow_test_upward): Likewise.
42127         (remainder_test): Likewise.
42128         (remainder_test_tonearest): Likewise.
42129         (remainder_test_towardzero): Likewise.
42130         (remainder_test_downward): Likewise.
42131         (remainder_test_upward): Likewise.
42132         (remquo_test): Likewise.
42133         (rint_test): Likewise.
42134         (rint_test_tonearest): Likewise.
42135         (rint_test_towardzero): Likewise.
42136         (rint_test_downward): Likewise.
42137         (rint_test_upward): Likewise.
42138         (round_test): Likewise.
42139         (scalb_test): Likewise.
42140         (scalbn_test): Likewise.
42141         (scalbln_test): Likewise.
42142         (signbit_test): Likewise.
42143         (sin_test): Likewise.
42144         (sin_test_tonearest): Likewise.
42145         (sin_test_towardzero): Likewise.
42146         (sin_test_downward): Likewise.
42147         (sin_test_upward): Likewise.
42148         (sincos_test): Likewise.
42149         (sinh_test): Likewise.
42150         (sinh_test_tonearest): Likewise.
42151         (sinh_test_towardzero): Likewise.
42152         (sinh_test_downward): Likewise.
42153         (sinh_test_upward): Likewise.
42154         (sqrt_test): Likewise.
42155         (tan_test): Likewise.
42156         (tan_test_tonearest): Likewise.
42157         (tan_test_towardzero): Likewise.
42158         (tan_test_downward): Likewise.
42159         (tan_test_upward): Likewise.
42160         (tanh_test): Likewise.
42161         (tgamma_test): Likewise.
42162         (trunc_test): Likewise.
42163         (y0_test): Likewise.
42164         (y1_test): Likewise.
42165         (yn_test): Likewise.
42166         (significand_test): Likewise.
42168 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
42170         [BZ #15381]
42171         * libio/genops.c (_IO_no_init): Initialize wide struct info.
42173 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
42175         [BZ #14894]
42176         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
42177         __ppc_mdoio and __ppc_mdoom.
42178         * manual/platform.texi: Document new functions __ppc_yield,
42179         __ppc_mdoio and __ppc_mdoom.
42181 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
42183         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
42184         (main): Mention "tls" pseudo-hwcap is legacy.
42185         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
42187 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
42189         * math/gen-libm-test.pl (parse_args): Output only string of
42190         arguments as text for test name, not full call or descriptions of
42191         tests for extra outputs.
42192         (generate_testfile): Do not pass function name to parse_args.
42193         Generate this_func variable from START.
42194         * math/libm-test.inc (struct test_f_f_data): Rename test_name
42195         field to arg_str.
42196         (struct test_ff_f_data): Likewise.
42197         (test_ff_f_data_nexttoward): Likewise.
42198         (struct test_fi_f_data): Likewise.
42199         (struct test_fl_f_data): Likewise.
42200         (struct test_if_f_data): Likewise.
42201         (struct test_fff_f_data): Likewise.
42202         (struct test_c_f_data): Likewise.
42203         (struct test_f_f1_data): Likewise.  Remove field extra_name.
42204         (struct test_fF_f1_data): Likewise.
42205         (struct test_ffI_f1_data): Likewise.
42206         (struct test_c_c_data): Rename test_name field to arg_str.
42207         (struct test_cc_c_data): Likewise.
42208         (struct test_f_i_data): Likewise.
42209         (struct test_ff_i_data): Likewise.
42210         (struct test_f_l_data): Likewise.
42211         (struct test_f_L_data): Likewise.
42212         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
42213         and extra2_name.
42214         (COMMON_TEST_SETUP): New macro.
42215         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
42216         (COMMON_TEST_CLEANUP): Likewise.
42217         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
42218         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
42219         macros.
42220         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
42221         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
42222         macros.
42223         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
42224         (RUN_TEST_fff_f): Take argument string.  Call new setup and
42225         cleanup macros.
42226         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
42227         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
42228         macros.
42229         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
42230         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
42231         macros.
42232         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
42233         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
42234         cleanup macros.
42235         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
42236         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
42237         cleanup macros.
42238         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
42239         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
42240         cleanup macros.
42241         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
42242         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
42243         macros.
42244         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
42245         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
42246         macros.
42247         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
42248         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
42249         macros.
42250         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
42251         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
42252         cleanup macros.
42253         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
42254         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
42255         cleanup macros.
42256         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
42257         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
42258         macros.
42259         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
42260         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
42261         cleanup macros.
42262         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
42263         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
42264         macros.
42265         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
42266         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
42267         macros.
42268         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
42269         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
42270         cleanup macros.
42271         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
42273 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
42275         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
42276         to _sifields.sigfault.
42277         (si_addr_lsb): Define new macro.
42278         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
42279         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42280         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
42282 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
42284         [BZ #15441]
42285         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
42286         returns -1.
42287         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
42288         null return -1.
42289         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
42290         loading the domain.
42292 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
42294         * math/gen-libm-test.pl (parse_args): Do not include expected
42295         result in test name.
42296         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
42297         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42298         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42299         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42300         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42303 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
42305         * benchtests/Makefile: Sort function entries.
42307         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
42308         tanh, asinh, acosh, atanh.
42309         * benchtests/acos-inputs: New file.
42310         * benchtests/acosh-inputs: New file.
42311         * benchtests/asin-inputs: New file.
42312         * benchtests/asinh-inputs: New file.
42313         * benchtests/atanh-inputs: New file.
42314         * benchtests/cosh-inputs: New file.
42315         * benchtests/log-inputs: New file.
42316         * benchtests/sinh-inputs: New file.
42317         * benchtests/tanh-inputs: New file.
42319 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
42321         [BZ #15339]
42322         * posix/tst-getaddrinfo4.c: New test.
42323         * posix/Makefile (tests): Add it.
42325 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42327         [BZ #15339]
42328         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
42329         when no services were used.
42330         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
42331         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
42333 2013-05-21  Andreas Schwab  <schwab@suse.de>
42335         [BZ #15014]
42336         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
42337         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
42338         successful.
42339         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
42340         redundant variable declarations and reallocation of buffer when
42341         parsing as IPv6 address.  Always set NSS status when called from
42342         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
42343         buffer too small.  Correct computation of needed size.
42344         * nss/Makefile (tests): Add test-digits-dots.
42345         * nss/test-digits-dots.c: New test.
42347 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42349         * benchtests/Makefile: Remove instructions for adding
42350         benchmark tests.
42351         * benchtests/README: New file to explain how to execute and
42352         enhance the benchmark tests.
42354 2013-05-21  Andreas Schwab  <schwab@suse.de>
42356         [BZ #15493]
42357         * setjmp/Makefile (tests): Add tst-sigsetjmp.
42358         * setjmp/tst-sigsetjmp.c: New test.
42360 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
42362         * sysdeps/x86_64/memset.S (memset): New implementation.
42363         (__bzero): Likewise.
42364         (__memset_tail): New function.
42366 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
42368         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
42369         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
42370         __memcpy_sse2_unaligned ifunc selection.
42371         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
42372         Add memcpy-sse2-unaligned.S.
42373         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
42374         Add: __memcpy_sse2_unaligned.
42376 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
42378         [BZ #15490]
42379         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
42380         math_force_eval before restoring floating-point envrionment.
42381         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
42382         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
42383         Likewise.
42384         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
42385         <math_private.h>.
42386         (__nearbyintl): Use math_force_eval before restoring
42387         floating-point environment.
42388         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
42390         * math/gen-libm-test.pl (special_functions): Remove.
42391         (parse_args): Don't handle TEST_extra.  Handle functions with no
42392         return value.
42393         * math/libm-test.inc (struct test_sincos_data): Replace with
42394         struct test_fFF_11_data.
42395         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
42396         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
42397         (sincos_test_data): Change element type to struct
42398         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
42399         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
42400         RUN_TEST_LOOP_sincos.
42401         * math/README.libm-test: Don't mention special handling of
42402         individual functions.
42403         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
42404         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42405         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42406         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42407         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42408         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42410         * math/gen-libm-test.pl (get_variable): Remove function.
42411         (parse_args): Don't show pointer parameters to call in test
42412         names.  Use "extra output N" in test names for extra outputs
42413         rather than naming variables.
42415 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
42417         [BZ #15488]
42418         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
42419         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
42420         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
42421         double tests.
42422         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
42423         disable.
42424         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
42425         check_long_double.
42427         * math/gen-libm-test.pl (@tests): Remove variable.
42428         ($count): Likewise.
42429         (new_test): Remove function.
42430         (show_exceptions): New function.
42431         (special_functions): Use show_exceptions instead of new_test.
42432         (parse_args): Likewise.
42433         (generate_testfile): Pass only function name in generated call to
42434         print_max_error or print_complex_max_error.
42435         (get_ulps): Do not handle complex tests specially.
42436         (output_test): Rename to ...
42437         (get_all_ulps_for_test): ... this.  Return a string rather than
42438         printing to a file.  Require ulps to be present.
42439         (output_ulps): Generate arrays rather than #defines.
42440         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
42441         (struct ulp_data): New type.
42442         (BUILD_COMPLEX_ULP): Remove macro.
42443         (compare_ulp_data): New function.
42444         (find_ulps): Likewise.
42445         (find_test_ulps): Likewise.
42446         (find_function_ulps): Likewise.
42447         (find_complex_function_ulps): Likewise.
42448         (print_max_error): Determine allowed ulps using
42449         find_function_ulps.
42450         (print_complex_max_error): Determine allowed ulps using
42451         find_complex_function_ulps.
42452         (check_float_internal): Determine max ulps using find_test_ulps.
42453         (check_float): Do not take max_ulp parameter.  Update call to
42454         check_float_internal.
42455         (check_complex): Likewise.
42456         (check_int): Do not take max_ulp parameter.
42457         (check_long): Likewise.
42458         (check_bool): Likewise.
42459         (check_longlong): Likewise.
42460         (struct test_f_f_data): Remove max_ulp field.
42461         (struct test_ff_f_data): Likewise.
42462         (struct test_ff_f_data_nexttoward): Likewise.
42463         (struct test_fi_f_data): Likewise.
42464         (struct test_fl_f_data): Likewise.
42465         (struct test_if_f_data): Likewise.
42466         (struct test_fff_f_data): Likewise.
42467         (struct test_c_f_data): Likewise.
42468         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
42469         (struct test_fF_f1_data): Likewise.
42470         (struct test_ffI_f1_data): Likewise.
42471         (struct test_c_c_data): Remove max_ulp field.
42472         (struct test_cc_c_data): Likewise.
42473         (struct test_f_i_data): Likewise.
42474         (struct test_ff_i_data): Likewise.
42475         (struct test_f_l_data): Likewise.
42476         (struct test_f_L_data): Likewise.
42477         (struct test_sincos_data): Likewise.
42478         (RUN_TEST_f_f): Do not handle ulps.
42479         (RUN_TEST_LOOP_f_f): Likewise.
42480         (RUN_TEST_2_f): Likewise.
42481         (RUN_TEST_LOOP_2_f): Likewise.
42482         (RUN_TEST_fff_f): Likewise.
42483         (RUN_TEST_LOOP_fff_f): Likewise.
42484         (RUN_TEST_c_f): Likewise.
42485         (RUN_TEST_LOOP_c_f): Likewise.
42486         (RUN_TEST_f_f1): Likewise.
42487         (RUN_TEST_LOOP_f_f1): Likewise.
42488         (RUN_TEST_fF_f1): Likewise.
42489         (RUN_TEST_LOOP_fF_f1): Likewise.
42490         (RUN_TEST_fI_f1): Likewise.
42491         (RUN_TEST_LOOP_fI_f1): Likewise.
42492         (RUN_TEST_ffI_f1): Likewise.
42493         (RUN_TEST_LOOP_ffI_f1): Likewise.
42494         (RUN_TEST_c_c): Likewise.
42495         (RUN_TEST_LOOP_c_c): Likewise.
42496         (RUN_TEST_cc_c): Likewise.
42497         (RUN_TEST_LOOP_cc_c): Likewise.
42498         (RUN_TEST_f_i): Likewise.
42499         (RUN_TEST_LOOP_f_i): Likewise.
42500         (RUN_TEST_f_i_tg): Likewise.
42501         (RUN_TEST_LOOP_f_i_tg): Likewise.
42502         (RUN_TEST_ff_i_tg): Likewise.
42503         (RUN_TEST_LOOP_ff_i_tg): Likewise.
42504         (RUN_TEST_f_b): Likewise.
42505         (RUN_TEST_LOOP_f_b): Likewise.
42506         (RUN_TEST_f_b_tg): Likewise.
42507         (RUN_TEST_LOOP_f_b_tg): Likewise.
42508         (RUN_TEST_f_l): Likewise.
42509         (RUN_TEST_LOOP_f_l): Likewise.
42510         (RUN_TEST_f_L): Likewise.
42511         (RUN_TEST_LOOP_f_L): Likewise.
42512         (RUN_TEST_sincos): Likewise.
42513         (RUN_TEST_LOOP_sincos): Likewise.
42515 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
42517         [BZ #15480]
42518         [BZ #15485]
42519         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
42520         main case of finite arguments, set rounding mode to FE_TONEAREST
42521         and discard exceptions.
42522         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
42523         exceptions.
42524         (remainder_tonearest_test_data): New variable.
42525         (remainder_test_tonearest): New function.
42526         (remainder_towardzero_test_data): New variable.
42527         (remainder_test_towardzero): New function.
42528         (remainder_downward_test_data): New variable.
42529         (remainder_test_downward): New function.
42530         (remainder_upward_test_data): New variable.
42531         (remainder_test_upward): New function.
42532         (main): Call the new test functions.
42534         * math/libm-test.inc (struct test_f_f1_data): Remove field
42535         extra_init.
42536         (struct test_fF_f1_data): Likewise.
42537         (struct test_ffI_f1_data): Likewise.
42538         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
42539         based on value of EXTRA_EXPECTED.
42540         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
42541         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
42542         EXTRA_VAR based on value of EXTRA_EXPECTED.
42543         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
42544         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
42545         EXTRA_VAR based on value of EXTRA_EXPECTED.
42546         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
42547         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
42548         EXTRA_VAR based on value of EXTRA_EXPECTED.
42549         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
42550         * math/gen-libm-test.pl (parse_args): Don't output initializers
42551         for extra output values.
42553         * math/libm-test.inc (check_int): Expect result to be exactly
42554         equal to expected value and do not handle ulps.
42555         (check_long): Likewise.
42556         (check_longlong): Likewise.
42558         * math/libm-test.inc (ceil_test_data): Test for "inexact"
42559         exceptions.
42560         (cimag_test_data): Likewise.
42561         (conj_test_data): Likewise.
42562         (copysign_test_data): Likewise.
42563         (cproj_test_data): Likewise.
42564         (creal_test_data): Likewise.
42565         (fabs_test_data): Likewise.
42566         (fdim_test_data): Likewise.
42567         (finite_test_data): Likewise.
42568         (floor_test_data): Likewise.
42569         (fmax_test_data): Likewise.
42570         (fmin_test_data): Likewise.
42571         (fmod_test_data): Likewise.
42572         (fpclassify_test_data): Likewise.
42573         (frexp_test_data): Likewise.
42574         (ilogb_test_data): Likewise.
42575         (isfinite_test_data): Likewise.
42576         (isgreater_test_data): Likewise.
42577         (isgreaterequal_test_data): Likewise.
42578         (isinf_test_data): Likewise.
42579         (isless_test_data): Likewise.
42580         (islessequal_test_data): Likewise.
42581         (islessgreater_test_data): Likewise.
42582         (isnan_test_data): Likewise.
42583         (isnormal_test_data): Likewise.
42584         (issignaling_test_data): Likewise.
42585         (isunordered_test_data): Likewise.
42586         (ldexp_test_data): Likewise.
42587         (lrint_test_data): Likewise.
42588         (lrint_test_data) [TEST_FLOAT]: Disable one test.
42589         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
42590         (lrint_tonearest_test_data): Test for "inexact" exceptions.
42591         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
42592         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
42593         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
42594         test input.
42595         (lrint_towardzero_test_data): Test for "inexact" exceptions.
42596         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
42597         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
42598         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
42599         that test input.
42600         (lrint_downward_test_data): Test for "inexact" exceptions.
42601         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
42602         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
42603         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
42604         test input.
42605         (lrint_upward_test_data): Test for "inexact" exceptions.
42606         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
42607         test input.
42608         (llrint_test_data): Test for "inexact" exceptions.
42609         (llrint_test_data) [TEST_FLOAT]: Disable one test.
42610         (llrint_tonearest_test_data): Test for "inexact" exceptions.
42611         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
42612         (llrint_towardzero_test_data): Test for "inexact" exceptions.
42613         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
42614         (llrint_downward_test_data): Test for "inexact" exceptions.
42615         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
42616         (llrint_upward_test_data): Test for "inexact" exceptions.
42617         (logb_test_data): Likewise.
42618         (logb_downward_test_data): Likewise.
42619         (nextafter_test_data): Likewise.
42620         (nexttoward_test_data): Likewise.
42621         (remainder_test_data): Likewise.
42622         (remquo_test_data): Likewise.
42623         (scalbn_test_data): Likewise.
42624         (scalbln_test_data): Likewise.
42625         (signbit_test_data): Likewise.
42626         (sqrt_test_data): Likewise.
42627         (significand_test_data): Likewise.
42629 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
42631         [BZ #15424]
42632         * benchtests/bench-modf.c (struct args): Mark arg0 as
42633         volatile.
42634         * scripts/bench.pl: Mark members of struct args as volatile.
42636 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42638         [BZ # 15497]
42639         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
42640         negative infinity on POWER6 or lower.
42641         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
42643 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
42645         [BZ #15442]
42646         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
42647         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
42648         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
42649         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
42650         (_FP_SETQNAN): New macro.
42651         (_FP_SETQNAN_SEMIRAW): Likewise.
42652         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
42653         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
42654         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
42655         (FP_EXTEND): Use _FP_FRAC_SNANP.
42656         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
42657         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
42658         into account.
42659         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
42660         New macro.
42661         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
42662         Likewise.
42664 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
42666         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
42667         with DIVIDE_BY_ZERO_EXCEPTION.
42668         (gamma_test_data): Likewise.
42669         (lgamma_test_data): Likewise.
42670         (log_test_data): Likewise.
42671         (log10_test_data): Likewise.
42672         (log2_test_data): Likewise.
42673         (tgamma_test_data): Likewise.
42675         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
42676         (acos_test_tonearest): Likewise.
42677         (acos_test_towardzero): Likewise.
42678         (acos_test_downward): Likewise.
42679         (acos_test_upward): Likewise.
42680         (acosh_test): Likewise.
42681         (asin_test): Likewise.
42682         (asin_test_tonearest): Likewise.
42683         (asin_test_towardzero): Likewise.
42684         (asin_test_downward): Likewise.
42685         (asin_test_upward): Likewise.
42686         (asinh_test): Likewise.
42687         (atan_test): Likewise.
42688         (atanh_test): Likewise.
42689         (atan2_test): Likewise.
42690         (cabs_test): Likewise.
42691         (cacos_test): Likewise.
42692         (cacosh_test): Likewise.
42693         (casin_test): Likewise.
42694         (casinh_test): Likewise.
42695         (catan_test): Likewise.
42696         (catanh_test): Likewise.
42697         (cbrt_test): Likewise.
42698         (ccos_test): Likewise.
42699         (ccosh_test): Likewise.
42700         (cexp_test): Likewise.
42701         (clog_test): Likewise.
42702         (clog10_test): Likewise.
42703         (cos_test): Likewise.
42704         (cos_test_tonearest): Likewise.
42705         (cos_test_towardzero): Likewise.
42706         (cos_test_downward): Likewise.
42707         (cos_test_upward): Likewise.
42708         (cosh_test): Likewise.
42709         (cosh_test_tonearest): Likewise.
42710         (cosh_test_towardzero): Likewise.
42711         (cosh_test_downward): Likewise.
42712         (cosh_test_upward): Likewise.
42713         (cpow_test): Likewise.
42714         (csin_test): Likewise.
42715         (csinh_test): Likewise.
42716         (csqrt_test): Likewise.
42717         (ctan_test): Likewise.
42718         (ctan_test_tonearest): Likewise.
42719         (ctan_test_towardzero): Likewise.
42720         (ctan_test_downward): Likewise.
42721         (ctan_test_upward): Likewise.
42722         (ctanh_test): Likewise.
42723         (ctanh_test_tonearest): Likewise.
42724         (ctanh_test_towardzero): Likewise.
42725         (ctanh_test_downward): Likewise.
42726         (ctanh_test_upward): Likewise.
42727         (erf_test): Likewise.
42728         (erfc_test): Likewise.
42729         (exp_test): Likewise.
42730         (exp_test_tonearest): Likewise.
42731         (exp_test_towardzero): Likewise.
42732         (exp_test_downward): Likewise.
42733         (exp_test_upward): Likewise.
42734         (exp10_test): Likewise.
42735         (exp2_test): Likewise.
42736         (expm1_test): Likewise.
42737         (fmod_test): Likewise.
42738         (gamma_test): Likewise.
42739         (hypot_test): Likewise.
42740         (j0_test): Likewise.
42741         (j1_test): Likewise.
42742         (jn_test): Likewise.
42743         (lgamma_test): Likewise.
42744         (log_test): Likewise.
42745         (log10_test): Likewise.
42746         (log1p_test): Likewise.
42747         (log2_test): Likewise.
42748         (logb_test_downward): Likewise.
42749         (pow_test): Likewise.
42750         (pow_test_tonearest): Likewise.
42751         (pow_test_towardzero): Likewise.
42752         (pow_test_downward): Likewise.
42753         (pow_test_upward): Likewise.
42754         (remainder_test): Likewise.
42755         (remquo_test): Likewise.
42756         (sin_test): Likewise.
42757         (sin_test_tonearest): Likewise.
42758         (sin_test_towardzero): Likewise.
42759         (sin_test_downward): Likewise.
42760         (sin_test_upward): Likewise.
42761         (sincos_test): Likewise.
42762         (sinh_test): Likewise.
42763         (sinh_test_tonearest): Likewise.
42764         (sinh_test_towardzero): Likewise.
42765         (sinh_test_downward): Likewise.
42766         (sinh_test_upward): Likewise.
42767         (sqrt_test): Likewise.
42768         (tan_test): Likewise.
42769         (tan_test_tonearest): Likewise.
42770         (tan_test_towardzero): Likewise.
42771         (tan_test_downward): Likewise.
42772         (tan_test_upward): Likewise.
42773         (tanh_test): Likewise.
42774         (tgamma_test): Likewise.
42775         (y0_test): Likewise.
42776         (y1_test): Likewise.
42777         (yn_test): Likewise.
42779         * math/gen-libm-test.pl (adjust_arg): Remove function.
42780         (special_function): Remove argument $in_func.  Only handle
42781         generating output for tables of tests, not inside functions.
42782         (parse_args): Likewise.
42783         (generate_testfile): Remove variable $in_func.  Update call to
42784         parse_args.
42785         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
42786         (MINUS_ZERO_INIT): Rename macro to minus_zero.
42787         (PLUS_INFTY_INIT): Rename macro to plus_infty.
42788         (MINUS_INFTY_INIT): Rename macro to minus_infty.
42789         (QNAN_VALUE_INIT): Rename macro to qnan_value.
42790         (MAX_VALUE_INIT): Rename macro to max_value.
42791         (MIN_VALUE_INIT): Rename macro to min_value.
42792         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
42793         (plus_zero): Remove variable.
42794         (minus_zero): Likewise.
42795         (plus_infty): Likewise.
42796         (minus_infty): Likewise.
42797         (qnan_value): Likewise.
42798         (max_value): Likewise.
42799         (min_value): Likewise.
42800         (min_subnorm_value): Likewise.
42802 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42804         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
42805         uint64_t or uint32_t usage.
42806         * crypt/sha256-block.c: Likewise.
42807         * crypt/sha256-crypt.c: Likewise.
42808         * crypt/sha256.c: Likewise.
42809         * crypt/sha512-block.c: Likewise.
42810         * crypt/sha512-crypt.c: Likewise.
42811         * crypt/sha512.c: Likewise.
42812         * debug/backtrace-tst.c: Likewise.
42813         * debug/pcprofiledump.c: Likewise.
42814         * elf/cache.c: Likewise.
42815         * elf/dl-cache.c: Likewise.
42816         * elf/dl-misc.c: Likewise.
42817         * elf/dl-profile.c: Likewise.
42818         * elf/dl-support.c: Likewise.
42819         * elf/ldconfig.c: Likewise.
42820         * elf/sprof.c: Likewise.
42821         * iconv/dummy-repertoire.c: Likewise.
42822         * iconv/iconv_charmap.c: Likewise.
42823         * iconv/skeleton.c: Likewise.
42824         * iconvdata/8bit-generic.c: Likewise.
42825         * iconvdata/cp737.h: Likewise.
42826         * iconvdata/cp775.h: Likewise.
42827         * iconvdata/ibm1008.h: Likewise.
42828         * iconvdata/ibm1025.h: Likewise.
42829         * iconvdata/ibm1046.h: Likewise.
42830         * iconvdata/ibm1097.h: Likewise.
42831         * iconvdata/ibm1112.h: Likewise.
42832         * iconvdata/ibm1122.h: Likewise.
42833         * iconvdata/ibm1123.h: Likewise.
42834         * iconvdata/ibm1124.h: Likewise.
42835         * iconvdata/ibm1129.h: Likewise.
42836         * iconvdata/ibm1130.h: Likewise.
42837         * iconvdata/ibm1132.h: Likewise.
42838         * iconvdata/ibm1133.h: Likewise.
42839         * iconvdata/ibm1137.h: Likewise.
42840         * iconvdata/ibm1140.h: Likewise.
42841         * iconvdata/ibm1141.h: Likewise.
42842         * iconvdata/ibm1142.h: Likewise.
42843         * iconvdata/ibm1143.h: Likewise.
42844         * iconvdata/ibm1144.h: Likewise.
42845         * iconvdata/ibm1145.h: Likewise.
42846         * iconvdata/ibm1146.h: Likewise.
42847         * iconvdata/ibm1147.h: Likewise.
42848         * iconvdata/ibm1148.h: Likewise.
42849         * iconvdata/ibm1149.h: Likewise.
42850         * iconvdata/ibm1153.h: Likewise.
42851         * iconvdata/ibm1154.h: Likewise.
42852         * iconvdata/ibm1155.h: Likewise.
42853         * iconvdata/ibm1156.h: Likewise.
42854         * iconvdata/ibm1157.h: Likewise.
42855         * iconvdata/ibm1158.h: Likewise.
42856         * iconvdata/ibm1160.h: Likewise.
42857         * iconvdata/ibm1161.h: Likewise.
42858         * iconvdata/ibm1162.h: Likewise.
42859         * iconvdata/ibm1163.h: Likewise.
42860         * iconvdata/ibm1164.h: Likewise.
42861         * iconvdata/ibm1166.h: Likewise.
42862         * iconvdata/ibm1167.h: Likewise.
42863         * iconvdata/ibm12712.h: Likewise.
42864         * iconvdata/ibm1390.h: Likewise.
42865         * iconvdata/ibm1399.h: Likewise.
42866         * iconvdata/ibm16804.h: Likewise.
42867         * iconvdata/ibm4517.h: Likewise.
42868         * iconvdata/ibm4899.h: Likewise.
42869         * iconvdata/ibm4909.h: Likewise.
42870         * iconvdata/ibm4971.h: Likewise.
42871         * iconvdata/ibm5347.h: Likewise.
42872         * iconvdata/ibm803.h: Likewise.
42873         * iconvdata/ibm856.h: Likewise.
42874         * iconvdata/ibm901.h: Likewise.
42875         * iconvdata/ibm902.h: Likewise.
42876         * iconvdata/ibm9030.h: Likewise.
42877         * iconvdata/ibm9066.h: Likewise.
42878         * iconvdata/ibm921.h: Likewise.
42879         * iconvdata/ibm922.h: Likewise.
42880         * iconvdata/ibm9448.h: Likewise.
42881         * iconvdata/isiri-3342.h: Likewise.
42882         * iconvdata/jis0201.h: Likewise.
42883         * include/link.h: Likewise.
42884         * include/netdb.h: Likewise.
42885         * inet/check_native.c: Likewise.
42886         * inet/check_pf.c: Likewise.
42887         * inet/getipv4sourcefilter.c: Likewise.
42888         * inet/getnameinfo.c: Likewise.
42889         * inet/getsourcefilter.c: Likewise.
42890         * inet/htonl.c: Likewise.
42891         * inet/setipv4sourcefilter.c: Likewise.
42892         * inet/setsourcefilter.c: Likewise.
42893         * inet/test-inet6_opt.c: Likewise.
42894         * inet/tst-network.c: Likewise.
42895         * locale/C-collate.c: Likewise.
42896         * locale/C-ctype.c: Likewise.
42897         * locale/C-time.c: Likewise.
42898         * locale/C-translit.h: Likewise.
42899         * locale/loadarchive.c: Likewise.
42900         * locale/programs/3level.h: Likewise.
42901         * locale/programs/charmap.c: Likewise.
42902         * locale/programs/charmap.h: Likewise.
42903         * locale/programs/ld-address.c: Likewise.
42904         * locale/programs/ld-collate.c: Likewise.
42905         * locale/programs/ld-ctype.c: Likewise.
42906         * locale/programs/ld-identification.c: Likewise.
42907         * locale/programs/ld-measurement.c: Likewise.
42908         * locale/programs/ld-messages.c: Likewise.
42909         * locale/programs/ld-monetary.c: Likewise.
42910         * locale/programs/ld-name.c: Likewise.
42911         * locale/programs/ld-numeric.c: Likewise.
42912         * locale/programs/ld-paper.c: Likewise.
42913         * locale/programs/ld-telephone.c: Likewise.
42914         * locale/programs/ld-time.c: Likewise.
42915         * locale/programs/linereader.c: Likewise.
42916         * locale/programs/locale.c: Likewise.
42917         * locale/programs/locarchive.c: Likewise.
42918         * locale/programs/locfile.h: Likewise.
42919         * locale/programs/repertoire.c: Likewise.
42920         * locale/programs/simple-hash.c: Likewise.
42921         * locale/programs/simple-hash.h: Likewise.
42922         * malloc/memusage.c: Likewise.
42923         * malloc/memusagestat.c: Likewise.
42924         * nis/nis_defaults.c: Likewise.
42925         * nis/nis_hash.c: Likewise.
42926         * nis/nis_print.c: Likewise.
42927         * nis/nis_xdr.c: Likewise.
42928         * nscd/connections.c: Likewise.
42929         * nscd/hstcache.c: Likewise.
42930         * nscd/nscd_gethst_r.c: Likewise.
42931         * nscd/nscd_getserv_r.c: Likewise.
42932         * nscd/nscd_helper.c: Likewise.
42933         * nscd/servicescache.c: Likewise.
42934         * nss/makedb.c: Likewise.
42935         * nss/nss_db/db-XXX.c: Likewise.
42936         * nss/nss_db/db-initgroups.c: Likewise.
42937         * nss/nss_db/db-netgrp.c: Likewise.
42938         * nss/nss_files/files-network.c: Likewise.
42939         * nss/nss_files/files-parse.c: Likewise.
42940         * posix/bug-regex5.c: Likewise.
42941         * posix/fnmatch_loop.c: Likewise.
42942         * posix/regcomp.c: Likewise.
42943         * posix/regexec.c: Likewise.
42944         * posix/tst-rfc3484-2.c: Likewise.
42945         * posix/tst-rfc3484-3.c: Likewise.
42946         * posix/tst-rfc3484.c: Likewise.
42947         * resolv/nss_dns/dns-canon.c: Likewise.
42948         * resolv/nss_dns/dns-network.c: Likewise.
42949         * resolv/res_init.c: Likewise.
42950         * resolv/res_mkquery.c: Likewise.
42951         * resolv/tst-aton.c: Likewise.
42952         * stdlib/cxa_atexit.c: Likewise.
42953         * stdlib/cxa_finalize.c: Likewise.
42954         * stdlib/gen-fpioconst.c: Likewise.
42955         * stdlib/strtol_l.c: Likewise.
42956         * string/tst-endian.c: Likewise.
42957         * sunrpc/auth_des.c: Likewise.
42958         * sunrpc/clnt_udp.c: Likewise.
42959         * sunrpc/rtime.c: Likewise.
42960         * sunrpc/svcauth_des.c: Likewise.
42961         * sunrpc/xdr.c: Likewise.
42962         * sunrpc/xdr_intXX_t.c: Likewise.
42963         * sunrpc/xdr_rec.c: Likewise.
42964         * sysdeps/generic/ldconfig.h: Likewise.
42965         * sysdeps/generic/ldsodefs.h: Likewise.
42966         * sysdeps/generic/memusage.h: Likewise.
42967         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
42968         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
42969         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
42970         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
42971         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42972         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42973         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
42974         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
42975         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42976         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
42977         * sysdeps/posix/getaddrinfo.c: Likewise.
42978         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42979         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42980         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
42981         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42982         * sysdeps/powerpc/test-gettimebase.c: Likewise.
42983         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
42984         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
42985         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
42986         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
42987         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
42988         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42989         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42990         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
42991         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
42992         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
42993         * sysdeps/x86_64/dl-tls.h: Likewise.
42994         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
42995         * time/alt_digit.c: Likewise.
42996         * time/era.c: Likewise.
42997         * wcsmbs/tst-c16c32-1.c: Likewise.
42999 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
43001         * math/libm-test.inc (struct test_sincos_data): New type.
43002         (RUN_TEST_LOOP_sincos): New macro.
43003         (sincos_test_data): New variable.
43004         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
43006 2013-05-16  Richard Henderson  <rth@redhat.com>
43008         * math/atest-exp2.c (LIMB64): New macro.
43009         (CONSTSZ): New macro.
43010         (mp_exp1, mp_exp_m1, mp_log2): New variables.
43011         (hexdig): Move ...
43012         (print_mpn_fp): ... to function scope.
43013         (read_mpn_hex): Remove.
43014         (get_log2): Remove.
43015         (exp2_mpn): Use mp_log2.
43016         (main): Use mp_exp1.
43018 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
43020         * math/libm-test.inc: Remove comment about not testing "inexact"
43021         exceptions.
43022         (INEXACT_EXCEPTION): New macro.
43023         (NO_INEXACT_EXCEPTION): Likewise.
43024         (INVALID_EXCEPTION_OK): Update value.
43025         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43026         (OVERFLOW_EXCEPTION_OK): Likewise.
43027         (UNDERFLOW_EXCEPTION_OK): Likewise.
43028         (IGNORE_ZERO_INF_SIGN): Likewise.
43029         (ERRNO_UNCHANGED): Likewise.
43030         (ERRNO_EDOM): Likewise.
43031         (ERRNO_ERANGE): Likewise.
43032         (test_exceptions): Handle testing "inexact" exceptions.
43033         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
43034         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
43035         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
43036         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
43037         INEXACT_EXCEPTION.
43038         (rint_towardzero_test_data): Likewise.
43039         (rint_downward_test_data): Likewise.
43040         (rint_upward_test_data): Likewise.
43042         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
43043         with OVERFLOW_EXCEPTION.
43044         (exp10_test_data): Likewise.
43045         (exp2_test_data): Likewise.
43046         (expm1_test_data): Likewise.
43047         (lgamma_test_data): Likewise.
43048         (pow_test_data): Likewise.
43049         (tgamma_test_data): Likewise.
43050         (yn_test_data): Remove duplicate test of overflow.
43052         * math/libm-test.inc (struct test_cc_c_data): New type.
43053         (RUN_TEST_LOOP_cc_c): New macro.
43054         (cpow_test_data): New variable.
43055         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
43057         * math/libm-test.inc (struct test_f_L_data): New type.
43058         (RUN_TEST_LOOP_f_L): New macro.
43059         (llrint_test_data): New variable.
43060         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
43061         (llrint_tonearest_test_data): New variable.
43062         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
43063         (llrint_towardzero_test_data): New variable.
43064         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
43065         (llrint_downward_test_data): New variable.
43066         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
43067         (llrint_upward_test_data): New variable.
43068         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
43069         (llround_test_data): New variable.
43070         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
43072 2013-05-13  Peter Collingbourne  <pcc@google.com>
43074         * math/atest-exp2.c (get_log2): Remove const attribute.
43076 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
43078         * math/libm-test.inc (struct test_f_l_data): New type.
43079         (RUN_TEST_LOOP_f_l): New macro.
43080         (lrint_test_data): New variable.
43081         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
43082         (lrint_tonearest_test_data): New variable.
43083         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
43084         (lrint_towardzero_test_data): New variable.
43085         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
43086         (lrint_downward_test_data): New variable.
43087         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
43088         (lrint_upward_test_data): New variable.
43089         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
43090         (lround_test_data): New variable.
43091         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
43093 2013-05-15  Peter Collingbourne  <pcc@google.com>
43095         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
43096         (EXTRACT_WORDS64) Use where appropriate.
43097         (INSERT_WORDS64) Likewise.
43099         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
43100         constraints with x constraints.
43101         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
43103         * malloc/obstack.c (_obstack_compat): Add initializer.
43105 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
43107         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
43108         si_trapno and add si_addr_lsb to _sifields.sigfault.
43109         (si_trapno): Remove macro.
43110         (si_addr_lsb): Define new macro.
43111         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
43113 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
43115         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
43116         instead of TEST_f_l.
43117         (llrint_test_tonearest): Likewise.
43118         (llrint_test_towardzero): Likewise.
43119         (llrint_test_downward): Likewise.
43120         (llrint_test_upward): Likewise.
43121         (llround_test): Likewise.
43123         * math/libm-test.inc (struct test_f_i_data): Add comment.
43124         (RUN_TEST_LOOP_f_b): New macro.
43125         (RUN_TEST_LOOP_f_b_tg): Likewise.
43126         (finite_test_data): New variable.
43127         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
43128         (isfinite_test_data): New variable.
43129         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43130         (isinf_test_data): New variable.
43131         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43132         (isnan_test_data): New variable.
43133         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43134         (isnormal_test_data): New variable.
43135         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43136         (issignaling_test_data): New variable.
43137         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43138         (signbit_test_data): New variable.
43139         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43141         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
43142         with INVALID_EXCEPTION.
43143         (acosh_test_data): Likewise.
43144         (asin_test_data): Likewise.
43145         (atanh_test_data): Likewise.
43146         (fmod_test_data): Likewise.
43147         (log_test_data): Likewise.
43148         (log10_test_data): Likewise.
43149         (log2_test_data): Likewise.
43150         (pow_test_data): Likewise.
43151         (sqrt_test_data): Likewise.
43152         (y0_test_data): Likewise.
43153         (y1_test_data): Likewise.
43154         (yn_test_data): Likewise.
43156         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
43157         function contents.
43159         * math/libm-test.inc (struct test_ff_i_data): New type.
43160         (RUN_TEST_LOOP_ff_i_tg): New macro.
43161         (isgreater_test_data): New variable.
43162         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43163         (isgreaterequal_test_data): New variable.
43164         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43165         (isless_test_data): New variable.
43166         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43167         (islessequal_test_data): New variable.
43168         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43169         (islessgreater_test_data): New variable.
43170         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43171         (isunordered_test_data): New variable.
43172         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43174 2013-05-14  David S. Miller  <davem@davemloft.net>
43176         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43178 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
43180         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
43182         * math/libm-test.inc (struct test_fF_f1_data): Change type of
43183         extra_test to int.
43184         (struct test_f_i_data): Change type of max_ulp to int.
43186         * math/libm-test.inc (test_ffI_f1_data): New type.
43187         (RUN_TEST_LOOP_ffI_f1): New macro.
43188         (remquo_test_data): New variable.
43189         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
43191         * setjmp/tst-setjmp-fp.c: New file.
43192         * setjmp/Makefile (tests): Add tst-setjmp-fp.
43193         (link-libm): New variable.
43194         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
43196         * math/libm-test.inc (struct test_f_i_data): New type.
43197         (RUN_TEST_LOOP_f_i): New macro.
43198         (RUN_TEST_LOOP_f_i_tg): Likewise.
43199         (fpclassify_test_data): New variable.
43200         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
43201         (ilogb_test_data): New variable.
43202         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
43204         * math/libm-test.inc (scalbln_test): Correct function name in END
43205         call.
43207         * math/libm-test.inc (struct test_f_f1_data): Add comment.
43208         (RUN_TEST_LOOP_fI_f1): New macro.
43209         (frexp_test_data): New variable.
43210         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
43212         * math/libm-test.inc (struct test_fF_f1_data): New type.
43213         (RUN_TEST_LOOP_fF_f1): New macro.
43214         (modf_test_data): New variable.
43215         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
43217         * math/libm-test.inc (struct test_f_f1_data): New type.
43218         (RUN_TEST_LOOP_f_f1): New macro.
43219         (gamma_test_data): New variable.
43220         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
43221         (lgamma_test_data): New variable.
43222         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
43224 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
43226         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
43227         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
43228         (main): Comment "tls" pseudo-hwcap.
43230 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
43232         * math/libm-test.inc (struct test_fl_f_data): New type.
43233         (RUN_TEST_LOOP_fl_f): New variable.
43234         (scalbln_test_data): New variable.
43235         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
43237         * math/libm-test.inc (struct test_fi_f_data): New type.
43238         (RUN_TEST_LOOP_fi_f): New macro.
43239         (ldexp_test_data): New variable.
43240         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
43241         (scalbn_test_data): New variable.
43242         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
43244         * math/libm-test.inc (struct test_c_f_data): New type.
43245         (RUN_TEST_LOOP_c_f): New macro.
43246         (cabs_test_data): New variable.
43247         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
43248         (carg_test_data): New variable.
43249         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
43250         (cimag_test_data): New variable.
43251         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
43252         (creal_test_data): New variable.
43253         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
43255         * math/libm-test.inc (struct test_if_f_data): New type.
43256         (RUN_TEST_LOOP_if_f): New macro.
43257         (jn_test_data): New variable.
43258         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
43259         (yn_test_data): New variable.
43260         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
43262         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
43264 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43266         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
43267         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
43269 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
43271         * benchtests/Makefile (CPPFLAGS-nonlib): Add
43272         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
43273         (bench-deps): Add bench-timing.h.
43274         * benchtests-bench-skeleton.c: Include bench-timing.h.
43275         (main): Use TIMING_* macros instead of clock_gettime.
43276         * benchtests/bench-timing.h: New file.
43278         [BZ #14582]
43279         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
43280         Renamed from _LIB_VERSION.
43281         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
43283 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
43285         * math/libm-test.inc (struct test_fff_f_data): New type.
43286         (RUN_TEST_LOOP_fff_f): New macro.
43287         (fma_test_data): New variable.
43288         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
43289         (fma_towardzero_test_data): New variable.
43290         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
43291         (fma_downward_test_data): New variable.
43292         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
43293         (fma_upward_test_data): New variable.
43294         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
43296         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
43297         (struct test_c_c_data): New type.
43298         (RUN_TEST_LOOP_c_c): New macro.
43299         (cacos_test_data): New variable.
43300         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
43301         (cacosh_test_data): New variable.
43302         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
43303         (casin_test_data): New variable.
43304         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
43305         (casinh_test_data): New variable.
43306         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
43307         (catan_test_data): New variable.
43308         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
43309         (catanh_test_data): New variable.
43310         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
43311         (ccos_test_data): New variable.
43312         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
43313         (ccosh_test_data): New variable.
43314         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
43315         (cexp_test_data): New variable.
43316         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
43317         (clog_test_data): New variable.
43318         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
43319         (clog10_test_data): New variable.
43320         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
43321         (conj_test_data): New variable.
43322         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
43323         (cproj_test_data): New variable.
43324         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
43325         (csin_test_data): New variable.
43326         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
43327         (csinh_test_data): New variable.
43328         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
43329         (csqrt_test_data): New variable.
43330         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
43331         (ctan_test_data): New variable.
43332         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
43333         (ctan_tonearest_test_data): New variable.
43334         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
43335         (ctan_towardzero_test_data): New variable.
43336         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
43337         (ctan_downward_test_data): New variable.
43338         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
43339         (ctan_upward_test_data): New variable.
43340         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
43341         (ctanh_test_data): New variable.
43342         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
43343         (ctanh_tonearest_test_data): New variable.
43344         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
43345         (ctanh_towardzero_test_data): New variable.
43346         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
43347         (ctanh_downward_test_data): New variable.
43348         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
43349         (ctanh_upward_test_data): New variable.
43350         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
43351         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
43352         of BUILD_COMPLEX.
43354         * math/libm-test.inc (struct test_ff_f_data): New type.
43355         (struct test_ff_f_data_nexttoward): Likewise.
43356         (RUN_TEST_LOOP_2_f): New macro.
43357         (RUN_TEST_LOOP_ff_f): Likewise.
43358         (atan2_test_data): New variable.
43359         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
43360         (copysign_test_data): New variable.
43361         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
43362         (fdim_test_data): New variable.
43363         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
43364         (fmax_test_data): New variable.
43365         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
43366         (fmin_test_data): New variable.
43367         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
43368         (fmod_test_data): New variable.
43369         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
43370         (hypot_test_data): New variable.
43371         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
43372         (nextafter_test_data): New variable.
43373         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
43374         (nexttoward_test_data): New variable.
43375         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
43376         (pow_test_data): New variable.
43377         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
43378         (pow_tonearest_test_data): New variable.
43379         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
43380         (pow_towardzero_test_data): New variable.
43381         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
43382         (pow_downward_test_data): New variable.
43383         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
43384         (pow_upward_test_data): New variable.
43385         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
43386         (remainder_test_data): New variable.
43387         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
43388         (scalb_test_data): New variable.
43389         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
43390         * sysdeps/i386/fpu/libm-test-ulps: Update.
43392 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
43394         * math/libm-test.inc (fma_test): Use max_value instead of local
43395         variable fltmax.
43396         (nextafter_test): Likewise.
43398         * math/libm-test.inc (acos_towardzero_test_data): New variable.
43399         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43400         (acos_downward_test_data): New variable.
43401         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43402         (acos_upward_test_data): New variable.
43403         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43404         (acosh_test_data): New variable.
43405         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
43406         (asin_test_data): New variable.
43407         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
43408         (asin_tonearest_test_data): New variable.
43409         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43410         (asin_towardzero_test_data): New variable.
43411         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43412         (asin_downward_test_data): New variable.
43413         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43414         (asin_upward_test_data): New variable.
43415         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43416         (asinh_test_data): New variable.
43417         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
43418         (atan_test_data): New variable.
43419         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
43420         (atanh_test_data): New variable.
43421         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
43422         (cbrt_test_data): New variable.
43423         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
43424         (ceil_test_data): New variable.
43425         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
43426         (cos_test_data): New variable.
43427         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
43428         (cos_tonearest_test_data): New variable.
43429         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43430         (cos_towardzero_test_data): New variable.
43431         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43432         (cos_downward_test_data): New variable.
43433         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43434         (cos_upward_test_data): New variable.
43435         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43436         (cosh_test_data): New variable.
43437         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
43438         (cosh_tonearest_test_data): New variable.
43439         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43440         (cosh_towardzero_test_data): New variable.
43441         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43442         (cosh_downward_test_data): New variable.
43443         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43444         (cosh_upward_test_data): New variable.
43445         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43446         (erf_test_data): New variable.
43447         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
43448         (erfc_test_data): New variable.
43449         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
43450         (exp_test_data): New variable.
43451         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
43452         (exp_tonearest_test_data): New variable.
43453         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43454         (exp_towardzero_test_data): New variable.
43455         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43456         (exp_downward_test_data): New variable.
43457         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43458         (exp_upward_test_data): New variable.
43459         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43460         (exp10_test_data): New variable.
43461         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
43462         (exp2_test_data): New variable.
43463         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
43464         (expm1_test_data): New variable.
43465         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
43466         (fabs_test_data): New variable.
43467         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
43468         (floor_test_data): New variable.
43469         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
43470         (j0_test_data): New variable.
43471         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
43472         (j1_test_data): New variable.
43473         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
43474         (log_test_data): New variable.
43475         (log_test): Run tests with RUN_TEST_LOOP_f_f.
43476         (log10_test_data): New variable.
43477         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
43478         (log1p_test_data): New variable.
43479         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
43480         (log2_test_data): New variable.
43481         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
43482         (logb_test_data): New variable.
43483         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
43484         (logb_downward_test_data): New variable.
43485         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43486         (nearbyint_test_data): New variable.
43487         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
43488         (rint_test_data): New variable.
43489         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
43490         (rint_tonearest_test_data): New variable.
43491         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43492         (rint_towardzero_test_data): New variable.
43493         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43494         (rint_downward_test_data): New variable.
43495         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43496         (rint_upward_test_data): New variable.
43497         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43498         (round_test_data): New variable.
43499         (round_test): Run tests with RUN_TEST_LOOP_f_f.
43500         (sin_test_data): New variable.
43501         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
43502         (sin_tonearest_test_data): New variable.
43503         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43504         (sin_towardzero_test_data): New variable.
43505         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43506         (sin_downward_test_data): New variable.
43507         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43508         (sin_upward_test_data): New variable.
43509         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43510         (sinh_test_data): New variable.
43511         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
43512         (sinh_tonearest_test_data): New variable.
43513         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43514         (sinh_towardzero_test_data): New variable.
43515         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43516         (sinh_downward_test_data): New variable.
43517         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43518         (sinh_upward_test_data): New variable.
43519         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43520         (sqrt_test_data): New variable.
43521         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
43522         (tan_test_data): New variable.
43523         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
43524         (tan_tonearest_test_data): New variable.
43525         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43526         (tan_towardzero_test_data): New variable.
43527         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43528         (tan_downward_test_data): New variable.
43529         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43530         (tan_upward_test_data): New variable.
43531         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43532         (tanh_test_data): New variable.
43533         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
43534         (tgamma_test_data): New variable.
43535         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
43536         (trunc_test_data): New variable.
43537         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
43538         (y0_test_data): New variable.
43539         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
43540         (y1_test_data): New variable.
43541         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
43542         (significand_test_data): New variable.
43543         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
43545 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
43547         [BZ #12387]
43548         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
43550 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
43552         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
43554 2013-05-10  Andreas Jaeger  <aj@suse.de>
43556         [BZ #15448]
43557         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
43558         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
43560 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
43562         * math/gen-libm-test.pl (adjust_arg): New function.
43563         (special_functions): Handle generating output in both functions
43564         and arrays.
43565         (parse_args): Likewise.
43566         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
43567         $in_func argument to parse_args.
43568         * math/libm-test.inc (struct test_f_f_data): New type.
43569         (IF_ROUND_INIT_): New macro.
43570         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
43571         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
43572         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
43573         (IF_ROUND_INIT_FE_UPWARD): Likewise.
43574         (ROUND_RESTORE_): Likewise.
43575         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
43576         (ROUND_RESTORE_FE_TONEAREST): Likewise.
43577         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
43578         (ROUND_RESTORE_FE_UPWARD): Likewise.
43579         (RUN_TEST_LOOP_f_f): New macro.
43580         (acos_test_data): New variable.
43581         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
43582         (acos_tonearest_test_data): New variable.
43583         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43585 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43587         * benchtests/bench-skeleton.c (startup): Fix coding style.
43589 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
43591         [BZ #6809]
43592         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
43593         negative infinity argument.
43594         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
43595         negative infinity argument.
43596         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
43597         negative infinity argument.
43598         * math/libm-test.inc (tgamma_test): Expect errno to be set for
43599         domain errors.
43601 2013-05-10  Florian Weimer  <fweimer@redhat.com>
43603         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
43604         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
43605         * iconv/iconv_prog.c (main): Likewise.
43606         * locale/programs/charmap-dir.c (charmap_readdir)
43607         (fopen_uncompressed): Likewise.
43608         * locale/programs/locfile.c (siblings_uncached)
43609         (write_locale_data): Use lstat64 instead of lstat.
43610         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
43611         stat.
43613 2013-05-10  Andreas Jaeger  <aj@suse.de>
43615         [BZ #15395]
43616         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
43617         localization.
43618         Include <locale.h>.
43620 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
43622         * elf/dl-close.c (_dl_close_worker): Add comments.
43624 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
43626         [BZ #15359]
43627         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
43628         high part of pi/2.
43629         (__ieee754_rem_pio2l): Update comments.
43631         [BZ #15429]
43632         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
43633         high part of pi/2.
43634         (__ieee754_rem_pio2l): Update comments.
43636         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
43637         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
43639         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
43640         M_PI_4l.
43642         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
43643         (M_PI_34_LOG10El): Likewise.
43644         (M_PI2_LOG10El): Likewise.
43645         (M_PI4_LOG10El): Likewise.
43646         (M_PI_LOG10El): Likewise.
43648 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43650         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43652 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
43654         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
43655         (MINUS_ZERO_INIT): Likewise.
43656         (PLUS_INFTY_INIT): Likewise.
43657         (MINUS_INFTY_INIT): Likewise.
43658         (QNAN_VALUE_INIT): Likewise.
43659         (MAX_VALUE_INIT): Likewise.
43660         (MIN_VALUE_INIT): Likewise.
43661         (MIN_SUBNORM_VALUE_INIT): Likewise.
43662         (plus_zero): Initialize with PLUS_ZERO_INIT.
43663         (minus_zero): Initialize with MINUS_ZERO_INIT.
43664         (plus_infty): Initialize with PLUS_INFTY_INIT.
43665         (minus_infty): Initialize with MINUS_INFTY_INIT.
43666         (qnan_value): Initialize with QNAN_VALUE_INIT.
43667         (max_value): Initialize with MAX_VALUE_INIT.
43668         (min_value): Initialize with MIN_VALUE_INIT.
43669         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
43671         * math/libm-test.inc (RUN_TEST_if_f): New macro.
43672         (jn_test): Use TEST_if_f instead of TEST_ff_f.
43673         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
43674         (yn_test): Use TEST_if_f instead of TEST_ff_f.
43676         * math/libm-test.inc (RUN_TEST_f_f): New macro.
43677         (RUN_TEST_2_f): Likewise.
43678         (RUN_TEST_ff_f): Likewise.
43679         (RUN_TEST_fi_f): Likewise.
43680         (RUN_TEST_fl_f): Likewise.
43681         (RUN_TEST_fff_f): Likewise.
43682         (RUN_TEST_c_f): Likewise.
43683         (RUN_TEST_f_f1): Likewise.
43684         (RUN_TEST_fF_f1): Likewise.
43685         (RUN_TEST_fI_f1): Likewise.
43686         (RUN_TEST_ffI_f1): Likewise.
43687         (RUN_TEST_c_c): Likewise.
43688         (RUN_TEST_cc_c): Likewise.
43689         (RUN_TEST_f_i): Likewise.
43690         (RUN_TEST_f_i_tg): Likewise.
43691         (RUN_TEST_ff_i_tg): Likewise.
43692         (RUN_TEST_f_b): Likewise.
43693         (RUN_TEST_f_b_tg): Likewise.
43694         (RUN_TEST_f_l): Likewise.
43695         (RUN_TEST_f_L): Likewise.
43696         (RUN_TEST_sincos): Likewise.
43697         * math/gen-libm-test.pl (new_test): Take new argument to indicate
43698         whether to show exceptions.  Do not include ");\n" in return
43699         value.
43700         (special_functions): Output call to RUN_TEST_sincos instead of
43701         check_float calls.  Update calls to new_test.
43702         (parse_args): Output call to single RUN_TEST_* macro instead of
43703         check_* calls and other assignments.  Update calls to new_test.
43705         [BZ #2546]
43706         [BZ #2560]
43707         [BZ #5159]
43708         [BZ #15426]
43709         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
43710         input to result for tgamma overflow.
43711         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
43712         (gamma_coeff): New variable.
43713         (NCOEFF): New macro.
43714         (gamma_positive): New function.
43715         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
43716         underflow here.  Use gamma_positive instead of exp (lgamma) for
43717         other arguments.
43718         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
43719         (gamma_coeff): New variable.
43720         (NCOEFF): New macro.
43721         (gammaf_positive): New function.
43722         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
43723         underflow here.  Use gamma_positive instead of exp (lgamma) for
43724         other arguments.
43725         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
43726         (gamma_coeff): New variable.
43727         (NCOEFF): New macro.
43728         (gammal_positive): New function.
43729         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
43730         underflow here.  Use gamma_positive instead of exp (lgamma) for
43731         other arguments.
43732         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
43733         (gamma_coeff): New variable.
43734         (NCOEFF): New macro.
43735         (gammal_positive): New function.
43736         (__ieee754_gammal_r): Handle positive infinity, overflow and
43737         underflow here.  Handle NaN the same as positive infinity.  Remove
43738         check x < 0xffffffff for negative integers.  Use gamma_positive
43739         instead of exp (lgamma) for other arguments.
43740         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
43741         (gamma_coeff): New variable.
43742         (NCOEFF): New macro.
43743         (gammal_positive): New function.
43744         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
43745         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
43746         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
43747         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
43748         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
43749         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
43750         * sysdeps/generic/math_private.h (__gamma_productf): New
43751         prototype.
43752         (__gamma_product): Likewise.
43753         (__gamma_productl): Likewise.
43754         * math/Makefile (libm-calls): Add gamma_product.
43755         * math/libm-test.inc (tgamma_test): Add more tests.
43756         * sysdeps/i386/fpu/libm-test-ulps: Update.
43757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43759 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
43761         * benchtests/bench-skeleton.c (main): Preheat CPU.
43763 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
43765         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
43767 2013-05-07  Roland McGrath  <roland@hack.frob.com>
43769         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
43770         and _dl_skip_args_internal.
43772 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
43774         * manual/message.texi (Message Translation): Talk about users.
43775         Message to key mapping impacts design.
43777 2013-05-06  Roland McGrath  <roland@hack.frob.com>
43779         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
43781         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
43783         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
43784         * sysdeps/wordsize-64/glob64.c: ... here.
43786         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
43787         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
43788         New macros.
43790         * debug/getlogin_r_chk.c: Moved to ...
43791         * login/getlogin_r_chk.c: ... here.
43792         * debug/Makefile (routines): Move getlogin_r_chk to ...
43793         * login/Makefile (routines): ... here.
43794         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
43795         * login/Versions (libc: GLIBC_2.4): ... here.
43797         * io/poll.c (__poll): Renamed from poll.
43798         Add libc_hidden_def.
43799         (poll): Define as weak alias.
43801         * debug/ptsname_r_chk.c: Moved to ...
43802         * login/ptsname_r_chk.c: ... here.
43803         * debug/Makefile (routines): Move ptsname_r_chk to ...
43804         * login/Makefile (routines): ... here.
43805         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
43806         * login/Versions (libc: GLIBC_2.4): ... here.
43808         * posix/getlogin.c: Moved to ...
43809         * login/getlogin.c: ... here.
43810         * posix/getlogin_r.c: Moved to ...
43811         * login/getlogin_r.c: ... here.
43812         * posix/getlogin_r.c: Moved to ...
43813         * login/getlogin_r.c: ... here.
43814         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
43815         * login/Makefile (routines): ... here.
43816         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
43817         * login/Versions (libc: GLIBC_2.0): ... here.
43819         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
43820         (setrlimit): Define as weak alias.
43822         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
43823         Call __ names for open, ftruncate, and close.
43824         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
43825         (truncate): Define as weak alias.
43827 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
43829         * math/gen-libm-test.pl (parse_args): Initialize x before each
43830         test of frexp, modf and remquo.
43832         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
43833         test signgam value.
43835 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43837         [BZ #15418]
43838         [BZ #15419]
43839         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
43840         internal tests.
43841         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43843 2013-05-06  Roland McGrath  <roland@hack.frob.com>
43845         * elf/dl-writev.h: New file.
43846         * elf/dl-misc.c: Include it.
43847         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
43848         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
43850 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
43852         * math/libm-test.inc (noXFails): Remove variable.
43853         (noXPasses): Likewise.
43854         (BUILD_COMPLEX_INT): Remove macro.
43855         (print_screen): Remove xfail argument.
43856         (print_screen_max_error): Likewise.
43857         (update_stats): Likewise.
43858         (print_max_error): Likewise.  Update calls to other affected
43859         functions.
43860         (print_complex_max_error): Likewise.
43861         (test_single_exception): Update calls to print_screen.
43862         (test_single_errno): Likewise.
43863         (check_float_internal): Remove xfail argument.  Update calls to
43864         other affected functions.
43865         (check_float): Likewise.
43866         (check_complex): Likewise.
43867         (check_int): Likewise.
43868         (check_long): Likewise.
43869         (check_bool): Likewise.
43870         (check_longlong): Likewise.
43871         (main): Don't print noXFails and noXPasses.
43872         * math/gen-libm-test.pl (top level): Don't mention expected
43873         failure handling in comment.
43874         (new_test): Don't handle expected failures.
43875         (parse_args): Don't mention expected failure handling in comment.
43876         (generate_testfile): Don't handle expected failures.
43877         (parse_ulps): Likewise.
43878         (print_ulps_file): Likewise.
43879         (get_failure): Remove function.
43880         (output_test): Don't handle expected failures.
43881         * make/README.libm-test: Don't mention expected failure handling.
43883         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
43884         (minus_zero): Likewise.
43885         (plus_infty): Likewise.
43886         (minus_infty): Likewise.
43887         (qnan_value): Likewise.
43888         (max_value): Likewise.
43889         (min_value): Likewise.
43890         (min_subnorm_value): Likewise.
43891         (initialize): Do not initialize those variables dynamically.
43893 2013-05-03  Roland McGrath  <roland@hack.frob.com>
43895         * io/open.c (__open_2): Moved to ...
43896         * io/open_2.c: ... this new file.
43897         * io/open64.c (__open64_2): Moved to ...
43898         * io/open64_2.c: ... this new file.
43899         * io/openat.c (__openat_2): Moved to ...
43900         * io/openat_2.c: ... this new file.
43901         * io/openat64.c (__openat64_2): Moved to ...
43902         * io/openat64_2.c: ... this new file.
43903         * io/Makefile (routines): Add them.
43904         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
43905         * sysdeps/unix/sysv/linux/open_2.c: File removed.
43906         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
43907         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
43908         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
43909         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
43910         (__openat64): Add hidden_ver.
43911         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
43912         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
43914         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
43915         Separately conditionalize setting of GLRO(dl_sysinfo) so
43916         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
43917         as well, but the actual setting is only under [NEED_DL_SYSINFO].
43919 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43921         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
43922         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
43923         definition.
43924         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
43925         * sysdeps/unix/sysv/linux/powerpc/init-first.c
43926         (_libc_vdso_platform_setup): Add __vdso_time initialization.
43927         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
43928         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
43930 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
43932         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
43933         test signgam value.
43935         * math/libm-test.inc (hypot_test): Do not use
43936         IGNORE_ZERO_INF_SIGN.
43938 2013-05-03  Andreas Jaeger  <aj@suse.de>
43940         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
43941         Linux 3.9.
43942         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
43943         (PF_MAX): Adjust for VSOCK change.
43945 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43947         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43949 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
43951         [BZ #15264]
43952         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
43953         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
43954         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
43956 2013-05-02  David S. Miller  <davem@davemloft.net>
43958         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43960 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
43962         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
43964 2013-05-01  Roland McGrath  <roland@hack.frob.com>
43966         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
43968 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
43970         [BZ #14952]
43971         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
43972         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
43973         Use __attribute__ ((__gnu_inline__)).
43974         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
43975         Don't use __attribute__ ((__gnu_inline__)).
43977 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
43979         [BZ #15423]
43980         * math/s_catan.c (__catan): Handle small real or imaginary part of
43981         input specially to avoid spurious underflow.
43982         * math/s_catanf.c (__catanf): Likewise.
43983         * math/s_catanh.c (__catanh): Likewise.
43984         * math/s_catanhf.c (__catanhf): Likewise.
43985         * math/s_catanhl.c (__catanhl): Likewise.
43986         * math/s_catanl.c (__catanl): Likewise.
43987         * math/libm-test.inc (catan_test): Add more tests.
43988         (catanh_test): Likewise.
43989         * sysdeps/i386/fpu/libm-test-ulps: Update.
43990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43992 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43994         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43996 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
43998         [BZ #15416]
43999         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
44000         accurately for denominator in atan2.
44001         * math/s_catanf.c (__catanf): Likewise.
44002         * math/s_catanh.c (__catanh): Likewise.
44003         * math/s_catanhf.c (__catanhf): Likewise.
44004         * math/s_catanhl.c (__catanhl): Likewise.
44005         * math/s_catanl.c (__catanl): Likewise.
44006         * math/libm-test.inc (catan_test): Add more tests.
44007         (catanh_test): Likewise.
44008         * sysdeps/i386/fpu/libm-test-ulps: Update.
44009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44011 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44013         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
44015         * benchtests/Makefile (bench): Remove slow benchmarks.
44016         * benchtests/atan-inputs: Add slow benchmark inputs.
44017         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
44018         (BENCH_FUNC): Accept variant offset.
44019         (VARIANT): Define.
44020         * benchtests/bench-skeleton.c (main): Run benchmark for each
44021         variant.
44022         * benchtests/cos-inputs: Add slow benchmark inputs.
44023         * benchtests/exp-inputs: Likewise.
44024         * benchtests/pow-inputs: Likewise.
44025         * benchtests/sin-inputs: Likewise.
44026         * benchtests/slowatan-inputs: Remove.
44027         * benchtests/slowatan.c: Remove.
44028         * benchtests/slowcos-inputs: Remove.
44029         * benchtests/slowcos.c: Remove.
44030         * benchtests/slowexp-inputs: Remove.
44031         * benchtests/slowexp.c: Remove.
44032         * benchtests/slowpow-inputs: Remove.
44033         * benchtests/slowpow.c: Remove.
44034         * benchtests/slowsin-inputs: Remove.
44035         * benchtests/slowsin.c: Remove.
44036         * benchtests/slowtan-inputs: Remove.
44037         * benchtests/slowtan.c: Remove.
44038         * benchtests/tan-inputs: Add slow benchmark inputs.
44039         * scripts/bench.pl: Parse comments and directives.
44041         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
44042         in CPPFLAGS.
44043         ($(objpfx)bench-%.c): Remove *-ITER.
44044         * benchtests/bench-modf.c: Remove definition of ITER.
44045         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
44046         (main): Loop for DURATION seconds instead of fixed number of
44047         iterations.
44048         * scripts/bench.pl: Don't expect iterations in parameters.
44050 2013-04-29  Roland McGrath  <roland@hack.frob.com>
44052         * io/fchdir.c (__fchdir): Renamed from fchdir.
44053         (fchdir): Define as weak alias.
44055 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
44057         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
44058         (ERRNO_EDOM): Likewise.
44059         (ERRNO_ERANGE): Likewise.
44060         (noErrnoTests): New variable.
44061         (init_max_error): Set errno to 0.
44062         (test_single_errno): New function.
44063         (test_errno): Likewise.
44064         (check_float_internal): Call test_errno.  Set errno to 0.
44065         (check_complex): Refer to errno tests in comment.
44066         (check_int): Call test_errno.  Set errno to 0.
44067         (check_long): Likewise.
44068         (check_bool): Likewise.
44069         (check_longlong): Likewise.
44070         (cos_test): Use ERRNO_* flags for errno tests instead of
44071         check_int.
44072         (expm1_test): Likewise.
44073         (fmod_test): Likewise.
44074         (ilogb_test): Likewise.
44075         (lgamma_test): Likewise.
44076         (pow_test): Likewise.
44077         (remainder_test): Likewise.
44078         (sin_test): Likewise.
44079         (tan_test): Likewise.
44080         (yn_test): Likewise.
44081         (initialize): Set errno to 0.
44082         (main): Print number of errno tests.
44083         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
44085 2013-04-29  Andreas Jaeger  <aj@suse.de>
44087         [BZ #15084]
44088         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
44089         and RES_USEVC.
44091         [BZ #15085]
44092         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
44093         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
44094         unimplemented.
44096         [BZ #15380]
44097         * stdlib/random.c (__initstate): Return NULL if
44098         __initstate fails.
44100         [BZ #15086]
44101         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
44102         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
44103         RES_SNGLKUPREOP.
44105 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44107         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44109 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
44111         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
44112         of individual tests.
44113         (casin_test): Likewise.
44114         (casinh_test): Likewise.
44116 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
44118         [BZ #15409]
44119         * math/s_catan.c (__catan): Handle arguments with large real or
44120         imaginary part separately without squaring.
44121         * math/s_catanf.c (__catanf): Likewise.
44122         * math/s_catanh.c (__catanh): Likewise.
44123         * math/s_catanhf.c (__catanhf): Likewise.
44124         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
44125         and redefine.
44126         (__catanhl): Handle arguments with large real or imaginary part
44127         separately without squaring.
44128         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
44129         and redefine.
44130         (__catanl): Handle arguments with large real or imaginary part
44131         separately without squaring.
44132         * math/libm-test.inc (catan_test): Add more tests.
44133         (catanh_test): Likewise.
44134         * sysdeps/i386/fpu/libm-test-ulps: Update.
44135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44137 2013-04-27  Andreas Jaeger  <aj@suse.de>
44139         [BZ #15007]
44140         * stdlib/stdlib.h: Update guards for qecvt.
44141         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
44142         <stdlib.h>.
44144 2013-04-27  Allan McRae  <allan@archlinux.org>
44146         * sysdeps/i386/fpu/libm-test-ulps: Update.
44148 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
44150         [BZ #15406]
44151         * math/s_catan.c: Include <float.h>.
44152         (__catan): Ensure underflow exception occurs for underflowed
44153         result.
44154         * math/s_catanf.c: Include <float.h>.
44155         (__catanf): Ensure underflow exception occurs for underflowed
44156         result.
44157         * math/s_catanh.c: Include <float.h>.
44158         (__catanh): Ensure underflow exception occurs for underflowed
44159         result.
44160         * math/s_catanhf.c: Include <float.h>.
44161         (__catanhf): Ensure underflow exception occurs for underflowed
44162         result.
44163         * math/s_catanhl.c: Include <float.h>.
44164         (__catanhl): Ensure underflow exception occurs for underflowed
44165         result.
44166         * math/s_catanl.c: Include <float.h>.
44167         (__catanl): Ensure underflow exception occurs for underflowed
44168         result.
44169         * math/libm-test.inc (catan_test): Add more tests.
44170         (catanh_test): Likewise.
44172         [BZ #15405]
44173         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
44174         underflowed result.
44175         * math/s_ccoshf.c (__ccoshf): Likewise.
44176         * math/s_ccoshl.c (__ccoshl): Likewise.
44177         * math/s_csin.c (__csin): Likewise.
44178         * math/s_csinf.c (__csinf): Likewise.
44179         * math/s_csinh.c (__csinh): Likewise.
44180         * math/s_csinhf.c (__csinhf): Likewise.
44181         * math/s_csinhl.c (__csinhl): Likewise.
44182         * math/s_csinl.c (__csinl): Likewise.
44183         * math/libm-test.inc (ccos_test): Add more tests.
44184         (ccosh_test): Likewise.
44185         (csin_test): Likewise.
44186         (csinh_test): Likewise.
44188 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44190         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
44191         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
44192         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
44193         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
44194         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
44195         powerpc/power5+/fpu folders.
44196         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
44199 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
44201         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44203 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
44205         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
44206         additions to variable.
44207         [$(config-machine) = x86_64] (modules-names): Likewise.
44208         ($(objpfx)tst-audit3): Remove dependency.
44209         ($(objpfx)tst-audit3.out): Likewise.
44210         ($(objpfx)tst-audit4): Likewise.
44211         ($(objpfx)tst-audit4.out): Likewise.
44212         ($(objpfx)tst-audit5): Likewise.
44213         ($(objpfx)tst-audit5.out): Likewise.
44214         ($(objpfx)tst-audit6): Likewise.
44215         ($(objpfx)tst-audit6.out): Likewise.
44216         ($(objpfx)tst-audit7): Likewise.
44217         ($(objpfx)tst-audit7.out): Likewise.
44218         (tst-audit3-ENV): Remove variable.
44219         (tst-audit4-ENV): Likewise.
44220         (tst-audit5-ENV): Likewise.
44221         (tst-audit6-ENV): Likewise.
44222         (tst-audit7-ENV): Likewise.
44223         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
44224         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
44225         addition to variable.
44226         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
44227         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
44228         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
44229         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
44230         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
44231         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
44232         tst-audit3, tst-audit4 and tst-audit5.
44233         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
44234         tst-audit6 and tst-audit7.
44235         [$(subdir) = elf] (modules-names): Add audit modules for those
44236         tests.
44237         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
44238         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
44239         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
44240         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
44241         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
44242         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
44243         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
44244         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
44245         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
44246         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
44247         [$(subdir) = elf] (tst-audit3-ENV): New variable.
44248         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
44249         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
44250         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
44251         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
44252         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
44253         Likewise.
44254         [$(subdir) = elf && $(config-cflags-avx) = yes]
44255         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
44256         [$(subdir) = elf && $(config-cflags-avx) = yes]
44257         (CFLAGS-tst-auditmod4a.c): Likewise.
44258         [$(subdir) = elf && $(config-cflags-avx) = yes]
44259         (CFLAGS-tst-auditmod4b.c): Likewise.
44260         [$(subdir) = elf && $(config-cflags-avx) = yes]
44261         (CFLAGS-tst-auditmod6b.c): Likewise.
44262         [$(subdir) = elf && $(config-cflags-avx) = yes]
44263         (CFLAGS-tst-auditmod6c.c): Likewise.
44264         [$(subdir) = elf && $(config-cflags-avx) = yes]
44265         (CFLAGS-tst-auditmod7b.c): Likewise.
44266         * elf/tst-audit3.c: Move to ...
44267         * sysdeps/x86_64/tst-audit3.c: ... here.
44268         * elf/tst-audit4.c: Move to ...
44269         * sysdeps/x86_64/tst-audit4.c: ... here.
44270         * elf/tst-audit5.c: Move to ...
44271         * sysdeps/x86_64/tst-audit5.c: ... here.
44272         * elf/tst-audit6.c: Move to ...
44273         * sysdeps/x86_64/tst-audit6.c: ... here.
44274         * elf/tst-audit7.c: Move to ...
44275         * sysdeps/x86_64/tst-audit7.c: ... here.
44276         * elf/tst-auditmod3a.c: Move to ...
44277         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
44278         * elf/tst-auditmod3b.c: Move to ...
44279         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
44280         * elf/tst-auditmod4a.c: Move to ...
44281         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
44282         * elf/tst-auditmod4b.c: Move to ...
44283         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
44284         * elf/tst-auditmod5a.c: Move to ...
44285         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
44286         * elf/tst-auditmod5b.c: Move to ...
44287         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
44288         * elf/tst-auditmod6a.c: Move to ...
44289         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
44290         * elf/tst-auditmod6b.c: Move to ...
44291         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
44292         * elf/tst-auditmod6c.c: Move to ...
44293         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
44294         * elf/tst-auditmod7a.c: Move to ...
44295         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
44296         * elf/tst-auditmod7b.c: Move to ...
44297         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
44299 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
44301         [BZ #15366]
44302         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
44303         define unconditionally.
44304         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
44305         define unconditionally.
44306         (INT8_C, INT16_C, etc.): Likewise.
44308 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
44310         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
44311         __ehdr_start with hidden visibility.
44313         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
44315 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
44317         * math/libm-test.inc (cos_test): Use accurate hex constants.
44318         (sincost_test): Likewise.
44320 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
44322         * math/libm-test.inc (catan_test): Add more tests.
44323         (catanh_test): Likewise.
44325         * math/s_catanf.c (__catanf): Use suffixed floating-point
44326         constants.
44327         * math/s_catanhf.c (__catanhf): Likewise.
44328         * math/s_catanhl.c (__catanhl): Likewise.
44329         * math/s_catanl.c (__catanl): Likewise.
44331         [BZ #15394]
44332         * math/s_catan.c (__catan): Calculate imaginary part of result
44333         with log1p not log unless computing log of number close to 0.
44334         * math/s_catanf.c (__catanf): Likewise.
44335         * math/s_catanl.c (__catanl): Likewise.
44336         * math/s_catanh.c (__catanh): Calculate real part of result with
44337         log1p not log unless computing log of number close to 0.
44338         * math/s_catanhf.c (__catanhf): Likewise.
44339         * math/s_catanhl.c (__catanhl): Likewise.
44340         * math/libm-test.inc (catan_test): Add more tests.
44341         (catanh_test): Likewise.
44342         * sysdeps/i386/fpu/libm-test-ulps: Update.
44343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44345 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
44347         * benchtests/Makefile: Mention files in which fast and slow
44348         paths of math functions are implemented.
44350 2013-04-23  Roland McGrath  <roland@hack.frob.com>
44352         * sysdeps/posix/timespec_get.c: New file.
44354 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44356         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
44357         POWER.
44358         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
44359         for POWER.
44360         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
44361         powerpc/power5/fpu folders.
44362         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
44363         * benchtests/Makefile: Add modf testcase.
44364         * benchtests/bench-modf.c: New file: Benchmark test for mo
44366 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
44368         [BZ #14888]
44369         * time/Makefile (tests): Add tst-strptime-whitespace.
44370         * time/strptime_l.c (get_number): Use ISSPACE.
44371         (__strptime_internal): Likewise.
44372         * time/tst-strptime-whitespace.c: New test case.
44374 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
44376         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
44377         member.
44378         (_nss_files_init): Set it here.
44380 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
44382         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
44383         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
44384         unsigned.
44386 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
44388         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
44390 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
44392         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
44393         size just once.
44395 2013-04-21  David S. Miller  <davem@davemloft.net>
44397         * po/ru.po: Update Russion translation from translation project.
44399 2013-04-17  Adam Conrad  <adconrad@0c3.net>
44401         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
44402         and setfsgid.
44404 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
44406         * configure.in: Remove i386 configure warning. Remove i386 case.
44407         * configure: Regenerate.
44408         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
44409         Add example to error message.
44410         * sysdeps/i386/configure: Regenerate.
44412 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
44414         * benchtests/Makefile (bench): Add cos, tan, slowcos and
44415         slowtan.
44416         * benchtests/cos-inputs: New file.
44417         * benchtests/slowcos-inputs: New file.
44418         * benchtests/slowcos.c: New file.
44419         * benchtests/slowtan-inputs: New file.
44420         * benchtests/slowtan.c: New file.
44421         * benchtests/tan-inputs: New file.
44423 2013-04-16  Roland McGrath  <roland@hack.frob.com>
44425         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
44426         considered kosher.
44428 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44430         * benchtests/Makefile: Include cppflags-iterator.mk to add
44431         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
44433         * Makefile.in (bench-clean): New target.
44434         * benchtests/Makefile (bench-clean): Likewise.
44436 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
44438         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
44440 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
44442         * stdio-common/tstdiomisc.c: Fix coding-style violation.
44444 2013-04-15  Andreas Schwab  <schwab@suse.de>
44446         * nscd/grpcache.c (cache_addgr): Properly check for short write.
44447         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44448         * nscd/pwdcache.c (cache_addpw): Likewise.
44449         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
44450         more than recsize.
44452 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44454         * benchtests/Makefile (bench): Write all output to
44455         bench-out.tmp together.
44457 2013-04-15  Andreas Schwab  <schwab@suse.de>
44459         * nscd/nscd.c (main): Don't fork again after closing files.
44461 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44463         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
44465         * benchtests/Rules (bench-deps): Collect dependencies into a
44466         single variable.  Add Makefile to dependencies.
44467         ($(objpfx)bench-%.c): Depend on bench-deps.
44469 2013-04-12  Roland McGrath  <roland@hack.frob.com>
44470             Xavier Roche  <roche+kml2@exalead.com>
44472         [BZ #15361]
44473         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
44474         just that it's a file descriptor.
44475         * manual/llio.texi (Synchronizing AIO Operations): Update description
44476         for EBADF error from aio_fsync.
44478 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44480         * Rules (bench): Move target definition...
44481         * benchtests/Makefile: ... here.
44483 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
44485         * math/libm-test.inc (cos_test): Fix PI/2 test.
44486         (sincos_test): Likewise.
44487         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
44488         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
44490 2013-04-11  Andreas Schwab  <schwab@suse.de>
44492         [BZ #13988]
44493         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
44494         accept exponent character only when digits were seen.
44495         * stdio-common/Makefile (tests): Add bug26.
44496         * stdio-common/bug26.c: New file.
44498         [BZ #14293]
44499         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
44500         non-freeable.
44502 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44504         * Makeconfig (rtld-prefix): Define built linker prefix.
44505         * Rules (run-bench): Use it.
44506         * math/Makefile (run-regen-ulps): Likewise.
44508         * Rules (bench): Remove eval.
44510 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44511             Roland McGrath  <roland@hack.frob.com>
44512             Ondrej Bilka  <neleai@seznam.cz>
44514         [BZ #15346]
44515         * time/getdate.c: Include ctype.h and alloca.h.
44516         (__getdate_r): Trim leading and trailing spaces of input.
44517         * time/tst-getdate.c (tests): Add tests with leading and
44518         trailing spaces.
44520 2013-04-08  Roland McGrath  <roland@hack.frob.com>
44522         [BZ #14280]
44523         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
44524         when computing value.
44526 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
44528         * math/README.libm-test (How can I generate "libm-test-ulps"?):
44529         Use testrun.sh to run libm tests.
44531         [BZ #15309]
44532         * elf/dl-open.c (dl_open_worker): memset all of seen array.
44534 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
44536         [BZ #15264]
44537         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
44539 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
44541         * Makefile.in (regen-ulps): New target.
44542         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
44543         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
44544         [ifneq (no,$(PERL)] (regen-ulps): New target.
44545         [ifeq (no,$(PERL)] (regen-ulps): New target.
44546         * math/libm-test.inc (ulps_file_name): Define.
44547         (output_dir): New variable.
44548         (options): Add "output-dir" option.
44549         (parse_opt): Handle 'o' case.
44550         (main): If output_dir is non-NULL use it as a prefix
44551         otherwise use "".
44552         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
44554 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
44556         [BZ #10060, #10062]
44557         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
44558         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
44559         fail configure if __sync_val_compare_and_swap is not inlined.
44560         * sysdeps/i386/configure: Regenerate.
44561         * configure.in: Build for i686 when configured for i386.
44562         * configure: Regenerate.
44563         * README: Remove i386 reference.
44565 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
44567         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
44568         * sysdeps/s390/s390-64/sysdep.h: Likewise.
44570 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
44572         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
44573         (lmsnanval): New variables.
44574         (F): Add conversion tests.
44575         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
44576         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
44578         * stdio-common/tstdiomisc.c (F): Properly collect individual
44579         tests' results.
44581         [BZ #14686, #15336]
44582         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
44583         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
44584         Instead, use input NaN values or generate a qNaN by arithmetic
44585         operation.  Also fix bugs to comply with the standard.
44586         * math/libm-test.inc (remainder_test): Add more tests.
44588         [BZ #15335, #15342]
44589         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
44590         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
44591         input NaN values or generate a qNaN by arithmetic operation.
44593         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
44594         unreachable code.
44596         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
44597         definitions.
44599 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
44601         [BZ #14478]
44602         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
44603         underflowed result.
44604         * math/s_cexpf.c (__cexpf): Likewise.
44605         * math/s_cexpl.c (__cexpl): Likewise.
44606         * math/libm-test.inc (cexp_test): Add more tests.
44608 2013-04-03  Andreas Schwab  <schwab@suse.de>
44610         [BZ #15330]
44611         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
44612         order arrays from heap if bigger than alloca cutoff.
44614 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
44616         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
44617         (SNAN_TESTS_double): Refer to GCC PR56831.
44618         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
44619         GCC PR56828.
44621 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
44623         * Rules (bench): Move bench.out after the run is complete.
44625         * Rules (bench): Echo currently running benchmark.
44627         * benchtests/Makefile (bench): Add atan and slowatan.
44628         * benchtests/atan-inputs: New file.
44629         * benchtests/slowatan-inputs: New file.
44630         * benchtests/slowatan.c: New file.
44632         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
44633         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
44634         its value.
44636         [BZ #15305]
44637         * sysdeps/unix/sysv/linux/kernel-features.h
44638         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
44639         __ASSUME_XFS_RESTRICTED_CHOWN.
44640         * sysdeps/unix/sysv/linux/pathconf.c
44641         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
44642         Save and restore errno.
44644 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
44646         [BZ #15327]
44647         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
44648         arguments using __kernel_casinh.
44649         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
44650         arguments using __kernel_casinhf.
44651         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
44652         arguments using __kernel_casinhl.
44653         * math/libm-test.inc (cacosh_test): Add more tests.
44654         * sysdeps/i386/fpu/libm-test-ulps: Update.
44655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44657 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44659         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
44660         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
44662         * bench/Makefile (bench): Add sin and slowsin.
44663         * benchtests/sin-inputs: New file.
44664         * benchtests/slowsin-inputs: New file.
44665         * benchtests/slowsin.c: New file.
44667         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
44668         (bench): Add slowexp and slowpow.
44669         (exp-ITER): Increase iterations.
44670         (pow-ITER): Likewise.
44671         * benchtests/exp-inputs: Change input.
44672         * benchtests/pow-inputs: Likewise.
44673         * benchtests/slowexp-inputs: New file.
44674         * benchtests/slowexp.c: New file.
44675         * benchtests/slowpow-inputs: New file.
44676         * benchtests/slowpow.c: New file.
44678 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44680         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
44681         instructions.
44682         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
44683         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
44684         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
44685         * benchtests/Makefile: Add rint benchtest.
44686         * benchtests/rint-inputs: Input for rint benchtest.
44688 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
44690         * Versions.def (libm): Add GLIBC_2.18.
44691         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
44692         hidden libm prototypes.
44693         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
44694         * math/Makefile (libm-calls): Add s_issignaling.
44695         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
44696         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
44697         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
44698         declaration.
44699         * math/math.h [__USE_GNU] (issignaling): New macro.
44700         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
44701         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
44702         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
44703         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
44704         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
44705         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
44706         * manual/arith.texi (issignaling): New section.
44707         * manual/libm-err-tab.pl (@all_functions): Update comment.
44708         * math/gen-libm-test.pl (parse_args): Apply special handling for
44709         issignaling.
44710         * math/libm-test.inc (print_float, issignaling_test): New
44711         functions.
44712         (check_float_internal): Add issignaling checks.
44713         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
44714         default definition.
44715         * sysdeps/powerpc/math-tests.h: New file.
44716         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
44717         tests.
44718         * math/test-snan.c (TEST_FUNC): Likewise.
44720 2013-03-30  David S. Miller  <davem@davemloft.net>
44722         * po/de.po: Update from translation team.
44724 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
44726         [BZ #10357]
44727         * math/k_casinh.c (__kernel_casinh): Handle arguments with
44728         imaginary part less than 1.0 and real part less than 0.5
44729         specially.
44730         * math/k_casinhf.c (__kernel_casinhf): Likewise.
44731         * math/k_casinhl.c (__kernel_casinhl): Likewise.
44732         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
44733         (cacos_test): Add more tests.
44734         (casin_test): Likewise.
44735         (casinh_test): Likewise.
44736         * sysdeps/i386/fpu/libm-test-ulps: Update.
44737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44739 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
44741         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
44742         ONE with its value.
44744         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
44745         (__pow_mp): Replace ONE and MONE with their values.
44746         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
44747         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
44748         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
44749         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
44750         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
44751         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
44753         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
44755         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
44756         (__pow_mp): Replace ZERO and MZERO with their values.
44757         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
44758         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
44759         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
44760         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
44761         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
44762         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
44763         (__sqr): Likewise.
44765         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
44767         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
44769 2013-03-28  Roland McGrath  <roland@hack.frob.com>
44771         * include/stdlib.h [!SHARED] (__call_tls_dtors):
44772         Declare with __attribute__ ((weak)).
44773         * stdlib/exit.c (__libc_atexit) [!SHARED]:
44774         Call __call_tls_dtors only if it's not NULL.
44776 2013-03-28  Roland McGrath  <roland@hack.frob.com>
44778         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
44779         didn't do it already, then set _dl_phdr and _dl_phnum based on the
44780         magic __ehdr_start linker symbol if it's defined.
44781         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
44782         them up here if it was already done.
44784         * elf/dl-support.c (_dl_phdr): Make pointer to const.
44785         (_dl_aux_init): Use const in cast when setting it.
44786         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
44787         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
44788         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
44790         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
44791         Declare them here.
44792         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
44793         * csu/libc-tls.c: Nor here.
44794         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
44796         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
44797         (__libc_message): Never call vsyslog.
44799 2013-03-28  Alan Modra  <amodra@gmail.com>
44801         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
44802         Define as empty.
44803         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
44804         Likewise.
44806 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44808         [BZ #15214]
44809         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
44810         underflow.
44811         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44813 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44815         [BZ #15304]
44816         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
44817         Don't add gid passed as argument.
44819         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
44821 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
44823         [BZ #15307]
44824         * math/k_casinh.c (__kernel_casinh): Handle arguments with
44825         imaginary part between 1.0 and 1.5 and real part less than 0.5
44826         specially.
44827         * math/k_casinhf.c (__kernel_casinhf): Likewise.
44828         * math/k_casinhl.c (__kernel_casinhl): Likewise.
44829         * math/libm-test.inc (cacos_test): Add more tests.
44830         (casin_test): Likewise.
44831         (casinh_test): Likewise.
44832         * sysdeps/i386/fpu/libm-test-ulps: Update.
44833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44835 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44837         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
44838         constants.
44839         (norm): Likewise.
44840         (denorm): Likewise.
44841         (__dbl_mp): Likewise.
44842         (add_magnitudes): Likewise.
44843         (sub_magnitudes): Likewise.
44844         (__add): Likewise.
44845         (__sub): Likewise.
44846         (__mul): Likewise.
44847         (__sqr): Likewise.
44848         (__inv): Likewise.
44849         (__dvd): Likewise.
44851         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
44852         commented code.
44853         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
44854         (__dubcos): Likewise.
44855         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
44856         (__ieee754_acos): Likewise.
44857         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
44858         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
44859         (__exp1): Likewise.
44860         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
44861         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
44862         (log1): Likewise.
44863         (my_log2): Likewise.
44864         (checkint): Likewise.
44865         * sysdeps/ieee754/dbl-64/e_remainder.c
44866         (__ieee754_remainder): Likewise.
44867         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
44868         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
44869         (bsloww): Likewise.
44870         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
44872         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
44873         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
44874         MANTISSA_STORE_T to store computations on mantissa.  Use
44875         macros for rounding and division.
44876         (denorm): Likewise.
44877         (__dbl_mp): Likewise.
44878         (add_magnitudes): Likewise.
44879         (sub_magnitudes): Likewise.
44880         (__mul): Likewise.
44881         (__sqr): Likewise.
44882         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
44883         powers of two in terms of TWOPOW macro.
44884         (mp_no): Make type of mantissa as MANTISSA_T.
44885         [!RADIXI]: Define RADIXI.
44886         [!TWO52]: Define TWO52.
44887         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
44889 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44891         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
44892         llroundl symbol when building for PPC32.
44894 2013-03-24  Mark H Weaver  <mhw@netris.org>
44896         * manual/arith.texi (Normalization Functions): Fix prototypes for
44897         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
44899 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44901         [BZ #13889]
44902         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
44903         high value to check if expl overflow.
44904         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
44905         to check for underflow and overflow.
44906         * math/libm-test.inc: Add exp test.
44908 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
44910         [BZ #11120]
44911         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
44912         with NOT_IN_libc.
44914 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44916         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
44917         symbol.
44919 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
44921         * math/gen-libm-test.pl (parse_args, special_functions): Properly
44922         wrap blocks consisting of several statements.
44924         * sysdeps/generic/math-tests.h: New file.
44925         * sysdeps/i386/fpu/math-tests.h: Likewise.
44926         * math/test-snan.c: Include it.
44927         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
44929 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
44931         [BZ #15285]
44932         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
44933         (__ieee754_j0l): Do not improve calculations using cos of twice
44934         input for inputs above LDBL_MAX / 2.0L.
44935         (__ieee754_y0l): Likewise.
44936         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
44937         (__ieee754_j1l): Do not improve calculations using cos of twice
44938         input for inputs above LDBL_MAX / 2.0L.
44939         (__ieee754_y1l): Likewise.
44940         * math/libm-test.inc (j0_test): Add another test.
44941         (j1_test): Likewise.
44942         (y0_test): Likewise.
44943         (y1_test): Likewise.
44944         * sysdeps/i386/fpu/libm-test-ulps: Update.
44946 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44948         * Rules ($(objpfx)bench-%.c): Include code from a C source
44949         file.
44951 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
44953         [BZ #15287]
44954         * math/k_casinh.c (__kernel_casinh): Handle arguments with
44955         imaginary part 1.0 and real part less than 0.5 specially.
44956         * math/k_casinhf.c (__kernel_casinhf): Likewise.
44957         * math/k_casinhl.c (__kernel_casinhl): Likewise.
44958         * math/libm-test.inc (cacos_test): Add more tests.
44959         (casin_test): Likewise.
44960         (casinh_test): Likewise.
44961         * sysdeps/i386/fpu/libm-test-ulps: Update.
44962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44964 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44966         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
44967         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
44969 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
44971         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
44972         * config.make.in (config-cflags-sse4): Remove variable.
44973         (config-cflags-avx): Likewise.
44974         (config-cflags-sse2avx): Likewise.
44975         (config-cflags-novzeroupper): Likewise.
44976         (config-asflags-i686): Likewise.
44977         (have-mfma4): Likewise.
44978         (have-as-vis3): Likewise.
44979         (MIG): Likewise.
44980         * configure.in (MIG): Do not AC_SUBST.
44981         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
44982         (libc_cv_cc_sse4): Do not AC_SUBST.
44983         (libc_cv_cc_avx): Likewise.
44984         (libc_cv_cc_sse2avx): Likewise.
44985         (libc_cv_cc_novzeroupper): Likewise.
44986         (libc_cv_cc_fma4): Likewise.
44987         (libc_cv_as_i686): Likewise.
44988         (libc_cv_sparc_as_vis3): Likewise.
44989         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
44990         LIBC_CONFIG_VAR.
44991         (config-asflags-i686): Likewise.
44992         (config-cflags-avx): Likewise.
44993         (config-cflags-sse2avx): Likewise.
44994         (have-mfma4): Likewise.
44995         (config-cflags-novzeroupper): Likewise.
44996         * sysdeps/mach/configure.in (MIG): Likewise.
44997         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
44998         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
44999         LIBC_CONFIG_VAR.
45000         (config-cflags-avx): Likewise.
45001         (config-cflags-sse2avx): Likewise.
45002         (have-mfma4): Likewise.
45003         (config-cflags-novzeroupper): Likewise.
45004         * configure: Regenerated.
45005         * sysdeps/i386/configure: Likewise.
45006         * sysdeps/mach/configure: Likewise.
45007         * sysdeps/sparc/configure: Likewise.
45008         * sysdeps/x86_64/configure: Likewise.
45010 2013-03-20  Roland McGrath  <roland@hack.frob.com>
45012         [BZ #14812]
45013         * locale/programs/localedef.c (options): Put N_ translation marker
45014         on argument names, not just descriptions.
45016 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45018         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
45020 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
45022         [BZ #14176]
45023         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
45025 2013-03-19  Roland McGrath  <roland@hack.frob.com>
45027         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
45028         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
45029         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
45030         [!BEFORE_ABORT] (before_abort): New function.
45031         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
45032         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
45033         (writev_for_fatal): New function.
45034         (WRITEV_FOR_FATAL): New macro; call that.
45035         (backtrace_and_maps): New function.
45036         (BEFORE_ABORT): New macro; call that.
45037         (struct str_list): Type removed.
45038         (__libc_message, __libc_fatal): Functions removed.
45039         Include <sysdeps/posix/libc_fatal.c> instead.
45041 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
45043         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
45044         constants.
45045         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
45046         double constants.
45048 2013-03-19  Andreas Schwab  <schwab@suse.de>
45050         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
45051         * sysdeps/gnu/configure: Regenerate.
45053         * configure.in: Substitute libc_cv_rtlddir.
45054         * configure: Regenerate.
45055         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
45056         * Makeconfig (rtlddir, inst_rtlddir): New variables.
45057         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
45058         * elf/Makefile (install-others, CFLAGS-interp.c)
45059         (ldso_install, common-ldd-rewrite): Likewise.
45060         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
45061         $(inst_slibdir)/$(rtld-installed-name).
45062         * scripts/rellns-sh: Add -p option.
45063         * Makerules (make-shlib-link): Use rellns-sh to get relative name
45064         for source.
45066 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
45068         * manual/nptl.texi: Renamed to ...
45069         * manual/threads.texi: ... this.
45070         * manual/Makefile (chapters): Update.
45072 2013-03-18  Roland McGrath  <roland@hack.frob.com>
45074         [BZ #14812]
45075         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
45076         on argument names, not just descriptions.
45077         * malloc/memusagestat.c (options): Likewise.
45078         * nss/getent.c (options): Likewise.
45080 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
45082         [BZ #14812]
45083         * iconv/iconv_prog.c (options): Put N_ translation marker
45084         on argument names, not just descriptions.
45085         * iconv/iconvconfig.c (options): Likewise.
45087 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
45089         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
45090         implementation which is faster on all x86_64 architectures.
45091         Tested on AMD, Intel Nehalem, SNB, IVB.
45092         * sysdeps/x86_64/strnlen.S: Likewise.
45094         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
45095         Remove all multiarch strlen and strnlen versions.
45096         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
45097         Remove strlen and strnlen related parts.
45099         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
45100         Inline strlen part.
45101         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
45103         * sysdeps/x86_64/multiarch/strlen.S: Remove.
45104         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
45105         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
45106         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
45107         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
45108         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
45110 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
45112         * manual/memory.texi (Malloc Tunable Parameters):
45113         Sort parameters alphabetically. Add comments for missing entries.
45115 2013-03-17  David S. Miller  <davem@davemloft.net>
45117         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45119 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
45121         [BZ #15283]
45122         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
45123         for arguments at most half maximum finite value.
45124         * math/libm-test.inc (j0_test): Add more tests.
45125         (j1_test): Likewise.
45126         (y0_test): Likewise.
45127         (y1_test): Likewise.
45128         * sysdeps/i386/fpu/libm-test-ulps: Update.
45129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45131         [BZ #14155]
45132         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
45133         1 / x and functions P and Q for arguments above 0x1p256L.
45134         (__ieee754_y0l): Likewise.
45135         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
45136         (__ieee754_y1l): Likewise.
45137         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
45138         (j1_test): Likewise.
45139         (y0_test): Likewise.
45140         (y1_test): Likewise.
45142 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
45144         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
45145         variable.
45147 2013-03-15  Roland McGrath  <roland@hack.frob.com>
45149         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
45150         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
45151         zero since it's initialized to EXEC_PAGESIZE.
45153         * sysdeps/unix/sysv/linux/ldsodefs.h
45154         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
45155         * sysdeps/generic/ldsodefs.h: ... here.
45157 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
45159         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
45161         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
45162         math/test-snan.c.
45163         * math/test-snan.c: Renamed from
45164         sysdeps/powerpc/fpu/test-powerpc-snan.c.
45165         * math/Makefile (tests): Add test-snan.
45166         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
45167         test-powerpc-snan.
45169         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
45170         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
45171         functions.
45172         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
45173         __builtin_nan family of functions.
45174         * math/libm-test.inc (initialize): Initialize qnan_value with
45175         __builtin_nan family of functions.
45176         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
45177         Remove variables.
45178         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
45179         Remove functions.
45180         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
45181         storage class.  Initialize qNaN_var and sNaN_var with
45182         __builtin_nan and __builtin_nans families of functions,
45183         respectively.
45185         * math/libm-test.inc (acosh_test): Also test with qNaN input.
45186         (sqrt_test): Remove duplicate test with qNaN input.
45187         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
45188         (round_test, signbit_test, significand_test): Note missing +/-Inf
45189         as well as qNaN tests.
45191         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
45192         qNaN_var.  Fix a few strings, too.
45193         * math/libm-test.inc (nan_value): Rename to qnan_value.
45194         * math/gen-libm-test.pl (%beautify): Adjust to that.
45195         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
45196         * math/test-misc.c (main): Likewise.
45197         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
45198         to __qnan_bytes, and __qnan_union, respectively.
45199         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
45200         Likewise.
45201         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
45202         and lqnanval, respectively.
45203         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
45204         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
45205         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
45206         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
45208         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
45209         * math/test-misc.c (main) [__x86_64__]: Enable test for long
45210         doubles.
45212         * math/test-misc.c (main): Fix copy'n'pastos.
45213         * misc/tst-efgcvt.c (special): Likewise.
45215         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
45216         Remove declarations.
45218 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45220         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
45221         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
45222         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
45223         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
45225 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45227         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
45228         macro to return vdso values correctly in IFUNC implementations.
45229         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
45230         Optimization by using IFUNC.
45232 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45233             Richard Henderson  <rth@redhat.com>
45234             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
45236         * Makefile.in (bench): New target.
45237         * NEWS: Mention the benchmark framework.
45238         * Rules (bench): Likewise.
45239         (binaries-bench): Generate binaries for functions to
45240         benchmark.
45241         * benchtests/Makefile: New makefile for benchmark tests.
45242         * benchtests/bench-skeleton.c: New skeleton file for benchmark
45243         programs.
45244         * benchtests/exp-inputs: New input file for EXP function.
45245         * benchtests/pow-inputs: New input file for POW function.
45246         * scripts/bench.pl: New script to generate source files for
45247         benchmark programs.
45249 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45251         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
45252         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
45253         computations on mantissa.  Use macros for rounding and
45254         division.
45255         (denorm): Likewise.
45256         (__dbl_mp): Likewise.
45257         (add_magnitudes): Likewise.
45258         (sub_magnitudes): Likewise.
45259         (__mul): Likewise.
45260         (__sqr): Likewise.
45261         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
45262         powers of two in terms of TWOPOW macro.
45263         (mp_no): Make type of mantissa as MANTISSA_T.
45264         [!RADIXI]: Define RADIXI.
45265         [!TWO52]: Define TWO52.
45266         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
45268         * manual/nptl.texi (cindex): Modify threads to pthreads.
45270 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
45272         * sysdeps/x86_64/preconfigure: Regenerated.
45274 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
45276         [BZ #14155]
45277         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
45278         0x1p28 and above.
45279         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
45280         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
45281         0x1p28 and above.
45282         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
45283         * math/libm-test.inc (j0_test): Do not allow one spurious
45284         underflow exception.
45285         (y1_test): Likewise.
45287 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
45289         * manual/Makefile (chapters): Add nptl.
45290         * manual/debug.texi (Debugging Support): Add link to Threads
45291         chapter.
45292         * manual/nptl.texi: New file.
45294         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
45296 2013-03-14  Petr Baudis  <pasky@ucw.cz>
45298         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
45299         for non-NULL pointer before the memory validity test. Pointed
45300         out by Holger Brunck <holger.brunck@keymile.com>.
45302 2013-03-13  Andreas Schwab  <schwab@suse.de>
45304         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
45305         instead of .os.
45307 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
45309         * timezone/zic.c: Update from tzcode 2013b.
45311 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
45313         * manual/install.texi (Configuring and compiling):
45314         Mention i686 and i586.
45315         * INSTALL: Regenerate.
45317 2013-03-12  Roland McGrath  <roland@hack.frob.com>
45319         * sysdeps/init_array/elf-init.c: New file.
45320         * csu/elf-init.c
45321         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
45322         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
45324         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
45325         __gmon_start__ as global, but as static with a .preinit_array pointer.
45326         * sysdeps/init_array/gmon-start.c: New file.  Use that.
45327         * sysdeps/init_array/crti.S: New file, empty except for comments.
45328         * sysdeps/init_array/crtn.S: Likewise.
45330 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
45332         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
45333         definining bcopy.
45334         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45335         Remove Prefer_SSE_for_memop.
45336         * sysdeps/x86_64/multiarch/init-arch.h: Remove
45337         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
45338         HAS_PREFER_SSE_FOR_MEMOP.
45339         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
45340         memset-x86-64.
45341         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45342         Remove bzero, memset ifunc support.
45343         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
45344         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
45345         * sysdeps/x86_64/multiarch/memset.S: Likewise.
45346         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
45348 2013-03-11  Andreas Schwab  <schwab@suse.de>
45350         [BZ #15234]
45351         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
45352         by SHLIB_COMPAT.
45353         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
45354         (GLIBC_2.16): Remove pthread_atfork.
45356 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
45358         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
45359         (ptestcases.h): Likewise.
45361 2013-03-08  Roland McGrath  <roland@hack.frob.com>
45363         * Makeconfig ($(common-objpfx)config.status): Depend on
45364         sysdeps/*/preconfigure{,.in} too.
45366 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
45368         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
45369         (__free_hook): Use void * instead of __malloc_ptr_t.
45370         (__malloc_hook): Likewise.
45371         (__realloc_hook): Likewise.
45372         (__memalign_hook): Likewise.
45373         (__after_morecore_hook): Likewise.
45374         * malloc/arena.c (save_malloc_hook): Likewise.
45375         (save_free_hook): Likewise.
45376         * malloc/hooks.c (malloc_hook_ini): Likewise.
45377         (realloc_hook_ini): Likewise.
45378         (memalign_hook_ini): Likewise.
45379         * malloc/malloc.c (malloc_hook_ini): Likewise.
45380         (realloc_hook_ini): Likewise.
45381         (memalign_hook_ini): Likewise.
45382         (__free_hook): Likewise.
45383         (__malloc_hook): Likewise.
45384         (__realloc_hook): Likewise.
45385         (__memalign_hook): Likewise.
45386         (__libc_malloc): Likewise.
45387         (__libc_free): Likewise.
45388         (__libc_realloc): Likewise.
45389         (__libc_memalign): Likewise.
45390         (__libc_valloc): Likewise.
45391         (__libc_pvalloc): Likewise.
45392         (__libc_calloc): Likewise.
45393         (__posix_memalign): Likewise.
45394         * malloc/morecore.c (__sbrk): Likewise.
45395         (__default_morecore): Likewise.
45397         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
45399         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
45400         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
45401         __malloc_ptrdiff_t.
45403         * malloc/malloc.h (__malloc_size_t): Remove macro.
45404         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
45405         __malloc_size_t.
45406         (old_memalign_hook): Likewise.
45407         (old_realloc_hook): Likewise.
45408         (struct hdr): Likewise.
45409         (flood): Likewise.
45410         (mallochook): Likewise.
45411         (memalignhook): Likewise.
45412         (reallochook): Likewise.
45413         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
45414         (tr_old_realloc_hook): Likewise.
45415         (tr_old_memalign_hook): Likewise.
45416         (tr_mallochook): Likewise.
45417         (tr_reallochook): Likewise.
45418         (tr_memalignhook): Likewise.
45420 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45422         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
45423         default_ldbl_pack and using as default implementation.
45424         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
45425         implementation.
45426         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
45427         redundant definition.
45428         (ldbl_insert_mantissa): Likewise.
45429         (ldbl_canonicalize): Likewise.
45430         (ldbl_nearbyint): Likewise.
45431         (ldbl_pack): Rename to ldbl_pack_ppc.
45432         (ldbl_unpack): Rename to ldbl_unpack_ppc.
45433         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
45434         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
45436 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
45438         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
45439         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
45440         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
45441         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
45442         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
45443         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
45444         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
45445         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
45447 2013-03-07  Andreas Jaeger  <aj@suse.de>
45449         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45450         bits/mman-linux.h.
45452 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
45454         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
45455         Include mpa.h and declare __MPEXP.
45456         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
45457         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
45458         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
45459         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
45460         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
45461         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
45462         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
45464         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
45465         (__slowpow): Use long double EXPL and LOGL functions to
45466         compute POW.
45467         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
45468         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
45469         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
45470         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
45471         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
45472         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
45474         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
45475         intermediate variable to calculate exponent.
45476         (__sqr): Likewise.
45477         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
45478         Likewise.
45479         (__sqr): Likewise.
45481         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
45482         [!NO__SQR]: Define __sqr.
45483         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
45484         and NO__SQR.  Remove all code except __mul and __sqr.  Include
45485         sysdeps/ieee754/dbl-64/mpa.c.
45486         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
45488         [BZ #12723]
45489         * posix/Makefile (tests): Add tst-pathconf.
45490         * posix/tst-pathconf.c: New test case.
45491         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
45492         _PC_PIPE_BUF.
45493         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
45495 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
45497         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
45499 2013-03-06  Andreas Jaeger  <aj@suse.de>
45501         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
45502         definition via __MAP_ANONYMOUS.
45504         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
45505         it's not part of Linux headers.
45507         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
45508         (MAP_HUGE_MASK): Define.
45510         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
45511         Define.
45512         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
45513         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
45514         Define.
45515         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
45516         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
45517         Define.
45518         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
45519         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
45520         Define.
45521         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
45523         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
45524         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
45525         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
45526         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
45527         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
45528         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
45530         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45531         Handle f2fs.
45533         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45534         Handle f2fs and efivarfs.
45536         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
45537         f2fs.
45539         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
45540         (EFIVARFS_MAGIC): Add.
45541         (F2FS_LINK_MAX): Add.
45543 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
45545         * stdio-common/vfprintf.c: Replace __builtin_expect with
45546         __glibc_unlikely.
45548 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
45550         [BZ #13550]
45551         * sysdeps/generic/bp-sym.h: Remove file.
45552         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
45553         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
45554         <bp-sym.h> and <bp-asm.h>.
45555         (__longjmp): Don't use BP_SYM.
45556         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
45557         and <bp-asm.h>.
45558         (memcpy): Don't use BP_SYM.
45559         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
45560         <bp-sym.h> and <bp-asm.h>.
45561         (memcpy): Don't use BP_SYM.
45562         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
45563         <bp-asm.h>.
45564         (memcpy): Don't use BP_SYM.
45565         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
45566         <bp-asm.h>.
45567         (memset): Don't use BP_SYM.
45568         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
45569         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
45570         (__bzero): Don't use BP_SYM.
45571         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
45572         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
45573         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
45574         <bp-sym.h> and <bp-asm.h>.
45575         (memcmp): Don't use BP_SYM.  Remove comment about bounded
45576         pointers.
45577         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
45578         <bp-sym.h> and <bp-asm.h>.
45579         (memcpy): Don't use BP_SYM.
45580         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
45581         <bp-sym.h> and <bp-asm.h>.
45582         (memset): Don't use BP_SYM.
45583         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
45584         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
45585         (__bzero): Don't use BP_SYM.
45586         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
45587         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
45588         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
45589         <bp-sym.h> and <bp-asm.h>.
45590         (strncmp): Don't use BP_SYM.  Remove comment about bounded
45591         pointers.
45592         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
45593         <bp-sym.h> and <bp-asm.h>.
45594         (memcpy): Don't use BP_SYM.
45595         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
45596         <bp-sym.h> and <bp-asm.h>.
45597         (memset): Don't use BP_SYM.
45598         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
45599         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
45600         (__bzero): Don't use BP_SYM.
45601         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
45602         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
45603         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
45604         <bp-sym.h> and <bp-asm.h>.
45605         (__memchr): Don't use BP_SYM.
45606         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
45607         <bp-sym.h> and <bp-asm.h>.
45608         (memcmp): Don't use BP_SYM.  Remove comment about bounded
45609         pointers.
45610         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
45611         <bp-sym.h> and <bp-asm.h>.
45612         (memcpy): Don't use BP_SYM.
45613         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
45614         <bp-sym.h> and <bp-asm.h>.
45615         (__mempcpy): Don't use BP_SYM.
45616         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
45617         <bp-sym.h> and <bp-asm.h>.
45618         (__memrchr): Don't use BP_SYM.
45619         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
45620         <bp-sym.h> and <bp-asm.h>.
45621         (memset): Don't use BP_SYM.
45622         (__bzero): Likewise.
45623         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
45624         <bp-sym.h> and <bp-asm.h>.
45625         (__rawmemchr): Don't use BP_SYM.
45626         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
45627         <bp-sym.h> and <bp-asm.h>.
45628         (__STRCMP): Don't use BP_SYM.
45629         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
45630         <bp-sym.h> and <bp-asm.h>.
45631         (strchr): Don't use BP_SYM.
45632         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
45633         <bp-sym.h> and <bp-asm.h>.
45634         (__strchrnul): Don't use BP_SYM.
45635         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
45636         <bp-sym.h> and <bp-asm.h>.
45637         (strlen): Don't use BP_SYM.
45638         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
45639         <bp-sym.h> and <bp-asm.h>.
45640         (strncmp): Don't use BP_SYM.  Remove comment about bounded
45641         pointers.
45642         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
45643         <bp-sym.h> and <bp-asm.h>.
45644         (__strnlen): Don't use BP_SYM.
45645         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
45646         <bp-sym.h> and <bp-asm.h>.
45647         (__GI__setjmp): Don't use BP_SYM.
45648         (_setjmp): Likewise.
45649         (__sigsetjmp): Likewise.
45650         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
45651         (L(start_addresses)): Don't use BP_SYM.
45652         (_start): Likewise.
45653         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
45654         <bp-asm.h>.
45655         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
45656         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
45657         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45658         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
45659         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
45660         <bp-asm.h>.
45661         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
45662         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
45663         about bounded pointers.
45664         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
45665         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
45666         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
45667         <bp-asm.h>.
45668         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
45669         about bounded pointers.  Remove GKM FIXME comments.
45670         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
45671         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
45672         <bp-asm.h>.
45673         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
45674         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
45675         Remove GKM FIXME comments.
45676         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45677         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
45678         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
45679         <bp-asm.h>.
45680         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
45681         about bounded pointers.  Remove GKM FIXME comment.
45682         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
45683         and <bp-asm.h>.
45684         (strncmp): Don't use BP_SYM.  Remove comment about bounded
45685         pointers.
45686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
45687         <bp-sym.h> and <bp-asm.h>.
45688         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
45689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
45690         <bp-sym.h> and <bp-asm.h>.
45691         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
45692         comment.
45694 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
45696         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
45697         call free(NULL).
45699 2013-03-05  David S. Miller  <davem@davemloft.net>
45701         * po/es.po: Update from translation team.
45703 2013-03-05  Andreas Jaeger  <aj@suse.de>
45705         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
45706         <bits/mman-linux.h>.
45707         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
45708         is fine.
45709         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
45710         <bits/mman-linux.h> to end of file.
45711         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
45712         is fine.
45713         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
45714         <bits/mman-linux.h> to end of file.
45715         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
45716         is fine.
45717         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
45718         <bits/mman-linux.h> to end of file.
45720         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
45721         (MCL_CURRENT, MCL_FUTURE): Define here.
45723 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45725         [BZ #15232]
45726         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
45727         attribute_hidden.
45728         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
45730 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45732         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
45733         fourth parameter needed for rt_sigprocmask syscall.
45734         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
45735         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
45736         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
45737         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
45738         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
45739         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
45741 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
45743         [BZ #13550]
45744         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
45745         comment about bounded pointers.
45746         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
45747         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
45749 2013-03-04  Andreas Jaeger  <aj@suse.de>
45751         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
45752         common definitions.
45754         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
45755         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
45756         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
45757         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45758         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
45759         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45761 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45763         [BZ #15055]
45764         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
45765         __ieee754_sqrl instead of __sqrl.
45767 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
45769         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
45770         * sysdeps/powerpc/fpu_control.h: ... here.
45771         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
45772         * sysdeps/powerpc/bits/fenvinline.h: ... here.
45773         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
45774         * sysdeps/powerpc/bits/mathinline.h: ... here.
45776 2013-03-01  Roland McGrath  <roland@hack.frob.com>
45778         * elf/dl-hwcaps.c (_dl_important_hwcaps):
45779         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
45780         to just [NEED_DL_SYSINFO_DSO].
45781         * elf/dl-support.c: Likewise.
45782         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
45783         * elf/rtld.c (dl_main): Likewise.
45784         * elf/setup-vdso.h (setup_vdso): Likewise.
45785         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
45786         * sysdeps/unix/sysv/linux/dl-sysdep.c
45787         (_dl_discover_osversion): Likewise.
45789 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
45791         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
45792         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
45794 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
45796         * NEWS: Mention libm performance improvements and non-x86 PI
45797         futex support.
45799         * csu/libc-start.c (__pthread_initialize_minimal): Change
45800         function arguments.
45801         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
45803 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
45805         [BZ #13550]
45806         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
45807         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
45808         <bp-sym.h> and <bp-asm.h>.
45809         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
45810         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
45811         and <bp-asm.h>.
45812         (memcpy): Don't use BP_SYM.
45813         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
45814         <bp-asm.h>.
45815         (__mpn_add_n): Don't use BP_SYM.
45816         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
45817         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
45818         and <bp-asm.h>.
45819         (__mpn_addmul_1): Don't use BP_SYM.
45820         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45821         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
45822         <bp-sym.h>.
45823         (_setjmp): Don't use BP_SYM.
45824         (__novmx_setjmp): Likewise.
45825         (__GI__setjmp): Likewise.
45826         (__vmx_setjmp): Likewise.
45827         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
45828         <bp-sym.h>.
45829         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
45830         (__bzero): Don't use BP_SYM.
45831         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
45832         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
45833         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
45834         <bp-sym.h> and <bp-asm.h>.
45835         (memcpy): Don't use BP_SYM.
45836         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
45837         <bp-sym.h> and <bp-asm.h>.
45838         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
45839         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
45840         <bp-sym.h> and <bp-asm.h>.
45841         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
45842         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
45843         <bp-asm.h>.
45844         (__mpn_lshift): Don't use BP_SYM.
45845         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45846         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
45847         <bp-asm.h>.
45848         (memset): Don't use BP_SYM.
45849         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
45850         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
45851         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
45852         <bp-asm.h>.
45853         (__mpn_mul_1): Don't use BP_SYM.
45854         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45855         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
45856         <bp-sym.h> and <bp-asm.h>.
45857         (memcmp): Don't use BP_SYM.
45858         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
45859         <bp-sym.h> and <bp-asm.h>.
45860         (memcpy): Don't use BP_SYM.
45861         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
45862         <bp-sym.h> and <bp-asm.h>.
45863         (memset): Don't use BP_SYM.
45864         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
45865         <bp-sym.h> and <bp-asm.h>.
45866         (strncmp): Don't use BP_SYM.
45867         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
45868         <bp-sym.h> and <bp-asm.h>.
45869         (memcpy): Don't use BP_SYM.
45870         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
45871         <bp-sym.h> and <bp-asm.h>.
45872         (memset): Don't use BP_SYM.
45873         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
45874         <bp-sym.h> and <bp-asm.h>.
45875         (__memchr): Don't use BP_SYM.
45876         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
45877         <bp-sym.h> and <bp-asm.h>.
45878         (memcmp): Don't use BP_SYM.
45879         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
45880         <bp-sym.h> and <bp-asm.h>.
45881         (memcpy): Don't use BP_SYM.
45882         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
45883         <bp-sym.h> and <bp-asm.h>.
45884         (__mempcpy): Don't use BP_SYM.
45885         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
45886         <bp-sym.h> and <bp-asm.h>.
45887         (__memrchr): Don't use BP_SYM.
45888         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
45889         <bp-sym.h> and <bp-asm.h>.
45890         (memset): Don't use BP_SYM.
45891         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
45892         <bp-sym.h> and <bp-asm.h>.
45893         (__rawmemchr): Don't use BP_SYM.
45894         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
45895         <bp-sym.h> and <bp-asm.h>.
45896         (__STRCMP): Don't use BP_SYM.
45897         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
45898         <bp-sym.h> and <bp-asm.h>.
45899         (strchr): Don't use BP_SYM.
45900         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
45901         <bp-sym.h> and <bp-asm.h>.
45902         (__strchrnul): Don't use BP_SYM.
45903         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
45904         <bp-sym.h> and <bp-asm.h>.
45905         (strlen): Don't use BP_SYM.
45906         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
45907         <bp-sym.h> and <bp-asm.h>.
45908         (strncmp): Don't use BP_SYM.
45909         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
45910         <bp-sym.h> and <bp-asm.h>.
45911         (__strnlen): Don't use BP_SYM.
45912         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
45913         <bp-asm.h>.
45914         (__mpn_rshift): Don't use BP_SYM.
45915         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45916         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
45917         <bp-sym.h> and <bp-asm.h>.
45918         (__sigsetjmp): Don't use BP_SYM.
45919         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
45920         (L(start_addresses)): Don't use BP_SYM.
45921         (_start): Likewise.
45922         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
45923         <bp-asm.h>.
45924         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
45925         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45926         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
45927         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
45928         <bp-asm.h>.
45929         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
45930         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
45931         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
45932         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
45933         <bp-asm.h>.
45934         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
45935         comments.
45936         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
45937         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
45938         <bp-asm.h>.
45939         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
45940         FIXME comments.
45941         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45942         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
45943         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
45944         <bp-asm.h>.
45945         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
45946         comment.
45947         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
45948         and <bp-asm.h>.
45949         (strncmp): Don't use BP_SYM,
45950         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
45951         <bp-asm.h>.
45952         (__mpn_sub_n): Don't use BP_SYM.
45953         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45954         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
45955         and <bp-asm.h>.
45956         (__mpn_submul_1): Don't use BP_SYM.
45957         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
45959         <bp-sym.h> and <bp-asm.h>.
45960         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
45961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
45962         <bp-sym.h> and <bp-asm.h>.
45963         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
45964         comment.
45966 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45968         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
45969         Use ZK to minimize writes to Z.
45970         (sub_magnitudes): Simplify code a bit.
45971         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
45972         Use ZK to minimize writes to Z.
45973         (sub_magnitudes): Simplify code a bit.
45975 2013-02-27  Roland McGrath  <roland@hack.frob.com>
45977         * csu/gmon-start.c: Add special exception to license text.
45979 2013-02-27  Richard Henderson  <rth@redhat.com>
45981         * scripts/config.guess: Update from config.git.
45982         * scripts/config.sub: Likewise.
45984 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45986         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
45988         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
45990         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
45992         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
45994         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
45996 2013-02-26  Roland McGrath  <roland@hack.frob.com>
45998         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
45999         [$(build-shared = yes].
46001 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46003         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
46004         (__mul): Reduce iterations for calculating mantissa.
46006         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
46007         MPTWO.
46008         (__mpranred): Likewise.
46010         [BZ #15160]
46011         * malloc/memusagestat.c (main): Draw graphs for heap and stack
46012         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
46014 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
46016         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
46017         Define __attribute__.
46019 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46021         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
46022         unused.
46023         * posix/regex_internal.h (__attribute): Remove.
46024         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
46025         (re_string_context_at): Likewise.
46026         (bitset_not): Use __attribute__ and mark function as possibly
46027         unused.
46028         (bitset_merge): Likewise.
46029         (bitset_mask): Likewise.
46030         (re_string_char_size_at): Likewise.
46031         (re_string_wchar_at): Likewise.
46032         (re_string_elem_size_at): Likewise.
46034 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
46036         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
46037         code.
46038         (cc32): Likewise.
46040         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
46041         (__acr): Likewise.
46042         (__cpy): Likewise.
46043         (norm): Likewise.
46044         (denorm): Likewise.
46045         (__dbl_mp): Likewise.
46046         (add_magnitudes): Likewise.
46047         (sub_magnitudes): Likewise.
46048         (__mul): Likewise.
46049         (__inv): Likewise.
46051         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
46052         style.
46054         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
46055         style.
46057         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
46058         code.
46060         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
46061         up changes with default code.
46062         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
46063         Likewise.
46065 2013-02-24  Allan McRae  <allan@archlinux.org>
46067         * manual/socket.texi (The Internet Namespace): Order menu items
46068         to match that in the file.
46070         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
46071         node listing of the info page menu.
46073 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
46075         [BZ #13550]
46076         * sysdeps/i386/bp-asm.h: Remove file.
46077         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
46078         (PARMS): Do not use macros from bp-asm.h.
46079         (S1): Likewise.
46080         (S2): Likewise.
46081         (SIZE): Likewise.
46082         (__mpn_add_n): Do not use BP_SYM
46083         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
46084         "bp-asm.h".
46085         (PARMS): Do not use macros from bp-asm.h.
46086         (S1): Likewise.
46087         (SIZE): Likewise.
46088         (__mpn_addmul_1): Do not use BP_SYM
46089         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
46090         "bp-asm.h".
46091         (PARMS): Do not use macros from bp-asm.h.
46092         (SIGMSK): Likewise.
46093         (_setjmp): Likewise.  Do not use BP_SYM.
46094         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
46095         "bp-asm.h".
46096         (PARMS): Do not use macros from bp-asm.h.
46097         (SIGMSK): Likewise.
46098         (setjmp): Likewise.  Do not use BP_SYM.
46099         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
46100         "bp-asm.h".
46101         (PARMS): Do not use macros from bp-asm.h.
46102         (__frexp): Do not use BP_SYM.
46103         (frexp): Likewise.
46104         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
46105         "bp-asm.h".
46106         (PARMS): Do not use macros from bp-asm.h.
46107         (__frexpf): Do not use BP_SYM.
46108         (frexpf): Likewise.
46109         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
46110         "bp-asm.h".
46111         (PARMS): Do not use macros from bp-asm.h.
46112         (__frexpl): Do not use BP_SYM.
46113         (frexpl): Likewise.
46114         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
46115         "bp-asm.h".
46116         (PARMS): Do not use macros from bp-asm.h.
46117         (__remquo): Do not use BP_SYM.
46118         (remquo): Likewise.
46119         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
46120         "bp-asm.h".
46121         (PARMS): Do not use macros from bp-asm.h.
46122         (__remquof): Do not use BP_SYM.
46123         (remquof): Likewise.
46124         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
46125         "bp-asm.h".
46126         (PARMS): Do not use macros from bp-asm.h.
46127         (__remquol): Do not use BP_SYM.
46128         (remquol): Likewise.
46129         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
46130         "bp-asm.h".
46131         (PARMS): Do not use macros from bp-asm.h.
46132         (DEST): Likewise.
46133         (SRC): Likewise.
46134         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
46135         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
46136         "bp-asm.h".
46137         (PARMS): Do not use macros from bp-asm.h.
46138         (strlen): Do not use BP_SYM.
46139         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
46140         "bp-asm.h".
46141         (PARMS): Do not use macros from bp-asm.h.
46142         (S1): Likewise.
46143         (S2): Likewise.
46144         (SIZE): Likewise.
46145         (__mpn_add_n): Do not use BP_SYM.
46146         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
46147         "bp-asm.h".
46148         (PARMS): Do not use macros from bp-asm.h.
46149         (S1): Likewise.
46150         (SIZE): Likewise.
46151         (__mpn_addmul_1): Do not use BP_SYM.
46152         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
46153         weak_alias.
46154         (bzero): Likewise.
46155         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
46156         "bp-asm.h".
46157         (PARMS): Do not use macros from bp-asm.h.
46158         (S): Likewise.
46159         (SIZE): Likewise.
46160         (__mpn_lshift): Do not use BP_SYM.
46161         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
46162         "bp-asm.h".
46163         (PARMS): Do not use macros from bp-asm.h.
46164         (DEST): Likewise.
46165         (SRC): Likewise.
46166         (LEN): Likewise.
46167         (memcpy): Likewise.  Do not use BP_SYM.
46168         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
46169         libc_hidden_def and weak_alias.
46170         (mempcpy): Do not use BP_SYM in weak_alias.
46171         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
46172         "bp-asm.h".
46173         (PARMS): Do not use macros from bp-asm.h.
46174         (DEST): Likewise.
46175         (LEN): Likewise.
46176         [!BZERO_P] (CHR): Likewise.
46177         (memset): Likewise.  Do not use BP_SYM.
46178         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
46179         "bp-asm.h".
46180         (PARMS): Do not use macros from bp-asm.h.
46181         (S1): Likewise.
46182         (SIZE): Likewise.
46183         (__mpn_mul_1): Do not use BP_SYM.
46184         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
46185         "bp-asm.h".
46186         (PARMS): Do not use macros from bp-asm.h.
46187         (S): Likewise.
46188         (SIZE): Likewise.
46189         (__mpn_rshift): Do not use BP_SYM.
46190         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
46191         "bp-asm.h".
46192         (PARMS): Do not use macros from bp-asm.h.
46193         (STR): Likewise.
46194         (CHR): Likewise.
46195         (strchr): Likewise.  Do not use BP_SYM.
46196         (index): Do not use BP_SYM in weak_alias.
46197         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
46198         "bp-asm.h".
46199         (PARMS): Do not use macros from bp-asm.h.
46200         (DEST): Likewise.
46201         (SRC): Likewise.
46202         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
46203         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
46204         "bp-asm.h".
46205         (PARMS): Do not use macros from bp-asm.h.
46206         (strlen): Do not use BP_SYM.
46207         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
46208         "bp-asm.h".
46209         (PARMS): Do not use macros from bp-asm.h.
46210         (S1): Likewise.
46211         (S2): Likewise.
46212         (SIZE): Likewise.
46213         (__mpn_sub_n): Do not use BP_SYM.
46214         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
46215         "bp-asm.h".
46216         (PARMS): Do not use macros from bp-asm.h.
46217         (S1): Likewise.
46218         (SIZE): Likewise.
46219         (__mpn_submul_1): Do not use BP_SYM.
46220         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
46221         "bp-asm.h".
46222         (PARMS): Do not use macros from bp-asm.h.
46223         (S1): Likewise.
46224         (S2): Likewise.
46225         (SIZE): Likewise.
46226         (__mpn_add_n): Do not use BP_SYM.
46227         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
46228         weak_alias.
46229         (bzero): Likewise.
46230         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
46231         "bp-asm.h".
46232         (PARMS): Do not use macros from bp-asm.h.
46233         (BLK2): Likewise.
46234         (LEN): Likewise.
46235         (memcmp): Do not use BP_SYM.
46236         (bcmp): Do not use BP_SYM in weak_alias.
46237         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
46238         "bp-asm.h".
46239         (PARMS): Do not use macros from bp-asm.h.
46240         (DEST): Likewise.
46241         (SRC): Likewise.
46242         (LEN): Likewise.
46243         (memcpy): Likewise.  Do not use BP_SYM.
46244         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
46245         "bp-asm.h".
46246         (PARMS): Do not use macros from bp-asm.h.
46247         (DEST): Likewise.
46248         (SRC): Likewise.
46249         (LEN): Likewise.
46250         (memmove): Likewise.  Do not use BP_SYM.
46251         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
46252         "bp-asm.h".
46253         (PARMS): Do not use macros from bp-asm.h.
46254         (DEST): Likewise.
46255         (SRC): Likewise.
46256         (LEN): Likewise.
46257         (__mempcpy): Likewise.  Do not use BP_SYM.
46258         (mempcpy): Do not use BP_SYM in weak_alias.
46259         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
46260         "bp-asm.h".
46261         (PARMS): Do not use macros from bp-asm.h.
46262         (DEST): Likewise.
46263         (LEN): Likewise.
46264         [!BZERO_P] (CHR): Likewise.
46265         (memset): Likewise.  Do not use BP_SYM.
46266         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
46267         "bp-asm.h".
46268         (PARMS): Do not use macros from bp-asm.h.
46269         (STR2): Likewise.
46270         (strcmp): Do not use BP_SYM.
46271         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
46272         "bp-asm.h".
46273         (PARMS): Do not use macros from bp-asm.h.
46274         (STR): Likewise.
46275         (DELIM): Likewise.
46276         [USE_AS_STRTOK_R] (SAVE): Likewise.
46277         (FUNCTION): Likewise.  Do not use BP_SYM.
46278         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
46279         aliases.
46280         (strtok_r): Likewise.
46281         (__GI___strtok_r): Likewise.
46282         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
46283         (PARMS): Do not use macros from bp-asm.h.
46284         (S): Likewise.
46285         (SIZE): Likewise.
46286         (__mpn_lshift): Do not use BP_SYM.
46287         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
46288         (PARMS): Do not use macros from bp-asm.h.
46289         (STR): Likewise.
46290         (CHR): Likewise.
46291         (__memchr): Do not use BP_SYM.
46292         (memchr): Do not use BP_SYM in weak_alias.
46293         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
46294         (PARMS): Do not use macros from bp-asm.h.
46295         (BLK2): Likewise.
46296         (LEN): Likewise.
46297         (memcmp): Do not use BP_SYM.
46298         (bcmp): Do not use BP_SYM in weak_alias.
46299         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
46300         (PARMS): Do not use macros from bp-asm.h.
46301         (S1): Likewise.
46302         (SIZE): Likewise.
46303         (__mpn_mul_1): Do not use BP_SYM.
46304         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
46305         "bp-asm.h".
46306         (PARMS): Do not use macros from bp-asm.h.
46307         (STR): Likewise.
46308         (CHR): Likewise.
46309         (__rawmemchr): Do not use BP_SYM.
46310         (rawmemchr): Do not use BP_SYM in weak_alias.
46311         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
46312         (PARMS): Do not use macros from bp-asm.h.
46313         (S): Likewise.
46314         (SIZE): Likewise.
46315         (__mpn_rshift): Do not use BP_SYM.
46316         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
46317         (PARMS): Do not use macros from bp-asm.h.
46318         (SIGMSK): Likewise.
46319         (__sigsetjmp): Likewise.  Do not use BP_SYM.
46320         * sysdeps/i386/start.S: Do not include "bp-sym.h".
46321         (_start): Do not use BP_SYM.
46322         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
46323         (PARMS): Do not use macros from bp-asm.h.
46324         (DEST): Likewise.
46325         (SRC): Likewise.
46326         (__stpcpy): Likewise.  Do not use BP_SYM.
46327         (stpcpy): Do not use BP_SYM in weak_alias.
46328         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
46329         "bp-asm.h".
46330         (PARMS): Do not use macros from bp-asm.h.
46331         (DEST): Likewise.
46332         (SRC): Likewise.
46333         (LEN): Likewise.
46334         (__stpncpy): Likewise.  Do not use BP_SYM.
46335         (stpncpy): Do not use BP_SYM in weak_alias.
46336         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
46337         (PARMS): Do not use macros from bp-asm.h.
46338         (STR): Likewise.
46339         (CHR): Likewise.
46340         (strchr): Likewise.  Do not use BP_SYM.
46341         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
46342         "bp-asm.h".
46343         (PARMS): Do not use macros from bp-asm.h.
46344         (STR): Likewise.
46345         (CHR): Likewise.
46346         (__strchrnul): Likewise.  Do not use BP_SYM.
46347         (strchrnul): Do not use BP_SYM in weak_alias.
46348         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
46349         "bp-asm.h".
46350         (PARMS): Do not use macros from bp-asm.h.
46351         (STOP): Likewise.
46352         (strcspn): Do not use BP_SYM.
46353         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
46354         "bp-asm.h".
46355         (PARMS): Do not use macros from bp-asm.h.
46356         (STR): Likewise.
46357         (STOP): Likewise.
46358         (strpbrk): Likewise.  Do not use BP_SYM.
46359         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
46360         "bp-asm.h".
46361         (PARMS): Do not use macros from bp-asm.h.
46362         (STR): Likewise.
46363         (CHR): Likewise.
46364         (strrchr): Likewise.  Do not use BP_SYM.
46365         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
46366         (PARMS): Do not use macros from bp-asm.h.
46367         (SKIP): Likewise.
46368         (strspn): Do not use BP_SYM.
46369         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
46370         (PARMS): Do not use macros from bp-asm.h.
46371         (STR): Likewise.
46372         (DELIM): Likewise.
46373         (SAVE): Likewise.
46374         (FUNCTION): Likewise.  Do not use BP_SYM.
46375         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
46376         aliases.
46377         (strtok_r): Likewise.
46378         (__GI___strtok_r): Likewise.
46379         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
46380         (PARMS): Do not use macros from bp-asm.h.
46381         (S1): Likewise.
46382         (S2): Likewise.
46383         (SIZE): Likewise.
46384         (__mpn_sub_n): Do not use BP_SYM.
46385         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
46386         "bp-asm.h".
46387         (PARMS): Do not use macros from bp-asm.h.
46388         (S1): Likewise.
46389         (SIZE): Likewise.
46390         (__mpn_submul_1): Do not use BP_SYM.
46391         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
46392         <bp-sym.h>.
46393         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
46394         and <bp-asm.h>.
46395         (PARMS): Do not use macros from bp-asm.h.
46396         (FLAGS): Likewise.
46397         (PTID): Likewise.
46398         (TLS): Likewise.
46399         (CTID): Likewise.
46400         (__clone): Do not use BP_SYM.
46401         (clone): Do not use BP_SYM in weak_alias.
46402         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
46403         and <bp-asm.h>.
46404         (PARMS): Do not use macros from bp-asm.h.
46405         (LEN): Likewise.
46406         (__mmap64): Do not use BP_SYM.
46407         (mmap64): Do not use BP_SYM in weak_alias.
46408         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
46409         <bp-sym.h> and <bp-asm.h>.
46410         (PARMS): Do not use macros from bp-asm.h.
46411         (__posix_fadvise64_l64): Do not use BP_SYM.
46412         * sysdeps/unix/sysv/linux/i386/semtimedop.S
46413         (PARMS): Do not use macros from bp-asm.h.
46414         (NSOPS): Likewise.
46415         (semtimedop): Do not use BP_SYM.
46416         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
46417         and <bp-asm.h>.
46419 2013-02-21  Allan McRae  <allan@archlinux.org>
46421         * manual/message.texi (Charset conversion in gettext):
46422         Move @end statement to beginning of line.
46424 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46426         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
46427         static.
46428         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
46429         Likewise.
46431         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
46432         (denorm): Likewise.
46433         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
46434         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
46436 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46438         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
46439         tail-call to the resolved function if pltexit isn't needed.
46441 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46443         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
46444         or Y being zero as being unlikely.
46445         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
46446         Likewise.
46448 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
46450         * manual/nss.texi (System Databases and Name Service Switch):
46451         Remove frobnicate @pxref.
46453 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
46455         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
46456         __attribute__ ((unused)) to __attribute__ ((__unused__)).
46458 2013-02-20  Petr Machata  <pmachata@redhat.com>
46460         * elf/elf.h (R_ARM_TARGET1): New macro.
46461         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
46462         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
46463         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
46464         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
46465         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
46466         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
46467         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
46468         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
46469         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
46470         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
46471         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
46472         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
46473         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
46474         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
46475         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
46476         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
46477         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
46478         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
46479         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
46480         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
46481         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
46482         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
46483         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
46484         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
46485         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
46486         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
46487         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
46488         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
46489         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
46490         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
46491         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
46492         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
46493         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
46494         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
46495         (R_ARM_THM_GOT_BREL12): Likewise.
46496         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
46497         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
46498         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
46499         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
46500         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
46501         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
46502         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
46503         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
46504         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
46506 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
46508         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
46509         __attribute_used__ to __attribute__ ((unused)).
46511 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
46513         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
46514         powerpc mpa.c.
46515         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
46516         comment formatting.
46517         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
46519 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
46521         [BZ #13550]
46522         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
46523         Remove macro.
46524         (ENTER): Remove both macro definitions.
46525         (LEAVE): Likewise.
46526         (CHECK_BOUNDS_LOW): Likewise.
46527         (CHECK_BOUNDS_HIGH): Likewise.
46528         (CHECK_BOUNDS_BOTH): Likewise.
46529         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
46530         (RETURN_BOUNDED_POINTER): Likewise.
46531         (RETURN_NULL_BOUNDED_POINTER): Likewise.
46532         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
46533         (POP_ERRNO_LOCATION_RETURN): Likewise.
46534         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
46535         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46536         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
46537         macros.
46538         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46539         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
46540         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
46541         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
46542         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
46543         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
46544         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
46545         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
46546         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
46547         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
46548         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
46549         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
46550         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46551         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
46552         removed macros.
46553         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46554         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
46555         macros.
46556         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46557         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
46558         * sysdeps/i386/i586/memset.S (memset): Likewise.
46559         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
46560         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46561         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
46562         macros.
46563         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46564         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
46565         Change uses of L(2) to L(out).
46566         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
46567         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
46568         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
46569         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46570         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
46571         removed macros.
46572         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46573         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
46574         macros.
46575         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46576         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
46577         (RETURN): Do not use macro LEAVE.
46578         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
46579         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
46580         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
46581         * sysdeps/i386/i686/memset.S (memset): Likewise.
46582         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
46583         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
46584         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
46585         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
46586         Likewise.
46587         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
46588         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
46589         L(1_2) and L(1_3) into L(1).
46590         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
46591         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
46592         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46593         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
46594         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
46595         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
46596         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
46597         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46598         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
46599         macros.
46600         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
46601         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46602         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
46603         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
46604         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
46605         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46606         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
46607         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
46608         * sysdeps/i386/strcspn.S (strcspn): Likewise.
46609         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
46610         * sysdeps/i386/strrchr.S (strrchr): Likewise.
46611         * sysdeps/i386/strspn.S (strspn): Likewise.
46612         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
46613         conditional code.
46614         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
46615         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
46616         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
46617         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
46618         L(1_3) into L(1_1).
46619         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
46620         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46621         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
46622         macros.
46623         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46625 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
46627         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
46628         macro.
46630 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46632         * math/atest-exp.c (exp_mpn): Remove ROUND.
46633         * math/atest-exp2.c (exp_mpn): Likewise.
46634         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
46636         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
46637         * stdlib/tst-tls-atexit-lib.c: Likewise.
46638         * stdlib/tst-tls-atexit.c: Likewise.
46640 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
46642         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
46643         and __attribute_alloc_size__.
46645 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
46647         * include/programs/xmalloc.h: Change __attribute_alloc_size to
46648         __attribute_alloc_size__.
46649         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
46650         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
46652 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
46654         * include/programs/xmalloc.h: New file.
46655         * catgets/gencat.c: Include it.
46656         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
46657         * elf/pldd.c: Likewise.
46658         * iconv/iconv_charmap.c: Likewise.
46659         * iconv/iconvconfig.c: Likewise.
46660         * iconv/strtab.c: Likewise.
46661         * locale/programs/locale.c: Likewise.
46662         * locale/programs/localedef.h: Likewise.
46663         * locale/programs/simple-hash.c: Likewise.
46664         * nscd/nscd.h: Likewise.
46665         * nss/makedb.c: Likewise.
46666         * sysdeps/generic/ldconfig.h: Likewise.
46668 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
46670         * Versions.def: Add GLIBC_2.18.
46671         * include/link.h (struct link_map): New member l_tls_dtor_count.
46672         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
46673         (__call_tls_dtors): Likewise.
46674         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
46675         __cxa_thread_atexit_impl.
46676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46677         Likewise.
46678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46679         Likewise.
46680         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
46681         Likewise.
46682         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
46683         Likewise.
46684         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
46685         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
46686         Likewise.
46687         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
46688         Likewise.
46689         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
46690         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
46691         Likewise.
46692         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
46693         (tests): Add test case tst-tls-atexit.
46694         (modules-names): Add shared library for tst-tls-atexit.
46695         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
46696         (GLIBC_PRIVATE): Add __call_tls_dtors.
46697         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
46698         for libstdc++.
46699         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
46700         * stdlib/tst-tls-atexit.c: New test case.
46701         * stdlib/tst-tls-atexit-lib.c: New test case.
46703         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
46705         * elf/Versions (ld): Add _dl_find_dso_for_object.
46706         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
46707         * elf/dl-open.c (_dl_find_dso_for_object): New function.
46708         (dl_open_worker): Use _dl_find_dso_for_object.
46709         * elf/dl-sym.c (do_sym): Likewise.
46710         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
46712 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46714         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
46715         Syntactic changes only.
46716         (_dl_runtime_profile): Do a tail-call to the resolved function.
46718 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
46720         [BZ #13550]
46721         * sysdeps/x86_64/bp-asm.h: Remove file.
46722         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
46723         <bp-sym.h> and <bp-asm.h>.
46724         (__clone): Do not use BP_SYM.
46725         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
46726         <bp-sym.h> and <bp-asm.h>.
46727         * sysdeps/unix/x86_64/sysdep.S: Likewise.
46728         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
46729         "bp-asm.h".
46730         (_setjmp): Do not use BP_SYM.
46731         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
46732         "bp-asm.h".
46733         (setjmp): Do not use BP_SYM.
46734         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
46735         libc_hidden_def.
46736         (mempcpy): Do not use BP_SYM in weak_alias.
46737         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
46738         "bp-asm.h".
46739         (strchr): Do not use BP_SYM.
46740         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
46741         "bp-asm.h".
46742         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
46743         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
46744         (_start): Do not use BP_SYM.
46745         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
46746         "bp-asm.h".
46747         (strcat): Do not use BP_SYM.
46748         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
46749         "bp-asm.h".
46750         (STRCMP): Do not use BP_SYM.
46751         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
46752         "bp-asm.h".
46753         (STRCPY): Do not use BP_SYM.
46754         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
46755         "bp-asm.h".
46756         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
46757         "bp-asm.h".
46758         (FUNCTION): Do not use BP_SYM.
46759         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
46760         weak_alias.
46761         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
46763 2013-02-17  Andreas Jaeger  <aj@suse.de>
46765         * time/Versions: Sort entries.
46766         * string/Versions: Likewise.
46767         * resolv/Versions: Likewise.
46768         * posix/Versions: Likewise.
46769         * iconv/Versions: Likewise.
46770         * elf/Versions: Likewise.
46771         * wcsmbs/Versions: Likewise.
46773 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46775         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
46776         loop termination condition.
46778         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
46779         variable to calculate EZ.
46780         (__sqr): Likewise.
46782         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
46783         the lower precision input.
46785 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
46787         [BZ #13550]
46788         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
46789         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
46790         (run-via-rtld-prefix): Do not handle %-bp tests.
46791         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
46792         (all-object-suffixes): Remove .ob.
46793         (bppfx): Remove variable.
46794         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
46795         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
46796         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
46797         [$(build-bounded) = yes] (libtype.ob): Likewise.
46798         * Makerules (elide-routines.ob): Remove variable.
46799         (do-tests-clean): Do not handle *-bp.out.
46800         (common-mostlyclean): Do not handle *-bp and *-bp.out.
46801         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
46802         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
46803         (tests): Do not include $(tests-bp.out).
46804         (xtests): Do not include $(xtests-bp.out).
46805         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
46806         [$(build-bounded) = yes] ($(addprefix
46807         $(objpfx),$(binaries-bounded))): Remove rule.
46808         ($(objpfx)%-bp.out): Remove rule.
46809         * config.make.in (build-bounded): Remove variable.
46810         * crypt/Makefile [$(build-bounded) = yes]
46811         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
46812         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
46813         append to variable.
46814         [$(build-bounded) = yes] (install-lib): Likewise.
46815         [$(build-bounded) = yes] (generated): Likewise.
46816         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
46817         Remove rule.
46818         * intl/Makefile [$(build-bounded) = yes]
46819         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
46820         * math/Makefile [$(build-bounded) = yes]
46821         ($(tests:%=$(objpfx)%-bp): Likewise.
46822         * misc/Makefile [$(build-bounded) = yes]
46823         ($(objpfx)tst-tsearch-bp): Likewise.
46824         * nptl/Makeconfig (bounded-thread-library): Remove variable.
46825         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
46826         Remove dependency.
46827         * string/Makefile (o-objects.ob): Remove variable.
46828         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
46829         (CFLAGS-.ob): Remove variable.
46830         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
46831         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
46832         both definitions of variable.
46833         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
46834         (ASFLAGS-.ob): Remove variable.
46836 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
46838         [BZ #13550]
46839         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
46840         Remove __BOUNDED_POINTERS__ from condition.
46841         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
46842         * string/bits/string2.h [!__NO_STRING_INLINES &&
46843         !__BOUNDED_POINTERS__]: Likewise.
46844         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
46845         Likewise.
46846         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
46847         Remove conditional code.
46848         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
46849         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
46850         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
46851         condition.
46853         [BZ #13550]
46854         * csu/libc-start.c: Do not include <bp-sym.h>.
46855         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
46856         * elf/dl-open.c: Do not include <bp-sym.h>.
46857         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
46858         * math/fegetenv.c: Do not include <bp-sym.h>.
46859         (fegetenv): Do not use BP_SYM in versioned symbols.
46860         * nptl/sysdeps/pthread/bits/libc-lockP.h
46861         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
46862         <bp-sym.h>.
46863         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46864         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
46865         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46866         (__pthread_mutex_destroy): Likewise.
46867         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46868         (__pthread_mutex_lock): Likewise.
46869         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46870         (__pthread_mutex_trylock): Likewise.
46871         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46872         (__pthread_mutex_unlock): Likewise.
46873         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46874         (__pthread_mutexattr_init): Likewise.
46875         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46876         (__pthread_mutexattr_destroy): Likewise.
46877         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46878         (__pthread_mutexattr_settype): Likewise.
46879         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46880         (__pthread_rwlock_init): Likewise.
46881         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46882         (__pthread_rwlock_destroy): Likewise.
46883         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46884         (__pthread_rwlock_rdlock): Likewise.
46885         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46886         (__pthread_rwlock_tryrdlock): Likewise.
46887         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46888         (__pthread_rwlock_wrlock): Likewise.
46889         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46890         (__pthread_rwlock_trywrlock): Likewise.
46891         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46892         (__pthread_rwlock_unlock): Likewise.
46893         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46894         (__pthread_key_create): Likewise.
46895         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46896         (__pthread_setspecific): Likewise.
46897         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46898         (__pthread_getspecific): Likewise.
46899         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
46900         Likewise.
46901         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46902         (_pthread_cleanup_push_defer): Likewise.
46903         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46904         (_pthread_cleanup_pop_restore): Likewise.
46905         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46906         (pthread_setcancelstate): Likewise.
46907         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
46908         <bp-sym.h>.
46909         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
46910         (memchr): Do not use BP_SYM in weak_alias.
46911         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
46912         (fegetenv): Do not use BP_SYM in versioned symbols.
46913         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
46914         (fesetenv): Do not use BP_SYM in versioned symbols.
46915         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
46916         (feupdateenv): Do not use BP_SYM in versioned symbols.
46917         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
46918         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
46919         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
46920         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
46921         (open64): Do not use BP_SYM in weak_alias.
46922         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
46923         (fegetenv): Do not use BP_SYM in versioned symbols.
46924         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
46925         (fesetenv): Do not use BP_SYM in versioned symbols.
46926         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
46927         (feupdateenv): Do not use BP_SYM in versioned symbols.
46928         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
46929         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
46930         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
46931         (feraiseexcept): Do not use BP_SYM in versioned symbols.
46932         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
46933         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
46934         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
46935         <bp-sym.h>.
46936         (__libc_start_main): Do not use BP_SYM.
46938 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
46940         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
46941         redundant return line.
46942         (norm): Likewise.
46943         (denorm): Likewise.
46944         (dbl_mp): Likewise.
46945         (sub_magnitudes): Likewise.
46946         (__add): Likewise.
46947         (__sub): Likewise.
46948         (__mul): Likewise.
46949         (__inv): Likewise.
46950         (__dvd): Likewise.
46951         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
46952         (norm): Likewise.
46953         (denorm): Likewise.
46954         (dbl_mp): Likewise.
46955         (sub_magnitudes): Likewise.
46956         (__add): Likewise.
46957         (__sub): Likewise.
46958         (__mul): Likewise.
46959         (__inv): Likewise.
46960         (__dvd): Likewise.
46962         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
46963         instead of __mul.
46964         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
46965         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
46966         (cc32): Likewise.
46968         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
46969         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
46970         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
46971         of __mul for squares.
46972         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
46973         function
46974         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
46975         Likewise.
46976         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
46977         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46979 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
46981         [BZ #13550]
46982         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
46983         code.
46984         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
46985         prototype or function definition.  Rename ubp_* variables and
46986         parameters.  Remove argv definitions conditional on
46987         [__BOUNDED_POINTERS__].
46988         * debug/backtrace.c (__backtrace): Do not use __unbounded.
46989         * elf/dl-runtime.c (_dl_fixup): Likewise.
46990         * include/set-hooks.h (RUN_HOOK): Likewise.
46991         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
46992         definition.
46993         * string/strcpy.c (strcpy): Do not use __unbounded.
46994         * sysdeps/generic/frame.h (struct layout): Likewise.
46995         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
46996         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
46997         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
46998         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
46999         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
47000         (__backtrace): Likewise.
47001         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
47002         use __ptrvalue.
47003         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
47004         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
47005         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
47006         Likewise.
47007         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
47008         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
47009         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
47010         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
47011         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
47012         Do not use __unbounded.
47013         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
47014         Rename __unboundedrlimits parameter to rlimits in prototype.
47015         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
47016         Do not use __unbounded.
47017         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
47018         not use __ptrvalue.
47019         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
47020         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
47021         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
47022         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
47023         __ptrvalue or __unbounded.
47024         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
47025         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
47026         use __unbounded.
47027         (__new_msgctl): Do not use __ptrvalue.
47028         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
47029         __unbounded.
47030         (__libc_msgrcv): Do not use __ptrvalue.
47031         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
47032         startup_info): Do not use __unbounded.
47033         (__libc_start_main): Likewise.  Rename ubp_* variables and
47034         parameters.  Remove argv definitions conditional on
47035         [__BOUNDED_POINTERS__].
47036         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
47037         __ptrvalue.
47038         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
47039         use __unbounded.
47040         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
47041         or __ptrvalue.
47042         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
47043         use __unbounded.
47044         (__new_shmctl): Do not use __ptrvalue.
47045         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
47046         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
47047         Likewise.
47048         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
47049         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
47050         (__libc_sigaction): Likewise.
47051         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
47052         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
47053         Likewise.
47054         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
47056 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
47058         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
47060         * string/mempcpy.c: Implement by calling memcpy.
47062 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
47064         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
47066         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
47067         evaluation.
47069         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
47070         values in the mantissa.
47072         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
47073         minimize writes to Z.
47074         (sub_magnitudes): Simplify code a bit.
47076 2013-02-12  Roland McGrath  <roland@hack.frob.com>
47078         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
47079         from the message.  The linker prefixes all warnings with that already.
47081 2013-02-12  Andreas Schwab  <schwab@suse.de>
47083         [BZ #15078]
47084         * posix/regexec.c (extend_buffers): Add parameter min_len.
47085         (check_matching): Pass minimum needed length.
47086         (clean_state_log_if_needed): Likewise.
47087         (get_subexp): Likewise.
47088         * posix/Makefile (tests): Add bug-regex34.
47089         (bug-regex34-ENV): Define.
47090         * posix/bug-regex34.c: New file.
47092         [BZ #11561]
47093         * posix/regcomp.c (parse_bracket_exp): When looking up collating
47094         elements compare against the byte sequence of it, not its name.
47095         * posix/Makefile (tests): Add bug-regex35.
47096         (bug-regex35-ENV): Define.
47097         * posix/bug-regex35.c: New file.
47099 2013-02-11  Tom de Vries  <tom@codesourcery.com>
47101         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
47102         comment.
47103         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
47104         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
47105         (CHECK_EOL): Add undef.
47107 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
47109         * bits/stdlib-bsearch.h: New file.
47110         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
47111         * stdlib/stdlib.h: Likewise.
47113 2013-02-11  Roland McGrath  <roland@hack.frob.com>
47115         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
47116         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
47117         declaration.
47118         * manual/search.texi (Array Search Function): Add missing const in
47119         lfind prototype.
47120         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
47121         declaration to use rlim_t.
47122         (Basic Scheduling Functions): Remove erroneous const from
47123         sched_getparam prototype.  Remove erroneous * from
47124         sched_get_priority_max and sched_get_priority_min prototypes.
47125         (Resource Usage): Fix summary @comment on vtimes to refer to
47126         sys/vtimes.h rather than vtimes.h.
47127         Add missing *s in vtimes prototype.
47128         (Limits on Resources): Fix ulimit prototype to return long int.
47129         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
47130         prototypes to use long int rather than double.
47131         (BSD Random): Fix initstate and setstate to use char *, not void *.
47132         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
47133         prototype to make second argument 'struct aiocb64 *const[]'.
47134         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
47135         (Status of AIO Operations): Remove erroneous const in aio_return and
47136         aio_return64 prototypes.
47137         (Synchronizing I/O): Fix sync prototype to return void.
47138         * manual/startup.texi (Suboptions): Remove an erroneous const in
47139         getsubopt prototype.
47140         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
47141         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
47142         use size_t rather than int.
47143         (Scanning All Users): Likewise for getpwent_r.
47144         (Setting Groups): Add missing const to setgroups prototype.
47145         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
47146         * manual/socket.texi (Host Names): Fix gethostbyaddr and
47147         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
47148         'const void *' rather than 'const char *'.
47149         (Host Address Functions): Likewise for inet_ntop.
47150         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
47151         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
47152         ssize_t for return value.
47153         (Sending Data): Likewise for send, sendto, sendmsg.
47154         (Socket Option Functions): Add a missing const in setsockopt prototype.
47155         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
47156         use wchar_t for the argument.
47157         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
47158         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
47159         take no arguments.
47160         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
47161         double/float/long double for second argument.
47162         Fix return types of significand, significandf, significandl.
47163         * manual/filesys.texi (Setting Permissions): Use mode_t for second
47164         argument in fchmod prototype.
47165         (File Owner): Use uid_t and gid_t in fchown prototype.
47166         (File Times): Add const to utimes, futimes, and lutimes prototypes.
47167         (Making Special Files): Use mode_t and dev_t in mknod prototype.
47168         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
47169         use 'const struct dirent **' as argument types to CMP function pointer
47170         argument.
47171         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
47172         (File Times): Fix summary magic @comment for struct utimbuf and utime
47173         to refer to utime.h, not time.h.
47174         * manual/string.texi (Argz Functions): Add missing const in
47175         argz_extract and argz_next prototypes.
47176         (Finding Tokens in a String): Likewise for basename.
47177         (String/Array Comparison): Fix typo in wcscasecmp prototype.
47178         (Copying and Concatenation): Fix typo in wmemmove prototype.
47179         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
47180         (Signal Stack): Remove erroneous const in sigstack prototype.
47181         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
47182         prototype.
47183         (Simple Calendar Time): Likewise for stime.
47184         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
47185         prototype.
47186         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
47187         say sys/sysctl.h instead.
47188         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
47189         and vsyslog prototypes.
47191 2013-02-11  Tom de Vries  <tom@codesourcery.com>
47193         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
47194         Remove.
47196 2013-02-11  Roland McGrath  <roland@hack.frob.com>
47198         * misc/sys/mman.h: Fix typo in mremap comment.
47200 2013-02-08  Roland McGrath  <roland@hack.frob.com>
47202         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
47203         the '\0' terminator.
47205 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
47207         [BZ #13550]
47208         * debug/segfault.c: Don't include <bp-checks.h>.
47209         * sysdeps/generic/bp-checks.h: Remove file.
47210         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
47211         (__GETDENTS): Don't use CHECK_N.
47212         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
47213         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
47214         (__getgroups): Don't use CHECK_N.
47215         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
47216         (setgroups): Don't use CHECK_N.
47217         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
47218         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
47219         (__libc_msgrcv): Don't use CHECK_N.
47220         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
47221         (__libc_msgsnd): Don't use CHECK_N.
47222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
47223         <bp-checks.h>.
47224         (__libc_pread): Don't use CHECK_N.
47225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
47226         include <bp-checks.h>.
47227         (__libc_pread64): Don't use CHECK_N.
47228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
47229         include <bp-checks.h>.
47230         (__libc_pwrite): Don't use CHECK_N.
47231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
47232         include <bp-checks.h>.
47233         (__libc_pwrite64): Don't use CHECK_N.
47234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
47235         <bp-checks.h>.
47236         (__libc_pread): Don't use CHECK_N.
47237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
47238         include <bp-checks.h>.
47239         (__libc_pread64): Don't use CHECK_N.
47240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
47241         include <bp-checks.h>.
47242         (__libc_pwrite): Don't use CHECK_N.
47243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
47244         include <bp-checks.h>.
47245         (__libc_pwrite64): Don't use CHECK_N.
47246         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
47247         (do_pread): Don't use CHECK_N.
47248         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
47249         (do_pread64): Don't use CHECK_N.
47250         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
47251         (do_pwrite): Don't use CHECK_N.
47252         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
47253         (do_pwrite64): Don't use CHECK_N.
47254         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
47255         (__libc_readv): Don't use CHECK_N.
47256         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
47257         (semop): Don't use CHECK_N.
47258         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
47259         <bp-checks.h>.
47260         (semtimedop): Don't use CHECK_N.
47261         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
47262         (__libc_pread): Don't use CHECK_N.
47263         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
47264         <bp-checks.h>.
47265         (__libc_pread64): Don't use CHECK_N.
47266         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
47267         <bp-checks.h>.
47268         (__libc_pwrite): Don't use CHECK_N.
47269         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
47270         <bp-checks.h>.
47271         (__libc_pwrite64): Don't use CHECK_N.
47272         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
47273         <bp-checks.h>.
47274         (__libc_msgrcv): Don't use CHECK_N.
47275         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
47276         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
47277         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
47278         (__libc_writev): Don't use CHECK_N.
47280 2013-02-08  Roland McGrath  <roland@hack.frob.com>
47282         * string/strcpy.c: Removed unused variable.
47284         * Makeconfig (+sysdep-includes): Define with := rather than =.
47285         Use an existing include/ subdir of each sysdeps dir before it.
47287 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
47289         * nscd/connection.c (register_traced_file): Comment function.
47290         [HAVE_INOTIFY] (union __inev): Define.
47291         [HAVE_INOTIFY] (inotify_check_files): New function.
47292         [HAVE_INOTIFY] (clear_db_cache): Likewise.
47293         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
47294         clear_db_cache.
47295         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
47297 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
47299         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
47300         loaded if not already and that a failure is permanent.
47302 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
47304         [BZ #15006]
47305         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
47306         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
47308 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
47310         [BZ #13550]
47311         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
47312         (CHECK_1_NULL_OK): Likewise.
47313         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
47314         (__fxstat): Do not use CHECK_1.
47315         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
47316         <bp-checks.h>.
47317         (___fxstat64): Do not use CHECK_1.
47318         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
47319         <bp-checks.h>.
47320         (__fxstatat): Do not use CHECK_1.
47321         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
47322         <bp-checks.h>.
47323         (__fxstatat64): Do not use CHECK_1.
47324         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
47325         <bp-checks.h>.
47326         (__fxstat): Do not use CHECK_1.
47327         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
47328         <bp-checks.h>.
47329         (__fxstatat): Do not use CHECK_1.
47330         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
47331         <bp-checks.h>.
47332         (__getresgid): Do not use CHECK_1.
47333         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
47334         <bp-checks.h>.
47335         (__getresuid): Do not use CHECK_1.
47336         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
47337         <bp-checks.h>.
47338         (__lxstat): Do not use CHECK_1.
47339         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
47340         <bp-checks.h>.
47341         (__old_msgctl): Do not use CHECK_1.
47342         (__new_msgctl): Likewise.
47343         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
47344         <bp-checks.h>.
47345         (__new_setrlimit): Do not use CHECK_1.
47346         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
47347         <bp-checks.h>.
47348         (__old_shmctl): Do not use CHECK_1.
47349         (__new_shmctl): Likewise.
47350         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
47351         <bp-checks.h>.
47352         (__xstat): Do not use CHECK_1.
47353         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
47354         (__lxstat): Do not use CHECK_1.
47355         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
47356         <bp-checks.h>.
47357         (___lxstat64): Do not use CHECK_1.
47358         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
47359         (__old_msgctl): Do not use CHECK_1.
47360         (__new_msgctl): Likewise.
47361         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
47362         <bp-checks.h>.
47363         (__gettimeofday): Do not use CHECK_1.
47364         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
47365         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
47366         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
47367         <bp-checks.h>.
47368         (__gettimeofday): Do not use CHECK_1.
47369         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
47370         (__old_shmctl): Do not use CHECK_1_NULL_OK.
47371         (__new_shmctl): Do not use CHECK_1.
47372         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
47373         <bp-checks.h>.
47374         (do_sigtimedwait): Do not use CHECK_1.
47375         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
47376         <bp-checks.h>.
47377         (do_sigwaitinfo): Do not use CHECK_1.
47378         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
47379         <bp-checks.h>.
47380         (msgctl): Do not use CHECK_1.
47381         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
47382         <bp-checks.h>.
47383         (shmctl): Do not use CHECK_1.
47384         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
47385         (ustat): Do not use CHECK_1.
47386         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
47387         <bp-checks.h>.
47388         (__fxstat): Do not use CHECK_1.
47389         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
47390         <bp-checks.h>.
47391         (__fxstatat): Do not use CHECK_1.
47392         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
47393         <bp-checks.h>.
47394         (__lxstat): Do not use CHECK_1.
47395         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
47396         <bp-checks.h>.
47397         (__xstat): Do not use CHECK_1.
47398         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
47399         (__xstat): Do not use CHECK_1.
47400         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
47401         (___xstat64): Do not use CHECK_1.
47403         [BZ #13550]
47404         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
47405         definitions.
47406         (CHECK_BOUNDS_HIGH): Likewise.
47407         * string/strcpy.c: Do not include <bp-checks.h>.
47408         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
47410 2013-02-07  Roland McGrath  <roland@hack.frob.com>
47412         * nscd/nscd-client.h (__nscd_drop_map_ref):
47413         Add __attribute__ ((unused)).
47414         * nis/nss-nisplus.h (niserr2nss): Likewise.
47416         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
47417         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
47419         * csu/libc-tls.c (init_static_tls, init_slotinfo):
47420         Remove inline keyword.
47421         * include/rounding-mode.h (round_away): Likewise.
47422         * libio/wfileops.c (adjust_wide_data): Likewise.
47423         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
47424         (__m128i_strloadu_tolower): Likewise.
47425         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
47426         (__m128i_strloadu_tolower): Likewise.
47427         * time/mktime.c (ydhms_diff): Likewise.
47428         * locale/elem-hash.h (elem_hash): Likewise.
47429         * locale/setlocale.c (setdata): Likewise.
47430         * posix/regex_internal.h (re_string_char_size_at): Likewise.
47431         (re_string_wchar_at): Likewise.
47432         (bitset_not, bitset_merge, bitset_mask): Likewise.
47433         [!(__GNUC__ > 3)] (inline): Remove macro.
47434         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
47435         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
47436         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
47437         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
47438         * string/memcmp.c (memcmp_bytes): Likewise.
47439         * locale/programs/locarchive.c (compute_hashval): Likewise.
47440         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
47441         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
47442         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
47443         * nss/getent.c (print_rpc, print_protocols): Likewise.
47444         (print_passwd, print_group, print_aliases): Likewise.
47445         * nis/nss-nisplus.h (niserr2nss): Likewise.
47446         * nscd/connections.c (restart_p): Likewise.
47447         Change return type to bool.
47449 2013-02-05  Roland McGrath  <roland@hack.frob.com>
47451         * Makeconfig (all-Depend-files): Add existing
47452         $(sorted-subdirs:=/Depend) files.
47453         (all-subdirs): Remove nss.
47454         * sysdeps/unix/inet/Subdirs: Add it here instead.
47455         * hesiod/Depend: New file.
47457         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
47458         instead of calling alloca.
47460         * io/lseek.c (__lseek): Rename to __libc_lseek.
47461         Define __lseek as an alias.
47463         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
47465 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
47467         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
47468         else clause and remove check for non-standard endianness.
47470 2013-02-04  David S. Miller  <davem@davemloft.net>
47472         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47474 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
47476         [BZ #13550]
47477         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
47478         (__ubp_memchr): Remove prototype.
47479         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
47480         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
47481         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
47482         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
47483         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
47484         Remove alias.
47485         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
47486         (__ubp_memchr): Likewise.
47487         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
47488         (__ubp_memchr): Likewise.
47489         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
47490         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
47491         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
47492         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
47493         CHECK_STRING.
47494         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
47495         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
47496         (__getcwd): Do not use CHECK_STRING.
47497         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
47498         <bp-checks.h>.
47499         (__real_chown): Do not use CHECK_STRING.
47500         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
47501         <bp-checks.h>.
47502         (fchownat): Do not use CHECK_STRING.
47503         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
47504         CHECK_STRING.
47505         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
47506         <bp-checks.h>.
47507         (__lchown): Do not use CHECK_STRING.
47508         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
47509         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
47510         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
47511         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
47512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
47513         include <bp-checks.h>.
47514         (truncate64): Do not use CHECK_STRING.
47515         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
47516         <bp-checks.h>.
47517         (__real_chown): Do not use CHECK_STRING.
47518         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
47519         <bp-checks.h>.
47520         (__lchown): Do not use CHECK_STRING.
47521         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
47522         <bp-checks.h>.
47523         (__chown): Do not use CHECK_STRING.
47524         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
47525         <bp-checks.h>.
47526         (truncate64): Do not use CHECK_STRING.
47527         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
47528         Likewise.
47529         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
47530         (__xmknod): Do not use CHECK_STRING.
47531         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
47532         <bp-checks.h>.
47533         (__xmknodat): Do not use CHECK_STRING.
47534         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
47535         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
47537 2013-02-04  Andreas Schwab  <schwab@suse.de>
47539         [BZ #14142]
47540         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
47541         * include/netdb.h: Likewise for h_errno.
47542         * elf/tst-stackguard1.c: Include <tls.h>.
47544 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
47546         * elf/link.h (struct link_map): Extend the l_addr comment.
47547         * include/link.h (struct link_map): Likewise.
47549 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
47551         [BZ #13550]
47552         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
47553         (BOUNDED_1): Remove macro.
47554         * debug/backtrace.c: Don't include <bp-checks.h>.
47555         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
47556         (__backtrace): Likewise.
47557         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
47558         <bp-checks.h>.
47559         (__backtrace): Don't use BOUNDED_1.
47560         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
47561         <bp-checks.h>.
47562         (__backtrace): Don't use BOUNDED_1.
47563         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
47564         (__backtrace): Don't use BOUNDED_1.
47565         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
47566         (shmat): Don't use BOUNDED_N.
47568 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
47570         [BZ #13550]
47571         * sysdeps/generic/bp-start.h: Remove file.
47572         * csu/libc-start.c: Don't include <bp-start.h>.
47573         (LIBC_START_MAIN): Set up __environ directly instead of using
47574         INIT_ARGV_and_ENVIRON.
47575         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
47576         <bp-start.h>.
47578         [BZ #13550]
47579         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
47580         definitions.
47581         (CHECK_FCNTL): Likewise.
47582         (CHECK_N_PAGES): Likewise.
47584         [BZ #13550]
47585         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
47586         definitions.
47587         (CHECK_SIGSET_NULL_OK): Likewise.
47588         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
47589         <bp-checks.h>.
47590         (sigpending): Don't use CHECK_SIGSET.
47591         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
47592         <bp-checks.h>.
47593         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
47594         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
47595         <bp-checks.h>.
47596         (do_sigsuspend): Don't use CHECK_SIGSET.
47597         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
47598         use CHECK_SIGSET.
47599         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
47600         (do_sigwait): Don't use CHECK_SIGSET.
47601         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
47602         use CHECK_SIGSET.
47603         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
47604         include <bp-checks.h>.
47605         (sigpending): Don't use CHECK_SIGSET.
47606         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
47607         include <bp-checks.h>.
47608         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
47609         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
47610         <bp-checks.h>.
47611         (sigpending): Don't use CHECK_SIGSET.
47612         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
47613         <bp-checks.h>.
47614         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
47616         [BZ #13550]
47617         * sysdeps/generic/bp-semctl.h: Remove file.
47618         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
47619         <bp-checks.h> and <bp-semctl.h>.
47620         (__old_semctl): Don't use CHECK_SEMCTL.
47621         (__new_semctl): Likewise.
47622         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
47623         and <bp-semctl.h>.
47624         (__old_semctl): Don't use CHECK_SEMCTL.
47625         (__new_semctl): Likewise.
47626         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
47627         <bp-checks.h> and <bp-semctl.h>.
47628         (__old_semctl): Don't use CHECK_SEMCTL.
47629         (__new_semctl): Likewise.
47630         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
47631         <bp-checks.h> and <bp-semctl.h>.
47632         (semctl): Don't use CHECK_SEMCTL.
47634         [BZ #13550]
47635         * Makerules (elide-bp-thunks): Remove variable.
47636         (elide-routines.oS): Don't use $(elide-bp-thunks).
47637         (elide-routines.os): Likewise.
47638         (elide-routines.o): Likewise.
47639         (elide-routines.op): Likewise.
47640         (elide-routines.og): Likewise.
47641         (objects): Don't use $(bp-thunks).
47642         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
47643         include.
47644         (common-generated): Do not add s-proto-bp.d.
47645         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
47646         (int): Likewise.
47647         (typ): Likewise.
47648         Do not generate makefile rules for bounded-pointer thunks.
47649         * sysdeps/generic/bp-thunks.h: Remove file.
47650         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
47651         * sysdeps/unix/s-proto-bp.S: Likewise.
47653         [BZ #15062]
47654         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
47655         parts of result separately when argument is not close to line from
47656         -i to i and one part of argument is small.
47657         * math/k_casinhf.c (__kernel_casinhf): Likewise.
47658         * math/k_casinhl.c (__kernel_casinhl): Likewise.
47659         * math/libm-test.inc (cacos_test): Add more tests.
47660         (casin_test): Likewise.
47661         (casinh_test): Likewise.
47662         * sysdeps/i386/fpu/libm-test-ulps: Update.
47663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47665 2013-01-31  David S. Miller  <davem@davemloft.net>
47667         * po/de.po: Update from translation team.
47669 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
47671         * time/tzfile.c: Include stdint.h for SIZE_MAX.
47673 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
47675         * configure.in (_AC_PROG_CC_C89): New definition.
47676         * configure: Regenerate.
47678         * configure.in (AC_PROG_CPP): New definition.
47679         * configure: Regenerate.
47681 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
47683         * debug/tst-backtrace.h: New file.
47684         * debug/tst-backtrace2.c: Include tst-backtrace.h.
47685         (ret): Remove variable.
47686         (x): Likewise.
47687         (FAIL): Remove macro.
47688         (NO_INLINE): Likewise.
47689         (fn1): Use match function instead of strstr.
47690         * debug/tst-backtrace3.c: Include tst-backtrace.h.
47691         (ret): Remove variable.
47692         (x): Likewise.
47693         (FAIL): Remove macro.
47694         (NO_INLINE): Likewise.
47695         (fn): Use match function instead of strstr.
47696         * debug/tst-backtrace4.c: Include tst-backtrace.h.
47697         (ret): Remove variable.
47698         (x): Likewise.
47699         (FAIL): Remove macro.
47700         (NO_INLINE): Likewise.
47701         (handle_signal): Use match function instead of strstr.
47702         * debug/tst-backtrace5.c: Include tst-backtrace.h.
47703         (ret): Remove variable.
47704         (x): Likewise.
47705         (FAIL): Remove macro.
47706         (NO_INLINE): Likewise.
47707         (handle_signal): Use match function instead of strstr.
47709 2013-01-23  Roland McGrath  <roland@hack.frob.com>
47711         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
47713 2013-01-23  David S. Miller  <davem@davemloft.net>
47715         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
47716         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
47717         argument of CAS if possible.
47718         * sysdeps/sparc/sparc64/bits/atomic.h
47719         (__arch_compare_and_exchange_val_32_acq): Likewise.
47720         (__arch_compare_and_exchange_val_64_acq): Likewise.
47722 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
47724         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
47725         * sysdeps/posix/ulimit.c: ... this.
47726         Include <limits.h>.
47727         * sysdeps/unix/bsd/ulimit.c: Remove file.
47729 2013-01-23  Adam Conrad  <adconrad@0c3.net>
47731         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
47732         (LDFLAGS-tst-array5): Likewise.
47734 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
47736         [BZ #15036]
47737         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
47738         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
47739         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
47740         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
47742 2013-01-21  David S. Miller  <davem@davemloft.net>
47744         * sysdeps/sparc/backtrace.c: New file.
47745         * sysdeps/sparc/sparc32/backtrace.h: New file.
47746         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
47747         * sysdeps/sparc/sparc64/backtrace.h: New file.
47748         * sysdeps/sparc/sparc64/backtrace.c: Delete.
47749         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
47750         -funwind-tables.
47752 2013-01-21  Andreas Schwab  <schwab@suse.de>
47754         [BZ #15020]
47755         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
47756         closed its stdout.
47758 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
47760         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
47761         "mpa2.h".
47762         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
47764 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
47765             Mark Mitchell  <mark@codesourcery.com>
47766             Tom de Vries  <tom@codesourcery.com>
47767             Paul Pluzhnikov  <ppluzhnikov@google.com>
47769         * debug/tst-backtrace2.c: New file.
47770         * debug/tst-backtrace3.c: Likewise.
47771         * debug/tst-backtrace4.c: Likewise.
47772         * debug/tst-backtrace5.c: Likewise.
47773         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
47774         (CFLAGS-tst-backtrace3.c): Likewise.
47775         (CFLAGS-tst-backtrace4.c): Likewise.
47776         (CFLAGS-tst-backtrace5.c): Likewise.
47777         (LDFLAGS-tst-backtrace2): Likewise.
47778         (LDFLAGS-tst-backtrace3): Likewise.
47779         (LDFLAGS-tst-backtrace4): Likewise.
47780         (LDFLAGS-tst-backtrace5): Likewise.
47781         (tests): Add new tests tst-backtrace2, tst-backtrace3,
47782         tst-backtrace4 and tst-backtrace5.
47784 2013-01-18  Anton Blanchard  <anton@samba.org>
47785             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47787         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
47788         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
47789         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
47790         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
47791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
47792         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
47793         "+r" and remove output regs list as redundant.  Add explicit inline
47794         asm to specify register of return val to work around compiler codegen
47795         bug.  Remove (int) cast on return value.  Add return type parameter to
47796         use in macro so that this macro does not truncate return value for
47797         64-bit values.
47798         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
47799         pass to INTERNAL_VSYSCALL_NCS.
47800         (INLINE_VSYSCALL): Add 'long int' as return type to
47801         INTERNAL_VSYSCALL_NCS macro invocation.
47802         (INTERNAL_VSYSCALL): Add 'long int' as return type to
47803         INTERNAL_VSYSCALL_NCS macro invocation.
47804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
47806 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
47808         [BZ #14496]
47809         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
47810         Fix application of SIMD FP exception mask.
47812         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
47813         mp_no from a power of two.
47814         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
47815         __mpexp_twomm1.  Use __pow_mp.
47817         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
47818         multiplication.
47820 2013-01-17  David S. Miller  <davem@davemloft.net>
47822         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47824 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
47826         [BZ #15023]
47827         * include/complex.h: Condition contents on [!_COMPLEX_H].
47828         (__kernel_casinhf): New prototype.
47829         (__kernel_casinh): Likewise.
47830         (__kernel_casinhl): Likewise.
47831         * math/Makefile (libm_calls): Add k_casinh.
47832         * math/k_casinh.c: New file.
47833         * math/k_casinhf.c: Likewise.
47834         * math/k_casinhl.c: Likewise.
47835         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
47836         finite nonzero arguments.
47837         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
47838         finite nonzero arguments.
47839         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
47840         finite nonzero arguments.
47841         * math/s_casinh.c: Do not include <float.h>.
47842         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
47843         * math/s_casinhf.c: Do not include <float.h>.
47844         (__casinhf): Move code for finite nonzero arguments to
47845         k_casinhf.c.
47846         * math/s_casinhl.c: Do not include <float.h>.
47847         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
47848         redefine.
47849         (__casinhl): Move code for finite nonzero arguments to
47850         k_casinhl.c.
47851         * math/libm-test.inc (cacos_test): Add more tests.
47852         * sysdeps/i386/fpu/libm-test-ulps: Update.
47853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47855 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
47857         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
47858         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
47859         [!HAVE_MREMAP]: Remove [defined linux] case.
47860         * malloc/arena.c: Do not include <malloc-sysdep.h>.
47862 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
47864         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
47866 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
47868         * elf/elf.h (R_386_SIZE32): New relocation.
47869         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
47870         R_386_SIZE32.
47871         (elf_machine_rela): Likewise.
47872         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
47873         R_X86_64_SIZE64 and R_X86_64_SIZE32.
47875 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
47877         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
47878         (FP_FAST_FMA): Do not define.
47879         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
47880         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
47881         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
47882         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
47883         !_SOFT_FLOAT]: Likewise.
47884         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
47885         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
47886         value.
47887         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
47888         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
47889         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
47890         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
47891         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
47892         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
47893         file.
47895 2013-01-16  Andreas Schwab  <schwab@suse.de>
47897         [BZ #14327]
47898         * include/stdlib.h (__mktemp): Add declaration.
47899         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
47900         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
47902 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
47904         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
47905         definitions.
47906         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
47907         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
47908         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
47909         definitions here.
47910         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
47911         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
47912         definitions.
47913         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
47914         and ONE.
47915         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
47916         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
47917         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
47918         definitions.
47919         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
47920         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
47921         definitions.
47922         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
47924         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
47926 2013-01-15  David S. Miller  <davem@davemloft.net>
47928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
47929         trunc{,f} to libm-sysdep_routes.
47930         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
47931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
47932         file.
47933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
47934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
47935         file.
47936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
47937         file.
47938         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
47939         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
47940         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
47941         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
47942         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
47943         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
47944         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
47945         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
47947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
47948         nearbyint{,f} to libm-sysdep_routes.
47949         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
47950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
47951         New file.
47952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
47953         file.
47954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
47955         New file.
47956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
47957         file.
47958         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
47959         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
47960         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
47961         file.
47962         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
47963         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
47964         file.
47965         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
47966         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
47967         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
47969         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
47970         libc_feholdexcept and libc_fesetenv.
47972 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
47974         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
47976 2013-01-14  David S. Miller  <davem@davemloft.net>
47978         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
47979         (SPARC_ASM_VIS2_IFUNC): Likewise.
47980         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
47981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
47982         use of 'siam' instruction.
47983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
47984         Likewise.
47985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
47986         Likewise.
47987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
47988         Likewise.
47989         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
47990         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
47991         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
47992         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
47993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
47994         file.
47995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
47996         file.
47997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
47998         file.
47999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
48000         file.
48001         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
48002         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
48003         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
48004         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
48005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
48006         new VIS2 routines.
48007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
48008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
48009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
48010         Likewise.
48011         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
48012         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
48013         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
48014         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
48015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
48016         routines to libm-sysdep_routines.
48017         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
48019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
48020         fdim/fdimf to libm-sysdep_routines.
48021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
48022         file.
48023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
48024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
48025         file.
48026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
48027         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
48028         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
48029         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
48030         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
48031         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
48032         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
48034 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
48036         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
48037         to optimize copies.
48039         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
48040         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
48041         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48043         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
48044         local variable MPTWO.
48045         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
48046         Likewise.
48048 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
48050         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
48051         GLOB_NOESCAPE.
48053 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
48055         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
48057 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
48059         * manual/pattern.texi (glob_t): Document gl_flags.
48060         (glob64_t): Likewise.
48062 2013-01-11  David S. Miller  <davem@davemloft.net>
48064         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
48065         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
48066         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
48067         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
48068         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
48069         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
48070         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
48071         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
48072         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
48073         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
48074         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
48075         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
48076         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
48078         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
48079         sparc V9 rather than using V8 code.
48080         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
48081         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
48083         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
48084         Move to...
48085         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
48086         Here.
48088 2013-01-11  Roland McGrath  <roland@hack.frob.com>
48090         [BZ #14941]
48091         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
48092         not in the main loop.
48093         * configure: Regenerated.
48095 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
48097         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
48098         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
48099         to just #else.
48100         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
48101         [!__GLIBC_HAVE_LONG_LONG] case.
48102         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
48103         condition to just #else.
48104         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
48105         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
48106         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
48107         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
48108         unconditional.
48109         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
48110         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
48111         #elif condition to just #else.
48112         * sysdeps/unix/sysv/linux/sys/sysmacros.h
48113         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
48114         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
48115         #elif condition to just #else.
48117 2013-01-11  Steve Ellcey  <sellcey@mips.com>
48119         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
48120         (EF_MIPS_ARCH_64): Fix value.
48121         (EF_MIPS_ARCH_32R2): New.
48122         (EF_MIPS_ARCH_64R2): New.
48124 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
48126         * Makeconfig (+link-pie-before-libc): New.
48127         (+link-pie-after-libc): Likewise.
48128         (+link-pie-tests): Likewise.
48129         (+link-pie): Rewritten.
48130         (link-before-libc): Remove $(config-LDFLAGS).
48131         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
48132         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
48133         (config-LDFLAGS): Renamed to ...
48134         (rtld-LDFLAGS): This.
48135         (rtld-tests-LDFLAGS): New macro.
48136         (link-libc-rpath-link): Likewise.
48137         (link-libc-tests-rpath-link): Likewise.
48138         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
48139         (link-libc): Prepand $(link-libc-rpath-link).
48140         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
48141         (test-program-prefix): New macro.
48142         (test-via-rtld-prefix): Likewise.
48143         (test-program-cmd): Likewise.
48144         (host-test-program-cmd): Likewise.
48145         * Makefile ($(common-objpfx)testrun.sh): Replace
48146         $(run-program-prefix) with $(test-program-prefix).
48147         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
48148         $(rtld-LDFLAGS).
48149         ($(common-objpfx)shlib.lds): Likewise.
48150         (build-module-helper): Likewise.
48151         ($(common-objpfx)format.lds): Likewise.
48152         * Rules (binaries-pie-tests): New.
48153         (binaries-pie-notests): Likewise.
48154         (binaries-pie): Rewritten.
48155         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
48156         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
48157         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
48158         (make-test-out): Replace $(host-built-program-cmd) with
48159         $(host-test-program-cmd).
48160         * config.make.in (build-hardcoded-path-in-tests): New variable.
48161         * configure.in (--enable-hardcoded-path-in-tests): New configure
48162         option.
48163         (hardcoded_path_in_tests): New AC_SUBST.
48164         * configure: Regenerated.
48165         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
48166         $(built-program-cmd) with $(test-program-cmd).
48167         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
48168         (test_program_cmd): This.
48169         * elf/Makefile ($(objpfx)order.out): Run test with
48170         $(test-program-prefix).
48171         ($(objpfx)order2.out): Likewise.
48172         ($(objpfx)tst-initorder.out): Likewise.
48173         ($(objpfx)tst-initorder2.out): Likewise.
48174         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
48175         $(test-program-cmd).
48176         ($(objpfx)tst-array1-static.out): Likewise.
48177         ($(objpfx)tst-array2.out): Likewise.
48178         ($(objpfx)tst-array3.out): Likewise.
48179         ($(objpfx)tst-array4.out): Likewise.
48180         ($(objpfx)tst-array5.out): Likewise.
48181         ($(objpfx)tst-array5-static.out): Likewise.
48182         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
48183         $(test-program-cmd).
48184         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
48185         $(run-program-prefix) with $(test-program-prefix).
48186         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
48187         (test_program_prefix): This.
48188         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
48189         $(run-program-prefix) with $(test-program-prefix).
48190         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
48191         (test_program_prefix): This.
48192         * iconvdata/tst-tables.sh: Likewise.
48193         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
48194         $(run-program-prefix) with $(test-program-prefix).
48195         ($(objpfx)tst-translit.out): Likewise.
48196         ($(objpfx)tst-gettext2.out): Likewise.
48197         ($(objpfx)tst-gettext4.out): Likewise.
48198         ($(objpfx)tst-gettext6.out): Likewise.
48199         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
48200         (test_program_prefix): This.
48201         * intl/tst-gettext2.sh: Likewise.
48202         * intl/tst-gettext4.sh  Likewise.
48203         * intl/tst-gettext6.sh: Likewise.
48204         * intl/tst-translit.sh: Likewise.
48205         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
48206         with $(test-program-cmd).
48207         * libio/Makefile ($(objpfx)test-freopen.out): Replace
48208         $(run-program-prefix) with $(test-program-prefix).
48209         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
48210         (test_program_prefix): This.
48211         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
48212         $(run-program-prefix) with $(test-program-prefix).
48213         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
48214         (test_program_prefix): This.
48215         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
48216         * posix/Makefile ($(objpfx)globtest.out): Replace
48217         $(run-via-rtld-prefix) and $(test-wrapper) with
48218         $(test-program-prefix) and $(test-via-rtld-prefix).
48219         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
48220         $(test-program-prefix).
48221         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
48222         $(host-test-program-cmd).
48223         (tst-spawn-ARGS): Likewise.
48224         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
48225         $(test-program-prefix).
48226         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
48227         (test_via_rtld_prefix): This.
48228         (test_wrapper): Renamed to ...
48229         (test_program_prefix): This.
48230         (run_program_prefix): Replaced by test_program_prefix.
48231         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
48232         (test_program_prefix): This.
48233         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
48234         with $(host-test-program-cmd).
48235         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
48236         $(run-program-prefix) with $(test-program-prefix).
48237         ($(objpfx)tst-printf.out): Likewise.
48238         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
48239         $(test-program-cmd).
48240         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
48241         (test_program_prefix): This.
48242         * stdio-common/tst-unbputc.sh: Likewise.
48243         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
48244         $(run-program-prefix) with $(test-program-prefix).
48245         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
48246         (test_program_prefix): This.
48247         * string/Makefile ($(objpfx)tst-svc.out):  Replace
48248         $(built-program-cmd) with $(test-program-cmd).
48250 2013-01-11  Andreas Jaeger  <aj@suse.de>
48252         [BZ #15003]
48253         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
48254         value. Sync with Linux 3.7.
48256 2013-01-10  David S. Miller  <davem@davemloft.net>
48258         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
48259         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
48260         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
48262 2013-01-10  Roland McGrath  <roland@hack.frob.com>
48264         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
48265         never set.
48266         * configure: Regenerated.
48268 2013-01-10  David S. Miller  <davem@davemloft.net>
48270         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
48271         sparc V9 rather than using V8 code.
48272         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
48273         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
48275 2013-01-10  Roland McGrath  <roland@hack.frob.com>
48277         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
48278         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
48279         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
48280         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
48281         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
48282         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
48283         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
48284         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
48285         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
48286         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
48287         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
48288         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
48289         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
48290         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
48291         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
48292         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
48293         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
48294         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
48295         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
48296         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
48297         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
48298         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
48299         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
48300         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
48301         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
48302         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
48303         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
48305 2013-01-10  David S. Miller  <davem@davemloft.net>
48307         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48309 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
48311         * posix/Makefile (tests-static): New variable.
48312         (tests): Add $(tests-static).
48313         (tst-exec-static-ARGS): New variable.
48314         (tst-spawn-static-ARGS): Likewise.
48315         * posix/tst-exec-static.c: New file.
48316         * posix/tst-spawn-static.c: Likewise.
48317         * posix/tst-exec.c: Support run directly.
48318         * posix/tst-spawn.c: Likewise.
48320 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
48322         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
48323         long.
48324         * math/bits/mathcalls.h (llrint): Likewise.
48325         (llround): Likewise.
48326         * stdlib/stdlib.h (struct drand48_data): Likewise.
48327         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
48328         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
48329         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
48330         Likewise.
48331         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
48332         Likewise.
48333         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
48334         (elf_greg_t): Likewise.
48335         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
48336         (__jmp_buf): Likewise.
48337         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
48338         definitions.
48339         (llrint): Likewise, for all definitions.
48340         (llrintl): Likewise.
48342         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
48343         Remove [__GNUC__] condition.
48344         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
48345         condition to just [__USE_ISOC99].
48346         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
48348 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
48350         [BZ #14200]
48351         * sysdeps/unix/sysv/linux/x86/bits/environments.h
48352         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
48353         defined.
48354         (_POSIX_V6_ILP32_OFF32): Likewise.
48355         (_XBS5_ILP32_OFF32): Likewise.
48356         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
48357         (__ILP32_OFFBIG_LDFLAGS): Likewise.
48359 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48361         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
48363         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
48364         doubles __mpexp_twomm1.  Adjust usage.
48365         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
48366         Remove.
48368 2013-01-10  Andreas Schwab  <schwab@suse.de>
48370         [BZ #14964]
48371         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
48372         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
48374 2013-01-09  David S. Miller  <davem@davemloft.net>
48376         [BZ #15003]
48377         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
48378         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
48379         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
48380         (TCP_FASTOPEN): Define.
48381         (tcp_repair_opt): New structure.
48382         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
48383         enum values.
48384         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
48385         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
48386         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
48387         (tcp_cookie_transactions): New structure.
48389 2013-01-09  Anton Blanchard  <anton@samba.org>
48391         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
48392         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
48393         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
48394         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
48396 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
48398         * include/features.h (__USE_ANSI): Remove.
48400 2013-01-09  Roland McGrath  <roland@hack.frob.com>
48402         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
48404         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
48406 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
48408         * sysdeps/s390/fpu/libm-test-ulps: Update.
48410         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48412         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
48413         (__acr): Likewise.
48414         (__cpy): Likewise.
48415         (norm): Likewise.
48416         (denorm): Likewise.
48417         (__mp_dbl): Likewise.
48418         (__dbl_mp): Likewise.
48419         (add_magnitudes): Likewise.
48420         (sub_magnitudes): Likewise.
48421         (__add): Likewise.
48422         (__sub): Likewise.
48423         (__mul): Likewise.
48424         (__inv): Likewise.
48425         (__dvd): Likewise.
48426         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
48427         (__acr): Likewise.
48428         (__cpy): Likewise.
48429         (norm): Likewise.
48430         (denorm): Likewise.
48431         (__mp_dbl): Likewise.
48432         (__dbl_mp): Likewise.
48433         (add_magnitudes): Likewise.
48434         (sub_magnitudes): Likewise.
48435         (__add): Likewise.
48436         (__sub): Likewise.
48437         (__mul): Likewise.
48438         (__inv): Likewise.
48439         (__dvd): Likewise.
48440         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
48441         (__acr): Likewise.
48442         (__cpy): Likewise.
48443         (norm): Likewise.
48444         (denorm): Likewise.
48445         (__mp_dbl): Likewise.
48446         (__dbl_mp): Likewise.
48447         (add_magnitudes): Likewise.
48448         (sub_magnitudes): Likewise.
48449         (__add): Likewise.
48450         (__sub): Likewise.
48451         (__mul): Likewise.
48452         (__inv): Likewise.
48453         (__dvd): Likewise.
48455 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
48457         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
48458         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
48459         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
48460         2 && __USE_EXTERN_INLINES]: Likewise.
48462 2013-01-08  Andreas Jaeger  <aj@suse.de>
48464         [BZ# 14985]
48465         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
48466         Remove.
48467         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
48468         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
48470 2013-01-07  Anton Blanchard  <anton@samba.org>
48472         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
48473         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
48474         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
48475         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
48476         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
48477         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
48478         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
48479         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
48480         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
48481         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48482         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
48483         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
48484         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
48485         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
48486         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
48487         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
48488         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
48489         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
48490         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
48491         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
48492         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
48493         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
48494         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48495         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
48496         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
48497         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
48498         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48499         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
48500         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
48501         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
48502         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
48503         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48504         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48505         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
48506         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
48507         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48508         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
48509         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
48510         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
48511         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
48512         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
48513         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48514         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
48516 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
48518         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
48519         (__MALLOC_PMT): Likewise.
48520         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
48521         [__GNUC__], only on [_LIBC].
48522         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
48523         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
48524         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
48525         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
48526         forward declaration.
48527         (realloc_hook_ini): Likewise.
48528         (memalign_hook_ini): Likewise.
48529         (__libc_memalign): Do not use __MALLOC_PMT in variable
48530         declaration.
48531         (__libc_valloc): Likewise.
48532         (__libc_pvalloc): Likewise.
48533         (__libc_calloc): Likewise.
48534         (__posix_memalign): Likewise.
48536         [BZ #14996]
48537         * math/s_casinh.c: Include <float.h>.
48538         (__casinh): Do not do computation with squaring and square root
48539         for large arguments.
48540         * math/s_casinhf.c: Include <float.h>.
48541         (__casinhf): Do not do computation with squaring and square root
48542         for large arguments.
48543         * math/s_casinhl.c: Include <float.h>.
48544         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
48545         (__casinhl): Do not do computation with squaring and square root
48546         for large arguments.
48547         * math/libm-test.inc (casin_test): Add more tests.
48548         (casinh_test): Likewise.
48549         * sysdeps/i386/fpu/libm-test-ulps: Update.
48550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48552 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
48554         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
48555         (__x86_64_raw_data_cache_size): Likewise.
48556         (__x86_64_data_cache_size_half): Likewise.
48557         (__x86_64_raw_data_cache_size_half): Likewise.
48558         (__x86_64_shared_cache_size): Likewise.
48559         (__x86_64_raw_shared_cache_size): Likewise.
48560         (__x86_64_shared_cache_size_half): Likewise.
48561         (__x86_64_raw_shared_cache_size_half): Likewise.
48562         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
48563         to ...
48564         (__x86_data_cache_size): This.
48565         (__x86_64_raw_data_cache_size): Renamed to ...
48566         (__x86_raw_data_cache_size): This.
48567         (__x86_64_data_cache_size_half): Renamed to ...
48568         (__x86_data_cache_size_half): This.
48569         (__x86_64_raw_data_cache_size_half): Renamed to ...
48570         (__x86_raw_data_cache_size_half): This.
48571         (__x86_64_shared_cache_size): Renamed to ...
48572         (__x86_shared_cache_size): This.
48573         (__x86_64_raw_shared_cache_size): Renamed to ...
48574         (__x86_raw_shared_cache_size): This.
48575         (__x86_64_shared_cache_size_half): Renamed to ...
48576         (__x86_shared_cache_size_half): This.
48577         (__x86_64_raw_shared_cache_size_half): Renamed to ...
48578         (__x86_raw_shared_cache_size_half): This.
48579         * sysdeps/x86_64/memcpy.S: Updated.
48580         * sysdeps/x86_64/memset.S: Likewise.
48581         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
48582         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48583         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48585 2013-01-04  David S. Miller  <davem@davemloft.net>
48587         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48589 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
48591         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
48592         1 to avoid redefinition warning.
48593         (__USE_GNU): Don't define.
48594         (init_signaling_nan): Protoize.
48596         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48598 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48600         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
48601         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
48602         (__cpymn): Likewise.
48603         (norm): Remove commented code.
48604         (denorm): Likewise.
48605         (__mp_dbl): Likewise.
48606         (__inv): Likewise.
48607         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
48608         (__cpymn): Likewise.
48609         (norm): Remove commented code.
48610         (denorm): Likewise.
48611         (__mp_dbl): Likewise.
48612         (__inv): Likewise.
48614         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
48615         mp_no value for 1.0 and 2.0.
48616         (norm): Use RADIXI instead of radixi.d.
48617         (denorm): Likewise.
48618         (__mul): Use 0.0 instead of zero.d.
48619         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
48620         mp_no value for 1.0 and 2.0.
48621         (norm): Use RADIXI instead of radixi.d.
48622         (denorm): Likewise.
48623         (__mul): Use 0.0 instead of zero.d.
48625 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
48627         [BZ #14994]
48628         * math/s_casinh.c (__casinh): Reduce finite argument to first
48629         quadrant then set signs of results at the end.
48630         * math/s_casinhf.c (__casinhf): Likewise.
48631         * math/s_casinhl.c (__casinhl): Likewise.
48632         * math/libm-test.inc (casin_test): Add more tests.
48633         (casinh_test): Likewise.
48634         * sysdeps/i386/fpu/libm-test-ulps: Update.
48635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48637 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48639         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
48641         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
48643         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
48644         declarations.
48645         (denorm): Likewise.
48646         (__mp_dbl): Likewise.
48647         (__inv): Likewise.
48649         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
48650         and adjust the header comment.
48652         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
48653         variable name from declaration.
48655 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
48657         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48658         Initialize COMMON_CPUID_INDEX_7 element.
48659         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
48660         (CPUID_RTM): Likewise.
48661         (HAS_RTM): Likewise.
48662         (COMMON_CPUID_INDEX_7): New enum.
48664 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
48666         [BZ #14981]
48667         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
48668         size is zero, record memory as freed.
48670 2013-01-03  Andreas Jaeger  <aj@suse.de>
48672         * po/ia.po: Add new Interlingua translation.
48674 2012-01-03  Allan McRae  <allan@archlinux.org>
48676         * locale/programs/localedef.c: Fix description of '--posix' flag.
48678 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
48680         * NEWS: Update dates in second copyright notice.
48681         * README: Update copyright dates in example.
48682         * manual/libc.texinfo: Update copyright dates.
48683         * scripts/test-installation.pl: Update copyright date in --version
48684         output.
48686         * hurd/ctty-input.c: Fix copyright notice formatting.
48687         * hurd/ctty-output.c: Likewise.
48688         * hurd/dtable.c: Likewise.
48689         * hurd/hurd-raise.c: Likewise.
48690         * hurd/hurdprio.c: Likewise.
48691         * hurd/msgportdemux.c: Likewise.
48692         * misc/sys/file.h: Likewise.
48693         * misc/sys/ioctl.h: Likewise.
48694         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
48695         * sysdeps/mach/hurd/chdir.c: Likewise.
48696         * sysdeps/mach/hurd/fchdir.c: Likewise.
48697         * sysdeps/mach/hurd/rename.c: Likewise.
48698         * sysdeps/mach/hurd/rmdir.c: Likewise.
48699         * sysdeps/mach/hurd/seekdir.c: Likewise.
48700         * sysdeps/mach/hurd/setsid.c: Likewise.
48701         * sysdeps/posix/wait3.c: Likewise.
48703         * All files with FSF copyright notices: Update copyright dates
48704         using scripts/update-copyrights.
48705         * intl/plural.c: Regenerated.
48706         * locale/programs/charmap-kw.h: Likewise.
48707         * locale/programs/locfile-kw.h: Likewise.
48709 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
48711         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
48712         four values.
48714         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
48715         calculation loop and add branch prediction.
48717         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
48718         check access beyond bounds of m1np.
48720         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
48721         MPTWO.
48722         (__inv): Remove local variable MPTWO to use the global
48723         constant.
48724         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
48725         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
48726         variable MPTWO.
48727         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
48728         MP3HALFS static const.
48730 2013-01-01  David S. Miller  <davem@davemloft.net>
48732         * po/ca.po: Update from translation team.
48734 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
48736         * scripts/update-copyrights: New file.
48737         * Makeconfig: Reformat copyright notice.
48738         * ctype/ctype.h: Likewise.
48739         * debug/swprintf_chk.c: Likewise.
48740         * elf/dl-cache.c: Likewise.
48741         * elf/dl-debug.c: Likewise.
48742         * elf/dl-object.c: Likewise.
48743         * grp/initgroups.c: Likewise.
48744         * hurd/Makefile: Likewise.
48745         * hurd/hurd/signal.h: Likewise.
48746         * hurd/hurdfault.c: Likewise.
48747         * hurd/hurdioctl.c: Likewise.
48748         * hurd/hurdlookup.c: Likewise.
48749         * hurd/intr-msg.c: Likewise.
48750         * iconv/gconv_open.c: Likewise.
48751         * libio/swprintf.c: Likewise.
48752         * locale/lc-ctype.c: Likewise.
48753         * locale/nl_langinfo.c: Likewise.
48754         * mach/Machrules: Likewise.
48755         * mach/Makefile: Likewise.
48756         * malloc/obstack.h: Likewise.
48757         * manual/Makefile: Likewise.
48758         * manual/tsort.awk: Likewise.
48759         * misc/bits/stab.def: Likewise.
48760         * nis/nis_print_group_entry.c: Likewise.
48761         * nis/nis_table.c: Likewise.
48762         * nis/nss_compat/compat-pwd.c: Likewise.
48763         * nis/nss_compat/compat-spwd.c: Likewise.
48764         * po/Makefile: Likewise.
48765         * posix/fnmatch.c: Likewise.
48766         * posix/regex.h: Likewise.
48767         * resolv/Makefile: Likewise.
48768         * resolv/nss_dns/dns-network.c: Likewise.
48769         * resolv/res_hconf.c: Likewise.
48770         * scripts/gen-sorted.awk: Likewise.
48771         * soft-fp/soft-fp.h: Likewise.
48772         * stdio-common/printf.h: Likewise.
48773         * stdlib/monetary.h: Likewise.
48774         * stdlib/random.c: Likewise.
48775         * stdlib/random_r.c: Likewise.
48776         * sysdeps/generic/Makefile: Likewise.
48777         * sysdeps/gnu/Makefile: Likewise.
48778         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48779         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48780         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48781         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48782         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48783         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48784         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48785         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48786         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48787         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48788         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
48789         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
48790         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
48791         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
48792         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
48793         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
48794         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
48795         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48796         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48797         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48798         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48799         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48800         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48801         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
48802         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
48803         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
48804         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
48805         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
48806         * sysdeps/mach/hurd/errnos.awk: Likewise.
48807         * sysdeps/mach/hurd/fork.c: Likewise.
48808         * sysdeps/mach/hurd/getcwd.c: Likewise.
48809         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
48810         * sysdeps/mach/hurd/mmap.c: Likewise.
48811         * sysdeps/mach/hurd/utimes.c: Likewise.
48812         * sysdeps/mach/hurd/xmknod.c: Likewise.
48813         * sysdeps/posix/profil.c: Likewise.
48814         * sysdeps/posix/readdir_r.c: Likewise.
48815         * sysdeps/powerpc/bits/mathdef.h: Likewise.
48816         * sysdeps/powerpc/bits/setjmp.h: Likewise.
48817         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
48818         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
48819         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
48820         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
48821         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48822         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48823         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48824         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
48825         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48826         * sysdeps/pthread/lio_listio.c: Likewise.
48827         * sysdeps/sparc/dl-procinfo.h: Likewise.
48828         * sysdeps/unix/i386/sysdep.S: Likewise.
48829         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
48830         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
48831         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
48832         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
48833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48834         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
48835         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
48836         * sysdeps/unix/sysv/linux/speed.c: Likewise.
48837         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
48838         * sysdeps/wordsize-32/divdi3.c: Likewise.
48839         * time/sys/time.h: Likewise.
48840         * wcsmbs/Makefile: Likewise.
48842 2013-01-01  David S. Miller  <davem@davemloft.net>
48844         * po/fr.po: Update from translation team.
48846         * catgets/gencat.c: Update copyright year.
48847         * csu/version.c: Likewise.
48848         * debug/catchsegv.sh: Likewise.
48849         * debug/pcprofiledump.c: Likewise.
48850         * debug/xtrace.sh: Likewise.
48851         * elf/ldconfig.c: Likewise.
48852         * elf/ldd.bash.in: Likewise.
48853         * elf/pldd.c: Likewise.
48854         * elf/sotruss.ksh: Likewise.
48855         * elf/sprof.c: Likewise.
48856         * iconv/iconv_prog.c: Likewise.
48857         * iconv/iconvconfig.c: Likewise.
48858         * locale/programs/locale.c: Likewise.
48859         * locale/programs/localedef.c: Likewise.
48860         * login/programs/pt_chown.c: Likewise.
48861         * malloc/memusage.sh: Likewise.
48862         * malloc/memusagestat.c: Likewise.
48863         * malloc/mtrace.pl: Likewise.
48864         * nscd/nscd.c: Likewise.
48865         * nss/getent.c: Likewise.
48866         * nss/makedb.c: Likewise.
48867         * posix/getconf.c: Likewise.
48869 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
48871         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
48872         numbers.
48874 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
48876         * math/bits/mathcalls.h (modf): Use __nonnull.
48878 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
48880         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
48881         (split): Use macro CN instead of the bare value.
48882         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
48883         could be used.
48884         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
48885         instead of the bare value.
48886         (power1): Likewise.
48888 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48890         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
48891         __ATAN_TWOM.
48892         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
48894         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
48895         their values.
48896         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
48897         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
48898         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
48899         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
48901 2012-12-28  Andreas Jaeger  <aj@suse.de>
48903         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
48904         values are from Linux 3.7.
48906         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
48907         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
48909 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48911         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
48912         TRUE case.
48914         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
48915         (norm): Likewise.
48916         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
48917         variables with preprocessor constants.
48918         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
48919         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
48920         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
48922 2012-12-27  Bruno Haible  <bruno@clisp.org>
48924         [BZ #14317]
48925         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
48926         only if needed.
48928 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48930         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
48931         and use variable directly.
48932         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
48934         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
48935         MPONE.
48936         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
48937         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
48938         variable MPONE.
48939         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
48940         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
48941         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
48942         include directive.  Remove local variable MPONE.
48943         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
48944         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
48945         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
48947 2012-12-25  David S. Miller  <davem@davemloft.net>
48949         * version.h (RELEASE): Set to "development".
48950         (VERSION): Set to "2.17.90".
48951         * NEWS: Add 2.18 section.
48953 2012-12-21  David S. Miller  <davem@davemloft.net>
48955         * po/hr.po: Update from translation team.
48957 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48959         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
48961 2012-12-19  Steve Ellcey  <sellcey@mips.com>
48963         * NEWS:  Mention new memcpy for MIPS.
48965 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48967         * manual/contrib.texi (Contributors): Spelling correction.
48969 2012-12-15  David S. Miller  <davem@davemloft.net>
48971         * po/ru.po: Update from translation team.
48973 2012-12-13  David S. Miller  <davem@davemloft.net>
48975         * NEWS: Mention IFUNC testsuite enhancements.
48977         * po/pl.po: Update from translation team.
48978         * po/bg.po: Likewise.
48980         * manual/contrib.texi (Contributors): Update entries for Hongjiu
48981         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
48983 2012-12-11  David S. Miller  <davem@davemloft.net>
48985         * po/sv.po: Update from translation team.
48987         * po/vi.po: Update from translation team.
48989         * po/cs.po: Update from translation team.
48991         * po/de.po: Update from translation team.
48992         * po/eo.po: Likewise.
48993         * po/nl.po: Likewise.
48995 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48997         [BZ #14246]
48998         * manual/argp.texi (Argp Helper Functions): Move node to follow
48999         Argp Parsing State.
49001         [BZ #14872]
49002         * manual/conf.texi (Limits on File System Capacity): Mention if
49003         terminating null is included in the max size.
49005 2012-12-10  Andreas Jaeger  <aj@suse.de>
49007         * po/cs.po: Update from translation team.
49009 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
49011         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
49012         void pointer and cast to uintptr_t.
49013         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
49014         path.
49015         * sysdeps/s390/s390-64/memcpy.S: Likewise.
49016         * sysdeps/s390/s390-64/memset.S: Likewise.
49018 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
49020         [BZ #14833]
49021         * menual/message.texi (Message Translation): Fix typos.
49022         (Helper programs for gettext): Likewise.
49024 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
49026         [BZ #14898]
49027         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
49028         Change to -1.
49030 2012-12-07  David S. Miller  <davem@davemloft.net>
49032         * po/libc.pot: Update.
49034 2012-12-07  Richard Henderson  <rth@redhat.com>
49036         [BZ #10114]
49037         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
49038         normal/normal case to before the switch.
49039         (_FP_DIV): Likewise.
49041 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
49042             Mike Frysinger  <vapier@gentoo.org>
49044         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
49045         check for __NR_fadvise64_64.
49047 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
49049         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
49050         0, not just to plain "0" as a statement.
49051         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
49052         with cw.
49054 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
49056         * NEWS: Use sourceware.org in Bugzilla URL.
49058 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
49060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
49061         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
49063         * stdio-common/tst-put-error.c (do_test): Add newline to the
49064         padded test to ensure flush.
49066 2012-12-05  Jeff Law  <law@redhat.com>
49068         * sunrpc/etc.rpc (fedfs_admin): Add entry.
49070 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
49072         * README: Don't refer to ports add-on as distributed separately.
49073         Mention AArch64 in list of systems supported in the ports add-on.
49075         * LICENSES: Add more non-FSF copyright and license notices.
49077         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
49078         ((unused)).
49080         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
49082         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
49083         10000 as width of padded output.
49085 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
49087         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
49089         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
49090         variable LX with __attribute__ ((unused)).
49091         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
49092         Likewise.
49093         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
49094         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49095         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
49096         with __attribute__ ((unused)).
49098 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
49100         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
49102 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
49104         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
49105         (CFLAGS-nldbl-acos.c): New variable.
49106         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
49107         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
49108         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
49109         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
49110         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
49111         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
49112         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
49113         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
49114         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
49115         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
49116         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
49117         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
49118         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
49119         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
49120         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
49121         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
49122         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
49123         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
49124         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
49125         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
49126         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
49127         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
49128         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
49129         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
49130         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
49131         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
49132         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
49133         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
49134         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
49135         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
49136         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
49137         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
49138         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
49139         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
49140         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
49141         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
49142         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
49143         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
49144         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
49145         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
49146         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
49147         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
49148         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
49149         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
49150         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
49151         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
49152         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
49153         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
49154         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
49155         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
49156         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
49157         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
49158         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
49159         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
49160         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
49161         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
49162         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
49163         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
49164         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
49165         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
49166         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
49167         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
49168         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
49169         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
49170         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
49171         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
49172         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
49173         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
49174         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
49175         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
49176         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
49177         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
49178         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
49179         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
49180         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
49181         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
49182         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
49183         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
49184         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
49185         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
49186         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
49187         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
49188         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
49189         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
49190         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
49191         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
49192         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
49193         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
49194         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
49195         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
49196         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
49197         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
49198         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
49199         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
49200         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
49201         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
49202         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
49204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
49205         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
49207         [BZ #14914]
49208         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
49209         whole low double instead of just low 47 bits when splitting values
49210         into two parts.
49212 2012-12-03  Allan McRae  <allan@archlinux.org>
49214         * manual/stdio.texi (Predefined Printf Handlers): Remove
49215         @hsep and @vsep usage.
49217 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
49219         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
49220         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
49222 2012-12-03  Jeff Law  <law@redhat.com>
49224         * time/sys/time.h (settimeofday): Do not mark TV argument
49225         as __nonnull.
49227 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
49229         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
49230         when currently writing and seek to current position when not.
49231         * libio/Makefile (tests): Remove bug-fclose1.
49232         * libio/bug-fclose1.c: Delete.
49234 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
49236         * manual/arith.texi (feenableexcept): Fix typo.
49237         (fedisableexcept): Likewise.
49239 2012-11-30  Roland McGrath  <roland@hack.frob.com>
49241         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
49242         second, differently-typed declaration, rather than a cast.
49244 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49246         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
49247         * include/rpc/svc.h: ... here.
49249 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
49251         [BZ #13013]
49252         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
49253         depending n and resplen2 to catch cases where answer
49254         equals answerp2.
49256 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
49258         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
49259         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
49261 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
49263         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
49265 2012-11-29  Roland McGrath  <roland@hack.frob.com>
49267         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
49269 2012-11-28  Jeff Law  <law@redhat.com>
49271         [BZ #13761]
49272         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
49273         dataset_temporary.  Track alloca usage into alloca_used.
49274         If dataset is large allocate and release it via malloc/free.
49276 2012-06-04  Florian Weimer  <fweimer@redhat.com>
49278         [BZ #14197]
49279         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
49281 2012-11-28  David S. Miller  <davem@davemloft.net>
49283         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49285 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
49287         [BZ #14803]
49288         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
49289         of pi/2 rounded to nearest to 64 bits.
49290         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
49291         nearest to 64 bits.
49292         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
49293         bits.
49295 2012-11-28  Jeff Law <law@redhat.com>
49296             Martin Osvald <mosvald@redhat.com>
49298         [BZ #14889]
49299         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
49300         * sunrpc/svc.c: Include time.h.
49301         (__svc_accept_failed): New function.
49302         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
49303         any reason other than EINTR, call __svc_accept_failed.
49304         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
49305         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
49307 2012-11-28  Andreas Schwab  <schwab@suse.de>
49309         * scripts/abilist.awk: Also handle indirect functions in .opd
49310         section.
49312 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
49314         [BZ #13881]
49315         * sysdeps/x86/fpu/powl_helper.c: New file.
49316         * sysdeps/x86/fpu/Makefile: Likewise.
49317         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
49318         (p3): New object.
49319         (__ieee754_powl): Use __powl_helper for finite arguments except
49320         integer exponents below 8.
49321         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
49322         (p3): New object.
49323         (__ieee754_powl): Use __powl_helper for finite arguments except
49324         integer exponents below 8.
49325         * math/libm-test.inc (pow_test): Add more tests and enable some
49326         previously disabled tests.
49327         * sysdeps/i386/fpu/libm-test-ulps: Update.
49328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49330 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49331             Carlos O'Donell  <carlos_odonell@mentor.com>
49333         * nss/makedb.c (is_prime): Assert that input is odd and greater
49334         than 4.  Note that fact in a comment too.
49335         (next_prime): Add 4 to input.
49337 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49339         [BZ #11741]
49340         * libio/Makefile (tests): Add test case tst-fwrite-error.
49341         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
49342         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
49343         * libio/tst-fwrite-error.c: New test case.
49345 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
49347         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
49348         before casting to void *.
49349         * include/libc-internal.h (__pointer_type): New macro.
49350         (__integer_if_pointer_type_sub): Likewise.
49351         (__integer_if_pointer_type): Likewise.
49352         (cast_to_integer): Likewise.
49353         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
49354         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
49355         before casting to atomic64_t.
49356         (atomic_exchange_acq): Likewise.
49357         (__arch_exchange_and_add_body): Likewise.
49358         (__arch_add_body): Likewise.
49359         (atomic_add_negative): Likewise.
49360         (atomic_add_zero): Likewise.
49362 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
49364         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
49365         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
49366         (add_fdes): Likewise.
49367         (linear_search_fdes): Likewise.
49368         (binary_search_unencoded_fdes): Likewise.
49370 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
49372         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
49374 2012-11-24  Adam Conrad  <adconrad@0c3.net>
49376         * configure.in: Autodetect C++ header directories.
49377         * configure: Regenerated.
49379 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
49381         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
49383 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
49385         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49387 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
49389         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
49390         LDBL_MANT_DIG == 106]: Disable some tests.
49391         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
49392         Likewise.
49393         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
49394         Likewise.
49396         [BZ #14871]
49397         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
49398         input for small inputs.  Return +/- pi/2 for large inputs.
49399         * math/libm-test.inc (atan_test): Add more tests.
49401         * sysdeps/generic/unwind-dw2-fde-glibc.c
49402         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
49403         __attribute__ ((unused)).
49405         [BZ #14645]
49406         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
49407         x * y if x and y are nonzero and z is zero.
49409         [BZ #14811]
49410         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
49411         nonzero exponents with absolute value below 0x1p-117 to +/-
49412         0x1p-117.
49414         [BZ #14869]
49415         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
49416         up arguments below 2**-450, not just those below 2**-500.
49417         * math/libm-test.inc (hypot_test): Add another test.
49419         [BZ #14868]
49420         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
49421         Return a+b for ratio over 2**120, not 2**60.
49422         * math/libm-test.inc (hypot_test): Add another test.
49424         * math/libm-test.inc (clog_test): Use
49425         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
49426         (clog10_test): Likewise.
49428         [BZ #6778]
49429         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
49431 2012-11-22  Andreas Schwab  <schwab@suse.de>
49433         * sysdeps/i386/fpu/libm-test-ulps: Update.
49435 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
49437         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
49438         printf output with newline.
49440 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
49442         [BZ #14865]
49443         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
49444         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
49445         -z nodlopen, -z initfirst and -z execstack support.
49446         * configure: Regenerated.
49448         * elf/elf.h (DF_1_NODIRECT): New macro.
49449         (DF_1_IGNMULDEF): Likewise.
49450         (DF_1_NOKSYMS): Likewise.
49451         (DF_1_NOHDR): Likewise.
49452         (DF_1_EDITED): Likewise.
49453         (DF_1_NORELOC): Likewise.
49454         (DF_1_SYMINTPOSE): Likewise.
49455         (DF_1_GLOBAUDIT): Likewise.
49456         (DF_1_SINGLETON): Likewise.
49457         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
49458         DT_1_SUPPORTED_MASK bits.
49459         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
49461 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
49463         * sysdeps/unix/make-syscalls.sh: Document prefixes.
49465 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
49467         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
49468         macro.
49470         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
49471         (sendmmsg): Move declarations...
49472         * socket/sys/socket.h: ... here.
49473         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
49474         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
49475         include it from...
49476         * socket/recvmmsg.c: ... this new file.
49477         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
49478         (sendmmsg): Rename to __sendmmsg, create weak alias and make
49479         definition of __sendmmsg hidden.
49480         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
49481         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
49482         Move ENOSYS stub into and include it from...
49483         * socket/sendmmsg.c: ... this new file.
49484         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
49485         (sysdep_routines): Move recvmmsg and sendmmsg...
49486         * socket/Makefile (routines): ... here.
49487         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
49488         (GLIBC_PRIVATE): Add __sendmmsg.
49489         * include/sys/socket.h (__sendmmsg): Add declarations.
49490         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
49491         sendmmsg.
49493 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
49495         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
49496         variable I1 with __attribute__ ((unused)).
49497         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
49499 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
49501         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
49502         DUMMY variables with __attribute__ ((unused)).
49504         * bits/byteswap.h: Include <bits/types.h>.
49505         (__bswap_64): Use __uint64_t instead of unsigned long long int.
49507 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
49509         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
49510         string_t.  Do not manually set errno.
49511         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
49512         length with __strnlen.  Make sure to both set errno and return it on
49513         failure.
49515 2012-11-19  David S. Miller  <davem@davemloft.net>
49517         With help from Joseph Myers.
49518         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
49519         very large arguments properly.
49520         * math/libm-test.inc (atan_test): New tests.
49521         (atan2_test): New tests.
49522         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49523         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49525 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
49527         [BZ #14856]
49528         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
49529         Define to 3.
49531         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
49532         [POSIX] (EADDRNOTAVAIL): Likewise.
49533         [POSIX] (EAFNOSUPPORT): Likewise.
49534         [POSIX] (EALREADY): Likewise.
49535         [POSIX] (ECONNABORTED): Likewise.
49536         [POSIX] (ECONNREFUSED): Likewise.
49537         [POSIX] (ECONNRESET): Likewise.
49538         [POSIX] (EDESTADDRREQ): Likewise.
49539         [POSIX] (EDQUOT): Likewise.
49540         [POSIX] (EHOSTUNREACH): Likewise.
49541         [POSIX] (EIDRM): Likewise.
49542         [POSIX] (EISCONN): Likewise.
49543         [POSIX] (ELOOP): Likewise.
49544         [POSIX] (EMULTIHOP): Likewise.
49545         [POSIX] (ENETDOWN): Likewise.
49546         [POSIX] (ENETUNREACH): Likewise.
49547         [POSIX] (ENOBUFS): Likewise.
49548         [POSIX] (ENODATA): Likewise.
49549         [POSIX] (ENOLINK): Likewise.
49550         [POSIX] (ENOMSG): Likewise.
49551         [POSIX] (ENOPROTOOPT): Likewise.
49552         [POSIX] (ENOSR): Likewise.
49553         [POSIX] (ENOSTR): Likewise.
49554         [POSIX] (ENOTCONN): Likewise.
49555         [POSIX] (ENOTSOCK): Likewise.
49556         [POSIX] (EOPNOTSUPP): Likewise.
49557         [POSIX] (EOVERFLOW): Likewise.
49558         [POSIX] (EPROTO): Likewise.
49559         [POSIX] (EPROTONOSUPPORT): Likewise.
49560         [POSIX] (EPROTOTYPE): Likewise.
49561         [POSIX] (ESTALE): Likewise.
49562         [POSIX] (ETIME): Likewise.
49563         [POSIX] (ETXTBSY): Likewise.
49564         [POSIX] (EWOULDBLOCK): Likewise.
49565         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
49566         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
49567         [POSIX] (SEEK_CUR): Likewise.
49568         [POSIX] (SEEK_END): Likewise.
49569         [POSIX || UNIX98] (mode_t): Do not require.
49570         [POSIX] (off_t): Likewise.
49571         [POSIX] (pid_t): Likewise.
49572         [POSIX] (sys/stat.h): Do not allow header.
49573         [POSIX] (unistd.h): Likewise.
49574         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
49575         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
49576         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
49577         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
49578         require.
49579         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
49580         sigevent): Specify elements.
49581         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
49582         entry.
49583         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
49584         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
49586         * conform/data/cpio.h-data [POSIX]: Disable whole file.
49587         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
49588         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
49589         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
49590         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
49591         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
49592         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
49593         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
49594         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
49595         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
49596         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
49597         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
49598         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
49599         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
49600         Likewise.
49601         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
49602         Likewise.
49603         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
49604         Likewise.
49605         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
49606         Likewise.
49607         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
49608         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
49609         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
49610         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
49611         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
49612         Specify lower bound on value.
49613         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
49614         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
49615         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
49616         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
49617         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
49618         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
49619         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
49620         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
49621         value.
49622         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
49623         as optional.
49624         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
49625         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
49626         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
49627         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
49628         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
49629         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
49630         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
49631         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
49632         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
49633         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
49634         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
49635         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
49636         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
49637         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
49638         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
49639         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
49640         entry.
49641         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
49642         optional.
49643         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
49644         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
49645         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
49646         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
49647         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
49648         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
49649         Likewise.
49650         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
49651         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
49652         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
49653         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
49654         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
49655         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
49656         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
49657         as optional.
49658         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
49659         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
49660         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
49661         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
49662         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
49663         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
49664         specify as optional.
49665         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
49666         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
49667         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
49668         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
49669         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
49670         [XPG3] (NL_LANGMAX): Likewise.
49671         [POSIX || XPG3] (NL_MSGMAX): Likewise.
49672         [POSIX || XPG3] (NL_NMAX): Likewise.
49673         [POSIX || XPG3] (NL_SETMAX): Likewise.
49674         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
49675         [XPG3] (NZERO): Likewise.
49676         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
49677         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
49678         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
49679         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
49680         (REG_ERANGE): Expect.
49681         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
49682         optional-constant.
49683         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
49684         Use (void) in prototype.
49685         [POSIX] (*_t): Allow.
49686         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
49687         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
49688         (WRDE_BADVAL): Expect.
49690         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
49691         expect.
49692         [XPG3 || XPG4] (O_RSYNC): Likewise.
49693         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
49694         Likewise.
49695         [XPG3 || XPG4] (pthread_sigmask): Likewise.
49696         [XPG3 || XPG4] (sigqueue): Likewise.
49697         [XPG3 || XPG4] (sigtimedwait): Likewise.
49698         [XPG3 || XPG4] (sigwaitinfo): Likewise.
49699         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
49700         [XPG3 || XPG4] (vsnprintf): Likewise.
49701         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
49702         Likewise.
49703         [XPG3 || XPG4] (blksize_t): Likewise.
49704         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
49705         Likewise.
49706         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
49707         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
49708         [XPG3 || XPG4] (struct itimerspec): Likewise.
49709         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
49710         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
49711         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
49712         [XPG3 || XPG4] (clockid_t): Likewise.
49713         [XPG3 || XPG4] (timer_t): Likewise.
49714         [XPG3 || XPG4] (clock_getres): Likewise.
49715         [XPG3 || XPG4] (clock_gettime): Likewise.
49716         [XPG3 || XPG4] (clock_settime): Likewise.
49717         [XPG3 || XPG4] (nanosleep): Likewise.
49718         [XPG3 || XPG4] (timer_create): Likewise.
49719         [XPG3 || XPG4] (timer_delete): Likewise.
49720         [XPG3 || XPG4] (timer_gettime): Likewise.
49721         [XPG3 || XPG4] (timer_getoverrun): Likewise.
49722         [XPG3 || XPG4] (timer_settime): Likewise.
49723         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
49724         [XPG3 || XPG4] (getlogin_r): Likewise.
49725         [XPG3 || XPG4] (pread): Likewise.
49726         [XPG3 || XPG4] (pthread_atfork): Likewise.
49727         [XPG3 || XPG4] (pwrite): Likewise.
49729         [BZ #14835]
49730         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
49731         <bits/siginfo.h>.
49733 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
49735         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
49736         finalizing MALLSTREAM.
49738         * sysdeps/mach/hurd/syncfs.c: New file.
49740 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
49742         [BZ #14719]
49743         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
49744         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
49745         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
49746         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
49747         (_nss_dns_gethostbyname4_r): Likewise.
49748         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
49749         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
49751 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
49753         [BZ #13763]
49754         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
49756 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
49758         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
49759         * elf/cache.c (print_entry): Print ",AArch64" for
49760         FLAG_AARCH64_LIB64
49762         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
49763         * elf/cache.c (print_entry): Print ",hard-float" for
49764         FLAG_ARM_LIBHF.
49766 2012-11-18  David S. Miller  <davem@davemloft.net>
49768         With help from Joseph Myers.
49769         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
49770         cutoff to 2**-13.
49771         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
49772         cutoff to 2**-25.
49773         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
49774         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
49775         small.
49776         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
49777         * math/libm-test.inc (y0_test): New tests.
49778         (y1_test): New tests.
49779         * sysdeps/i386/fpu/libm-test-ulps: Update.
49780         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49781         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49783 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
49785         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
49786         64-bit targets.
49787         * configure: Regenerated.
49789 2012-11-17  David S. Miller  <davem@davemloft.net>
49791         [BZ #14811]
49792         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
49793         nonzero exponents with absolute value below 0x1p-128 to +/-
49794         0x1p-128.
49796 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
49798         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
49800         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
49802         * posix/getconf-speclist.c: New file.
49803         * posix/posix-envs.def: Likewise.
49804         * posix/confstr.c (START_ENV_GROUP): New macro.
49805         (END_ENV_GROUP): Likewise.
49806         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
49807         (KNOWN_PRESENT_ENV_STRING): Likewise.
49808         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
49809         (UNKNOWN_ENVIRONMENT): Likewise.
49810         (confstr): Include posix-envs.def instead of handling
49811         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
49812         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
49813         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
49814         (END_ENV_GROUP): Likewise.
49815         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
49816         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
49817         (UNKNOWN_ENVIRONMENT): Likewise.
49818         (__sysconf): Include posix-envs.def instead of handling associated
49819         cases directly here.
49820         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
49821         preprocessing getconf-speclist.c rather than running getconf or
49822         generating empty file.
49824 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
49826         * scripts/check-local-headers.sh: Ignore 'mach' headers.
49828 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
49830         [BZ #14672]
49831         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
49833 2012-11-16  David S. Miller  <davem@davemloft.net>
49835         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
49836         smaller than LDBL_EPSILON/2.0L, just return xm1.
49838 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
49840         * elf/tst-array1.c (init): Set constructor priority to 1000.
49841         (fini): Set destructor priority to 1000.
49842         * elf/tst-array2dep.c: Likewise.
49844 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
49846         [BZ #11741]
49847         * libio/fileops.c (_IO_new_file_write): Correctly return error.
49848         (_IO_new_file_xsputn): Also return EOF if none of the input
49849         data was written when overflow failed.
49850         * libio/iopadn.c (_IO_padn): Likewise.
49851         * libio/iowpadn.c (_IO_wpadn): Likewise.
49852         * stdio-common/tst-put-error.c: Add copyright notice.
49853         (do_test): Add case for printing padded string.
49854         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
49855         _IO_padn returned error.
49856         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
49857         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
49858         return EOF.
49860 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
49862         * libio/libioP.h: Add comment note that the references to C++
49863         bits are now obsolete.
49865 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49867         * math/libm-test.inc (check_complex): Use asprintf.
49869 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
49871         * debug/pcprofiledump.c (print_version): Update copyright year.
49872         * malloc/memusagestat.c (print_version): Likewise.
49874 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
49876         [BZ #14831]
49877         * elf/Makefile (tests): Add tst-audit8.
49878         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
49879         ($(objpfx)tst-audit8.out): New target.
49880         (tst-audit8-ENV): New variable.
49881         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
49882         audit if l_reloc_result is NULL.
49883         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
49884         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
49885         * elf/tst-audit8.c: New file.
49887 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49889         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
49890         * misc/Makefile (CFLAGS-select.c): Define.
49891         * posix/Makefile (CFLAGS-pause.c): Define.
49893 2012-11-13  David S. Miller  <davem@davemloft.net>
49895         * crypt/Makefile: Move test targets after toplevel Rules
49896         inclusion.  Grab any necessary sysdep routines when linking.
49897         * crypt/md5.c (md5_process_block): Remove define, we will always
49898         name it __md5_process_block.
49899         (md5_finish_ctx): Update md5_process_block call.
49900         (md5_stream): Likewise.
49901         (md5_process_bytes): Likewise.
49902         (md5_process_block): Rename to __md5_process_block and move to ...
49903         * crypt/md5-block.c: ... here.
49904         * crypt/sha256.c (sha256_process_block): Move to ...
49905         * crypt/sha256-block.c: ... here.
49906         * crypt/sha512.c (sha512_process_block): Move to ...
49907         * crypt/sha512-block.c: ... here.
49908         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
49909         path.
49910         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
49911         * sysdeps/sparc/sparc64/multiarch/Makefile
49912         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
49913         crypt subdir.
49914         (localedef-aux): Add md5 crypto assembler when in locale subdir.
49915         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
49916         multiarch changes.
49917         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
49918         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
49919         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
49920         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
49921         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
49922         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
49923         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
49924         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
49925         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
49926         file.
49927         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
49928         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
49929         file.
49930         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
49932 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
49934         * timezone/tzselect.ksh: Update from tzcode git revision
49935         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
49936         * timezone/zdump.c: Likewise.
49937         * timezone/zic.c: Likewise.
49938         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
49939         in TZVERSION setting, not $(PKGVERSION).
49940         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
49941         REPORT_BUGS_TO settings.
49943         [BZ #14838]
49944         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
49945         macro.
49947 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49949         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
49950         detection to immediately after _FP_ROUND().
49951         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
49952         bits are 0.
49954 2012-11-11  David S. Miller  <davem@davemloft.net>
49956         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
49957         inttypes.h
49958         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
49959         __close rather than their public counterparts.
49961 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
49963         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
49964         file.
49965         [UNIX98] (sem_timedwait): Do not expect.
49966         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
49967         [XPG4 || UNIX98] (sockatmark): Do not expect.
49968         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
49969         (clock_getcpuclockid): Do not expect.
49970         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
49971         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
49972         Do not expect.
49973         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
49974         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
49975         [UNIX98] (vwscanf): Likewise.
49976         [UNIX98] (vswscanf): Likewise.
49978 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
49980         * timezone/version.h: Remove file.
49981         * timezone/README: Do not refer to version.h.
49982         * timezone/Makefile ($(objpfx)zic.o): New dependency on
49983         $(objpfx)version.h.
49984         ($(objpfx)zdump.o): Likewise.
49985         ($(objpfx)version.h): New target.
49987         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
49988         2012i.
49989         * timezone/README: Don't mention modification to tzselect.ksh.
49990         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
49991         work on unmodified tzselect.ksh.  Substitute version numbers in
49992         tzselect.ksh.
49994         * Makefile (format-me): Remove.
49995         (INSTALL): Adjust indentation.  Use commands directly instead of
49996         using $(format-me).
49998         * aclocal.m4 (ACX_PKGVERSION): New macro.
49999         (ACX_BUGURL): Likewise.
50000         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
50001         (PKGVERSION): New AC_DEFINE_UNQUOTED.
50002         (REPORT_BUGS_TO): Likewise.
50003         * configure: Regenerated.
50004         * config.h.in (PKGVERSION): New macro.
50005         (REPORT_BUGS_TO): Likewise.
50006         * config.make.in (PKGVERSION): New variable.
50007         (PKGVERSION_TEXI): Likewise.
50008         (REPORT_BUGS_TO): Likewise.
50009         (REPORT_BUGS_TEXI): Likewise.
50010         * Makefile (format-me): Use -I$(common-objpfx)manual.
50011         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
50012         ($(common-objpfx)manual/%): New target.
50013         (manual/%): Remove target.
50014         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
50015         (print_version): Use PKGVERSION.
50016         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
50017         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
50018         and REPORT_BUGS_TO.
50019         ($(objpfx)xtrace): Likewise.
50020         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
50021         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
50022         (print_version): Use PKGVERSION.
50023         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
50024         (do_version): Use PKGVERSION.
50025         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
50026         REPORT_BUGS_TO.
50027         (common-ldd-rewrite): Likewise.
50028         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
50029         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
50030         (print_version): Use PKGVERSION.
50031         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
50032         * elf/pldd.c (argp_program_bug_address): Remove variable.
50033         (more_help): New function.
50034         (argp): Use more_help.
50035         (print_version): Use PKGVERSION.
50036         * elf/sln.c (main): Use PKGVERSION.
50037         (usage): Use REPORT_BUGS_TO.
50038         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
50039         (top level): Use PKGVERSION.
50040         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
50041         (print_version): Use PKGVERSION.
50042         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
50043         (print_version): Use PKGVERSION.
50044         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
50045         (print_version): Use PKGVERSION.
50046         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
50047         (print_version): Use PKGVERSION.
50048         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
50049         (print_version): Use PKGVERSION.
50050         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
50051         (print_version): Use PKGVERSION.
50052         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
50053         and BUGURL.
50054         ($(objpfx)memusage): Likewise.
50055         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
50056         (do_version): Use PKGVERSION.
50057         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
50058         (print_version): Use PKGVERSION.
50059         * malloc/mtrace.pl ($PACKAGE): Remove variable.
50060         ($PKGVERSION): New variable.
50061         ($REPORT_BUGS_TO): Likewise.
50062         (usage): Use $REPORT_BUGS_TO.
50063         (top level): Use $PKGVERSION.
50064         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
50065         ($(objpfx)pkgvers.texi): New rule.
50066         ($(objpfx)stamp-pkgvers): Likewise.
50067         * manual/install.texi: Include pkgvers.texi.
50068         (--with-pkgversion): Document new configure option.
50069         (--with-bugurl): Likewise.
50070         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
50071         than necessarily for this particular distribution.  Use
50072         REPORT_BUGS_TO for where to report bugs.
50073         * INSTALL: Regenerated.
50074         * manual/libc.texinfo: Include pkgvers.texi.
50075         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
50076         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
50077         (print_version): Use PKGVERSION.
50078         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
50079         (print_version): Use PKGVERSION.
50080         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
50081         (print_version): Use PKGVERSION.
50082         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
50083         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
50084         macro.
50085         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
50086         (print_version): Use PKGVERSION.
50087         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
50088         (print_version): Use PKGVERSION.
50089         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
50090         and PKGVERSION.
50092         * timezone/checktab.awk: Update from tzcode 2012i.
50093         * timezone/ialloc.c: Likewise.
50094         * timezone/private.h: Likewise.
50095         * timezone/scheck.c: Likewise.
50096         * timezone/tzfile.h: Likewise.
50097         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
50098         (TZVERSION): Hardcode tzcode version number.
50099         * timezone/zdump.c: Update from tzcode 2012i.
50100         * timezone/zic.c: Likewise.
50101         * timezone/version.h: New file.
50102         * timezone/README: Describe version.h.  Update upstream location.
50104         [BZ #14824]
50105         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
50106         (mktemp): Enable declaration.
50107         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
50108         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
50109         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
50110         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
50111         Likewise.
50112         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
50113         Likewise.
50114         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
50115         Likewise.
50116         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
50117         Likewise.
50118         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
50119         Likewise.
50120         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
50121         Likewise.
50123         [BZ #14821]
50124         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
50125         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
50126         for copies of such integer values.
50127         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
50128         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
50130 2012-11-09  Andreas Jaeger  <aj@suse.de>
50132         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
50133         definitions and declarations that are provided by
50134         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
50136 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50138         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
50139         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
50140         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
50141         definition.
50143 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50145         * elf/elf.h: Update comment before AArch64 relocations.
50147 2012-11-07  David S. Miller  <davem@davemloft.net>
50149         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
50150         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
50151         (__start_context): Declare.
50152         (__makecontext_ret): Delete.
50153         (__makecontext): Hook up __start_context instead of
50154         __makecontext_ret.
50155         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
50156         (sysdep_routines): Add __start_context when in stdlib.
50158 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
50160         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
50161         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
50162         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
50163         hardcoded "nm".
50164         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
50165         (READELF): New variable.  Use it instead of hardcoded "readelf".
50167 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
50169         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
50170         * sysdeps/x86/Makefile: Here.
50171         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
50172         * sysdeps/x86/tst-xmmymm.sh: This.
50174 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
50176         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
50177         expectations.
50178         [UNIX98] (pthread_barrier_t): Do not expect.
50179         [UNIX98] (pthread_barrierattr_t): Likewise.
50180         [UNIX98] (pthread_spinlock_t): Likewise.
50181         [UNIX98] (pthread_barrier_destroy): Likewise.
50182         [UNIX98] (pthread_barrier_init): Likewise.
50183         [UNIX98] (pthread_barrier_wait): Likewise.
50184         [UNIX98] (pthread_barrierattr_destroy): Likewise.
50185         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
50186         [UNIX98] (pthread_barrierattr_init): Likewise.
50187         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
50188         [UNIX98] (pthread_getcpuclockid): Likewise.
50189         [UNIX98] (pthread_mutex_timedlock): Likewise.
50190         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
50191         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
50192         [UNIX98] (pthread_sigmask): Likewise.
50193         [UNIX98] (pthread_spin_destroy): Likewise.
50194         [UNIX98] (pthread_spin_init): Likewise.
50195         [UNIX98] (pthread_spin_lock): Likewise.
50196         [UNIX98] (pthread_spin_trylock): Likewise.
50197         [UNIX98] (pthread_spin_unlock): Likewise.
50198         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
50199         Do not expect.
50200         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
50201         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
50202         [XPG3 || XPG4] (pthread_cond_t): Likewise.
50203         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
50204         [XPG3 || XPG4] (pthread_key_t): Likewise.
50205         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
50206         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
50207         [XPG3 || XPG4] (pthread_once_t): Likewise.
50208         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
50209         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
50210         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
50211         [XPG3 || XPG4] (pthread_t): Likewise.
50213         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
50214         not expect.
50215         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
50217         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
50218         Change function return type to int.
50220         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
50221         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
50222         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
50223         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
50224         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
50225         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
50226         [!POSIX] (posix_madvise): Likewise.
50227         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
50228         && !UNIX98].
50229         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
50230         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
50231         (mode_t): Likewise.
50232         (posix_mem_offset): Likewise.
50233         (posix_typed_mem_get_info): Likewise.
50234         (posix_typed_mem_open): Likewise.
50236         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
50237         Change condition to [XOPEN2K8].
50239         * conform/conformtest.pl: Preprocess allow-header data with -x c
50240         instead of from stdin.
50241         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
50242         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
50243         [C99-based standards] (cerfc): Likewise.
50244         [C99-based standards] (cexp2): Likewise.
50245         [C99-based standards] (cexpm1): Likewise.
50246         [C99-based standards] (clog10): Likewise.
50247         [C99-based standards] (clog1p): Likewise.
50248         [C99-based standards] (clog2): Likewise.
50249         [C99-based standards] (clgamma): Likewise.
50250         [C99-based standards] (ctgamma): Likewise.
50251         [C99-based standards] (cerff): Likewise.
50252         [C99-based standards] (cerfcf): Likewise.
50253         [C99-based standards] (cexp2f): Likewise.
50254         [C99-based standards] (cexpm1f): Likewise.
50255         [C99-based standards] (clog10f): Likewise.
50256         [C99-based standards] (clog1pf): Likewise.
50257         [C99-based standards] (clog2f): Likewise.
50258         [C99-based standards] (clgammaf): Likewise.
50259         [C99-based standards] (ctgammaf): Likewise.
50260         [C99-based standards] (cerfl): Likewise.
50261         [C99-based standards] (cerfcl): Likewise.
50262         [C99-based standards] (cexp2l): Likewise.
50263         [C99-based standards] (cexpm1l): Likewise.
50264         [C99-based standards] (clog10l): Likewise.
50265         [C99-based standards] (clog1pl): Likewise.
50266         [C99-based standards] (clog2l): Likewise.
50267         [C99-based standards] (clgammal): Likewise.
50268         [C99-based standards] (ctgammal): Likewise.
50269         * conform/data/inttypes.h-data [C99-based standards]: Include
50270         stdint.h-data.  Remove all expectations for stdint.h contents.
50271         [C99-based standards] (PRI*): Do not allow.
50272         [C99-based standards] (SCN*): Likewise.
50273         [C99-based standards] (*_t): Likewise.
50274         [C99-based-standards] (PRId8): Expect macro.
50275         [C99-based-standards] (PRIi8): Likewise.
50276         [C99-based-standards] (PRIo8): Likewise.
50277         [C99-based-standards] (PRIu8): Likewise.
50278         [C99-based-standards] (PRIx8): Likewise.
50279         [C99-based-standards] (PRIX8): Likewise.
50280         [C99-based-standards] (SCNd8): Likewise.
50281         [C99-based-standards] (SCNi8): Likewise.
50282         [C99-based-standards] (SCNo8): Likewise.
50283         [C99-based-standards] (SCNu8): Likewise.
50284         [C99-based-standards] (SCNx8): Likewise.
50285         [C99-based-standards] (PRIdLEAST8): Likewise.
50286         [C99-based-standards] (PRIiLEAST8): Likewise.
50287         [C99-based-standards] (PRIoLEAST8): Likewise.
50288         [C99-based-standards] (PRIuLEAST8): Likewise.
50289         [C99-based-standards] (PRIxLEAST8): Likewise.
50290         [C99-based-standards] (PRIXLEAST8): Likewise.
50291         [C99-based-standards] (SCNdLEAST8): Likewise.
50292         [C99-based-standards] (SCNiLEAST8): Likewise.
50293         [C99-based-standards] (SCNoLEAST8): Likewise.
50294         [C99-based-standards] (SCNuLEAST8): Likewise.
50295         [C99-based-standards] (SCNxLEAST8): Likewise.
50296         [C99-based-standards] (PRIdFAST8): Likewise.
50297         [C99-based-standards] (PRIiFAST8): Likewise.
50298         [C99-based-standards] (PRIoFAST8): Likewise.
50299         [C99-based-standards] (PRIuFAST8): Likewise.
50300         [C99-based-standards] (PRIxFAST8): Likewise.
50301         [C99-based-standards] (PRIXFAST8): Likewise.
50302         [C99-based-standards] (SCNdFAST8): Likewise.
50303         [C99-based-standards] (SCNiFAST8): Likewise.
50304         [C99-based-standards] (SCNoFAST8): Likewise.
50305         [C99-based-standards] (SCNuFAST8): Likewise.
50306         [C99-based-standards] (SCNxFAST8): Likewise.
50307         [C99-based-standards] (PRId16): Likewise.
50308         [C99-based-standards] (PRIi16): Likewise.
50309         [C99-based-standards] (PRIo16): Likewise.
50310         [C99-based-standards] (PRIu16): Likewise.
50311         [C99-based-standards] (PRIx16): Likewise.
50312         [C99-based-standards] (PRIX16): Likewise.
50313         [C99-based-standards] (SCNd16): Likewise.
50314         [C99-based-standards] (SCNi16): Likewise.
50315         [C99-based-standards] (SCNo16): Likewise.
50316         [C99-based-standards] (SCNu16): Likewise.
50317         [C99-based-standards] (SCNx16): Likewise.
50318         [C99-based-standards] (PRIdLEAST16): Likewise.
50319         [C99-based-standards] (PRIiLEAST16): Likewise.
50320         [C99-based-standards] (PRIoLEAST16): Likewise.
50321         [C99-based-standards] (PRIuLEAST16): Likewise.
50322         [C99-based-standards] (PRIxLEAST16): Likewise.
50323         [C99-based-standards] (PRIXLEAST16): Likewise.
50324         [C99-based-standards] (SCNdLEAST16): Likewise.
50325         [C99-based-standards] (SCNiLEAST16): Likewise.
50326         [C99-based-standards] (SCNoLEAST16): Likewise.
50327         [C99-based-standards] (SCNuLEAST16): Likewise.
50328         [C99-based-standards] (SCNxLEAST16): Likewise.
50329         [C99-based-standards] (PRIdFAST16): Likewise.
50330         [C99-based-standards] (PRIiFAST16): Likewise.
50331         [C99-based-standards] (PRIoFAST16): Likewise.
50332         [C99-based-standards] (PRIuFAST16): Likewise.
50333         [C99-based-standards] (PRIxFAST16): Likewise.
50334         [C99-based-standards] (PRIXFAST16): Likewise.
50335         [C99-based-standards] (SCNdFAST16): Likewise.
50336         [C99-based-standards] (SCNiFAST16): Likewise.
50337         [C99-based-standards] (SCNoFAST16): Likewise.
50338         [C99-based-standards] (SCNuFAST16): Likewise.
50339         [C99-based-standards] (SCNxFAST16): Likewise.
50340         [C99-based-standards] (PRId32): Likewise.
50341         [C99-based-standards] (PRIi32): Likewise.
50342         [C99-based-standards] (PRIo32): Likewise.
50343         [C99-based-standards] (PRIu32): Likewise.
50344         [C99-based-standards] (PRIx32): Likewise.
50345         [C99-based-standards] (PRIX32): Likewise.
50346         [C99-based-standards] (SCNd32): Likewise.
50347         [C99-based-standards] (SCNi32): Likewise.
50348         [C99-based-standards] (SCNo32): Likewise.
50349         [C99-based-standards] (SCNu32): Likewise.
50350         [C99-based-standards] (SCNx32): Likewise.
50351         [C99-based-standards] (PRIdLEAST32): Likewise.
50352         [C99-based-standards] (PRIiLEAST32): Likewise.
50353         [C99-based-standards] (PRIoLEAST32): Likewise.
50354         [C99-based-standards] (PRIuLEAST32): Likewise.
50355         [C99-based-standards] (PRIxLEAST32): Likewise.
50356         [C99-based-standards] (PRIXLEAST32): Likewise.
50357         [C99-based-standards] (SCNdLEAST32): Likewise.
50358         [C99-based-standards] (SCNiLEAST32): Likewise.
50359         [C99-based-standards] (SCNoLEAST32): Likewise.
50360         [C99-based-standards] (SCNuLEAST32): Likewise.
50361         [C99-based-standards] (SCNxLEAST32): Likewise.
50362         [C99-based-standards] (PRIdFAST32): Likewise.
50363         [C99-based-standards] (PRIiFAST32): Likewise.
50364         [C99-based-standards] (PRIoFAST32): Likewise.
50365         [C99-based-standards] (PRIuFAST32): Likewise.
50366         [C99-based-standards] (PRIxFAST32): Likewise.
50367         [C99-based-standards] (PRIXFAST32): Likewise.
50368         [C99-based-standards] (SCNdFAST32): Likewise.
50369         [C99-based-standards] (SCNiFAST32): Likewise.
50370         [C99-based-standards] (SCNoFAST32): Likewise.
50371         [C99-based-standards] (SCNuFAST32): Likewise.
50372         [C99-based-standards] (SCNxFAST32): Likewise.
50373         [C99-based-standards] (PRId64): Likewise.
50374         [C99-based-standards] (PRIi64): Likewise.
50375         [C99-based-standards] (PRIo64): Likewise.
50376         [C99-based-standards] (PRIu64): Likewise.
50377         [C99-based-standards] (PRIx64): Likewise.
50378         [C99-based-standards] (PRIX64): Likewise.
50379         [C99-based-standards] (SCNd64): Likewise.
50380         [C99-based-standards] (SCNi64): Likewise.
50381         [C99-based-standards] (SCNo64): Likewise.
50382         [C99-based-standards] (SCNu64): Likewise.
50383         [C99-based-standards] (SCNx64): Likewise.
50384         [C99-based-standards] (PRIdLEAST64): Likewise.
50385         [C99-based-standards] (PRIiLEAST64): Likewise.
50386         [C99-based-standards] (PRIoLEAST64): Likewise.
50387         [C99-based-standards] (PRIuLEAST64): Likewise.
50388         [C99-based-standards] (PRIxLEAST64): Likewise.
50389         [C99-based-standards] (PRIXLEAST64): Likewise.
50390         [C99-based-standards] (SCNdLEAST64): Likewise.
50391         [C99-based-standards] (SCNiLEAST64): Likewise.
50392         [C99-based-standards] (SCNoLEAST64): Likewise.
50393         [C99-based-standards] (SCNuLEAST64): Likewise.
50394         [C99-based-standards] (SCNxLEAST64): Likewise.
50395         [C99-based-standards] (PRIdFAST64): Likewise.
50396         [C99-based-standards] (PRIiFAST64): Likewise.
50397         [C99-based-standards] (PRIoFAST64): Likewise.
50398         [C99-based-standards] (PRIuFAST64): Likewise.
50399         [C99-based-standards] (PRIxFAST64): Likewise.
50400         [C99-based-standards] (PRIXFAST64): Likewise.
50401         [C99-based-standards] (SCNdFAST64): Likewise.
50402         [C99-based-standards] (SCNiFAST64): Likewise.
50403         [C99-based-standards] (SCNoFAST64): Likewise.
50404         [C99-based-standards] (SCNuFAST64): Likewise.
50405         [C99-based-standards] (SCNxFAST64): Likewise.
50406         [C99-based-standards] (PRIdMAX): Likewise.
50407         [C99-based-standards] (PRIiMAX): Likewise.
50408         [C99-based-standards] (PRIoMAX): Likewise.
50409         [C99-based-standards] (PRIuMAX): Likewise.
50410         [C99-based-standards] (PRIxMAX): Likewise.
50411         [C99-based-standards] (PRIXMAX): Likewise.
50412         [C99-based-standards] (SCNdMAX): Likewise.
50413         [C99-based-standards] (SCNiMAX): Likewise.
50414         [C99-based-standards] (SCNoMAX): Likewise.
50415         [C99-based-standards] (SCNuMAX): Likewise.
50416         [C99-based-standards] (SCNxMAX): Likewise.
50417         [C99-based-standards] (PRIdPTR): Likewise.
50418         [C99-based-standards] (PRIiPTR): Likewise.
50419         [C99-based-standards] (PRIoPTR): Likewise.
50420         [C99-based-standards] (PRIuPTR): Likewise.
50421         [C99-based-standards] (PRIxPTR): Likewise.
50422         [C99-based-standards] (PRIXPTR): Likewise.
50423         [C99-based-standards] (SCNdPTR): Likewise.
50424         [C99-based-standards] (SCNiPTR): Likewise.
50425         [C99-based-standards] (SCNoPTR): Likewise.
50426         [C99-based-standards] (SCNuPTR): Likewise.
50427         [C99-based-standards] (SCNxPTR): Likewise.
50428         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
50429         allow.
50430         * conform/data/stdint.h-data: Update comments to clarify
50431         requirements.
50432         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
50433         type.
50434         [C99-based standards] (INT8_MAX): Likewise.
50435         [C99-based standards] (INT16_MIN): Likewise.
50436         [C99-based standards] (INT16_MAX): Likewise.
50437         [C99-based standards] (INT32_MIN): Likewise.
50438         [C99-based standards] (INT32_MAX): Likewise.
50439         [C99-based standards] (INT64_MIN): Likewise.
50440         [C99-based standards] (INT64_MAX): Likewise.
50441         [C99-based standards] (UINT8_MAX): Likewise.
50442         [C99-based standards] (UINT16_MAX): Likewise.
50443         [C99-based standards] (UINT32_MAX): Likewise.
50444         [C99-based standards] (UINT64_MAX): Likewise.
50445         [C99-based standards] (INT_LEAST8_MIN): Likewise.
50446         [C99-based standards] (INT_LEAST8_MAX): Likewise.
50447         [C99-based standards] (INT_LEAST16_MIN): Likewise.
50448         [C99-based standards] (INT_LEAST16_MAX): Likewise.
50449         [C99-based standards] (INT_LEAST32_MIN): Likewise.
50450         [C99-based standards] (INT_LEAST32_MAX): Likewise.
50451         [C99-based standards] (INT_LEAST64_MIN): Likewise.
50452         [C99-based standards] (INT_LEAST64_MAX): Likewise.
50453         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
50454         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
50455         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
50456         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
50457         [C99-based standards] (INT_FAST8_MIN): Likewise.
50458         [C99-based standards] (INT_FAST8_MAX): Likewise.
50459         [C99-based standards] (INT_FAST16_MIN): Likewise.
50460         [C99-based standards] (INT_FAST16_MAX): Likewise.
50461         [C99-based standards] (INT_FAST32_MIN): Likewise.
50462         [C99-based standards] (INT_FAST32_MAX): Likewise.
50463         [C99-based standards] (INT_FAST64_MIN): Likewise.
50464         [C99-based standards] (INT_FAST64_MAX): Likewise.
50465         [C99-based standards] (UINT_FAST8_MAX): Likewise.
50466         [C99-based standards] (UINT_FAST16_MAX): Likewise.
50467         [C99-based standards] (UINT_FAST32_MAX): Likewise.
50468         [C99-based standards] (UINT_FAST64_MAX): Likewise.
50469         [C99-based standards] (INTPTR_MIN): Likewise.
50470         [C99-based standards] (INTPTR_MAX): Likewise.
50471         [C99-based standards] (UINTPTR_MAX): Likewise.
50472         [C99-based standards] (INTMAX_MIN): Likewise.
50473         [C99-based standards] (INTMAX_MAX): Likewise.
50474         [C99-based standards] (UINTMAX_MAX): Likewise.
50475         [C99-based standards] (PTRDIFF_MIN): Likewise.
50476         [C99-based standards] (PTRDIFF_MAX): Likewise.
50477         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
50478         [C99-based standards] (SIZE_MAX): Likewise.
50479         [C99-based standards] (WCHAR_MAX): Likewise.
50480         [C99-based standards] (WINT_MAX): Likewise.
50481         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
50482         constraint on value.
50483         [C99-based standards] (WCHAR_MIN): Likewise.
50484         [C99-based standards] (WINT_MIN): Likewise.
50485         [C99-based standards] (*_t): Allow.
50486         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
50487         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
50488         Include math.h-data and complex.h-data.  Remove all expectations
50489         of math.h and complex.h contents.
50490         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
50491         at end of line.
50492         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
50493         (struct tm): Expect tag.
50494         [C99-based-standards] (wcstof): Expect function.
50495         [C99-based-standards] (wcstold): Likewise.
50496         [C99-based-standards] (wcstoll): Likewise.
50497         [C99-based-standards] (wcstoull): Likewise.
50498         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
50499         macro-int-constant.  Specify type.
50500         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
50501         constraint on value.
50502         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
50503         Specify type.
50504         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
50505         Specify value.
50506         [ISO C standards]: Do not allow headers.
50507         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
50508         wcs[abcdefghijklmnopqrstuvwxyz]*.
50509         [ISO C standards] (*_t): Do not allow.
50510         * conform/data/wctype.h-data [C99-based standards] (iswblank):
50511         Expect function.
50512         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
50513         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
50514         Specify type.
50515         [ISO C standards]: Do not allow headers.
50516         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
50517         is[abcdefghijklmnopqrstuvwxyz]*.
50518         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
50519         to[abcdefghijklmnopqrstuvwxyz]*.
50520         [ISO C standards] (*_t): Do not allow.
50521         * conform/data/stdalign.h-data: New file.
50522         * conform/data/stdbool.h-data: Likewise.
50523         * conform/data/stdnoreturn.h-data: Likewise.
50525 2012-11-07  Roland McGrath  <roland@hack.frob.com>
50527         [BZ #14815]
50528         * manual/filesys.texi (Directory Entries): Typo fix.
50529         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
50531 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50533         * elf/elf.h (EM_AARCH64): New macro.
50534         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
50535         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
50536         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
50537         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
50538         (R_AARCH64_TLSDESC): Likewise.
50539         (NT_ARM_TLS): Likewise.
50540         (NT_ARM_HW_BREAK): Likewise.
50541         (NT_ARM_HW_WATCH): Likewise.
50543 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
50545         [BZ #14811]
50546         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
50547         (__ieee754_powl): Saturate nonzero exponents with absolute value
50548         below 0x1p-79 to +/- 0x1p-79.
50549         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
50550         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
50551         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
50552         nonzero exponents with absolute value below 0x1p-32 to +/-
50553         0x1p-32.
50554         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
50555         (__ieee754_powl): Saturate nonzero exponents with absolute value
50556         below 0x1p-79 to +/- 0x1p-79.
50557         * math/libm-test.inc (pow_test): Add more tests.
50559 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50561         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
50562         _dl_s390_cap_flags with kernel. Increase string length.
50563         (_dl_s390_platforms): Add z196 and zEC12.
50565 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
50567         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
50568         Change XOPEN21K to XOPEN2K.
50570 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
50572         * string/memmove.c: Use memcpy when possible.
50574 2012-11-06  Andreas Jaeger  <aj@suse.de>
50576         * po/eo.po: Update from translation team.
50578 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
50580         [BZ #14793]
50581         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
50582         exponent and small x and y exponents, scale x or y up.  Increase
50583         by 2 the exponent used in scaling up.
50584         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50585         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50586         * math/libm-test.inc (fma_test): Add more tests.
50587         (fma_test_towardzero): Likewise.
50588         (fma_test_downward): Likewise.
50589         (fma_test_upward): Likewise.
50591 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
50593         [BZ #14805]
50594         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
50595         fenv_t *.
50597         [BZ #14801]
50598         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
50599         namespace for names of struct fields.
50600         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
50601         fenv_t fields.
50602         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
50603         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
50605 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50607         [BZ #3665]
50608         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
50610 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
50612         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
50613         PTR_DEMANGLE.
50615         [BZ #5246]
50616         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
50617         PTR_DEMANGLE.
50619 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
50621         [BZ #14797]
50622         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
50623         definitely overflow as x * y not x * y + z.
50624         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50625         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50626         * math/libm-test.inc (fma_test): Add more tests.
50627         (fma_test_towardzero): Likewise.
50628         (fma_test_downward): Likewise.
50629         (fma_test_upward): Likewise.
50631 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
50633         [BZ #157]
50635         * include/stub-tag.h: Remove file.
50636         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
50637         '#include' of it.
50638         * manual/maint.texi (Porting): Don't reference it.
50639         * Makerules ($(objpfx)stubs): Likewise.
50640         * dirent/closedir.c: Don't include <stub-tag.h>.
50641         * dirent/dirfd.c: Likewise.
50642         * dirent/fdopendir.c: Likewise.
50643         * dirent/getdents.c: Likewise.
50644         * dirent/getdents64.c: Likewise.
50645         * dirent/opendir.c: Likewise.
50646         * dirent/readdir.c: Likewise.
50647         * dirent/readdir64.c: Likewise.
50648         * dirent/readdir64_r.c: Likewise.
50649         * dirent/readdir_r.c: Likewise.
50650         * dirent/rewinddir.c: Likewise.
50651         * dirent/seekdir.c: Likewise.
50652         * dirent/telldir.c: Likewise.
50653         * gmon/profil.c: Likewise.
50654         * grp/setgroups.c: Likewise.
50655         * inet/if_index.c: Likewise.
50656         * io/access.c: Likewise.
50657         * io/chdir.c: Likewise.
50658         * io/chmod.c: Likewise.
50659         * io/chown.c: Likewise.
50660         * io/close.c: Likewise.
50661         * io/dup.c: Likewise.
50662         * io/dup2.c: Likewise.
50663         * io/dup3.c: Likewise.
50664         * io/euidaccess.c: Likewise.
50665         * io/faccessat.c: Likewise.
50666         * io/fchdir.c: Likewise.
50667         * io/fchmod.c: Likewise.
50668         * io/fchmodat.c: Likewise.
50669         * io/fchown.c: Likewise.
50670         * io/fchownat.c: Likewise.
50671         * io/fcntl.c: Likewise.
50672         * io/flock.c: Likewise.
50673         * io/fstatfs.c: Likewise.
50674         * io/fstatfs64.c: Likewise.
50675         * io/fstatvfs.c: Likewise.
50676         * io/fstatvfs64.c: Likewise.
50677         * io/futimens.c: Likewise.
50678         * io/fxstat.c: Likewise.
50679         * io/fxstat64.c: Likewise.
50680         * io/fxstatat.c: Likewise.
50681         * io/fxstatat64.c: Likewise.
50682         * io/getcwd.c: Likewise.
50683         * io/isatty.c: Likewise.
50684         * io/lchmod.c: Likewise.
50685         * io/lchown.c: Likewise.
50686         * io/link.c: Likewise.
50687         * io/linkat.c: Likewise.
50688         * io/lseek.c: Likewise.
50689         * io/lseek64.c: Likewise.
50690         * io/lxstat64.c: Likewise.
50691         * io/mkdir.c: Likewise.
50692         * io/mkdirat.c: Likewise.
50693         * io/mkfifo.c: Likewise.
50694         * io/mkfifoat.c: Likewise.
50695         * io/open.c: Likewise.
50696         * io/open64.c: Likewise.
50697         * io/openat.c: Likewise.
50698         * io/openat64.c: Likewise.
50699         * io/pipe.c: Likewise.
50700         * io/pipe2.c: Likewise.
50701         * io/poll.c: Likewise.
50702         * io/posix_fadvise.c: Likewise.
50703         * io/posix_fadvise64.c: Likewise.
50704         * io/posix_fallocate.c: Likewise.
50705         * io/posix_fallocate64.c: Likewise.
50706         * io/read.c: Likewise.
50707         * io/readlink.c: Likewise.
50708         * io/readlinkat.c: Likewise.
50709         * io/rmdir.c: Likewise.
50710         * io/sendfile.c: Likewise.
50711         * io/sendfile64.c: Likewise.
50712         * io/statfs.c: Likewise.
50713         * io/statfs64.c: Likewise.
50714         * io/statvfs.c: Likewise.
50715         * io/statvfs64.c: Likewise.
50716         * io/symlink.c: Likewise.
50717         * io/symlinkat.c: Likewise.
50718         * io/ttyname.c: Likewise.
50719         * io/ttyname_r.c: Likewise.
50720         * io/umask.c: Likewise.
50721         * io/unlink.c: Likewise.
50722         * io/unlinkat.c: Likewise.
50723         * io/utime.c: Likewise.
50724         * io/utimensat.c: Likewise.
50725         * io/write.c: Likewise.
50726         * io/xmknod.c: Likewise.
50727         * io/xmknodat.c: Likewise.
50728         * io/xstat.c: Likewise.
50729         * io/xstat64.c: Likewise.
50730         * login/getpt.c: Likewise.
50731         * login/grantpt.c: Likewise.
50732         * login/unlockpt.c: Likewise.
50733         * math/e_acoshl.c: Likewise.
50734         * math/e_acosl.c: Likewise.
50735         * math/e_asinl.c: Likewise.
50736         * math/e_atan2l.c: Likewise.
50737         * math/e_atanhl.c: Likewise.
50738         * math/e_coshl.c: Likewise.
50739         * math/e_expl.c: Likewise.
50740         * math/e_fmodl.c: Likewise.
50741         * math/e_gammal_r.c: Likewise.
50742         * math/e_hypotl.c: Likewise.
50743         * math/e_j0l.c: Likewise.
50744         * math/e_j1l.c: Likewise.
50745         * math/e_jnl.c: Likewise.
50746         * math/e_lgammal_r.c: Likewise.
50747         * math/e_log10l.c: Likewise.
50748         * math/e_log2l.c: Likewise.
50749         * math/e_logl.c: Likewise.
50750         * math/e_powl.c: Likewise.
50751         * math/e_rem_pio2l.c: Likewise.
50752         * math/e_sinhl.c: Likewise.
50753         * math/e_sqrtl.c: Likewise.
50754         * math/fclrexcpt.c: Likewise.
50755         * math/fedisblxcpt.c: Likewise.
50756         * math/feenablxcpt.c: Likewise.
50757         * math/fegetenv.c: Likewise.
50758         * math/fegetexcept.c: Likewise.
50759         * math/fegetround.c: Likewise.
50760         * math/feholdexcpt.c: Likewise.
50761         * math/fesetenv.c: Likewise.
50762         * math/fesetround.c: Likewise.
50763         * math/feupdateenv.c: Likewise.
50764         * math/fgetexcptflg.c: Likewise.
50765         * math/fraiseexcpt.c: Likewise.
50766         * math/fsetexcptflg.c: Likewise.
50767         * math/ftestexcept.c: Likewise.
50768         * math/k_cosl.c: Likewise.
50769         * math/k_rem_pio2l.c: Likewise.
50770         * math/k_sinl.c: Likewise.
50771         * math/k_tanl.c: Likewise.
50772         * math/s_asinhl.c: Likewise.
50773         * math/s_atanl.c: Likewise.
50774         * math/s_cbrtl.c: Likewise.
50775         * math/s_erfl.c: Likewise.
50776         * math/s_expm1l.c: Likewise.
50777         * math/s_log1pl.c: Likewise.
50778         * math/s_tanhl.c: Likewise.
50779         * misc/acct.c: Likewise.
50780         * misc/brk.c: Likewise.
50781         * misc/chflags.c: Likewise.
50782         * misc/chroot.c: Likewise.
50783         * misc/fchflags.c: Likewise.
50784         * misc/fgetxattr.c: Likewise.
50785         * misc/flistxattr.c: Likewise.
50786         * misc/fremovexattr.c: Likewise.
50787         * misc/fsetxattr.c: Likewise.
50788         * misc/fsync.c: Likewise.
50789         * misc/ftruncate.c: Likewise.
50790         * misc/futimes.c: Likewise.
50791         * misc/futimesat.c: Likewise.
50792         * misc/getdomain.c: Likewise.
50793         * misc/getdtsz.c: Likewise.
50794         * misc/gethostid.c: Likewise.
50795         * misc/gethostname.c: Likewise.
50796         * misc/getloadavg.c: Likewise.
50797         * misc/getpagesize.c: Likewise.
50798         * misc/getsysstats.c: Likewise.
50799         * misc/getxattr.c: Likewise.
50800         * misc/gtty.c: Likewise.
50801         * misc/ioctl.c: Likewise.
50802         * misc/lgetxattr.c: Likewise.
50803         * misc/listxattr.c: Likewise.
50804         * misc/llistxattr.c: Likewise.
50805         * misc/lremovexattr.c: Likewise.
50806         * misc/lsetxattr.c: Likewise.
50807         * misc/lutimes.c: Likewise.
50808         * misc/madvise.c: Likewise.
50809         * misc/mincore.c: Likewise.
50810         * misc/mlock.c: Likewise.
50811         * misc/mlockall.c: Likewise.
50812         * misc/mmap.c: Likewise.
50813         * misc/mprotect.c: Likewise.
50814         * misc/msync.c: Likewise.
50815         * misc/munlock.c: Likewise.
50816         * misc/munlockall.c: Likewise.
50817         * misc/munmap.c: Likewise.
50818         * misc/preadv.c: Likewise.
50819         * misc/preadv64.c: Likewise.
50820         * misc/ptrace.c: Likewise.
50821         * misc/pwritev.c: Likewise.
50822         * misc/pwritev64.c: Likewise.
50823         * misc/readv.c: Likewise.
50824         * misc/reboot.c: Likewise.
50825         * misc/remap_file_pages.c: Likewise.
50826         * misc/removexattr.c: Likewise.
50827         * misc/revoke.c: Likewise.
50828         * misc/select.c: Likewise.
50829         * misc/setdomain.c: Likewise.
50830         * misc/setegid.c: Likewise.
50831         * misc/seteuid.c: Likewise.
50832         * misc/sethostid.c: Likewise.
50833         * misc/sethostname.c: Likewise.
50834         * misc/setregid.c: Likewise.
50835         * misc/setreuid.c: Likewise.
50836         * misc/setxattr.c: Likewise.
50837         * misc/sstk.c: Likewise.
50838         * misc/stty.c: Likewise.
50839         * misc/swapoff.c: Likewise.
50840         * misc/swapon.c: Likewise.
50841         * misc/sync.c: Likewise.
50842         * misc/syncfs.c: Likewise.
50843         * misc/syscall.c: Likewise.
50844         * misc/truncate.c: Likewise.
50845         * misc/ualarm.c: Likewise.
50846         * misc/usleep.c: Likewise.
50847         * misc/ustat.c: Likewise.
50848         * misc/utimes.c: Likewise.
50849         * misc/vhangup.c: Likewise.
50850         * misc/writev.c: Likewise.
50851         * posix/_exit.c: Likewise.
50852         * posix/alarm.c: Likewise.
50853         * posix/execve.c: Likewise.
50854         * posix/fexecve.c: Likewise.
50855         * posix/fork.c: Likewise.
50856         * posix/fpathconf.c: Likewise.
50857         * posix/getaddrinfo.c: Likewise.
50858         * posix/getegid.c: Likewise.
50859         * posix/geteuid.c: Likewise.
50860         * posix/getgid.c: Likewise.
50861         * posix/getgroups.c: Likewise.
50862         * posix/getlogin.c: Likewise.
50863         * posix/getlogin_r.c: Likewise.
50864         * posix/getpgid.c: Likewise.
50865         * posix/getpid.c: Likewise.
50866         * posix/getppid.c: Likewise.
50867         * posix/getresgid.c: Likewise.
50868         * posix/getresuid.c: Likewise.
50869         * posix/getsid.c: Likewise.
50870         * posix/getuid.c: Likewise.
50871         * posix/glob64.c: Likewise.
50872         * posix/nanosleep.c: Likewise.
50873         * posix/pathconf.c: Likewise.
50874         * posix/pause.c: Likewise.
50875         * posix/posix_madvise.c: Likewise.
50876         * posix/pread.c: Likewise.
50877         * posix/pread64.c: Likewise.
50878         * posix/pwrite.c: Likewise.
50879         * posix/pwrite64.c: Likewise.
50880         * posix/sched_getaffinity.c: Likewise.
50881         * posix/sched_getp.c: Likewise.
50882         * posix/sched_gets.c: Likewise.
50883         * posix/sched_primax.c: Likewise.
50884         * posix/sched_primin.c: Likewise.
50885         * posix/sched_rr_gi.c: Likewise.
50886         * posix/sched_setaffinity.c: Likewise.
50887         * posix/sched_setp.c: Likewise.
50888         * posix/sched_sets.c: Likewise.
50889         * posix/sched_yield.c: Likewise.
50890         * posix/setgid.c: Likewise.
50891         * posix/setlogin.c: Likewise.
50892         * posix/setpgid.c: Likewise.
50893         * posix/setresgid.c: Likewise.
50894         * posix/setresuid.c: Likewise.
50895         * posix/setsid.c: Likewise.
50896         * posix/setuid.c: Likewise.
50897         * posix/sleep.c: Likewise.
50898         * posix/spawni.c: Likewise.
50899         * posix/sysconf.c: Likewise.
50900         * posix/times.c: Likewise.
50901         * posix/wait.c: Likewise.
50902         * posix/wait3.c: Likewise.
50903         * posix/wait4.c: Likewise.
50904         * posix/waitpid.c: Likewise.
50905         * resolv/gai_sigqueue.c: Likewise.
50906         * resource/getpriority.c: Likewise.
50907         * resource/getrlimit.c: Likewise.
50908         * resource/getrusage.c: Likewise.
50909         * resource/nice.c: Likewise.
50910         * resource/setpriority.c: Likewise.
50911         * resource/setrlimit.c: Likewise.
50912         * resource/ulimit.c: Likewise.
50913         * rt/aio_cancel.c: Likewise.
50914         * rt/aio_fsync.c: Likewise.
50915         * rt/aio_read.c: Likewise.
50916         * rt/aio_sigqueue.c: Likewise.
50917         * rt/aio_suspend.c: Likewise.
50918         * rt/aio_write.c: Likewise.
50919         * rt/clock_getres.c: Likewise.
50920         * rt/clock_gettime.c: Likewise.
50921         * rt/clock_nanosleep.c: Likewise.
50922         * rt/clock_settime.c: Likewise.
50923         * rt/lio_listio.c: Likewise.
50924         * rt/mq_close.c: Likewise.
50925         * rt/mq_getattr.c: Likewise.
50926         * rt/mq_notify.c: Likewise.
50927         * rt/mq_open.c: Likewise.
50928         * rt/mq_receive.c: Likewise.
50929         * rt/mq_send.c: Likewise.
50930         * rt/mq_setattr.c: Likewise.
50931         * rt/mq_timedreceive.c: Likewise.
50932         * rt/mq_timedsend.c: Likewise.
50933         * rt/mq_unlink.c: Likewise.
50934         * rt/shm_open.c: Likewise.
50935         * rt/shm_unlink.c: Likewise.
50936         * rt/timer_create.c: Likewise.
50937         * rt/timer_delete.c: Likewise.
50938         * rt/timer_getoverr.c: Likewise.
50939         * rt/timer_gettime.c: Likewise.
50940         * rt/timer_settime.c: Likewise.
50941         * setjmp/__longjmp.c: Likewise.
50942         * setjmp/setjmp.c: Likewise.
50943         * signal/kill.c: Likewise.
50944         * signal/killpg.c: Likewise.
50945         * signal/raise.c: Likewise.
50946         * signal/sigaction.c: Likewise.
50947         * signal/sigaltstack.c: Likewise.
50948         * signal/sigblock.c: Likewise.
50949         * signal/sigignore.c: Likewise.
50950         * signal/sigintr.c: Likewise.
50951         * signal/signal.c: Likewise.
50952         * signal/sigpause.c: Likewise.
50953         * signal/sigpending.c: Likewise.
50954         * signal/sigqueue.c: Likewise.
50955         * signal/sigreturn.c: Likewise.
50956         * signal/sigset.c: Likewise.
50957         * signal/sigsetmask.c: Likewise.
50958         * signal/sigstack.c: Likewise.
50959         * signal/sigsuspend.c: Likewise.
50960         * signal/sigtimedwait.c: Likewise.
50961         * signal/sigvec.c: Likewise.
50962         * signal/sigwait.c: Likewise.
50963         * signal/sigwaitinfo.c: Likewise.
50964         * signal/sysv_signal.c: Likewise.
50965         * socket/accept.c: Likewise.
50966         * socket/accept4.c: Likewise.
50967         * socket/bind.c: Likewise.
50968         * socket/connect.c: Likewise.
50969         * socket/getpeername.c: Likewise.
50970         * socket/getsockname.c: Likewise.
50971         * socket/getsockopt.c: Likewise.
50972         * socket/isfdtype.c: Likewise.
50973         * socket/listen.c: Likewise.
50974         * socket/recv.c: Likewise.
50975         * socket/recvfrom.c: Likewise.
50976         * socket/recvmsg.c: Likewise.
50977         * socket/send.c: Likewise.
50978         * socket/sendmsg.c: Likewise.
50979         * socket/sendto.c: Likewise.
50980         * socket/setsockopt.c: Likewise.
50981         * socket/shutdown.c: Likewise.
50982         * socket/sockatmark.c: Likewise.
50983         * socket/socket.c: Likewise.
50984         * socket/socketpair.c: Likewise.
50985         * stdio-common/ctermid.c: Likewise.
50986         * stdio-common/cuserid.c: Likewise.
50987         * stdio-common/remove.c: Likewise.
50988         * stdio-common/rename.c: Likewise.
50989         * stdio-common/renameat.c: Likewise.
50990         * stdio-common/tempname.c: Likewise.
50991         * stdlib/getcontext.c: Likewise.
50992         * stdlib/makecontext.c: Likewise.
50993         * stdlib/setcontext.c: Likewise.
50994         * stdlib/swapcontext.c: Likewise.
50995         * stdlib/system.c: Likewise.
50996         * streams/fattach.c: Likewise.
50997         * streams/fdetach.c: Likewise.
50998         * streams/getmsg.c: Likewise.
50999         * streams/getpmsg.c: Likewise.
51000         * streams/putmsg.c: Likewise.
51001         * streams/putpmsg.c: Likewise.
51002         * sysdeps/unix/bsd/getpt.c: Likewise.
51003         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
51004         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
51005         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
51006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
51007         Likewise.
51008         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
51009         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
51010         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
51011         * sysvipc/msgctl.c: Likewise.
51012         * sysvipc/msgget.c: Likewise.
51013         * sysvipc/msgrcv.c: Likewise.
51014         * sysvipc/msgsnd.c: Likewise.
51015         * sysvipc/semctl.c: Likewise.
51016         * sysvipc/semget.c: Likewise.
51017         * sysvipc/semop.c: Likewise.
51018         * sysvipc/semtimedop.c: Likewise.
51019         * sysvipc/shmat.c: Likewise.
51020         * sysvipc/shmctl.c: Likewise.
51021         * sysvipc/shmdt.c: Likewise.
51022         * sysvipc/shmget.c: Likewise.
51023         * termios/tcdrain.c: Likewise.
51024         * termios/tcflow.c: Likewise.
51025         * termios/tcflush.c: Likewise.
51026         * termios/tcgetattr.c: Likewise.
51027         * termios/tcgetpgrp.c: Likewise.
51028         * termios/tcsendbrk.c: Likewise.
51029         * termios/tcsetattr.c: Likewise.
51030         * termios/tcsetpgrp.c: Likewise.
51031         * time/adjtime.c: Likewise.
51032         * time/clock.c: Likewise.
51033         * time/getitimer.c: Likewise.
51034         * time/gettimeofday.c: Likewise.
51035         * time/setitimer.c: Likewise.
51036         * time/settimeofday.c: Likewise.
51037         * time/stime.c: Likewise.
51038         * time/time.c: Likewise.
51040 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
51042         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
51043         /usr/old/bin.
51045         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
51046         instead of spaces.
51047         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
51049 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
51051         [BZ #14796]
51052         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
51053         FE_TONEAREST before applying Dekker multiplication and Knuth
51054         addition.  Clear inexact exceptions and check for exact zero
51055         results afterwards.
51056         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51057         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
51058         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51059         * math/libm-test.inc (fma_test): Add more tests.
51060         (fma_test_towardzero): Likewise.
51061         (fma_test_downward): Likewise.
51062         (fma_test_upward): Likewise.
51063         * sysdeps/generic/math_private.h (default_libc_fesetround): New
51064         function.
51065         (libc_fesetround): New macro.
51066         (libc_fesetroundf): Likewise.
51067         (libc_fesetroundl): Likewise.
51068         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
51069         function.
51070         (libc_fesetround_387): Likewise.
51071         (libc_fesetroundf): New macro.
51072         (libc_fesetround): Likewise.
51073         (libc_fesetroundl): Likewise.
51074         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
51075         function.
51076         (libc_fesetroundf): New macro.
51077         (libc_fesetround): Likewise.
51078         (libc_fesetroundl): Likewise.
51079         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
51080         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
51081         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
51082         libm_hidden_ver.
51083         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
51084         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
51085         libm_hidden_def.
51086         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
51087         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
51088         libm_hidden_ver.
51089         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
51090         libm_hidden_def.
51092         [BZ #3439]
51093         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
51094         integer constant usable in #if and use that to give value to enum
51095         constant.
51096         (FE_DIVBYZERO): Likewise.
51097         (FE_UNDERFLOW): Likewise.
51098         (FE_OVERFLOW): Likewise.
51099         (FE_INVALID): Likewise.
51100         (FE_INVALID_SNAN): Likewise.
51101         (FE_INVALID_ISI): Likewise.
51102         (FE_INVALID_IDI): Likewise.
51103         (FE_INVALID_ZDZ): Likewise.
51104         (FE_INVALID_IMZ): Likewise.
51105         (FE_INVALID_COMPARE): Likewise.
51106         (FE_INVALID_SOFTWARE): Likewise.
51107         (FE_INVALID_SQRT): Likewise.
51108         (FE_INVALID_INTEGER_CONVERSION): Likewise.
51109         (FE_TONEAREST): Likewise.
51110         (FE_TOWARDZERO): Likewise.
51111         (FE_UPWARD): Likewise.
51112         (FE_DOWNWARD): Likewise.
51113         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
51114         (FE_DIVBYZERO): Likewise.
51115         (FE_OVERFLOW): Likewise.
51116         (FE_UNDERFLOW): Likewise.
51117         (FE_INEXACT): Likewise.
51118         (FE_TONEAREST): Likewise.
51119         (FE_DOWNWARD): Likewise.
51120         (FE_UPWARD): Likewise.
51121         (FE_TOWARDZERO): Likewise.
51122         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
51123         (FE_UNDERFLOW): Likewise.
51124         (FE_OVERFLOW): Likewise.
51125         (FE_DIVBYZERO): Likewise.
51126         (FE_INVALID): Likewise.
51127         (FE_TONEAREST): Likewise.
51128         (FE_TOWARDZERO): Likewise.
51129         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
51130         (FE_OVERFLOW): Likewise.
51131         (FE_UNDERFLOW): Likewise.
51132         (FE_DIVBYZERO): Likewise.
51133         (FE_INEXACT): Likewise.
51134         (FE_TONEAREST): Likewise.
51135         (FE_TOWARDZERO): Likewise.
51136         (FE_UPWARD): Likewise.
51137         (FE_DOWNWARD): Likewise.
51138         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
51139         (FE_DIVBYZERO): Likewise.
51140         (FE_OVERFLOW): Likewise.
51141         (FE_UNDERFLOW): Likewise.
51142         (FE_INEXACT): Likewise.
51143         (FE_TONEAREST): Likewise.
51144         (FE_DOWNWARD): Likewise.
51145         (FE_UPWARD): Likewise.
51146         (FE_TOWARDZERO): Likewise.
51148 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
51150         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
51152 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
51154         * scripts/cross-test-ssh.sh (command): Use newlines to separate
51155         commands.  Quote $PWD.
51156         (blacklist_exports): Don't use remove_newlines.  Replace "declare
51157         -x" by "export".
51158         (remove_newlines): Remove.
51160 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
51162         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
51163         * stdlib/stdlib.h (atof): Moved to ...
51164         * include/bits/stdlib-float.h: Here.  New file.
51165         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
51166         * stdlib/bits/stdlib-float.h: New file.
51167         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
51168         -mno-sse -mno-mmx.
51169         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
51170         <xmmintrin.h>.
51172 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
51174         * conform/conformtest.pl (@headers): Add fenv.h.
51175         * conform/data/fenv.h-data: New file.
51176         * include/fenv.h [_ISOMAC]: Disable all contents of file except
51177         include of <math/fenv.h>.
51179         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
51180         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
51181         && !UNIX98].  Enables tests for XOPEN2K8.
51182         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
51183         POSIX2008]: Likewise.
51185         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
51186         (struct rusage): Do not expect type or its members.
51188         [BZ #3439]
51189         * math/math.h (FP_NAN): Define macro to integer constant usable in
51190         #if and use that to give value to enum constant.
51191         (FP_INFINITE): Likewise.
51192         (FP_ZERO): Likewise.
51193         (FP_SUBNORMAL): Likewise.
51194         (FP_NORMAL): Likewise.
51196 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
51198         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
51199         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
51200         arguments.
51202 2012-11-02  Roland McGrath  <roland@hack.frob.com>
51204         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
51205         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
51206         autoconf-time if not.
51207         * configure.in: Remove AC_PREREQ.
51209 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51211         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
51212         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
51213         of the internal implementation.
51215 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
51217         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
51218         except include of <misc/sys/syslog.h>.
51220 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
51222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
51223         function returns with a NULL context exit with zero.
51225 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51227         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
51229 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
51231         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
51232         (run_program_cmd): This.
51233         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
51234         (tst_langinfo): New variable.  Use it.
51236 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
51238         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
51239         floating point opcodes.
51241 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
51243         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
51244         variable.
51246         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
51248         * sysdeps/mach/hurd/powerpc: Remove directory.
51249         * sysdeps/mach/powerpc: Likewise.
51251 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
51253         * scripts/check-local-headers.sh: Ignore c++ headers.
51255 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
51257         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
51258         __libc_cleanup_region_start argument.
51260 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
51262         [BZ #14784]
51263         [BZ #14785]
51264         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
51265         x * y using scaling, not as x * y + z.
51266         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51267         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51268         * math/libm-test.inc (fma_test): Add more tests.
51269         (fma_test_towardzero): Likewise.
51270         (fma_test_downward): Likewise.
51271         (fma_test_upward): Likewise.
51273 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
51275         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
51277 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
51279         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
51280         New variable.
51282 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
51284         * rt/tst-shm.c (worker): Correct checking for mmap failure.
51286 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
51288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51289         Fix sort order.
51290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51291         Likewise.
51293 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51296         Fix the order of the list for glibc 2.17.
51297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51298         Likewise.
51300 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
51302         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51304 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
51306         [BZ #14610]
51307         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
51308         for low part of x being zero before using __atanl (y).
51309         * math/libm-test.inc (atan2_test): Add another test.
51311         * manual/install.texi (Configuring and compiling): Document
51312         general use of test-wrapper and test-wrapper-env.
51313         * INSTALL: Regenerated.
51315         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
51316         (__fma): Do not extract and scale down low bits on after-rounding
51317         systems when result rounded to normal precision would have normal
51318         exponent.
51319         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
51320         (__fmal): Do not extract and scale down low bits on after-rounding
51321         systems when result rounded to normal precision would have normal
51322         exponent.
51323         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
51324         (__fmal): Do not extract and scale down low bits on after-rounding
51325         systems when result rounded to normal precision would have normal
51326         exponent.
51327         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
51328         macro.
51329         (fma_test): Add more tests.
51330         (fma_test_towardzero): Likewise.
51331         (fma_test_downward): Likewise.
51332         (fma_test_upward): Likewise.
51334 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
51336         * sysdeps/i386/tininess.h: Renamed to ...
51337         * sysdeps/x86/tininess.h: This.
51338         * sysdeps/x86_64/tininess.h: Removed.
51340 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
51342         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
51343         input.  Use $(build-program-cmd).
51344         ($(objpfx)tst-array1-static.out): Likewise.
51345         ($(objpfx)tst-array2.out): Likewise.
51346         ($(objpfx)tst-array3.out): Likewise.
51347         ($(objpfx)tst-array4.out): Likewise.
51348         ($(objpfx)tst-array5.out): Likewise.
51349         ($(objpfx)tst-array5-static.out): Likewise.
51351 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
51353         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
51354         if defined.
51356         * nss/nsswitch.h (nss_interface_function): Provide new
51357         macro for use with NSS functions.
51358         * grp/initgroups.c: Use new macro.
51359         * nss/getXXbyYY.c: Likewise.
51360         * nss/getXXbyYY_r.c: Likewise.
51361         * nss/getXXent.c: Likewise.
51362         * nss/getXXent_r.c: Likewise.
51363         * sysdeps/posix/getaddrinfo.c: Likewise.
51365 2012-10-30  Andreas Jaeger  <aj@suse.de>
51367         * po/ru.po: Update Russion translation from translation project.
51369 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
51371         [BZ #14152]
51372         [BZ #14783]
51373         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
51374         result and shift together with sticky bit instead of replicating
51375         round-to-nearest rounding.
51376         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51377         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51378         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
51379         missing underflow exceptions.
51380         (fma_test_towardzero): Add more tests.
51381         (fma_test_downward): Likewise.
51382         (fma_test_upward): Likewise.
51384         [BZ #14047]
51385         * sysdeps/generic/tininess.h: New file.
51386         * sysdeps/i386/tininess.h: Likewise.
51387         * sysdeps/sh/tininess.h: Likewise.
51388         * sysdeps/x86_64/tininess.h: Likewise.
51389         * stdlib/tst-strtod-underflow.c: Likewise.
51390         * stdlib/tst-tininess.c: Likewise.
51391         * stdlib/strtod_l.c: Include <tininess.h>.
51392         (round_and_return): Do not set errno for exact underflow cases.
51393         Force an underflow exception when setting errno for underflow.
51394         Determine underflow based on rounding to normal precision if
51395         TININESS_AFTER_ROUNDING.
51396         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
51397         ERANGE for exact underflow cases.
51398         * stdlib/Makefile (tests): Add tst-tininess and
51399         tst-strtod-underflow.
51400         ($(objpfx)tst-tininess): Use $(link-libm).
51401         ($(objpfx)tst-strtod-underflow): Likewise.
51403 2012-10-30  Andreas Jaeger  <aj@suse.de>
51405         [BZ#14767]
51406         * elf/Makefile (tests): Remove conditional for have-initfini-array
51407         since this is now always required and the variable does not exist
51408         anymore.
51409         (tests-static): Likewise.
51410         (modules-names): Likewise.
51412         * po/eo.po: Add Esperanto translation from translation project.
51414         * elf/tst-array1.c (fini_array): Make writeable so that it can be
51415         merged with constructor/destructor.
51416         (init_array): Likewise.
51417         * elf/tst-array2dep.c (fini_array): Likewise.
51418         (init_array): Likewise.
51420 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
51422         * manual/message.texi: Delete @cartouche tags.
51424 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
51426         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
51427         EOPNOTSUPP.
51428         * sysdeps/mach/hurd/fsync.c: Likewise.
51430         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
51431         [_POSIX_REALTIME_SIGNALS]: Change condition to
51432         [_POSIX_REALTIME_SIGNALS > 0].
51434 2012-10-27  Andreas Jaeger  <aj@suse.de>
51436         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
51437         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
51438         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
51439         [__WORDSIZE != 64]: Likewise.
51441 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
51443         *  iconvdata/tst-table.sh: Remove ${SHELL}.
51444         *  iconvdata/tst-tables.sh: Likewise.
51446 2012-10-25  David S. Miller  <davem@davemloft.net>
51448         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51449         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
51450         of strtoull.
51452         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
51453         ifunc-impl-list.c
51454         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51455         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
51456         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
51457         file.
51459 2012-10-25  Roland McGrath  <roland@hack.frob.com>
51461         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51462         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
51463         __getdirentries.
51465 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
51466             Jim Blandy  <jimb@codesourcery.com>
51468         * scripts/cross-test-ssh.sh: New file.
51469         * manual/install.texi (Configuring and compiling): Document use of
51470         cross-test-ssh.sh.
51471         * INSTALL: Regenerated.
51473 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
51475         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
51476         EOPNOTSUPP.
51478 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
51480         * Makeconfig (run-program-prefix): Fix comment.
51482 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
51483             Jim Blandy  <jimb@codesourcery.com>
51485         * Makeconfig (test-wrapper): New variable,
51486         (test-wrapper-env): Likewise.
51487         [$(cross-compiling) = yes && $(test-wrapper) != ""]
51488         (run-built-tests): Define to yes.
51489         (run-program-prefix): Use $(test-wrapper).
51490         (built-program-cmd): Likewise.
51491         * Rules (make-test-out): Use $(test-wrapper-env) and
51492         $(host-built-program-cmd).
51493         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
51494         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
51495         tst-pathopt.sh.
51496         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
51497         $(test-wrapper-env) to tst-rtld-load-self.sh.
51498         ($(objpfx)order2.out): Use $(test-wrapper).
51499         ($(objpfx)tst-initorder.out): Likewise.
51500         ($(objpfx)tst-initorder2.out): Likewise.
51501         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
51502         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
51503         (test_wrapper_env): New variable.  Use it to run ld.so.
51504         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
51505         Use it to run ld.so.
51506         (test_wrapper_env): Likewise.
51507         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
51508         $(test-wrapper) to run-iconv-test.sh.
51509         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
51510         (ICONV): Use $test_wrapper.
51511         * posix/Makefile ($(objpfx)globtest.out): Pass
51512         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
51513         globtest.sh, not $(run-program-prefix).
51514         * posix/globtest.sh (run_via_rtld_prefix): New variable.
51515         (test_wrapper): Likewise.
51516         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
51517         set together with run_via_rtld_prefix.
51518         (run_program_prefix): Define in terms of test_wrapper and
51519         run_via_rtld_prefix.
51521 2012-10-24  Roland McGrath  <roland@hack.frob.com>
51523         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
51524         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
51525         Targets removed.
51527         [BZ #14743]
51528         * include/time.h: Remove librt_hidden_proto (clock_gettime).
51529         Declare __clock_getres, __clock_gettime, __clock_settime,
51530         __clock_nanosleep, and __clock_getcpuclockid.
51531         * rt/clock_gettime.c: Define __clock_gettime as an alias.
51532         Remove librt_hidden_def (clock_gettime).
51533         * sysdeps/unix/clock_gettime.c: Likewise.
51534         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
51535         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
51536         * rt/clock_getres.c: Define __clock_getres as an alias.
51537         * sysdeps/posix/clock_getres.c: Likewise.
51538         * rt/clock_settime.c: Define __clock_settime as an alias.
51539         * sysdeps/unix/clock_settime.c: Likewise.
51540         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
51541         * sysdeps/unix/clock_nanosleep.c: Likewise.
51542         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
51543         * rt/clock-compat.c: New file.
51544         * rt/Makefile (librt-routines): Add clock-compat and move
51545         $(clock-routines) to ...
51546         (routines): ... here, new variable.
51547         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
51548         Don't add get_clockfreq here.
51549         * rt/Versions (libc: GLIBC_2.17): New version set.
51550         Add clock_* symbols here.
51551         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
51552         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
51553         (GLIBC_2.17): Add clock_* symbols.
51554         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
51555         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
51556         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
51557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51558         Likewise.
51559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51560         Likewise.
51561         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
51562         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
51563         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
51564         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
51565         * NEWS: Mention the move.
51567         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
51568         Use __open, __read, __close rather than their public counterparts.
51569         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51570         (__get_clockfreq_via_cpuinfo): Likewise.
51571         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
51572         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
51574         * config.h.in (HAVE_IFUNC): New #undef.
51575         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
51576         was successful.
51577         * configure: Regenerated.
51579 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
51581         * configure.in: Move READELF check to start of file.
51582         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
51583         libc_cv_asm_gnu_indirect_function in the process.
51584         * configure: Regenerated.
51586 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
51588         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
51589         send the output to /dev/null.
51590         (libc_cv_cc_with_libunwind): Likewise.
51591         (libc_cv_as_noexecstack): Likewise.
51592         * configure: Regenerate.
51594 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
51596         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
51598         * posix/globtest.sh (TMPDIR): Do not set.
51599         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
51600         (testout): Likewise.
51602 2012-10-24  Andreas Jaeger  <aj@suse.de>
51604         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
51605         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
51606         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
51607         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
51608         posix_fadvise64, posix_fallocate64.
51610         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
51611         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
51612         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
51613         Likewise.
51614         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
51615         Likewise.
51616         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
51618         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
51619         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
51620         <bits/fcntl-linux.h>.
51621         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
51623         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
51624         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
51625         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
51626         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
51627         [__WORDSIZE != 64]: Likewise.
51629 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
51631         * Makeconfig (run-built-tests): New variable.
51632         * Rules [$(cross-compiling) = yes]: Change condition to
51633         [$(run-built-tests) = no].
51634         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
51635         to [$(run-built-tests) = yes].
51636         * elf/Makefile [$(cross-compiling) = no]: Likewise
51637         * grp/Makefile [$(cross-compiling) = no]: Likewise.
51638         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
51639         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
51640         * intl/Makefile [$(cross-compiling) = no]: Likewise.
51641         * io/Makefile [$(cross-compiling) = no]: Likewise.
51642         * libio/Makefile [$(cross-compiling) = no]: Likewise.
51643         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
51644         * misc/Makefile [$(cross-compiling) = no]: Likewise.
51645         * posix/Makefile [$(cross-compiling) = no]: Likewise.
51646         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
51647         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
51648         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
51649         * string/Makefile [$(cross-compiling) = no]: Likewise.
51651         * posix/Makefile ($(objpfx)globtest.out): Pass
51652         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
51653         $(rtld-installed-name).
51654         * posix/globtest.sh (elf_objpfx): Remove variable.
51655         (rtld_installed_name): Likewise.
51656         (library_path): Likewise.
51657         (run_program_prefix): New variable.  Use for running globtest
51658         binary.
51660 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
51661             Joseph Myers  <joseph@codesourcery.com>
51663         * Makeconfig (host-built-program-cmd): New variable.
51664         * elf/Makefile (tst-stackguard1-ARGS): Use
51665         $(host-built-program-cmd).
51666         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
51667         (tst-spawn-ARGS): Likewise.
51668         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
51670 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
51671             Jim Blandy  <jimb@codesourcery.com>
51673         * Makeconfig (run-via-rtld-prefix): New variable.
51674         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
51675         (built-program-cmd): Likewise.
51677 2012-10-22  Andreas Jaeger  <aj@suse.de>
51679         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
51680         __O_RSYNC if it exists, otherwise to O_SYNC.
51682 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
51683             Joseph Myers  <joseph@codesourcery.com>
51685         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
51686         /dev/null.
51687         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
51688         from /dev/null
51689         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
51690         /dev/null.
51692 2012-10-22  Andreas Jaeger  <aj@suse.de>
51694         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
51695         Define always.
51696         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
51698         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51699         bits/fcntl-linux.h.
51701         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
51702         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
51704         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
51705         to __O_LARGEFILE.
51706         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
51707         to __O_LARGEFILE.
51709 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
51710             Joseph Myers  <joseph@codesourcery.com>
51712         * config.make.in (NM): New variable.
51714 2012-10-21  Andreas Jaeger  <aj@suse.de>
51716         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
51717         definitions and declarations that are provided by
51718         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
51720 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
51722         [BZ #14683]
51723         * elf/Makefile (tests-static): Add tst-leaks1-static.
51724         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
51725         ($(objpfx)tst-leaks1-static): New rule.
51726         ($(objpfx)tst-leaks1-static-mem): Likewise.
51727         (tst-leaks1-static-ENV): New macro.
51728         * elf/dl-open.c (dl_open_worker): Check the main application
51729         only if SHARED is defined.
51730         * elf/tst-leaks1-static.c: New file.
51732 2012-10-20  Andreas Jaeger  <aj@suse.de>
51734         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
51735         generic values for Linux.
51736         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
51737         and declarations that are provided by <bits/fcntl-linux.h> and
51738         include <bits/fcntl-linux.h>.
51739         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51740         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51742 2012-10-20  Roland McGrath  <roland@hack.frob.com>
51744         * io/fcntl.h: Move include of <bits/types.h> to the top and
51745         include it unconditionally.
51747 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
51749         * wcsmbs/Makefile (tests-ifunc): New variable.
51750         (tests): Add $(tests-ifunc).
51751         * wcsmbs/test-wcschr-ifunc.c: New file.
51752         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
51753         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
51754         * wcsmbs/test-wcslen-ifunc.c: Likewise.
51755         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
51756         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
51758         * string/Makefile (tests-ifunc): New variable.
51759         (tests): Add $(tests-ifunc).
51760         * string/test-memccpy.c (TEST_NAME): New macro.
51761         * string/test-memchr.c (TEST_NAME): Likewise.
51762         * string/test-memcmp.c (TEST_NAME): Likewise.
51763         * string/test-memcpy.c (TEST_NAME): Likewise.
51764         * string/test-memmem.c (TEST_NAME): Likewise.
51765         * string/test-memmove.c (TEST_NAME): Likewise.
51766         * string/test-memset.c (TEST_NAME): Likewise.
51767         * string/test-rawmemchr.c (TEST_NAME): Likewise.
51768         * string/test-stpcpy.c (TEST_NAME): Likewise.
51769         * string/test-stpncpy.c (TEST_NAME): Likewise.
51770         * string/test-strcasecmp.c (TEST_NAME): Likewise.
51771         * string/test-strcasestr.c (TEST_NAME): Likewise.
51772         * string/test-strcat.c (TEST_NAME): Likewise.
51773         * string/test-strchr.c (TEST_NAME): Likewise.
51774         * string/test-strcmp.c(TEST_NAME): Likewise.
51775         * string/test-strcpy.c (TEST_NAME): Likewise.
51776         * string/test-strcspn.c (TEST_NAME): Likewise.
51777         * string/test-strlen.c (TEST_NAME): Likewise.
51778         * string/test-strncasecmp.c (TEST_NAME): Likewise.
51779         * string/test-strncmp.c (TEST_NAME): Likewise.
51780         * string/test-strncpy.c (TEST_NAME): Likewise.
51781         * string/test-strnlen.c (TEST_NAME): Likewise.
51782         * string/test-strpbrk.c (TEST_NAME): Likewise.
51783         * string/test-strrchr.c (TEST_NAME): Likewise.
51784         * string/test-strspn.c (TEST_NAME): Likewise.
51785         * string/test-strstr.c (TEST_NAME): Likewise.
51786         * string/test-bcopy-ifunc.c: New file.
51787         * string/test-bzero-ifunc.c: Likewise.
51788         * string/test-memccpy-ifunc.c: Likewise.
51789         * string/test-memchr-ifunc.c: Likewise.
51790         * string/test-memcmp-ifunc.c: Likewise.
51791         * string/test-memcpy-ifunc.c: Likewise.
51792         * string/test-memmem-ifunc.c: Likewise.
51793         * string/test-memmove-ifunc.c: Likewise.
51794         * string/test-mempcpy-ifunc.c: Likewise.
51795         * string/test-memset-ifunc.c: Likewise.
51796         * string/test-rawmemchr-ifunc.c: Likewise.
51797         * string/test-stpcpy-ifunc.c: Likewise.
51798         * string/test-stpncpy-ifunc.c: Likewise.
51799         * string/test-strcasecmp-ifunc.c: Likewise.
51800         * string/test-strcasestr-ifunc.c: Likewise.
51801         * string/test-strcat-ifunc.c: Likewise.
51802         * string/test-strchr-ifunc.c: Likewise.
51803         * string/test-strchrnul-ifunc.c: Likewise.
51804         * string/test-strcmp-ifunc.c: Likewise.
51805         * string/test-strcpy-ifunc.c: Likewise.
51806         * string/test-strcspn-ifunc.c: Likewise.
51807         * string/test-strlen-ifunc.c: Likewise.
51808         * string/test-strncasecmp-ifunc.c: Likewise.
51809         * string/test-strncat-ifunc.c: Likewise.
51810         * string/test-strncmp-ifunc.c: Likewise.
51811         * string/test-strncpy-ifunc.c: Likewise.
51812         * string/test-strnlen-ifunc.c: Likewise.
51813         * string/test-strpbrk-ifunc.c: Likewise.
51814         * string/test-strrchr-ifunc.c: Likewise.
51815         * string/test-strspn-ifunc.c: Likewise.
51816         * string/test-strstr-ifunc.c: Likewise.
51818         * debug/Makefile (tests-ifunc): New variable.
51819         (tests): Add $(tests-ifunc).
51820         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
51821         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
51822         * debug/test-stpcpy_chk-ifunc.c: New file.
51823         * debug/test-strcpy_chk-ifunc.c: Likewise.
51825 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
51827         [BZ #13601]
51828         * elf/dl-load.c (open_verify): Retry read if the entire ELF
51829         header is not read in.
51831 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
51833         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
51834         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
51835         directly.  Pass built executable to script as
51836         $(built-program-cmd).
51837         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
51838         $testprogram without using LD_LIBRARY_PATH and $ldso.
51840         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
51841         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
51842         $(rtld-installed-name).
51843         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
51844         (rtld_installed_name): Likewise.
51845         (library_path): Likewise.
51846         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
51847         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
51848         $(run-program-prefix) to tst-tables.sh.
51849         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
51850         it to run tst-table-from and tst-table-to.
51851         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
51852         Pass it to tst-table.sh.
51853         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
51854         $(run-program-prefix) to tst-gettext.sh.
51855         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
51856         tst-translit.sh.
51857         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
51858         tst-gettext2.sh.
51859         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
51860         to run tst-gettext.
51861         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
51862         to run tst-gettext2.
51863         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
51864         to run tst-translit.
51865         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
51866         $(run-program-prefix) to tst-mtrace.sh.
51867         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
51868         to run tst-mtrace.
51869         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
51870         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
51871         $(rtld-installed-name).
51872         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
51873         (rtld_installed_name): Likewise.
51874         (run_program_prefix): New variable.  Use it to run wordexp-test.
51876         * Makeconfig (ARCH): Remove all definitions.
51877         (machine): Likewise.
51878         [ARCH]: Remove conditional code.
51879         [!objdir]: Give error.
51880         [!objdir] (objpfx): Remove.
51881         [!objdir] (common-objpfx): Likewise.
51882         [!objdir] (common-objdir): Likewise.
51883         * configure.in (config_makefile): Remove.  Hardcode Makefile in
51884         AC_CONFIG_FILES call.
51885         * configure: Regenerated.
51887         [BZ #13888]
51888         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
51889         or TMPDIR.
51890         (testout): Likewise.
51892         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
51893         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
51894         $(rtld-installed-name).
51895         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
51896         (rtld_installed_name): Likwise.
51897         (runit): Remove function.
51898         (run_getconf): New variable,  Use it for running getconf binary.
51900 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
51902         [BZ #14716]
51903         * string/test-memmem.c (check_result): New function.
51904         (do_one_test): Use it.
51905         (check1): New function.
51906         (test_main): Use it.
51908 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
51910         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
51912 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
51914         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
51915         (_G_LSEEK64): Likewise.
51916         (_G_MMAP64): Likewise.
51917         (_G_FSTAT64): Likewise.
51918         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
51919         (_G_LSEEK64): Likewise.
51920         (_G_MMAP64): Likewise.
51921         (_G_FSTAT64): Likewise.
51922         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
51923         unconditional.  Call __mmap64 directly.
51924         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
51925         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
51926         __lseek64 directly.
51927         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
51928         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
51929         __mmap64 directly.
51930         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
51931         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
51932         __lseek64 directly.
51933         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
51934         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
51935         __lseek64 directly.
51936         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
51937         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
51938         __lseek64 directly.
51939         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
51940         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
51941         __fxstat64 directly.
51942         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
51943         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
51944         unconditional.
51945         (freopen64) [!_G_OPEN64]: Remove conditional code.
51946         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
51947         unconditional.
51948         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
51949         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
51950         unconditional.
51951         (ftello64) [!_G_LSEEK64]: Remove conditional code.
51952         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
51953         unconditional.
51954         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
51955         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
51956         unconditional.
51957         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
51958         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
51959         unconditional.
51960         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
51961         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
51962         unconditional.
51963         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
51964         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
51965         unconditional.
51966         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
51968 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
51970         [BZ #12140]
51971         * manual/memory.texi (Malloc Tunable Parameters): Add note
51972         about free list pointers overwriting some perturb bytes.
51973         Wording suggested by Roland McGrath.
51975 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
51977         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
51978         (lgamma_test): Likewise.
51979         (tgamma_test): Likewise.
51981 2012-10-16  Florian Weimer  <fweimer@redhat.com>
51983         [BZ #14700]
51984         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
51985         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
51987 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
51989         * NEWS: Mention BZ #14716.
51990         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
51991         when removing AVAILABLE1_USES_J macro.
51993 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
51995         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
51996         (__bswap_64): __uint64_t for unsigned 64-bit int.
51998 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
52000         * include/string.h (memmem): Declare libc hidden alias.
52001         * string/memmem.c (memmem): Define libc hidden alias.
52002         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
52003         __read, __close instead of open, read, close.
52005 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
52007         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
52008         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
52009         global and hidden.
52010         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
52011         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
52012         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
52013         Likewise.
52014         (__rawmemchr_sse2): Likewise.
52015         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
52016         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
52017         (__strchr_sse2): Likewise.
52018         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
52019         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
52020         (__strcasecmp_sse2): Likewise.
52021         (__strncasecmp_sse2): Likewise.
52022         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
52023         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
52024         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
52025         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
52026         (__strrchr_sse2): Likewise.
52027         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
52028         ifunc-impl-list.c.
52029         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
52030         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
52031         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
52032         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
52033         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
52034         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
52035         * sysdeps/x86_64/multiarch/memset.S: Likewise.
52036         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
52037         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
52038         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
52039         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
52040         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
52041         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
52042         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
52043         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
52044         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
52045         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
52046         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
52047         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
52048         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
52049         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
52050         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
52051         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
52052         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
52053         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
52054         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52055         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
52056         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
52057         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
52058         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
52060         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
52061         global and hidden.
52062         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
52063         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
52064         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
52065         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
52066         Likewise.
52067         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
52068         Likewise.
52069         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
52070         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
52071         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
52072         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
52073         ifunc-impl-list.c.
52074         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
52075         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
52076         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
52077         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
52078         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
52079         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
52080         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
52081         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
52082         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
52083         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
52084         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
52085         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
52086         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
52087         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
52088         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
52089         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
52090         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
52091         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
52092         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
52093         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
52094         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
52095         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
52096         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
52097         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
52098         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
52099         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
52100         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
52101         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
52102         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
52103         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
52104         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
52105         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
52106         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
52107         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
52108         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
52109         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
52110         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
52111         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
52112         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
52113         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
52114         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
52116         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
52117         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
52118         * include/ifunc-impl-list.h: New file.
52119         * misc/ifunc-impl-list.c: Likewise.
52120         * misc/Makefile (routines): Add ifunc-impl-list.
52121         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
52122         * string/test-string.h: Include <ifunc-impl-list.h>.
52123         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
52124         TEST_NAME]: New variables.
52125         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
52126         are defined.
52127         (test_init): Call __libc_ifunc_impl_list to initialize
52128         func_list if TEST_IFUNC and TEST_NAME are defined.
52130         * string/Makefile (strop-tests): Add bcopy and bzero.
52131         * string/test-bcopy.c: New file.
52132         * string/test-bzero.c: Likewise.
52133         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
52134         defined.
52135         * string/test-memset.c: Support bzero test if TEST_BZERO is
52136         defined.
52137         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
52138         __libc_memmove.
52139         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
52140         __libc_memset.
52141         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
52142         of memset.
52144 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
52146         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
52147         * configure: Regenerated.
52149         * Makeconfig (+link-static-before-libc): Don't include
52150         $(link-static-libc).
52152         * libio/libio.h (_IO_pos_t): Remove.
52154 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
52156         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
52157         McGrath.
52159 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
52161         * crypt/crypt-entry.c: Include fips-private.h.
52162         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
52163         * crypt/md5c-test.c (main): Tolerate disabled MD5.
52164         * sysdeps/unix/sysv/linux/fips-private.h: New file.
52165         * sysdeps/generic/fips-private.h: New file, dummy fallback.
52167 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
52169         * crypt/crypt-private.h: Include stdbool.h.
52170         (_ufc_setup_salt_r): Return bool.
52171         * crypt/crypt-entry.c: Include errno.h.
52172         (__crypt_r): Return NULL with EINVAL for bad salt.
52173         * crypt/crypt_util.c (bad_for_salt): New.
52174         (_ufc_setup_salt_r): Check that salt is long enough and within
52175         the specified alphabet.
52176         * crypt/badsalttest.c: New file.
52177         * crypt/Makefile (tests): Add it.
52178         ($(objpfx)badsalttest): New.
52180 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
52182         * NEWS: Add entry for BZ #14602.
52184 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
52186         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
52187         type-generic.
52188         * math/libm-test.inc: Update comment listing what functions and
52189         macros are tested.
52190         (isgreater_test): New function.
52191         (isgreaterequal_test): Likewise.
52192         (isless_test): Likewise.
52193         (islessequal_test): Likewise.
52194         (islessgreater_test): Likewise.
52195         (isunordered_test): Likewise.
52196         (main): Call the new functions.
52198 2012-10-09  Roland McGrath  <roland@hack.frob.com>
52200         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
52201         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
52202         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
52203         * sysdeps/i386/configure: Regenerated.
52204         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
52205         * sysdeps/mach/configure: Regenerated.
52206         * sysdeps/mach/hurd/configure: Regenerated.
52207         * sysdeps/powerpc/configure: Regenerated.
52208         * sysdeps/powerpc/powerpc32/configure: Regenerated.
52209         * sysdeps/powerpc/powerpc64/configure: Regenerated.
52210         * sysdeps/s390/s390-32/configure: Regenerated.
52211         * sysdeps/s390/s390-64/configure: Regenerated.
52212         * sysdeps/sh/configure: Regenerated.
52213         * sysdeps/sparc/configure: Regenerated.
52214         * sysdeps/unix/sysv/linux/configure: Regenerated.
52215         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
52216         * sysdeps/x86_64/configure: Regenerated.
52218         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
52219         defined.  Don't check if MAP is NULL.
52221 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
52223         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
52224         (_G_stat64): Likewise.
52225         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
52226         (_G_stat64): Likewise.
52227         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
52228         instead of struct _G_stat64.
52229         * libio/fileops.c (mmap_remap_check): Likewise.
52230         (decide_maybe_mmap): Likewise.
52231         (_IO_new_file_seekoff): Likewise.
52232         (_IO_file_stat): Likewise.
52233         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
52234         _G_off64_t.
52235         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
52236         instead of struct _G_stat64.
52237         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
52239 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
52241         [BZ #14602]
52242         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
52243         Replace with ...
52244         (CHECK_EOL): New macro.
52245         (two_way_short_needle): Check beginning of haystack for EOL.  Use
52246         CHECK_EOL.
52247         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
52248         Replace with CHECK_EOL.
52249         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
52250         Replace with CHECK_EOL.
52252 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
52254         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
52255         type-generic.
52256         * math/libm-test.inc: Update comment listing what functions and
52257         macros are tested.
52258         (finite_test): New function.
52259         (isinf_test): Likewise.
52260         (isnan_test): Likewise.
52261         (fpclassify_test): Test subnormal input.
52262         (isfinite_test): Likewise.
52263         (isnormal_test): Likewise.
52264         (main): Call the new functions.
52266 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
52268         [BZ #14660]
52269         * Makerules (%.dynsym): Force C locale when running
52270         $(OBJDUMP) --dynamic-syms.
52272 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
52274         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
52275         <stdint.h>.
52277 2012-10-06  David S. Miller  <davem@davemloft.net>
52279         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
52280         upper 32-bits of the length value in %o2 since we use branch-on-register
52281         tests which consider the entire 64-bit register.
52283 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
52285         * string/test-strstr.c (check2): Add a test for page boundary.
52287 2012-10-05  David S. Miller  <davem@davemloft.net>
52289         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
52290         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
52291         file.
52292         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
52293         sysdep_routines.
52294         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
52295         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
52296         and bzero when HWCAP_SPARC_CRYPTO is present.
52298 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
52300         [BZ #14602]
52301         * string/test-strstr.c (check2): New function.
52302         (test_main): Call check2.
52304         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
52305         and bug-strchr1.
52306         * string/bug-strcasestr1.c (do_test): Moved to ...
52307         * string/test-strcasestr.c (check1): Here.  New function.
52308         (do_one_test): Break out result checking code into ...
52309         (check_result): This.  New function.
52310         (do_one_test): Call check_result.
52311         (test_main): Call check1.
52312         * string/bug-strchr1.c (do_test): Moved to ...
52313         * string/test-strchr.c (check1): Here.  New function.
52314         (do_one_test): Break out result checking code into ...
52315         (check_result): This.  New function.
52316         (do_one_test): Call check_result.
52317         (test_main): Call check1.
52318         * string/bug-strstr1.c (main): Moved to ...
52319         * string/test-strstr.c (check1): Here.  New function.
52320         (do_one_test): Break out result checking code into ...
52321         (check_result): This.  New function.
52322         (do_one_test): Call check_result.
52323         (test_main): Call check1.
52324         * string/bug-strcasestr1.c: Removed.
52325         * string/bug-strchr1.c: Likewise.
52326         * string/bug-strstr1.c: Likewise.
52328         * elf/Makefile (dl-routines): Add hwcaps.
52329         * elf/dl-support.c (_dl_important_hwcaps): Removed.
52330         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
52331         (_dl_important_hwcaps): Moved to ...
52332         * elf/dl-hwcaps.c: Here.  New file.
52333         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
52335         [BZ #14557]
52336         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
52337         if IS_IN_rtld isn't defined.
52339         * elf/dl-support.c (_dl_sysinfo_map): New.
52340         Include "get-dynamic-info.h" and "setup-vdso.h".
52341         (_dl_non_dynamic_init): Call setup_vdso.
52342         * elf/dynamic-link.h: Don't include <assert.h>.
52343         (elf_get_dynamic_info): Moved to ...
52344         * elf/get-dynamic-info.h: Here.  New file.
52345         * elf/dynamic-link.h: Include "get-dynamic-info.h".
52346         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
52347         * elf/setup-vdso.h: Here.  New file.
52348         * elf/rtld.c: Include "setup-vdso.h".
52349         (dl_main): Call setup_vdso.
52351 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
52353         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
52354         creal in comment listing functions tested.  List finite, isinf,
52355         isnan, isless, islessequal, isgreater, isgreaterequal,
52356         islessgreater, isunordered, lgamma_r and pow10 as functions and
52357         macros not tested.  Mention which functions not tested are aliases
52358         for other functions.  Fix typo.  Note that signs of NaNs are not
52359         tested.
52361         * scripts/config.guess: Update from config.git.
52362         * scripts/config.sub: Likewise.
52364 2012-10-04  Roland McGrath  <roland@hack.frob.com>
52366         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
52367         * misc/madvise.c (madvise): Renamed to __madvise.
52368         Make madvise a weak alias.
52369         * include/sys/mman.h: Declare __madvise.
52370         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
52371         * sysdeps/unix/syscalls.list
52372         (madvise): Make __madvise the strong name, and madvise a weak alias.
52373         * sysdeps/unix/sysv/linux/syscalls.list
52374         (madvise, mmap): Remove redundant entries.
52375         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
52376         * malloc/malloc.c (mtrim): Likewise.
52377         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
52379 2012-10-03  Roland McGrath  <roland@hack.frob.com>
52381         * sysdeps/mach/hurd/dl-cache.c: File removed.
52382         * config.h.in (USE_LDCONFIG): New #undef.
52383         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
52384         * configure: Regenerated.
52385         * elf/Makefile (dl-routines): Add dl-cache only under
52386         [$(use-ldconfig) = yes].
52387         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
52388         cache on [USE_LDCONFIG].
52389         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
52390         [USE_LDCONFIG].
52391         * elf/rtld.c (dl_main): Likewise.
52393 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
52395         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
52396         _SC_LEVEL4_CACHE_LINESIZE.
52398 2012-10-03  Roland McGrath  <roland@hack.frob.com>
52400         * sysdeps/unix/bsd/confstr.h: File removed.
52402 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
52404         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
52405         sys/sdt-config.h.
52407 2012-10-02  Roland McGrath  <roland@hack.frob.com>
52409         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
52410         Make 'mapoff' field ElfW(Off) rather than off_t.
52412 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
52414         * nscd/Makefile: Remove nscd-cflags and all its users.
52415         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
52416         (CFLAGS-nonlib): Add compiler flags for nscd modules.
52418         [BZ #10631]
52419         * malloc.c (malloc_printerr): Clarify error message.
52421 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
52423         [BZ #14648]
52424         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52425         Set bit_FMA_Usable if FMA is supported.
52426         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
52427         macro.
52428         (bit_FMA4_Usable): Updated.
52429         (index_FMA_Usable): New macro.
52430         (CPUID_FMA): Likewise
52431         (HAS_FMA): Defined with bit_FMA_Usable.
52433 2012-10-01  Roland McGrath  <roland@hack.frob.com>
52435         * bits/types.h (__swblk_t): Type removed.
52436         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
52437         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
52438         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52439         (__SWBLK_T_TYPE): Likewise.
52440         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
52441         (__SWBLK_T_TYPE): Likewise.
52442         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52443         (__SWBLK_T_TYPE): Likewise.
52444         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52445         (__SWBLK_T_TYPE): Likewise.
52447 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
52448             Honza Horak <hhorak@redhat.com>
52450         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
52451         (xdr_mapname): Use YPMAXMAP as maxsize.
52452         (xdr_peername): Use YPMAXPEER as maxsize.
52453         (xdr_keydat): Use YPAXRECORD as maxsize.
52454         (xdr_valdat): Use YPMAXRECORD as maxsize.
52456 2012-10-01  Roland McGrath  <roland@hack.frob.com>
52458         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
52460         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
52461         * csu/init-first.c: ... here.
52462         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
52463         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
52464         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
52465         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
52466         * sysdeps/i386/init-first.c: File removed.
52467         * sysdeps/sh/init-first.c: File removed.
52469 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
52471         [BZ #14645]
52472         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
52473         if x * y might underflow to zero and z is zero.
52474         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52475         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52476         * math/libm-test.inc (min_subnorm_value): New variable.
52477         (fma_test): Add more tests.
52478         (fma_test_towardzero): Likewise.
52479         (fma_test_downward): Likewise
52480         (fma_test_upward): Likewise.
52481         (initialize): Set min_subnorm_value.
52483 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
52485         [BZ #14638]
52486         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
52487         0 + 0.
52488         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
52489         mode for addition resulting in exact zero.
52490         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
52491         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
52492         exact 0 + 0.
52493         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
52494         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52495         * math/libm-test.inc (fma_test): Add more tests.
52496         (fma_test_towardzero): New function.
52497         (fma_test_downward): Likewise.
52498         (fma_test_upward): Likewise.
52499         (main): Call the new functions.
52501 2012-09-28  David S. Miller  <davem@davemloft.net>
52503         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
52505 2012-09-28  Roland McGrath  <roland@hack.frob.com>
52507         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
52508         instead of SIGALRM.
52510         * sysdeps/gnu/_G_config.h: Moved to ...
52511         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
52512         * sysdeps/mach/hurd/_G_config.h: Moved to ...
52513         * sysdeps/generic/_G_config.h: ... here.
52515         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
52517         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
52519         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
52520         Conditionalize target on [libnss_test1.so-version].
52522         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
52524         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
52525         (elfobjdir): Move out of conditionals.
52527         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
52528         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
52529         (__nss_lookup_function): Conditionalize label remove_from_tree on
52530         [!DO_STATIC_NSS || SHARED], matching its only use.
52532 2012-09-28  David S. Miller  <davem@davemloft.net>
52534         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
52535         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
52536         file.
52537         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
52538         sysdep_routines.
52539         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
52540         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
52541         when HWCAP_SPARC_CRYPTO is present.
52543 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
52545         * io/tst-mknodat.c: Create a FIFO instead of a socket.
52547 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
52549         [BZ #6530]
52550         * stdio-common/vfprintf.c (process_string_arg): Revert
52551         2000-07-22 change.
52553 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
52555         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
52556         for testcase.
52557         * stdio-common/tst-sprintf.c: Include <locale.h>
52558         (main): Test sprintf's handling of incomplete multibyte
52559         characters.
52561 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
52563         * elf/dl-runtime.c (VERSYMIDX): Removed.
52564         * elf/dl-version.c (VERSYMIDX): Likewise.
52565         * elf/do-rel.h (VERSYMIDX): Likewise.
52566         (VALIDX): Likewise.
52567         * elf/dynamic-link.h (VERSYMIDX): Likewise.
52568         * elf/rtld.c (VALIDX): Likewise.
52569         (ADDRIDX): Likewise.
52570         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
52571         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
52572         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
52573         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
52574         (VALIDX): Likewise.
52575         (ADDRIDX): Likewise.
52577 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
52579         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
52581 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
52583         [BZ #11438]
52584         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
52585         to global scope.
52586         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
52587         addresses are in the same scope as 192.0.2/24.
52588         * posix/gai.conf: Document new scope table defaults.
52590 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52592         [BZ #5298]
52593         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
52594         for ftell.  Compute offsets from write pointers instead.
52595         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
52597 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52599         [BZ #14543]
52600         * libio/Makefile (tests): New test case tst-fseek.
52601         * libio/tst-fseek.c: New test case to verify that fseek/ftell
52602         combination works in wide mode.
52603         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
52604         state when the external buffer state changes.
52606 2012-09-27  David S. Miller  <davem@davemloft.net>
52608         [BZ #14376]
52609         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
52610         pass reloc->r_addend in as the 'high' argument to
52611         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
52613         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52615 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
52617         * rt/tst-aio2.c: Include <pthread.h>.
52618         * rt/tst-aio3.c: Likewise.
52620 2012-09-27  Steve Ellcey  <sellcey@mips.com>
52622         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
52624 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
52626         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
52627         contents on [SHARED].
52629 2012-09-26  Marek Polacek  <polacek@redhat.com>
52631         [BZ #14530]
52632         [BZ #13741]
52633         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
52634         for C++ and GCC <4.3 as well as for non GCC compilers.
52636 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
52638         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52640 2012-09-25  Roland McGrath  <roland@hack.frob.com>
52642         * Makefile.in (all, install): Declare with .PHONY.
52643         Reported by Michael Hope <michael.hope@linaro.org>.
52645 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52647         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
52648         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
52649         system header.
52650         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
52651         Likewise.
52652         (sydep_routines): Add the new and the internal functions.
52653         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
52654         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
52655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
52656         (GLIBC_2.17): Add the new function.
52657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
52658         (GLIBC_2.17): Likewise.
52659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
52660         (GLIBC_2.17): Likewise.
52661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
52662         (GLIBC_2.17): Likewise.
52663         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
52665 2012-09-25  Alan Modra  <amodra@gmail.com>
52667         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
52668         Add release barrier before setting once_control to say
52669         initialisation is done.  Add hints on lwarx.  Use macro in
52670         place of isync.
52671         (clear_once_control): Add release barrier.
52673 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
52675         [BZ #13629]
52676         * math/s_clog.c (__clog): Handle more values close to |z| = 1
52677         specially.
52678         * math/s_clog10.c (__clog10): Likewise.
52679         * math/s_clog10f.c (__clog10f): Likewise.
52680         * math/s_clog10l.c (__clog10l): Likewise.
52681         * math/s_clogf.c (__clogf): Likewise.
52682         * math/s_clogl.c (__clogl): Likewise.
52683         * math/Makefile (libm-calls): Add x2y2m1.
52684         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
52685         (__x2y2m1): Likewise.
52686         (__x2y2m1l): Likewise.
52687         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
52688         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
52689         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
52690         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
52691         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
52692         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
52693         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
52694         * sysdeps/i386/fpu/libm-test-ulps: Update.
52695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52697         [BZ #14621]
52698         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
52699         int as type of variable DEPTH.
52700         (glob): Use size_t instead of int as type of variables NEWCOUNT
52701         and OLD_PATHC.
52703 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52705         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
52706         Add s_sincosf-sse2.
52707         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
52708         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
52709         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
52710         macros for using routine as __sincosf_ia32.
52711         Use macro for function declaration and weak_alias.
52712         * sysdeps/i386/fpu/libm-test-ulps: Update.
52714         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
52715         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52717         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
52718         subnormal argument.
52719         * math/s_cexpf.c (__cexpf): Likewise.
52720         * math/s_csinf.c (__csinf): Likewise.
52721         * math/s_csinhf.c (__csinhf): Likewise.
52722         * math/s_ctanf.c (__ctanf): Likewise.
52723         * math/s_ctanhf.c (__ctanhf): Likewise.
52724         * math/s_ccosh.c (__ccoshf): Likewise.
52725         * math/s_cexp.c (__cexpl): Likewise.
52726         * math/s_csin.c (__csin): Likewise.
52727         * math/s_csinh.c (__csinh): Likewise.
52728         * math/s_ctan.c (__ctan): Likewise.
52729         * math/s_ctanh.c (ctanh): Likewise.
52730         * math/s_ccoshl.c (__ccoshl): Likewise.
52731         * math/s_cexpl.c (__cexpl): Likewise.
52732         * math/s_csinl.c (__csinl): Likewise.
52733         * math/s_csinhl.c (__csinhl): Likewise.
52734         * math/s_ctanl.c (__ctanl): Likewise.
52735         * math/s_ctanhl.c (__ctanhl): Likewise.
52737 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
52739         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
52740         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
52741         (_IO_off_t): Define to __off_t, not _G_off_t.
52742         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
52743         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
52744         (_IO_wint_t): Define to wint_t, not _G_wint_t.
52745         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
52746         type of __dummy and __dummy2 fields.
52747         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
52748         (_G_ssize_t): Likewise.
52749         (_G_off_t): Likewise.
52750         (_G_pid_t): Likewise.
52751         (_G_uid_t): Likewise.
52752         (_G_wchar_t): Likewise.
52753         (_G_wint_t): Likewise.
52754         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
52755         (_G_ssize_t): Likewise.
52756         (_G_off_t): Likewise.
52757         (_G_pid_t): Likewise.
52758         (_G_uid_t): Likewise.
52759         (_G_wchar_t): Likewise.
52760         (_G_wint_t): Likewise.
52761         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
52762         (_G_ssize_t): Likewise.
52763         (_G_off_t): Likewise.
52764         (_G_pid_t): Likewise.
52765         (_G_uid_t): Likewise.
52766         (_G_wchar_t): Likewise.
52767         (_G_wint_t): Likewise.
52769 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
52771         * malloc/arena.c: Include malloc-sysdep.h.
52772         (shrink_heap): Use check_may_shrink_heap to decide if madvise
52773         is sufficient to shrink the heap or an unmap is needed.
52774         * sysdeps/generic/malloc-sysdep.h: New file.  Define
52775         new function check_may_shrink_heap.
52776         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
52777         new function check_may_shrink_heap.
52779 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
52781         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
52782         comments.
52784 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
52786         * catgets/test-gencat.sh: Add "set -e".
52787         * elf/tst-pathopt.sh: Likewise.
52788         * grp/tst_fgetgrent.sh: Likewise.
52789         * iconvdata/run-iconv-test.sh: Likewise.
52790         * intl/tst-gettext.sh: Likewise.
52791         * intl/tst-gettext2.sh: Likewise.
52792         * intl/tst-gettext4.sh: Likewise.
52793         * intl/tst-gettext6.sh: Likewise.
52794         * intl/tst-translit.sh: Likewise.
52795         * io/ftwtest-sh: Likewise.
52796         * libio/test-freopen.sh: Likewise.
52797         * malloc/tst-mtrace.sh: Likewise.
52798         * posix/globtest.sh: Likewise.
52799         * posix/tst-getconf.sh: Likewise.
52800         * posix/wordexp-tst.sh: Likewise.
52801         * stdio-common/tst-printf.sh: Likewise.
52802         * stdio-common/tst-unbputc.sh: Likewise.
52803         * stdlib/tst-fmtmsg.sh: Likewise.
52804         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
52805         * catgets/Makefile: Do not specify -e option when running
52806         testsuite shell scripts.
52807         * elf/Makefile: Likewise.
52808         * grp/Makefile: Likewise.
52809         * iconvdata/Makefile: Likewise.
52810         * intl/Makefile: Likewise.
52811         * io/Makefile: Likewise.
52812         * libio/Makefile: Likewise.
52813         * malloc/Makefile: Likewise.
52814         * posix/Makefile: Likewise.
52815         * stdio-common/Makefile: Likewise.
52816         * stdlib/Makefile: Likewise.
52817         * sysdeps/x86_64/Makefile: Likewise.
52819         * io/ftwtest-sh: Add copyright header.
52820         * posix/globtest.sh: Likewise.
52821         * posix/tst-getconf.sh: Likewise.
52822         * posix/wordexp-tst.sh: Likewise.
52823         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
52825 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
52827         [BZ #13679]
52828         * Makeconfig (+link): Defined as $(+link-static) if
52829         $(build-shared) isn't yes.
52830         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
52831         isn't yes.
52832         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
52834         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
52836         [BZ #14562]
52837         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
52838         new chunk size with MALLOC_ALIGN_MASK.
52840 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
52842         [BZ #5044]
52843         * stdio-common/printf_fphex.c: Include <stdbool.h> and
52844         <rounding-mode.h>.
52845         (__printf_fphex): Determine rounding using get_rounding_mode and
52846         round_away.
52847         * stdio-common/tst-printf-round.c (struct hex_test): New
52848         structure.
52849         (hex_tests): New variable.
52850         (test_hex_in_one_mode): New function.
52851         (do_test): Also run tests for hex float output.
52853 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
52855         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
52856         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
52857         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
52858         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
52859         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
52860         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
52861         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
52862         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
52864 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
52866         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
52867         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
52868         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
52869         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
52871 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
52873         [BZ #14579]
52874         * elf/rtld.c (dl_main): Limit the check for self loading to normal
52875         mode only.
52876         * elf/tst-rtld-load-self.sh: New test.
52877         * elf/Makefile: Run it.
52879 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
52881         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
52882         (tst-writev-ENV): Remove.
52883         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
52885 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
52887         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
52889 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
52891         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
52892         unconditional.
52893         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
52894         Likewise.
52895         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
52896         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
52897         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
52898         Likewise.
52900 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
52902         [BZ #14587]
52903         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
52904         * config.make.in (have-cpp-asm-debuginfo): Removed.
52905         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
52906         * configure: Regenerated.
52908 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
52910         [BZ #5044]
52911         * stdio-common/printf_fp.c: Include <stdbool.h> and
52912         <rounding-mode.h>.
52913         (___printf_fp): Determine rounding using get_rounding_mode and
52914         round_away.
52915         * stdio-common/tst-printf-round.c: New file.
52916         * stdio-common/Makefile (tests): Add tst-printf-round.
52917         (link-libm): New variable.
52918         ($(objpfx)tst-printf-round): Depend in $(link-libm).
52920 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
52922         [BZ #14576]
52923         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
52924         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
52925         Likewise.
52926         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
52927         Likewise.
52929 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
52931         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
52932         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
52933         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
52934         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
52936 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
52938         [BZ #14518]
52939         * include/rounding-mode.h: New file.
52940         * sysdeps/generic/get-rounding-mode.h: Likewise.
52941         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
52942         * stdlib/strtod_l.c: Include <rounding-mode.h>.
52943         (MAX_VALUE): New macro.
52944         (MIN_VALUE): Likewise.
52945         (overflow_value): New function.
52946         (underflow_value): Likewise.
52947         (round_and_return): Use overflow_value and underflow_value to
52948         determine return values in overflow and underflow cases.  Use
52949         round_away to determine rounding depending on rounding mode.
52950         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
52951         determine return values in overflow and underflow cases.
52952         * stdlib/tst-strtod-round.c: Include <fenv.h>.
52953         (struct test_results): New structure.
52954         (struct test): Use struct test_results to store expected results
52955         for all rounding modes.
52956         (TEST): Include expected results for all rounding modes.
52957         (test_in_one_mode): New function.
52958         (do_test): Use test_in_one_mode to compute and check results.
52959         Check results for all rounding modes.
52960         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
52961         $(link-libm).
52963 2012-12-09  Allan McRae  <allan@archlinux.org>
52965         * sysdeps/i386/fpu/libm-test-ulps: Update
52967 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
52969         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
52970         (_G_int32_t): Likewise.
52971         (_G_uint16_t): Likewise.
52972         (_G_uint32_t): Likewise.
52973         (_G_HAVE_BOOL): Likewise.
52974         (_G_HAVE_ATEXIT): Likewise.
52975         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
52976         (_G_HAVE_IO_FILE_OPEN): Likewise.
52977         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
52978         (_G_int32_t): Likewise.
52979         (_G_uint16_t): Likewise.
52980         (_G_uint32_t): Likewise.
52981         (_G_HAVE_BOOL): Likewise.
52982         (_G_HAVE_ATEXIT): Likewise.
52983         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
52984         (_G_HAVE_IO_FILE_OPEN): Likewise.
52985         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
52986         (_G_int32_t): Likewise.
52987         (_G_uint16_t): Likewise.
52988         (_G_uint32_t): Likewise.
52989         (_G_HAVE_BOOL): Likewise.
52990         (_G_HAVE_ATEXIT): Likewise.
52991         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
52992         (_G_HAVE_IO_FILE_OPEN): Likewise.
52994 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
52996         * csu/libc-tls.c: Update copyright years.
52998 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
53000         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
53001         [!_G_USING_THUNKS]: Remove conditional code.
53002         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
53003         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
53005         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
53006         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
53007         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
53008         (_G_VTABLE_LABEL_PREFIX): Likewise.
53009         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
53010         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
53011         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
53012         (_G_VTABLE_LABEL_PREFIX): Likewise.
53013         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
53014         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
53015         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
53016         (_G_VTABLE_LABEL_PREFIX): Likewise.
53017         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
53019 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
53021         * libio/Makefile: Include ../Makeconfig before tests.
53022         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
53023         only if $(build-shared) is yes.
53025         * iconv/gconv_db.c: Update copyright years.
53027 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53029         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
53030         unwind info if defined PIC. Fix special cases description.
53031         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
53033         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
53034         DP_HI_MASK entry.
53035         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
53037 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
53039         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
53041         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
53042         is NULL.
53044         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
53045         (LDLIBS-tst-chk4): This.
53046         (LDFLAGS-tst-chk5): Renamed to ...
53047         (LDLIBS-tst-chk5): This.
53048         (LDFLAGS-tst-chk6): Renamed to ...
53049         (LDLIBS-tst-chk6): This.
53050         (LDFLAGS-tst-lfschk4): Renamed to ...
53051         (LDLIBS-tst-lfschk4): This.
53052         (LDFLAGS-tst-lfschk5): Renamed to ...
53053         (LDLIBS-tst-lfschk5): This.
53054         (LDFLAGS-tst-lfschk6): Renamed to ...
53055         (LDLIBS-tst-lfschk6): This.
53057         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
53058         on $(common-objpfx)soversions.mk.
53060 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
53062         [BZ #10014]
53063         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
53064         example host name.
53066 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
53068         * malloc/arena.c (arena_get_retry): New function that gets
53069         another arena for the caller to try its request on.
53070         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
53071         current arena cannot fulfill the request.
53072         (__libc_memalign): Likewise.
53073         (__libc_memalign): Likewise.
53074         (__libc_pvalloc): Likewise.
53075         (__libc_calloc): Likewise.
53077 2012-09-05  John Tobey  <john.tobey@gmail.com>
53079         [BZ #13542]
53080         * manual/arith.texi (Operations on Complex): Fix description
53081         of carg branch cut.
53083 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
53085         [BZ #10014]
53086         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
53087         host name.
53089         [BZ #10038]
53090         * manual/memory.texi (Memory): Make order of menu items match
53091         order of sections.
53093 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
53095         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
53096         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
53097         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
53099 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
53101         * csu/libc-tls.c (static_dtv): Renamed to ...
53102         (_dl_static_dtv): This.  Make it global.
53103         (_dl_initial_dtv): Removed.
53104         (__libc_setup_tls): Updated.
53105         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
53106         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
53107         DL_INITIAL_DTV.
53109 2012-09-06  Petr Machata  <pmachata@redhat.com>
53111         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
53112         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
53113         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
53114         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
53116 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
53118         [BZ #14545]
53119         * csu/libc-tls.c (_dl_initial_dtv): New variable.
53120         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
53121         freeing dtv[-1].
53123 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
53125         [BZ #14544]
53126         * Makeconfig (link-static-before-libc): Replace $(+prector)
53127         with $(+prectorT).
53128         (link-static-after-libc): Replace $(+postctor) with
53129         $(+postctorT).
53130         (link-bounded): Replace $(+prector)/$(+postctor) with
53131         $(+prectorT)/$(+postctorT).
53132         (+prectorT): New macro.
53133         (+postctorT): Likewise.
53135 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
53137         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
53138         (round_str): Handle values above the maximum for IBM long double
53139         as inexact.
53140         * stdlib/tst-strtod-round.c (tests): Regenerated.
53142 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53144         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
53145         assembler flag.
53146         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
53147         zarch_nohighgprs around the zarch optimized routines.
53148         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
53149         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
53150         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
53151         for zarch.
53153 2012-09-05  David S. Miller  <davem@davemloft.net>
53155         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53157         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
53158         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
53159         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
53160         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
53161         entries.
53163 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
53165         * malloc/arena.c: Fold copyright years.
53166         * malloc/mcheck.c, malloc/memusage.c: Likewise.
53168 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
53170         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
53172 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
53174         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
53176 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
53178         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
53179         change internal state upon failure.
53181 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
53183         * malloc/mcheck.c (mcheck_check_all): Fix typo.
53184         * malloc/memusage.c (mmap): Likewise.
53185         (mmap64, mremap): Likewise.  Adjust name in comment.
53187 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
53189         * libio/fileops.c: Fix typos in comments.
53190         * libio/oldfileops.c: Likewise.
53191         * libio/wfileops.c: Likewise.
53193 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
53195         [BZ #1349]
53196         * malloc/Makefile (tests): Add tst-malloc-usable test case.
53197         (tst-malloc-usable-ENV): Set environment for test case.
53198         * malloc/hooks.c (malloc_check_get_size): New function to get
53199         requested size.
53200         * malloc/malloc.c (musable): Use malloc_check_get_size.
53201         * malloc/tst-malloc-usable.c: New test case.
53203 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
53205         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
53207 2012-09-05  Allan McRae  <allan@archlinux.org>
53209         [BZ #13966]
53210         * configure.in (CXX_SYSINCLUDES): Use compiler output to
53211         determine header location.
53212         * configure: Regenerated.
53214 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
53216         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
53217         float format.
53218         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
53219         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
53220         format.
53221         (test): Regenerate.
53223 2012-09-04  David S. Miller  <davem@davemloft.net>
53225         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
53226         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
53227         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
53229 2012-09-04  Florian Weimer  <fweimer@redhat.com>
53231         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
53232         failures.
53234         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
53236 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
53238         [BZ #9914]
53239         * libio/iogetdelim.c: Include <limits.h>.
53240         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
53241         + len + 1 would overflow.
53243 2012-09-03  Andreas Jaeger  <aj@suse.de>
53245         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53246         * sysdeps/i386/fpu/libm-test-ulps: Update.
53248 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53250         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
53251         Add s_sinf-sse2, s_conf-sse2.
53253         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
53254         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
53255         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
53256         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
53258         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
53259         for using routine as __sinf_ia32.
53260         Use macro for function declaration and weak_alias.
53261         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
53262         for using routine as __cosf_ia32.
53263         Use macro for function declaration and weak_alias.
53265         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
53266         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
53268         * sysdeps/x86_64/fpu/s_sinf.S: New file.
53269         * sysdeps/x86_64/fpu/s_cosf.S: New file.
53270         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53272         * math/libm-test.inc (cos_test): Add more test cases.
53273         (sin_test): Likewise.
53274         (sincos_test): Likewise.
53276 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53278         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
53279         (IFUNC_RESOLVE): Make pointers to the specialized implementations
53280         hidden.
53281         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
53283 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
53285         [BZ #14538]
53286         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
53287         first element of the GOT.
53288         (elf_machine_load_address): Return the difference between
53289         the runtime address of _DYNAMIC and elf_machine_dynamic ().
53291 2012-09-01  Allan McRae  <allan@archlinux.org>
53293         [BZ #13412]
53294         * configure.in (AWK): Require gawk version 3.0 or later.
53295         * configure: Regenerated.
53297 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
53299         * sysdeps/unix/sysv/linux/kernel-features.h
53300         (__ASSUME_POSIX_CPU_TIMERS): Remove.
53301         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
53302         [__NR_clock_getres]: Make code unconditional.
53303         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
53304         (clock_getcpuclockid): Remove code left unreachable by removal of
53305         conditionals.
53306         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
53307         code unconditional.
53308         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
53309         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
53310         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
53311         Make code unconditional.
53312         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
53313         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
53314         * sysdeps/unix/sysv/linux/clock_settime.c
53315         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
53316         conditional code.
53317         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
53318         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
53320 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
53322         [BZ #14476]
53323         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
53324         scripts/test-installation.pl.
53326         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
53327         and $ld_so_version if it is set.
53329 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53331         [BZ #14516]
53332         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
53333         failure if reading from procfs failed.
53334         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
53336 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
53338         * sysdeps/unix/sysv/linux/kernel-features.h
53339         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
53340         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
53341         Remove conditional code.
53342         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53343         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
53344         Remove conditional code.
53345         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53346         * sysdeps/unix/sysv/linux/i386/fxstat.c
53347         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
53348         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53349         * sysdeps/unix/sysv/linux/i386/fxstatat.c
53350         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
53351         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53352         * sysdeps/unix/sysv/linux/i386/lxstat.c
53353         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
53354         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53355         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
53356         Remove conditional code.
53357         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53358         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
53359         Remove conditional code.
53360         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53361         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
53362         <kernel-features.h>.
53363         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
53364         Remove.
53365         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
53366         Remove conditional code.
53367         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53368         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
53369         Remove conditional.
53371 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
53373         [BZ #5400]
53374         * NEWS: Add fixed bug number.
53376 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
53378         [BZ #14519]
53379         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
53380         underflowing exponent in case of negative sign.
53381         * stdlib/tst-strtod-round-data: Add more tests.
53382         * stdlib/tst-strtod-round.c (tests): Regenerated.
53384         [BZ #3479]
53385         * stdlib/strtod_l.c (NDIG): Remove.
53386         (HEXNDIG): Likewise.
53387         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
53388         smallest representable value.
53389         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
53390         lie within an exact representation of 1/2 ulp of the result.
53391         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
53392         unconditionally.
53393         (TENS_P9_IDX): Define unconditionally.
53394         (TENS_P9_SIZE): Likewise.
53395         (TENS_P10_IDX): Likewise.
53396         (TENS_P10_SIZE): Likewise.
53397         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
53398         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
53399         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
53400         entries for 10^2^13 and 10^2^14.
53401         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
53402         (TENS_P13_IDX): Define.
53403         (TENS_P13_SIZE): Likewise.
53404         (TENS_P14_IDX): Likewise.
53405         (TENS_P14_SIZE): Likewise.
53406         (_fpioconst_pow10): Change array size to
53407         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
53408         unconditional.
53409         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
53410         1024]: Add entries for 10^2^13 and 10^2^14.
53411         [LAST_POW10 > _LAST_POW10]: Remove #error.
53412         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
53413         (_fpioconst_pow10): Change array size to
53414         FPIOCONST_POW10_ARRAY_SIZE.
53415         * stdlib/gen-fpioconst.c: New file.
53416         * stdlib/gen-tst-strtod-round.c: Likewise.
53417         * stdlib/tst-strtod-round-data: Likewise.
53418         * stdlib/tst-strtod-round.c: Likewise.
53419         * stdlib/Makefile (tests): Add tst-strtod-round.
53421         [BZ #14459]
53422         * stdlib/strtod_l.c: Include <stdint.h>.
53423         (NDEBUG): Do not define.
53424         (round_and_return): Change EXPONENT parameter to type intmax_t.
53425         Rearrange calculations to avoid internal overflow possibilities.
53426         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
53427         Rearrange calculations to avoid internal overflow possibilities.
53428         Assert that number fits inside MPNSIZE limbs.
53429         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
53430         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
53431         calculations and add assertions to avoid internal overflow
53432         possibilities.  Add casts to avoid signed/unsigned operations.
53433         * stdlib/tst-strtod-overflow.c: New file.
53434         * stdlib/Makefile (tests): Add tst-strtod-overflow.
53436 2012-08-25  Marek Polacek  <polacek@redhat.com>
53438         * time/time.h: Fix some typos in comments.
53440 2012-08-23  Roland McGrath  <roland@hack.frob.com>
53442         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
53443         * posix/tst-rfc3484-2.c: Likewise.
53444         * posix/tst-rfc3484-3.c: Likewise.
53446 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
53448         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
53449         (EF_ARM_ABI_FLOAT_HARD): Likewise.
53451 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
53453         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
53454         #include of fxstatat64.c.
53456 2012-08-22  Roland McGrath  <roland@hack.frob.com>
53458         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
53459         * shadow/getspent_r.c: Likewise.
53460         * shadow/getspnam.c: Likewise.
53461         * shadow/getspnam_r.c: Likewise.
53462         * gshadow/getsgent.c: Likewise.
53463         * gshadow/getsgent_r.c: Likewise.
53464         * gshadow/getsgnam.c: Likewise.
53465         * gshadow/getsgnam_r.c: Likewise.
53466         * inet/getnetbyad.c: Likewise.
53467         * inet/getnetbyad_r.c: Likewise.
53468         * inet/getnetbynm.c: Likewise.
53469         * inet/getnetbynm_r.c: Likewise.
53470         * inet/getnetent.c: Likewise.
53471         * inet/getnetent_r.c: Likewise.
53472         * inet/getproto.c: Likewise.
53473         * inet/getproto_r.c: Likewise.
53474         * inet/getprtent.c: Likewise.
53475         * inet/getprtent_r.c: Likewise.
53476         * inet/getprtname.c: Likewise.
53477         * inet/getprtname_r.c: Likewise.
53478         * inet/getrpcbyname.c: Likewise.
53479         * inet/getrpcbyname_r.c: Likewise.
53480         * inet/getrpcbynumber.c: Likewise.
53481         * inet/getrpcbynumber_r.c: Likewise.
53482         * inet/getrpcent.c: Likewise.
53483         * inet/getrpcent_r.c: Likewise.
53484         * inet/getaliasent.c: Likewise.
53485         * inet/getaliasent_r.c: Likewise.
53486         * inet/getaliasname.c: Likewise.
53487         * inet/getaliasname_r.c: Likewise.
53488         * nscd/getgrgid_r.c: Likewise.
53489         * nscd/getgrnam_r.c: Likewise.
53490         * nscd/gethstbyad_r.c: Likewise.
53491         * nscd/gethstbynm3_r.c: Likewise.
53492         * nscd/getpwnam_r.c: Likewise.
53493         * nscd/getpwuid_r.c: Likewise.
53494         * nscd/getsrvbynm_r.c: Likewise.
53495         * nscd/getsrvbypt_r.c: Likewise.
53496         * nscd/gai.c: Likewise.
53498         * configure.in (build_nscd): New substituted variable, set
53499         by --disable-build-nscd and defaults to $use_nscd.
53500         * configure: Regenerated.
53501         * config.make.in (build-nscd): New substituted variable.
53502         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
53503         Change conditional to require [$(build-nscd) = yes] as well.
53504         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
53506         [BZ# 13696]
53507         * configure.in (use_nscd): New substituted variable, set by
53508         --disable-nscd.  If enabled, define USE_NSCD.
53509         * configure: Regenerated.
53510         * config.h.in: Add USE_NSCD.
53511         * config.make.in (use-nscd): New substituted variable.
53512         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
53513         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
53514         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
53515         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
53516         (CFLAGS-getgrnam_r.c): Likewise.
53517         (CFLAGS-initgroups.c): Likewise.
53518         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
53519         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
53520         Variables removed.
53521         * inet/getnetgrent_r.c
53522         (nscd_setnetgrent): New function, broken out of ...
53523         (setnetgrent): ... here.  Call it.
53524         (innetgr): Conditionalize nscd bits on [USE_NSCD].
53525         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
53526         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
53527         * nscd/Makefile (routines, aux): Move definitions after include of
53528         Makeconfig.  Conditionalize on [$(use-nscd) != no].
53529         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
53530         Conditionalize on [USE_NSCD].
53531         (is_nscd, nscd_init_cb): Likewise.
53532         (nss_load_library): Conditionalize init callback on [USE_NSCD].
53533         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
53534         * nss/nss_db/db-init.c: Likewise.
53535         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
53536         [USE_NSCD].
53537         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
53538         (make_request): Use it.
53539         (cache_valid_p): New function.
53540         (__check_pf): Use it.
53541         * NEWS: Add item for --disable-nscd.
53543 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
53545         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
53546         to support sed >= 4.2.1-20-ga9bf076.
53547         * configure: Regenerated.
53549 2012-08-22  Roland McGrath  <roland@hack.frob.com>
53551         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
53552         Conditionalize whole body on [IREL].
53554 2012-08-22  Jeff Law <law@redhat.com>
53556         [BZ #14505]
53557         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
53558         if the family is PF_UNSPEC.
53560 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
53562         * Makerules (lib-version): Rename from V.
53563         (install-lib-nosubdir): Change V to lib-version.
53565 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
53567         [BZ #14252]
53568         * powerpc32/power6/wcschr.c: New file.
53569         * powerpc32/power6/wcscpy.c: New file.
53570         * powerpc32/power6/wcsrchr.c: New file.
53571         * powerpc64/power6/wcschr.c: New file.
53572         * powerpc64/power6/wcscpy.c: New file.
53573         * powerpc64/power6/wcsrchr.c: New file.
53575 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
53577         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
53578         (two_way_short_needle): Use it.
53579         * string/strstr.c (AVAILABLE1_USES_J): Define.
53580         * string/strcasestr.c: Likewise.
53582         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
53583         array references.
53584         * string/strcasestr.c (TOLOWER): Make side-effect safe.
53586         [BZ #11607]
53587         * NEWS: Add an entry.
53588         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
53589         define their defaults.
53590         (two_way_short_needle): Detect end-of-string on-the-fly.
53591         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
53592         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
53593         * string/bug-strcasestr1.c: New test.
53594         * string/Makefile: Run it.
53596 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
53598         [BZ #11607]
53599         * string/str-two-way.h (two_way_short_needle): Optimize matching of
53600         the first character.
53602 2012-08-21  Roland McGrath  <roland@hack.frob.com>
53604         * csu/elf-init.c (__libc_csu_irel): Function removed.
53605         * csu/libc-start.c (apply_irel): New function.
53606         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
53608 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
53610         * sysdeps/unix/sysv/linux/kernel-features.h
53611         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
53612         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
53613         <kernel-features.h>.
53614         [__NR_fadvise64_64]: Make code unconditional.
53615         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
53616         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
53617         !__NR_fadvise64_64)]: Likewise.
53618         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
53619         !__NR_fadvise64_64))]: Likewise.
53620         [__NR_fadvise64]: Make code unconditional.
53621         [!__NR_fadvise64]: Remove conditional code.
53622         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
53623         <kernel-features.h>.
53624         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
53625         unconditional.
53626         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
53627         conditional code.
53628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
53629         not include <kernel-features.h>.
53630         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
53631         unconditional.
53632         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
53633         conditional code.
53634         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
53635         include <kernel-features.h>.
53636         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
53637         unconditional.
53638         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
53639         conditional code.
53641 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
53643         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
53644         slight instruction rearrangements per scrollpipe analysis.
53645         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
53647 2012-08-20  Roland McGrath  <roland@hack.frob.com>
53649         * manual/syslog.texi (syslog; vsyslog, closelog):
53650         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
53651         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
53653         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
53654         DSOCAPS to match condition on defining it.
53656 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
53658         * sysdeps/unix/sysv/linux/kernel-features.h
53659         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
53660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
53661         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
53662         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
53663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
53664         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
53665         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
53666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
53667         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
53668         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
53670         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
53671         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
53673         * sysdeps/unix/sysv/linux/kernel-features.h
53674         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
53675         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
53676         unconditional.
53677         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53678         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
53679         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
53680         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53681         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
53682         Make code unconditional.
53683         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53684         (__mmap64) [!__NR_mmap2]: Likewise.
53685         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
53686         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
53687         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53688         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
53689         [__NR_mmap2]: Make code unconditional.
53690         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53691         (__mmap64) [!__NR_mmap2]: Likewise.
53693 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53695         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
53697 2012-08-18  Andreas Jaeger  <aj@suse.de>
53699         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
53701 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
53703         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
53704         * include/unistd.h (__have_sock_cloexec): Likewise.
53705         (__have_pipe2): Likewise.
53706         (__have_dup3): Likewise.
53708 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
53710         [BZ #9685]
53711         * include/unistd.h (__have_pipe2): Change define into an extern int.
53712         (__have_dup3): Likewise.
53713         * socket/have_sock_cloexec.c: Include fcntl.h.
53714         (__have_pipe2): New variable.
53715         (__have_dup3): Likewise.
53717 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
53719         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
53721 2012-08-17  Marek Polacek  <polacek@redhat.com>
53723         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
53724         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
53726 2012-08-17  Roland McGrath  <roland@hack.frob.com>
53728         * configure.in: Add AC_SUBST for sysheaders.
53729         * configure: Regenerated.
53730         * config.make.in (sysheaders): New substituted variable.
53732         * sysdeps/unix/mkfifo.c: Moved ...
53733         * sysdeps/posix/mkfifo.c: ... here.
53734         * sysdeps/unix/mkfifoat.c: Moved ...
53735         * sysdeps/posix/mkfifoat.c: ... here.
53737         * sysdeps/unix/utime.c: Moved ...
53738         * sysdeps/posix/utime.c: ... here.
53740         * sysdeps/unix/time.c: Moved ...
53741         * sysdeps/posix/time.c: ... here.
53742         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
53743         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
53745         * sysdeps/unix/nice.c: Moved ...
53746         * sysdeps/posix/nice.c: ... here.
53748         * sysdeps/unix/alarm.c: Moved ...
53749         * sysdeps/posix/alarm.c: ... here.
53751         * intl/Makefile ($(codeset_mo)): Depend on the input file.
53753 2012-08-17  Jeff Law <law@redhat.com>
53755         * intl/Makefile (codeset_mo): New variable.
53756         ($(codeset_mo)): New target.
53757         (tst-codeset.out): Depend on that.  Remove explicit rule.
53758         (tst-gettext3.out, tst-gettext5.out): Likewise.
53759         (LOCPATH-ENV, tst-codeset-ENV): New variables.
53760         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
53761         * intl/tst-codeset.sh: Remove.
53762         * intl/tst-gettext3.sh: Likewise.
53763         * intl/tst-gettext5.sh: Likewise.
53765 2012-08-17  Roland McGrath  <roland@hack.frob.com>
53767         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
53768         * sysdeps/unix/syscalls.list: ... here.
53770         * sysdeps/posix/getaddrinfo.c
53771         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
53772         (gaiconf_init, gaiconf_reload): Use them.
53773         [!_STATBUF_ST_NSEC]
53774         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
53775         Define using time_t rather than struct timespec.
53777         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
53778         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
53779         Macros removed.
53780         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
53781         [!NO_THREADS].
53782         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
53783         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
53784         Likewise.
53786         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
53787         __libc_cleanup_push argument.
53789         * bits/param.h: New file.
53790         * misc/sys/param.h: New file.
53791         * include/sys/param.h: New file.
53792         * misc/Makefile (headers): Add bits/param.h.
53793         * sysdeps/generic/sys/param.h: File removed.
53794         * sysdeps/unix/sysv/linux/bits/param.h: New file.
53795         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
53796         * sysdeps/mach/hurd/bits/param.h: New file.
53797         * sysdeps/mach/hurd/sys/param.h: File removed.
53799         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
53800         last change.
53802         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
53803         [_IO_MTSAFE_IO].
53804         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
53805         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
53806         New macros.
53808         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
53809         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
53810         rather than -D_IO_MTSAFE_IO conditionally.
53811         * stdio-common/Makefile (CPPFLAGS): Likewise.
53812         * wcsmbs/Makefile (CPPFLAGS): Likewise.
53813         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
53814         Use $(libio-mtsafe).
53815         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
53816         of -D_IO_MTSAFE_IO.
53817         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
53818         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
53819         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
53820         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
53821         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
53822         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
53823         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
53824         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
53825         (CFLAGS-fread_u_chk.c): Likewise.
53826         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
53827         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
53828         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
53829         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
53830         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
53831         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
53832         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
53833         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
53834         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
53836         * libio/Makefile: Test [$(libc-reentrant) = yes]
53837         instead of [$(filter %REENTRANT, $(defines)) nonempty].
53839         * Makeconfig
53840         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
53841         * sysdeps/pthread/configure: File removed.
53842         * sysdeps/pthread/Makeconfig: New file.
53843         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
53844         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
53846 2012-08-16  Gary Benson  <gbenson@redhat.com>
53848         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
53849         unmapping the first object in a namespace.
53851 2012-08-16  Roland McGrath  <roland@hack.frob.com>
53853         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
53854         (__internal_setnetgrent): ... this.  Add internal_function to
53855         definition.  Add libc_hidden_def.
53856         (setnetgrent): Update caller.
53857         (internal_endnetgrent): Renamed to ...
53858         (__internal_endnetgrent): ... this.  Add internal_function to
53859         definition.  Add libc_hidden_def.
53860         (endnetgrent): Update caller.
53861         (internal_getnetgrent_r): Renamed to ...
53862         (__internal_getnetgrent_r): ... this.  Add internal_function to
53863         definition.  Add libc_hidden_def.
53864         (__getnetgrent_r): Update caller.
53865         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
53867 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
53869         * stdlib/longlong.h: Update from GCC.
53871 2012-08-16  Roland McGrath  <roland@hack.frob.com>
53873         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
53874         on _QL, which is set by umul_ppmm but never used.
53875         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
53876         variables, which are set by GMP macros but never used.
53877         * stdio-common/_itowa.c (_itowa): Likewise.
53878         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
53879         * stdlib/mod_1.c (mpn_mod_1): Likewise.
53881 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
53883         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
53884         struct La_sh_regs is not constant.
53885         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
53886         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
53887         and struct La_sparc64_regs are not constant.
53889 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
53891         * sysdeps/unix/sysv/linux/kernel-features.h
53892         (__ASSUME_POSIX_TIMERS): Remove.
53893         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
53894         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53895         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
53896         Make code unconditional.
53897         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53898         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
53899         Make code unconditional.
53900         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53901         * sysdeps/unix/sysv/linux/clock_nanosleep.c
53902         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
53903         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53904         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
53905         Make code unconditional.
53906         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53907         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
53908         (__libc_missing_posix_timers): Remove.
53910 2012-08-15  Roland McGrath  <roland@hack.frob.com>
53912         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
53913         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
53915         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
53917         * elf/dl-sym.c: Include <stdlib.h>.
53919         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
53920         constants, which avoids warnings in 32-bit builds.
53922         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
53923         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
53925         * misc/lseek.c: File moved to ...
53926         * io/lseek.c: ... here.
53928         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
53930         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
53931         shifting LEN more than 31 bits at once.
53933 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53935         [BZ #14195]
53936         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
53937         segmentation fault for a case of two empty input strings.
53938         * string/test-strncasecmp.c (check1): Renamed to...
53939         (bz12205): ...this.
53940         (bz14195): Add new testcase for two empty input strings and N > 0.
53941         (test_main): Call new testcase, adapt for renamed function.
53943 2012-08-15  Andreas Jaeger  <aj@suse.de>
53945         [BZ #14090]
53946         * crypt/md5test2.c: New test, based on test supplied by Serge
53947         Belyshev <belyshev@depni.sinp.msu.ru>.
53948         * crypt/Makefile (xtests): Add md5test-giant..
53949         * crypt/Makefile ($(objpfx)md5test-giant): Add.
53951 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
53953         [BZ #14090]
53954         * crypt/md5.c (md5_process_block): Don't assume the buffer
53955         length is less than 2**32.
53956         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
53957         length is less than 2**64.
53959 2012-08-15  Roland McGrath  <roland@hack.frob.com>
53961         * string/str-two-way.h: Include <sys/param.h>.
53962         (MAX): Macro removed.
53964         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
53965         Move #define and #undef of memmove to just before and after
53966         including <string.h>.
53968         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
53969         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
53970         and after including <string.h>.  Move declarations of
53971         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
53972         to before #include "string/memmove.c".
53974         * include/dirent.h: Declare __getdirentries.
53976         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
53977         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
53979 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
53981         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
53982         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
53983         * sysdeps/i386/configure: Regenerated.
53984         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
53985         STABS_CURRENT_FILE, and STABS_FUN.
53986         (END): Remove call to STABS_FUN_END.
53987         (STABS_CURRENT_FILE1): Delete.
53988         (STABS_CURRENT_FILE): Likewise.
53989         (STABS_FUN): Likewise.
53990         (STABS_FUN_END): Likewise.
53991         (STABS_FUN2): Likewise.
53992         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
53993         * sysdeps/x86_64/configure: Regenerated.
53995 2012-08-14  Roland McGrath  <roland@hack.frob.com>
53997         * elf/dl-open.c: Include <atomic.h>.
53998         * elf/dl-lookup.c: Likewise.
54000 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
54002         * sysdeps/unix/sysv/linux/kernel-features.h
54003         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
54004         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
54005         unconditionally.
54006         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
54007         unconditionally.
54008         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
54009         condition on __ASSUME_CLONE_THREAD_FLAGS.
54011 2012-08-14  Andreas Jaeger  <aj@suse.de>
54013         * sysdeps/i386/fpu/libm-test-ulps: Update.
54015 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
54017         * include/atomic.h (atomic_exchange_and_add): Split into ...
54018         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
54019         New atomic macros.
54021 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
54023         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54025 2012-08-13  Jeff Law <law@redhat.com>
54027         * manual/stdio.texi (snprintf): Clarify handling of the trailing
54028         null byte in the output string.
54030 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
54032         * sysdeps/unix/sysv/linux/kernel-features.h
54033         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
54034         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
54035         (__ASSUME_ARG_MAX_STACK_BASED): Define.
54036         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
54037         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
54038         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
54039         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
54041 2012-08-09  Jeff Law <law@redhat.com>
54043         [BZ #13939]
54044         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
54045         When avoid_arena is set, don't retry in the that arena.  Pick the
54046         next one, whatever it might be.
54047         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
54048         (arena_lock): Pass in new parameter to arena_get2.
54049         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
54050         arena_get2.
54051         (__libc_malloc): Unify retrying after main arena failure with
54052         __libc_memalign version.
54053         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
54055 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
54057         [BZ #14166]
54058         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
54059         to __redirect_strstr.
54060         (__strstr_sse42): Use typeof __redirect_strstr.
54061         (__strstr_ia32): Likewise.
54062         (__libc_strstr): New prototype.
54063         (strstr): Renamed to ...
54064         (__libc_strstr): This.
54065         (strstr): New strong alias of __libc_strstr.
54066         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
54067         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
54068         __redirect_time.
54069         Include <time.h>.
54070         (__libc_time): New prototype.
54071         (time_ifunc): Replace time with __libc_time.
54072         (time): New strong alias and hidden definition of __libc_time.
54073         (__GI_time): Remove strong alias.
54074         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
54075         Include <stddef.h>.
54076         (memmove): Redefined to __redirect_memmove.
54077         (__memmove_sse2): Use typeof __redirect_memmove.
54078         (__memmove_ssse3): Likewise.
54079         (__memmove_ssse3_back): Likewise.
54080         (__libc_memmove): New prototype.
54081         (memmove): Renamed to ...
54082         (__libc_memmove): This.
54083         (memmove): New strong alias of __libc_memmove.
54085 2012-08-08  Mark Salter  <msalter@redhat.com>
54087         * elf/elf.h
54088         (R_MN10300_TLS_GD): Define.
54089         (R_MN10300_TLS_LD): Likewise.
54090         (R_MN10300_TLS_LDO): Likewise.
54091         (R_MN10300_TLS_GOTIE): Likewise.
54092         (R_MN10300_TLS_IE): Likewise.
54093         (R_MN10300_TLS_LE): Likewise.
54094         (R_MN10300_TLS_DTPMOD): Likewise.
54095         (R_MN10300_TLS_DTPOFF): Likewise.
54096         (R_MN10300_TLS_TPOFF): Likewise.
54097         (R_MN10300_SYM_DIFF): Likewise.
54098         (R_MN10300_ALIGN): Likewise.
54099         (R_MN10300_NUM): Update.
54101 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
54103         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
54104         Remove.
54106 2012-08-08  Roland McGrath  <roland@hack.frob.com>
54108         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
54110         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
54111         sysdeps/unix -> sysdeps/posix move.
54112         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
54114 2012-08-07      Allan McRae     <allan@archlinux.org>
54116         [BZ #14303]
54117         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
54118         (SUNOS_CPP): Likewise.
54119         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
54120         not found.
54121         (open_input): Call CPP using execvp.
54123 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
54125         * sysdeps/unix/sysv/linux/kernel-features.h
54126         (__ASSUME_PROT_GROWSUPDOWN): Remove.
54127         (__ASSUME_NO_CLONE_DETACHED): Likewise.
54128         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
54129         (__ASSUME_WAITID_SYSCALL): Likewise.
54130         * sysdeps/unix/sysv/linux/dl-execstack.c
54131         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
54132         code unconditional.
54133         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
54134         conditional code.
54135         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
54136         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
54137         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
54138         code.
54139         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
54140         unconditional.
54141         [__ASSUME_WAITID_SYSCALL]: Likewise.
54142         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
54144 2012-08-07  Roland McGrath  <roland@hack.frob.com>
54146         * sysdeps/unix/closedir.c: Renamed to ...
54147         * sysdeps/posix/closedir.c: ... here.
54148         * sysdeps/unix/dirfd.c: Renamed to ...
54149         * sysdeps/posix/dirfd.c: ... here.
54150         * sysdeps/unix/dirstream.h: Renamed to ...
54151         * sysdeps/posix/dirstream.h: ... here.
54152         * sysdeps/unix/fdopendir.c: Renamed to ...
54153         * sysdeps/posix/fdopendir.c: ... here.
54154         * sysdeps/unix/opendir.c: Renamed to ...
54155         * sysdeps/posix/opendir.c: ... here.
54156         * sysdeps/unix/readdir.c: Renamed to ...
54157         * sysdeps/posix/readdir.c: ... here.
54158         * sysdeps/unix/readdir_r.c: Renamed to ...
54159         * sysdeps/posix/readdir_r.c: ... here.
54160         * sysdeps/unix/rewinddir.c: Renamed to ...
54161         * sysdeps/posix/rewinddir.c: ... here.
54162         * sysdeps/unix/seekdir.c: Renamed to ...
54163         * sysdeps/posix/seekdir.c: ... here.
54164         * sysdeps/unix/telldir.c: Renamed to ...
54165         * sysdeps/posix/telldir.c: ... here.
54166         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
54167         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
54168         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
54169         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
54171         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
54172         * bits/fcntl.h: ... here.
54174         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
54175         not 0.
54176         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
54177         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
54178         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
54179         (struct flock): Move l_start, l_len to the beginning.
54180         Use __pid_t for l_pid.
54181         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
54182         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
54183         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
54184         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
54185         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
54186         [__USE_LARGEFILE64] (struct flock64): New type.
54187         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
54189         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
54190         * bits/dirent.h: ... here.
54192         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
54193         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
54195 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
54197         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
54198         Change from 2.6.0 to 2.6.16.
54199         * sysdeps/unix/sysv/linux/configure: Regenerated.
54200         * sysdeps/unix/sysv/linux/kernel-features.h
54201         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
54202         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
54203         version.
54204         (__ASSUME_UTIMES): Likewise.
54205         (__ASSUME_CLONE_STOPPED): Remove.
54206         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
54207         architectures, not kernel version.
54208         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
54209         (__ASSUME_NO_CLONE_DETACHED): Likewise.
54210         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
54211         (__ASSUME_WAITID_SYSCALL): Likewise.
54212         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
54213         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
54214         * README: State 2.6.16 as minimum Linux kernel version.  Do not
54215         refer to older versions.
54217 2012-08-06  Roland McGrath  <roland@hack.frob.com>
54219         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
54220         Define alphasort64 as an alias.
54221         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
54222         Define versionsort64 as an alias.
54223         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
54224         Define scandir64 as an alias.
54225         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
54226         Define scandirat64 as an alias.
54227         * dirent/alphasort64.c (alphasort64):
54228         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
54229         * dirent/versionsort64.c: Likewise.
54230         * dirent/scandir64.c: Likewise.
54231         * dirent/scandirat64.c: Likewise.
54232         * sysdeps/wordsize-64/alphasort.c: File removed.
54233         * sysdeps/wordsize-64/alphasort64.c: File removed.
54234         * sysdeps/wordsize-64/scandir.c: File removed.
54235         * sysdeps/wordsize-64/scandir64.c: File removed.
54236         * sysdeps/wordsize-64/scandirat.c: File removed.
54237         * sysdeps/wordsize-64/scandirat64.c: File removed.
54238         * sysdeps/wordsize-64/versionsort.c: File removed.
54239         * sysdeps/wordsize-64/versionsort64.c: File removed.
54240         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
54241         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
54242         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
54243         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
54244         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
54245         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
54246         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
54247         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
54249         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
54250         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
54251         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
54252         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54253         [defined __arch64__ || defined __sparcv9]
54254         (__INO_T_MATCHES_INO64_T): New macro.
54255         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
54256         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
54257         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
54258         * sysdeps/unix/sysv/linux/bits/dirent.h
54259         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
54260         (_DIRENT_MATCHES_DIRENT64): New macro.
54262         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
54263         Define lockf64 as an alias.
54264         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
54265         Define fseeko64 as an alias.
54266         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
54267         Define ftello64 as an alias.
54268         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
54269         Define _IO_fgetpos64 and fgetpos64 as aliases.
54270         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
54271         Define _IO_fsetpos64 and fsetpos64 as aliases.
54272         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
54273         Conditionalize body on this.
54274         * libio/fseeko64.c: Likewise.
54275         * libio/ftello64.c: Likewise.
54276         * libio/iofgetpos64.c: Likewise.
54277         * libio/iofsetpos64.c: Likewise.
54278         * sysdeps/wordsize-64/lockf.c: File removed.
54279         * sysdeps/wordsize-64/lockf64.c: File removed.
54280         * sysdeps/wordsize-64/fseeko.c: File removed.
54281         * sysdeps/wordsize-64/fseeko64.c: File removed.
54282         * sysdeps/wordsize-64/ftello.c: File removed.
54283         * sysdeps/wordsize-64/ftello64.c: File removed.
54284         * sysdeps/wordsize-64/iofgetpos.c: File removed.
54285         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
54286         * sysdeps/wordsize-64/iofsetpos.c: File removed.
54287         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
54288         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
54289         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
54290         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
54291         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
54292         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
54293         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
54294         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
54295         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
54296         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
54297         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
54299         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
54300         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
54301         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
54302         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54303         [defined __arch64__ || defined __sparcv9]
54304         (__OFF_T_MATCHES_OFF64_T): New macro.
54305         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
54306         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
54307         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54308         (__OFF_T_MATCHES_OFF64_T): New macro.
54310 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
54312         * stdlib/secure-getenv.c (__secure_getenv): Replace
54313         GLIBC_2_16 with GLIBC_2_17.
54315 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
54317         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
54318         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
54320 2012-08-03  David S. Miller  <davem@davemloft.net>
54322         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54324 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
54326         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
54327         Remove.
54328         (__ASSUME_CORRECT_SI_PID): Likewise.
54329         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
54330         (__ASSUME_TMPFS_NAME): Likewise.
54331         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
54332         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
54333         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
54334         (HAVE_AUX_SECURE): Make definition unconditional.
54335         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
54336         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
54338 2012-08-03  Roland McGrath  <roland@hack.frob.com>
54340         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
54341         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
54342         * sysdeps/mach/hurd/eloop-threshold.h: New file.
54343         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
54344         __eloop_threshold instead of SYMLOOP_MAX.
54346         * sysdeps/generic/eloop-threshold.h: New file.
54347         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
54348         of MAXSYMLINKS.
54349         * elf/chroot_canon.c (chroot_canon): Likewise.
54351 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
54353         [BZ #13717]
54354         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
54355         Change to 2.6.0 everywhere.
54356         * sysdeps/unix/sysv/linux/configure: Regenerated.
54357         * sysdeps/unix/sysv/linux/kernel-features.h
54358         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
54359         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
54360         kernel versions.
54361         (__ASSUME_POSIX_TIMERS): Define unconditionally.
54362         (__ASSUME_FUTEX_REQUEUE): Remove.
54363         (__ASSUME_STATFS64): Define unconditionally.
54364         (__ASSUME_AT_SECURE): Likewise.
54365         (__ASSUME_CORRECT_SI_PID): Likewise.
54366         (__ASSUME_TGKILL): Define without depending on kernel version for
54367         i386.
54368         (__ASSUME_UTIMES): Likewise.
54369         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
54370         kernel version.
54371         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
54372         (__ASSUME_TMPFS_NAME): Likewise.
54373         * README: Update reference to Linux kernel versions.
54375 2012-08-02  Marek Polacek  <polacek@redhat.com>
54377         [BZ# 14150]
54378         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
54379         libc_cv_asm_type_prefix with %.
54380         * configure: Regenerated.
54381         * include/libc-symbols.h: Remove comment about
54382         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
54383         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
54384         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
54385         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
54386         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
54387         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
54388         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
54389         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
54390         * elf/tst-unique2mod1.c: Likewise.
54391         * elf/tst-unique1mod2.c: Likewise.
54392         * elf/tst-unique1mod1.c: Likewise.
54393         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
54394         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
54395         Replace ASM_TYPE_DIRECTIVE with .type.
54396         * sysdeps/s390/s390-64/sysdep.h: Likewise.
54397         * sysdeps/i386/sysdep.h: Likewise.
54398         * sysdeps/x86_64/sysdep.h: Likewise.
54399         * sysdeps/sh/sysdep.h: Likewise.
54400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
54401         Do not define ASM_TYPE_DIRECTIVE.
54402         * sysdeps/powerpc/sysdep.h: Likewise.
54403         * sysdeps/powerpc/powerpc32/sysdep.h:
54404         Replace ASM_TYPE_DIRECTIVE with .type.
54405         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
54406         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
54407         * sysdeps/i386/fpu/e_powf.S: Likewise.
54408         * sysdeps/i386/fpu/e_expl.S: Likewise.
54409         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
54410         * sysdeps/i386/fpu/e_acosh.S: Likewise.
54411         * sysdeps/i386/fpu/e_pow.S: Likewise.
54412         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
54413         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
54414         * sysdeps/i386/fpu/s_expm1.S: Likewise.
54415         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
54416         * sysdeps/i386/fpu/e_log2.S: Likewise.
54417         * sysdeps/i386/fpu/e_log2l.S: Likewise.
54418         * sysdeps/i386/fpu/e_scalb.S: Likewise.
54419         * sysdeps/i386/fpu/e_powl.S: Likewise.
54420         * sysdeps/i386/fpu/e_log10f.S: Likewise.
54421         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
54422         * sysdeps/i386/fpu/e_logl.S: Likewise.
54423         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
54424         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
54425         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
54426         * sysdeps/i386/fpu/e_log2f.S: Likewise.
54427         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
54428         * sysdeps/i386/fpu/e_log.S: Likewise.
54429         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
54430         * sysdeps/i386/fpu/e_logf.S: Likewise.
54431         * sysdeps/i386/fpu/e_log10l.S: Likewise.
54432         * sysdeps/i386/fpu/e_atanh.S: Likewise.
54433         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
54434         * sysdeps/i386/fpu/e_log10.S: Likewise.
54435         * sysdeps/i386/fpu/s_frexp.S: Likewise.
54436         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
54437         * sysdeps/i386/fpu/s_asinh.S: Likewise.
54438         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
54439         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
54440         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
54441         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
54442         * sysdeps/i386/i686/strtok.S: Likewise.
54443         * sysdeps/i386/i386-mcount.S: Likewise.
54444         * sysdeps/i386/strtok.S: Likewise.
54445         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
54446         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
54447         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54448         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
54449         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
54450         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
54451         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
54452         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
54453         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
54454         * sysdeps/x86_64/_mcount.S: Likewise.
54455         * sysdeps/x86_64/strtok.S: Likewise.
54456         * sysdeps/sh/_mcount.S: Likewise.
54458 2012-08-01  Roland McGrath  <roland@hack.frob.com>
54460         * libio/iofopen.c: Include <fcntl.h>.
54461         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
54462         (_IO_fopen64, fopen64): Define as aliases.
54463         * libio/iofopen64.c: Include <fcntl.h>.
54464         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
54465         Conditionalize body on this.
54466         * sysdeps/wordsize-64/iofopen.c: File removed.
54467         * sysdeps/wordsize-64/iofopen64.c: File removed.
54469 2012-08-01  Marek Polacek  <polacek@redhat.com>
54471         * libc/Makeconfig: Use elf in place of binfmt-subdir.
54472         Use dlfcn directly instead of a variable.
54473         (binfmt-subdir): Do not define.
54474         (dlfcn): Likewise.
54476 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
54478         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
54479         Remove all definitions.
54480         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
54481         <kernel-features.h>.
54482         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
54483         (miss_F_GETOWN_EX): Remove all definitions.
54484         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
54485         macro definition.
54486         [!__ASSUME_FCNTL64]: Remove conditional code.
54487         [__ASSUME_FCNTL64]: Make code unconditional.
54488         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
54489         <kernel-features.h>.
54490         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
54491         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
54492         (lockf64) [__NR_fcntl64]: Make code unconditional.
54493         (lockf64) [__ASSUME_FCNTL64]: Likewise.
54495         * sysdeps/unix/sysv/linux/kernel-features.h
54496         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
54497         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
54498         Make code unconditional.
54499         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
54500         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
54501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
54502         [__NR_vfork]: Make code unconditional.
54503         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
54504         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
54505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
54506         [__NR_vfork]: Make code unconditional.
54507         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
54508         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
54510 2012-08-01  Roland McGrath  <roland@hack.frob.com>
54512         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
54513         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
54515         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
54516         Define mkstemp64 as an alias.
54517         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
54518         Define mkstemps64 as an alias.
54519         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
54520         Define mkostemp64 as an alias.
54521         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
54522         Define mkostemps64 as an alias.
54523         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
54524         Conditionalize body on this.
54525         * misc/mkostemp64.c: Likewise.
54526         * misc/mkostemps64.c: Likewise.
54527         * misc/mkstemps64.c: Likewise.
54528         * sysdeps/wordsize-64/mkstemp64.c: File removed.
54529         * sysdeps/wordsize-64/mkostemp64.c: File removed.
54530         * sysdeps/wordsize-64/mkostemp.c: File removed.
54531         * sysdeps/wordsize-64/mkstemp.c: File removed.
54532         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
54533         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
54534         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
54535         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
54537         [BZ #14138]
54538         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
54539         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
54540         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
54541         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
54543         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
54544         compat_symbol macros from <shlib-compat.h> rather than the underlying
54545         default_symbol_version and symbol_version macros, so that DEFAULT
54546         lines in shlib-versions are respected.
54547         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
54549 2012-08-01  Florian Weimer  <fweimer@redhat.com>
54551         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
54552         Declare with warn_unused_result.
54553         (setgid, setregid, setegid, setresgid): Likewise.
54554         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
54555         Likewise.
54556         * WUR-REPORT: Remove set*id functions.
54558 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
54560         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
54562 2012-07-31  Roland McGrath  <roland@hack.frob.com>
54564         [BZ #10191]
54565         * include/sys/socket.h (__libc_accept, __libc_accept4):
54566         Add attribute_hidden.
54567         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
54569         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
54570         use of PTR_MANGLE.
54571         * inet/getnetgrent_r.c (setup): Likewise.
54573         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
54575 2012-07-31  David S. Miller  <davem@davemloft.net>
54577         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54579 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
54581         [BZ #13629]
54582         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
54583         value between 1.0 and 2.0 and smaller part has absolute value less
54584         than 1.0.
54585         * math/s_clog10.c (__clog10): Likewise.
54586         * math/s_clog10f.c (__clog10f): Likewise.
54587         * math/s_clog10l.c (__clog10l): Likewise.
54588         * math/s_clogf.c (__clogf): Likewise.
54589         * math/s_clogl.c (__clogl): Likewise.
54590         * math/libm-test.inc (clog_test): Add more tests.
54591         (clog10_test): Likewise.
54592         * sysdeps/i386/fpu/libm-test-ulps: Update.
54593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54595 2012-07-31  Florian Weimer  <fweimer@redhat.com>
54597         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
54598         Exit with zero in case no suitable GID is found, and write a
54599         message to standard error.
54601 2012-07-30  Roland McGrath  <roland@hack.frob.com>
54603         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
54604         rather than to 1.
54605         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
54606         (MAXPATHLEN): Removed.
54607         (NOGROUP, NODEV): New macros.
54608         (setbit, clrbit, isset, isclr): New macros.
54609         (howmany, roundup, powerof2): New macros.
54610         (DEV_BSIZE): New macro.
54612         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
54613         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
54615         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
54616         definition on [!__NO_LONG_DOUBLE_MATH].
54618         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
54619         PTR_MANGLE and PTR_DEMANGLE.
54621         * socket/accept4.c (accept4): Rename to __libc_accept4.
54622         Define accept4 as a weak alias.
54624         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
54625         on [_DIRENT_HAVE_D_TYPE].
54626         * io/ftw.c (ftw_dir): Likewise.
54628         * io/xmknod.c (__xmknod): Don't check PATH for being null.
54630         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
54632         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
54633         Use the BSD numbers rather than the arbitrary ones we had.
54634         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
54635         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
54636         (SIGXCPU, SIGXFSZ): New macros.
54637         (_NSIG): Now 32.
54639         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
54640         initializer on [_LIBC_REENTRANT].
54642         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
54643         definitions inside [_POSIX_MAPPED_FILES].
54645         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
54647         * dirent/opendir.c: Include <fcntl.h>.
54649         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
54650         (__libc_getspecific): Likewise.
54651         (__libc_key_create): Likewise.
54653         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
54654         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
54655         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
54656         (tmpfile64): Define as alias.
54657         * sysdeps/wordsize-64/tmpfile.c: File removed.
54658         * sysdeps/wordsize-64/tmpfile64.c: File removed.
54659         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
54660         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
54662         * stdio-common/vfscanf.c: Include <stdbool.h>.
54663         * nss/makedb.c: Likewise.
54664         * stdio-common/_i18n_number.h: Likewise.
54665         * argp/argp-help.c: Likewise.
54666         * posix/wordexp.c: Likewise.
54667         * sysdeps/posix/spawni.c: Likewise.
54668         * nss/nss_files/files-initgroups.c: Likewise.
54669         * stdio-common/reg-modifier.c: Include <stdlib.h>.
54670         * nss/nss_files/files-initgroups.c: Likewise.
54671         * nss/nss_db/db-netgrp.c: Likewise.
54672         * nss/nss_db/db-initgroups.c: Likewise.
54673         * io/fchmodat.c: Include <sys/stat.h>.
54675         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
54676         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
54678         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
54679         [HAVE_MMAP].
54681         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
54682         Add multiple inclusion protection.
54684 2012-07-27  David S. Miller  <davem@davemloft.net>
54686         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54688 2012-07-27  Gary Benson  <gbenson@redhat.com>
54690         [BZ #14298]
54691         * elf/rtld.c: Include <stap-probe.h>.
54692         (dl_main): Added static probes "init_start" and "init_complete".
54693         * elf/dl-load.c: Include <stap-probe.h>.
54694         (lose): Take new parameter "nsid".
54695         Added static probe "map_failed".
54696         (_dl_map_object_from_fd): Pass namespace id to lose.
54697         Added static probe "map_start".
54698         (open_verify): Pass namespace id to lose.
54699         * elf/dl-open.c: Include <stap-probe.h>.
54700         (dl_open_worker) Added static probes "map_complete", "reloc_start"
54701         and "reloc_complete".
54702         * elf/dl-close.c: Include <stap-probe.h>.
54703         (_dl_close_worker): Added static probes "unmap_start" and
54704         "unmap_complete".
54705         * elf/rtld-debugger-interface.txt: New file documenting the above.
54707 2012-07-26  Roland McGrath  <roland@hack.frob.com>
54709         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
54710         rather than a string variable.
54711         * sunrpc/rpc_main.c (h_output): Likewise.
54712         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
54714 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
54716         * inet/check_native.c: New file.
54718 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
54720         [BZ #13629]
54721         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
54722         if larger part has absolute value 1.0.
54723         * math/s_clog10.c (__clog10): Likewise.
54724         * math/s_clog10f.c (__clog10f): Likewise.
54725         * math/s_clog10l.c (__clog10l): Likewise.
54726         * math/s_clogf.c (__clogf): Likewise.
54727         * math/s_clogl.c (__clogl): Likewise.
54728         * math/libm-test.inc (clog_test): Add more tests.
54729         (clog10_test): Likewise.
54730         * sysdeps/i386/fpu/libm-test-ulps: Update.
54731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54733         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
54734         (pltexit): Likewise.
54735         (La_regs): Likewise.
54736         (La_retval): Likewise.
54737         (int_retval): Likewise.
54738         Update #error for removed macros to refer only to definitions in
54739         tst-audit.h.
54740         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
54741         macro.
54742         (pltexit): Likewise.
54743         (La_regs): Likewise.
54744         (La_retval): Likewise.
54745         (int_retval): Likewise.
54746         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
54747         macro.
54748         (pltexit): Likewise.
54749         (La_regs): Likewise.
54750         (La_retval): Likewise.
54751         (int_retval): Likewise.
54752         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
54753         macro.
54754         (pltexit): Likewise.
54755         (La_regs): Likewise.
54756         (La_retval): Likewise.
54757         (int_retval): Likewise.
54758         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
54759         macro.
54760         (pltexit): Likewise.
54761         (La_regs): Likewise.
54762         (La_retval): Likewise.
54763         (int_retval): Likewise.
54764         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
54765         macro.
54766         (pltexit): Likewise.
54767         (La_regs): Likewise.
54768         (La_retval): Likewise.
54769         (int_retval): Likewise.
54770         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
54771         macro.
54772         (pltexit): Likewise.
54773         (La_regs): Likewise.
54774         (La_retval): Likewise.
54775         (int_retval): Likewise.
54776         * sysdeps/generic/tst-audit.h: Update comment to refer only to
54777         macro definitions in tst-audit.h.
54778         * sysdeps/i386/tst-audit.h: New file.
54779         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
54780         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
54781         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
54782         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
54783         * sysdeps/sh/tst-audit.h: Likewise.
54784         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
54785         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
54786         * sysdeps/x86_64/tst-audit.h: Likewise.
54788 2012-07-26  Andreas Jaeger  <aj@suse.de>
54790         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
54791         ptrace.
54793         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
54794         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
54795         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
54796         PTRACE_O_MASK.
54797         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
54798         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
54799         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
54801         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
54802         value.
54804         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
54805         _sigsys.
54806         (si_call_addr, si_syscall, si_arch): Define new macro.
54807         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
54808         _sigsys.
54809         (si_call_addr, si_syscall, si_arch): Define new marcro.
54810         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
54811         _sigsys.
54812         (si_call_addr, si_syscall, si_arch): Define new macro.
54813         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
54814         _sigsys.
54815         (si_call_addr, si_syscall, si_arch): Define new macro.
54817 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
54819         [BZ #13717]
54820         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
54821         Change to 2.4.21 where previously 2.4.1.
54822         * sysdeps/unix/sysv/linux/configure: Regenerated.
54823         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
54824         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
54825         Linux kernel version.
54826         (__ASSUME_STD_AUXV): Remove.
54827         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
54828         kernel version.
54829         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
54830         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
54831         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
54832         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
54833         (__ASSUME_NETLINK_SUPPORT): Likewise.
54834         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
54835         (__no_netlink_support): Remove conditional definition.
54836         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
54837         Remove.
54838         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
54839         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
54840         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
54841         (if_nameindex_ioctl): Remove.
54842         (if_nameindex_netlink): Do not handle __no_netlink_support.
54843         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
54844         code.
54845         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
54846         Remove conditional code.
54847         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
54848         code.
54849         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
54850         unconditional.
54851         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
54852         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
54853         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
54854         Remove.
54855         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
54856         [!__ASSUME_STD_AUXV]: Remove conditional code.
54857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
54858         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
54859         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
54860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
54861         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
54862         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
54863         code.
54864         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
54865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
54866         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
54867         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
54868         conditional code.
54869         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
54870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
54871         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
54872         code.
54873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
54874         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
54875         conditional code.
54876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
54877         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
54878         code unconditional.
54879         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54880         conditional code.
54881         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
54882         unconditional.
54883         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54884         conditional code.
54885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54886         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
54887         unconditional.
54888         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54889         conditional code.
54890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
54891         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
54892         code unconditional.
54893         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54894         conditional code.
54895         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
54896         unconditional.
54897         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54898         conditional code.
54899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
54900         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
54901         code unconditional.
54902         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54903         conditional code.
54904         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
54905         unconditional.
54906         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54907         conditional code.
54909 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
54911         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
54912         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
54913         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
54914         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
54915         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
54916         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
54917         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
54918         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
54919         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
54920         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
54921         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
54922         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
54923         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
54924         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
54925         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
54926         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
54927         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
54928         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
54929         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
54930         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
54931         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
54932         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
54933         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
54935 2012-07-25  Florian Weimer  <fweimer@redhat.com>
54937         * Versions.def: Add GLIBC_2.17.
54938         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
54939         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
54940         Introduce __libc_secure_getenv.
54941         * stdlib/Versions (2.17): Add secure_getenv
54942         (GLIBC_PRIVATE): Add __libc_secure_getenv.
54943         * stdlib/secure-getenv.c: Rename __secure_getenv to
54944         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
54945         symbol __secure_getenv for GLIBC_2.0.
54946         * stdlib/tst-secure-getenv.c: New.
54947         * stdlib/Makefile (tests): Add testcase.
54948         * manual/startup.texi (Environment Access): Document
54949         secure_getenv.
54950         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
54951         __libc_secure_getenv.
54952         * inet/ruserpass.c (ruserpass): Likewise.
54953         * malloc/mtrace.c (mtrace): Likewise.
54954         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
54955         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
54956         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
54957         * sysdeps/posix/tempname.c: Likewise.  Evaluate
54958         HAVE_SECURE_GETENV.
54959         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
54960         __secure_getenv to __libc_secure_getenv.
54961         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
54962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54963         Likewise.
54964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54965         Likewise.
54966         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
54967         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
54968         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
54969         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
54970         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
54971         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
54972         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
54974 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
54976         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
54977         (struct La_i86_retval): Likewise.
54978         (struct La_x86_64_regs): Likewise.
54979         (struct La_x86_64_retval): Likewise.
54980         (struct La_x32_regs): Likewise.
54981         (struct La_x32_retval): Likewise.
54982         (struct La_ppc32_regs): Likewise.
54983         (struct La_ppc32_retval): Likewise.
54984         (struct La_ppc64_regs): Likewise.
54985         (struct La_ppc64_retval): Likewise.
54986         (struct La_sh_regs): Likewise.
54987         (struct La_sh_retval): Likewise.
54988         (struct La_s390_32_regs): Likewise.
54989         (struct La_s390_32_retval): Likewise.
54990         (struct La_s390_64_regs): Likewise.
54991         (struct La_s390_64_retval): Likewise.
54992         (struct La_sparc32_regs): Likewise.
54993         (struct La_sparc32_retval): Likewise.
54994         (struct La_sparc64_regs): Likewise.
54995         (struct La_sparc64_retval): Likewise.
54996         (struct audit_ifaces): Remove architecture-specific pltenter and
54997         pltexit members.
54998         * sysdeps/i386/ldsodefs.h: New file.
54999         * sysdeps/powerpc/ldsodefs.h: Likewise.
55000         * sysdeps/s390/ldsodefs.h: Likewise.
55001         * sysdeps/sh/ldsodefs.h: Likewise.
55002         * sysdeps/sparc/ldsodefs.h: Likewise.
55003         * sysdeps/x86_64/ldsodefs.h: Likewise.
55005 2012-07-25  Marek Polacek  <polacek@redhat.com>
55007         [BZ #6808]
55008         * math/libm-test.inc (yn_test): Add another test.
55009         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
55010         to ERANGE when the result is +-Inf.
55011         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
55012         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
55013         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
55014         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
55016 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
55018         * conform/data/time.h-data (NULL): Use macro-constant.  Require
55019         equal to 0.
55020         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
55021         clock_t.
55022         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
55024 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
55026         * configure.in <sysdeps resolving>: Correct printing
55027         Implies_before.
55028         * configure: Regenerate.
55030 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
55032         * math/w_ilogb.c: Include <limits.h>.
55033         * math/w_ilogbl.c: Likewise.
55035 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
55037         * manual/lang.texi (__va_copy): Document primarily as ISO C99
55038         va_copy.  Document allowing for unavailable va_copy only as
55039         pre-C99 compatibility.
55040         * manual/string.texi (Copying and Concatenation): Use va_copy
55041         instead of __va_copy in concat example.
55043 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
55045         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
55046         (__sendto): Use create_address_port.  Initialize APORT and deallocate
55047         it if not null.
55049         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
55050         with O_NOLINK passed to __file_name_lookup.
55052         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
55053         with O_NOLINK passed to __file_name_lookup.
55055         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
55056         negative N or less than NGIDS.
55058         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
55059         type to string_t.  Set ERANGE as errno and return it if NAME is not big
55060         enough.  Use memcpy instead of strncpy.
55062 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
55064         * elf/Makefile (check-data): Remove.
55065         (localplt.data): New vpath directive.
55066         ($(objpfx)check-localplt.out): Use localplt.data from vpath
55067         instead of $(check-data).
55068         * scripts/data/localplt-generic.data: Move to ...
55069         * sysdeps/generic/localplt.data: ... here.
55070         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
55071         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
55072         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
55073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
55074         ... here.
55075         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
55076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
55077         ... here.
55078         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
55079         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
55080         ... here.
55081         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
55082         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
55083         ... here.
55084         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
55085         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
55086         ... here.
55087         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
55088         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
55089         ... here.
55091 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55093         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
55094         PPC32 and PPC64 files.
55095         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
55096         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
55098 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55100         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
55101         __makecontext_ret to ...
55102         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
55103         ... here and call exit if uc_link is NULL.  New file.
55104         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
55105         __makecontext_ret.S.
55106         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
55107         __makecontext_ret to ...
55108         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
55109         ... here and call exit if uc_link is NULL.  New file.
55110         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
55111         __makecontext_ret.S.
55113 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55115         * elf/elf.h (R_390_IRELATIVE): New definition.
55116         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
55117         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
55118         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
55119         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
55120         (elf_machine_lazy_rel): Likewise.
55121         * sysdeps/s390/dl-irel.h: New file.
55122         * sysdeps/s390/s390-64/memcpy.S: New asm code.
55123         * sysdeps/s390/s390-64/memset.S: New asm code.
55124         * sysdeps/s390/s390-64/memcmp.S: New asm code.
55125         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
55126         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
55127         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
55128         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
55129         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
55130         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
55131         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
55132         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
55133         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
55134         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
55135         * sysdeps/s390/s390-32/memcpy.S: New asm code.
55136         * sysdeps/s390/s390-32/memset.S: New asm code.
55137         * sysdeps/s390/s390-32/memcmp.S: New asm code.
55139 2012-07-17  Marek Polacek  <polacek@redhat.com>
55141         [BZ #14349]
55142         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
55143         * sysdeps/s390/s390-64/configure.in: Likewise.
55144         * sysdeps/sparc/configure.in: Likewise.
55145         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
55146         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
55147         * sysdeps/i386/configure.in: Likewise.
55148         * sysdeps/x86_64/configure.in: Likewise.
55149         * sysdeps/sh/configure.in: Likewise.
55150         * sysdeps/s390/s390-32/configure: Regenerated.
55151         * sysdeps/s390/s390-64/configure: Likewise.
55152         * sysdeps/x86_64/configure: Likewise.
55153         * sysdeps/sh/configure: Likewise.
55154         * sysdeps/powerpc/powerpc64/configure: Likewise.
55155         * sysdeps/powerpc/powerpc32/configure: Likewise.
55156         * sysdeps/sparc/configure: Likwise.
55157         * sysdeps/i386/configure: Likewise.
55159         * elf/dl-open.c: Comment fixes.
55161 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
55163         * Makefile [CXX] (check-data): Remove.
55164         [CXX] (c++-types.data): New vpath directive.
55165         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
55166         vpath.  Do not allow for C++ type data being missing.
55167         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
55168         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
55169         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
55170         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
55171         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
55172         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
55173         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
55174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
55175         ... here.
55176         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
55177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
55178         ... here.
55179         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
55180         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
55181         ... here.
55182         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
55183         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
55184         ... here.
55185         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
55186         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
55187         ... here.
55188         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
55189         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
55190         ... here.
55191         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
55192         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
55193         ... here.
55194         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
55195         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
55197         * elf/tls-macros.h (TLS_LE): Move architecture-specific
55198         definitions to architecture-specific files.
55199         (TLS_IE): Likewise.
55200         (TLS_LD): Likewise.
55201         (TLS_GD): Likewise.
55202         * sysdeps/i386/tls-macros.h: New file.
55203         * sysdeps/powerpc/tls-macros.h: Likewise.
55204         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
55205         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
55206         * sysdeps/sh/tls-macros.h: Likewise.
55207         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
55208         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
55209         * sysdeps/x86_64/tls-macros.h: Likewise.
55211 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
55213         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
55214         zero value for regular exit case.
55216         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
55217         (__start_context): Preserve zero value for regular exit case.
55219 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
55220             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55222         * manual/setjmp.texi (setcontext): Clarify normal process
55223         termination when uc_link is the null pointer.
55224         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
55225         exit call.
55227 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
55229         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
55230         preprocessor.  Test for each exception mask separately.
55232 2012-07-16  Andreas Jaeger  <aj@suse.de>
55234         * po/ru.po: Update from translation team.
55236 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
55238         * conform/data/string.h-data (NULL): Use macro-constant.  Require
55239         equal to 0.
55240         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
55241         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
55242         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
55243         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
55244         [ISO || ISO99 || ISO11] (*_t): Do not allow.
55246 2012-07-13  Andreas Jaeger  <aj@suse.de>
55248         * po/fr.po: Update from translation team.
55250 2012-07-12  Marek Polacek  <polacek@redhat.com>
55252         [BZ #14173]
55253         * math/libm-test.inc (yn_test): Add test for BZ #14173.
55254         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
55255         loop condition.
55257 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
55259         [BZ #13717]
55260         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
55261         Change to 2.4.1 where previously 2.4.0.
55262         * sysdeps/unix/sysv/linux/configure: Regenerated.
55263         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
55264         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
55265         version.
55266         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
55267         (__ASSUME_AT_CLKTCK): Remove.
55268         (__ASSUME_AT_PAGESIZE): Likewise.
55269         (__ASSUME_AT_XID): Likewise.
55270         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
55271         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
55272         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
55273         unconditionally.
55274         (HAVE_AUX_PAGESIZE): Likewise.
55275         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
55276         [__ASSUME_AT_CLKTCK]: Make code unconditional.
55277         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
55279 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
55281         [BZ #14307]
55282         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
55283         the temporary buffer used to invoke __gethostbyname2_r,
55284         __gethostbyaddr_r and gethostbyname4_r to make room for struct
55285         host_data / struct gaih_addrtuple.
55286         * resolv/nss_dns/dns-host.c (global scope): Move definition of
55287         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
55288         header file nss/nsswitch.h.
55289         * nss/nsswitch.h (global scope): Add definition of implementation
55290         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
55291         resolv/nss_dns/dns-host.c).
55293 2012-07-11  Andreas Jaeger  <aj@suse.de>
55295         * po/fr.po: Update from translation team.
55297         * po/sv.po: Update from translation team
55298         * po/fr.po: Another update from translation team.
55300 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55302         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
55303         for subnormals or multiply small sinh result by itself.
55304         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
55305         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55307 2012-07-11  David S. Miller  <davem@davemloft.net>
55309         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55311 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
55313         [BZ #14347]
55314         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
55315         (INTERNAL_MARK): Shift it here.
55317 2012-07-10  Marek Polacek  <polacek@redhat.com>
55319         [BZ #14151]
55320         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
55321         libc_cv_asm_global_directive with .globl.
55322         * configure: Regenerated.
55323         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
55324         with .globl.
55325         * sysdeps/i386/configure: Regenerated.
55326         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
55327         with .globl.
55328         * sysdeps/x86_64/configure: Regenerated.
55329         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
55330         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
55331         * elf/tst-unique2mod2.c: Likewise.
55332         * elf/tst-unique2mod1.c: Likewise.
55333         * elf/tst-unique1mod2.c: Likewise.
55334         * elf/tst-unique1mod1.c: Likewise.
55335         * sysdeps/s390/s390-32/sysdep.h: Likewise.
55336         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
55337         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55338         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
55339         * sysdeps/mach/sysdep.h: Likewise.
55340         * sysdeps/i386/sysdep.h: Likewise.
55341         * sysdeps/i386/i386-mcount.S: Likewise.
55342         * sysdeps/x86_64/_mcount.S: Likewise.
55343         * sysdeps/x86_64/sysdep.h: Likewise.
55344         * sysdeps/sh/_mcount.S: Likewise.
55345         * sysdeps/sh/sysdep.h: Likewise.
55346         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
55347         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
55348         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
55349         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
55350         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
55351         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
55352         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
55353         * locale/localeinfo.h: Likewise.
55354         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
55355         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
55357 2012-07-09  Roland McGrath  <roland@hack.frob.com>
55359         [BZ #14336]
55360         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
55361         system".
55362         * manual/message.texi (The Uniforum approach): Likewise.
55363         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
55364         (glibc iconv Implementation): Likewise.
55366 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
55368         [BZ #14337]
55369         * math/s_clog.c (__clog): Avoid scaling a value down where that
55370         could result in underflow.
55371         * math/s_clog10.c (__clog10): Likewise.
55372         * math/s_clog10f.c (__clog10f): Likewise.
55373         * math/s_clog10l.c (__clog10l): Likewise.
55374         * math/s_clogf.c (__clogf): Likewise.
55375         * math/s_clogl.c (__clogl): Likewise.
55376         * math/libm-test.inc (clog_test): Add more tests.
55377         (clog10_test): Likewise.
55378         * sysdeps/i386/fpu/libm-test-ulps: Update.
55379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55381 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
55383         [BZ #14283]
55384         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
55385         by 7 not 8 to examine high bit of fractional part.
55387         [BZ #14042]
55388         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
55389         for call to __mcount_internal.
55390         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
55391         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
55392         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
55394 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
55396         [BZ #14154]
55397         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
55398         approximation for values within 0x1p-13f of an odd multiple of
55399         pi/4.
55400         * math/libm-test.inc (tan_test): Do not allow spurious underflow
55401         exception.  Add more tests.
55402         * sysdeps/i386/fpu/libm-test-ulps: Update.
55404         [BZ #6778]
55405         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
55406         inputs and return -1 for them.  Do not check for +Inf in case not
55407         reachable for +Inf.
55408         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
55409         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
55410         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
55411         and return -1 for them.  Do not check for +Inf in case not
55412         reachable for +Inf.
55413         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
55414         define.
55415         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
55416         and return -1 for them.  Do not check for +Inf in case not
55417         reachable for +Inf.
55418         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
55419         spurious underflow.
55420         * sysdeps/i386/fpu/libm-test-ulps: Update.
55421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55423 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
55425         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
55427 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
55429         [BZ #14157]
55430         [BZ #14331]
55431         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
55432         could result in spurious underflow.  Scale down values above
55433         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
55434         * math/s_csqrtf.c (__csqrtf): Likewise.
55435         * math/s_csqrtl.c (__csqrtl): Likewise.
55436         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
55437         spurious underflow.
55438         * sysdeps/i386/fpu/libm-test-ulps: Update.
55439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55441 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
55443         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
55444         xopen-msg.sed.
55445         * catgets/xopen-msg.awk: New file.
55446         * catgets/xopen-msg.sed: Removed.
55448         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
55449         po2text.sed.
55450         * intl/po2test.awk: New file.
55451         * intl/po2test.sed: Removed.
55453 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
55455         [BZ #14328]
55456         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
55457         or multiply small sinh result by itself.
55458         * math/s_ctanf.c (__ctanf): Likewise.
55459         * math/s_ctanh.c (__ctanh): Likewise.
55460         * math/s_ctanhf.c (__ctanhf): Likewise.
55461         * math/s_ctanhl.c (__ctanhl): Likewise.
55462         * math/s_ctanl.c (__ctanl): Likewise.
55463         * math/libm-test.inc (ctan_test_tonearest): New function.
55464         (ctan_test_towardzero): Likewise.
55465         (ctan_test_downward): Likewise.
55466         (ctan_test_upward): Likewise.
55467         (ctanh_test_tonearest): Likewise.
55468         (ctanh_test_towardzero): Likewise.
55469         (ctanh_test_downward): Likewise.
55470         (ctanh_test_upward): Likewise.
55471         (main): Call these new functions.
55472         * sysdeps/i386/fpu/libm-test-ulps: Update.
55473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55475 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
55477         * .gitignore: Delete /ports entry.
55479 2012-07-03  Andreas Jaeger  <aj@suse.de>
55481         * po/bg.po: Update from translation team.
55482         * po/cs.po: Likewise.
55483         * po/de.po: Likewise.
55484         * po/hr.po: Likewise.
55485         * po/nl.pl: Likewise.
55486         * po/pl.po: Likewise.
55487         * po/vi.po: Likewise.
55489 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
55491         * Makeconfig [!+link] (+link-before-libc): New variable.
55492         [!+link] (+link-after-libc): Likewise.
55493         [!+link] (+link-tests): Likewise.
55494         [!+link] (+link): Define in terms of $(+link-before-libc) and
55495         $(+link-after-libc).
55496         [!+link-static] (+link-static-before-libc): New variable.
55497         [!+link-static] (+link-static-after-libc): Likewise.
55498         [!+link-static] (+link-static-tests): Likewise.
55499         [!+link-static] (+link-static): Define in terms of
55500         $(+link-static-before-libc) and $(+link-static-after-libc).
55501         [build-shared] (link-libc-before-gnulib): New variable.
55502         [build-shared] (link-libc-tests): Likewise.
55503         [build-shared] (link-libc): Define in terms of
55504         $(link-libc-before-gnulib).
55505         [!build-shared] (link-libc-tests): New variable.
55506         (link-libc-static-tests): New variable.
55507         [!gnulib] (gnulib-arch): New variable.
55508         [!gnulib] (gnulib-tests): Likewise.
55509         [!gnulib] (static-gnulib-arch): Likewise.
55510         [!gnulib] (static-gnulib-tests): Likewise.
55511         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
55512         Define with "=" instead of ":=".
55513         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
55514         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
55515         * Rules (binaries-all-notests): New variable.
55516         (binaries-all-tests): Likewise.
55517         (binaries-static-notests): Likewise.
55518         (binaries-static-tests): Likewise.
55519         (binaries-all): Define using $(binaries-all-notests) and
55520         $(binaries-all-tests).
55521         (binaries-static): Define using $(binaries-static-notests) and
55522         $(binaries-static-tests).
55523         (binaries-shared-tests): New variable.
55524         (binaries-shared-notests): Likewise.
55525         (binaries-shared): Remove variable.
55526         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
55527         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
55528         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
55529         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
55530         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
55531         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
55532         * elf/Makefile (sln-modules): New variable.
55533         (extra-objs): Add $(sln-modules:=.o).
55534         (ldconfig-modules): Add static-stubs.
55535         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
55536         * elf/static-stubs.c: New file.
55538         [BZ #14283]
55539         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
55540         by 7 not 8 to examine high bit of fractional part.  Use volatile
55541         variables when splitting into final array of floats if
55542         __FLT_EVAL_METHOD__ != 0.
55543         * math/libm-test.inc (cos_test): Add another test.
55544         (sin_test): Likewise.
55545         * sysdeps/i386/fpu/libm-test-ulps: Update.
55547         [BZ #14273]
55548         * math/libm-test.inc (cosh_test): Add more tests.
55550         * version.h (RELEASE): Set to "development".
55551         (VERSION): Set to "2.16.90".
55553 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
55555         * NEWS: Update copyright. Remove last-updated date.
55556         Mention math library bug fixes and timezone data changes.
55557         * README: Mention GNU/Hurd, x32, and HPPA support status.
55559 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
55561         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
55563 2012-06-27  Andreas Jaeger  <aj@suse.de>
55565         * manual/contrib.texi (Contributors): Add Samuel Thibault.
55567 2012-06-25  Andreas Jaeger  <aj@suse.de>
55569         * sysdeps/s390/fpu/libm-test-ulps: Update.
55571 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
55572             Thomas Schwinge  <thomas@codesourcery.com>
55574         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
55575         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
55576         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
55577         fanotify_mark.
55579 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
55581         * sysdeps/mach/start.c: Remove file.
55582         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
55583         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
55584         * sysdeps/sh/init-first.c: Likewise.
55586         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
55587         registers for frame unwinding purposes, add CFI directives.
55588         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
55589         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
55590         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
55591         Likewise.
55593         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
55594         __fortify_fail returning.
55595         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
55597         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
55598         sysdeps/sh/____longjmp_chk.S.
55599         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
55600         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
55601         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
55602         (gen-as-const-headers): Append sigaltstack-offsets.sym.
55604         * sysdeps/sh/abort-instr.h: New file.
55605         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
55606         process in case exit returns.
55608         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
55609         initialize the GOT register before use.
55611         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
55612         calculation of ARGC > 4.
55614         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
55615         meaningful names to some local labels.
55617 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
55618             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55620         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
55621         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
55622         (__arch_compare_and_exchange_val_16_acq): Likewise.
55623         (__arch_compare_and_exchange_val_32_acq): Likewise.
55624         (atomic_exchange_and_add): Fix gUSA sequence.
55625         (atomic_add): Likewise.
55626         (atomic_add_negative): Likewise.
55627         (atomic_add_zero): Likewise.
55628         (atomic_bit_test_set): Likewise.
55630 2012-06-22  Andreas Schwab  <schwab@redhat.com>
55632         [BZ #13579]
55633         * include/link.h (struct link_map): Add l_free_initfini.
55634         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
55635         l_initfini.
55636         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
55637         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
55638         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
55639         set.
55641 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
55643         * configure.in: Use AC_LANG_SOURCE.
55644         * configure: Regenerate.
55646 2012-06-22  Roland McGrath  <roland@hack.frob.com>
55648         * configure.in (libc_cv_localstatedir): New substituted variable.
55649         * configure: Regenerated.
55650         * config.make.in (localstatedir): New variable, substituted from
55651         libc_cv_localstatedir.
55652         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
55653         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
55654         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
55655         * sysdeps/gnu/configure: Regenerated.
55657 2012-06-21  Jeff Law  <law@redhat.com>
55659         [BZ #14277]
55660         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
55661         free.  Simplify list management for _LIBC case.
55663 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
55665         [BZ #14273]
55666         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
55667         Clear sign bit of 64-bit integer value before comparing against
55668         overflow value.
55670         * sysdeps/mach/configure: Regenerated.
55672 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
55674         [BZ #14278]
55675         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
55677 2012-06-21  Jeff Law  <law@redhat.com>
55679         [BZ #13882]
55680         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
55681         uint16_t for elements in the "seen" array to avoid char overflows.
55682         * elf/dl-fini.c (_dl_sort_fini): Likewise.
55683         * elf/dl-open.c (dl_open_worker): Likewise.
55685 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
55687         * scripts/list-sources.sh: Scan PORTS for translations.
55688         * po/libc.pot: Regenerated.
55690 2012-06-21  Andreas Jaeger  <aj@suse.de>
55692         [BZ #12194]
55693         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
55694         warning.
55695         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
55696         * bits/byteswap-16.h (__bswap_16): Likewise.
55697         * bits/byteswap.h (__bswap_constant_16): Likewise.
55699 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
55701         [BZ #14117]
55702         * sysdeps/i386/fpu_control.h: Removed.
55703         * sysdeps/x86_64/fpu_control.h: Moved to ...
55704         * sysdeps/x86/fpu_control.h: Here.
55706         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
55707         (_FPU_SETCW): Likewise.
55709 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
55711         [BZ #14117]
55712         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
55713         * sysdeps/x86/fpu/bits/mathinline.h: This.
55714         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
55716         [BZ #14050]
55717         [BZ #14117]
55718         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
55719         functions if __x86_64__ is defined.
55721 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
55723         * string/endian.h: Add !__ASSEMBLER__ condition for including
55724         conversion interfaces.
55726 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
55728         [BZ #14241]
55729         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
55730         of ABS(x) in calculating zero to negative powers other than odd
55731         integers.
55732         * math/libm-test.inc (pow_test): Add more tests.
55734 2012-06-15  Andreas Jaeger  <aj@suse.de>
55736         * manual/contrib.texi (Contributors): Update entry of Liubov
55737         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
55738         Machado Filho.
55740 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
55742         * string/string.h: Add __wur to GNU version of strerror_r.
55744 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
55746         [BZ #14229]
55747         * string/Makefile (tests): Add tst-strtok_r.
55748         * string/tst-strtok_r.c: New file.
55749         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
55750         RAX_LP/RDX_LP on SAVE_PTR.
55752 2012-06-14  Roland McGrath  <roland@hack.frob.com>
55754         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
55756 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
55758         * libm_test.inc (csqrt_test): Allow more spurious underflow
55759         exceptions.
55760         (j0_test): Likewise.
55761         (j1_test): Likewise.
55762         (y0_test): Likewise.
55763         (y1_test): Likewise.
55765 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
55767         * po/Makefile (libc.pot): Use UTF-8 charset.
55769 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
55771         [BZ #14210]
55772         Suppress sign-conversion warning from FD_SET.
55773         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
55774         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
55775         not unsigned long int.
55776         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
55778 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
55780         [BZ #14050]
55781         [BZ #14117]
55782         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
55783         __extern_always_inline instead of __extern_inline.
55784         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
55785         (__signbit): Likewise.
55786         (__signbitl): Support C++ namespace.
55787         (lrintf): New inline function.
55788         (lrint): Likewise.
55789         (llrintf): Likewise.
55790         (llrint): Likewise.
55791         (fmaxf): Likewise.
55792         (fmax): Likewise.
55793         (fminf): Likewise.
55794         (fmin): Likewise.
55795         (rint): Likewise.
55796         (rintf): Likewise.
55797         (ceil): Likewise.
55798         (ceilf): Likewise.
55799         (floor): Likewise.
55800         (floorf): Likewise.
55801         (nearbyint): Likewise.
55802         (nearbyintf): Likewise.
55804 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
55806         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
55807         non-default versions.
55809 2012-06-11  Roland McGrath  <roland@hack.frob.com>
55811         [BZ #14218]
55812         * manual/argp.texi (Argp): Reword argp_parse description slightly.
55814 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
55816         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
55817         (FE_UPWARD, FE_DOWNWARD): Don't define.
55818         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
55819         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
55821         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
55822         reading it.
55823         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
55824         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55826 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55828         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
55829         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
55830         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
55831         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
55833 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
55835         [BZ #14117]
55836         * sysdeps/i386/fpu/bits/fenv.h: Removed.
55837         * sysdeps/i386/fpu/Implies: New file.
55838         * sysdeps/x86_64/fpu/Implies: Likewise.
55839         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
55840         * sysdeps/x86/fpu/bits/fenv.h: This.
55842         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
55843         __SSE_MATH__.
55845 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
55847         [BZ #14134]
55848         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
55849         character 0xffff that matches the last element of the
55850         conversion table.
55852 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55854         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
55855         fmodl commit.
55857 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55859         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
55860         values higher than 25.6283.
55862 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55864         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
55865         subnormal exponent extraction and add some __builtin_expect.
55866         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
55867         Fix for subnormal mantissa calculation.
55869 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
55871         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
55872         cpu2 is -1 and errno is not ENOSYS.
55874 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
55876         [BZ #14117]
55877         * sysdeps/i386/i486/bits/string.h: Renamed to ...
55878         * sysdeps/x86/bits/string.h: This.
55879         * sysdeps/x86_64/bits/string.h: Removed.
55881         * sysdeps/i386/i486/bits/string.h: Define inline functions only
55882         if not compiling for x86-64, but compiling for >= i486.
55884         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
55885         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
55887         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
55888         New macro from Linux kernel 3.4.0.
55889         (FP_XSTATE_MAGIC2): Likewise.
55890         (FP_XSTATE_MAGIC2_SIZE): Likewise.
55891         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
55892         (struct _fpx_sw_bytes): New struct.
55893         (struct _xsave_hdr): Likewise.
55894         (struct _ymmh_state): Likewise.
55895         (struct _xstate): Likewise.
55897         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
55898         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
55899         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
55900         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
55901         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
55902         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
55904         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
55905         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
55906         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
55907         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
55908         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
55909         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
55911 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55913         [BZ #13743]
55914         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
55915         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
55916         (sysdep_headers): Include sys/platform/ppc.h.
55917         * sysdeps/powerpc/test-gettimebase.c: Test for
55918         __ppc_get_timebase() to catch future ISA opcode/insn changes.
55919         * manual/Makefile (appendices): Include platform.texi.
55920         * manual/contrib.texi (Contributors): Update @node pointers.
55921         * manual/maint.texi (Maintenance): Likewise.
55922         (Platform): New node.
55923         * manual/platform.texi: New file.  Document the new features.
55925 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55926             Jakub Jelinek  <jakub@redhat.com>
55928         [BZ #14188]
55929         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
55930         where __builtin_expect is unavailable.
55932 2012-06-03  David S. Miller  <davem@davemloft.net>
55934         * stdlib/longlong.h: Updated from GCC.
55936 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
55938         [BZ #14042]
55939         * sysdeps/powerpc/powerpc32/mcount.c: New file.
55940         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
55941         __mcount_internal.
55942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
55943         (GLIBC_2.16): Likewise.
55945 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
55947         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
55949 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
55951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
55952         (default-abi): New variable.
55953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
55954         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
55955         variable.
55956         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
55957         Likewise.
55958         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
55959         Likewise.
55960         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
55961         Likewise.
55963         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
55964         definition.  Document in comment.
55966 2012-06-01  David S. Miller  <davem@davemloft.net>
55968         * stdlib/longlong.h: Updated from GCC.
55970 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
55972         [BZ #14117]
55973         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
55974         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
55975         sys/debugreg.h sys/io.h here.
55976         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
55977         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
55978         sys/io.h.
55979         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
55980         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
55981         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
55982         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
55983         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
55984         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
55986         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
55987         Define only if __x86_64__ is defined.
55989 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
55991         [BZ #14048]
55992         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
55993         Use int64_t for variable i.
55994         * math/libm-test.inc (fmod_test): Add more tests.
55996         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
55997         z computation is not scheduled after fetestexcept.
55998         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
55999         Use math_force_eval instead of asm to ensure calculation scheduled
56000         before exception test.
56001         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
56002         Ensure a1 + u.d computation is not scheduled after fetestexcept.
56004 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
56006         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
56007         computation is not scheduled after fetestexcept.
56009 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
56011         [BZ #14117]
56012         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
56013         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
56015 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56017         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
56018         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
56020 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
56022         [BZ #14117]
56023         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
56024         <bits/wordsize.h>.
56025         (__WCHAR_MIN): Support __WORDSIZE == 64.
56026         (__WCHAR_MAX): Likewise.
56028         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
56029         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
56031         [BZ #14183]
56032         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
56033         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
56035         [BZ #14117]
56036         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
56037         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
56039         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
56040         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
56042         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
56043         Defined to 1 if __x86_64__ isn't defined.
56044         (_STAT_VER_LINUX_OLD): New.
56045         (st_atime): Remove duplicate.
56046         (st_mtime): Likewise.
56047         (st_ctime): Likewise.
56049 2012-05-31  David S. Miller  <davem@davemloft.net>
56051         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
56052         entries.
56054 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
56056         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
56057         gen-libm-test.pl.
56059         [BZ #14132]
56060         * elf/dl-reloc.c: Include <_itoa.h>.
56061         (_dl_reloc_bad_type): Remove use of INTUSE.
56062         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
56063         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
56064         * stdio-common/psiginfo.c (psiginfo): Likewise.
56065         * stdio-common/psignal.c (psignal): Likewise.
56066         * string/strsignal.c (strsignal): Likewise.
56067         * include/signal.h (_sys_siglist): Declare hidden proto.
56068         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
56069         INTVARDEF with libc_hidden_data_def.
56070         * stdio-common/itoa-udigits.c: Likewise.
56071         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
56072         (_itoa_lower_digits_internal): Remove declaration.
56073         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
56074         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
56075         (_sys_sigabbrev_internal): Remove aliases.
56076         (_sys_siglist): Define hidden alias.
56078 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
56080         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56081         bits/sysctl.h.
56083 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
56085         [BZ #14117]
56086         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
56087         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
56089         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
56090         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
56091         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
56092         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
56093         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
56094         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
56096         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
56097         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
56098         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
56100         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
56101         with __addr.
56102         (insw): Likewise.
56103         (insl): Likewise.
56104         (outsb): Likewise.
56105         (outsw): Likewise.
56106         (outsl): Likewise.
56108         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
56109         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
56110         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
56112         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
56113         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
56114         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
56115         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
56116         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
56117         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
56119         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
56120         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
56122         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
56123         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
56125         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
56126         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
56127         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
56129         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
56130         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
56131         to ...
56132         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
56134         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
56135         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
56136         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
56138         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
56139         for x86-64.
56140         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
56142 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
56144         * math/math.h (M_El): Use two more decimal places.
56145         (M_LOG2El): Likewise.
56146         (M_LOG10El): Likewise.
56147         (M_LN2l): Likewise.
56148         (M_LN10l): Likewise.
56149         (M_PIl): Likewise.
56150         (M_PI_2l): Likewise.
56151         (M_PI_4l): Likewise.
56152         (M_1_PIl): Likewise.
56153         (M_2_PIl): Likewise.
56154         (M_2_SQRTPIl): Likewise.
56155         (M_SQRT2l): Likewise.
56156         (M_SQRT1_2l): Likewise.
56158 2012-05-31  David S. Miller  <davem@davemloft.net>
56160         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
56161         values between float registers.
56162         * sysdeps/sparc/sparc64/memset.S: Likewise.
56163         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
56165 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
56167         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
56168         -D_FORTIFY_SOURCE=1.
56169         (CPPFLAGS-tst-longjmp_chk.c): Define.
56170         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
56171         (CPPFLAGS-tst-longjmp_chk2.c): Define.
56172         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
56173         CFLAGS-tst-wchar-h.c.
56175 2012-05-31  Marek Polacek  <polacek@redhat.com>
56177         [BZ #14132]
56178         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
56179         __endmntent_internal): Remove declaration.
56180         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
56181         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
56182         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
56184 2012-05-30  David S. Miller  <davem@davemloft.net>
56186         * sysdeps/sparc/sparc32/soft-fp/q_util.c
56187         (___Q_simulate_exceptions): Use real FP ops rather than writing
56188         into the %fsr.
56189         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
56190         Likewise.
56192 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
56194         [BZ #14117]
56195         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
56196         * sysdeps/x86/bits/xtitypes.h: This.
56198         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
56199         * sysdeps/x86/bits/wordsize.h: This.
56201         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
56202         * sysdeps/x86/bits/huge_vall.h: This.
56204         * sysdeps/i386/bits/select.h: Removed.
56205         * sysdeps/x86_64/bits/select.h: Renamed to ...
56206         * sysdeps/x86/bits/select.h: This.
56208         * sysdeps/i386/bits/setjmp.h: Removed.
56209         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
56210         * sysdeps/x86/bits/setjmp.h: This.
56212         * sysdeps/i386/bits/mathdef.h: Removed.
56213         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
56214         * sysdeps/x86/bits/mathdef.h: This.
56216 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
56218         [BZ #14132]
56219         * include/sys/socket.h (__connect_internal)
56220         (__libc_sa_len_internal): Remove declaration.
56221         (__connect, __libc_sa_len): Declare hidden_proto.
56222         (SA_LEN): Remove use of INTUSE.
56223         * socket/connect.c: Add libc_hidden_def.
56224         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
56225         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
56226         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
56227         alias.
56228         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
56229         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
56230         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
56231         of adding _internal alias.
56233 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
56235         [BZ #14117]
56236         * sysdeps/i386/bits/link.h: Removed.
56237         * sysdeps/i386/bits/linkmap.h: Likewise.
56238         * sysdeps/x86_64/bits/link.h: Renamed to ...
56239         * sysdeps/x86/bits/link.h: This.
56240         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
56241         * sysdeps/x86/bits/linkmap.h: This.
56243         * sysdeps/i386/bits/endian.h: Removed.
56244         * sysdeps/x86_64/bits/endian.h: Renamed to ...
56245         * sysdeps/x86/bits/endian.h: This.
56247         * sysdeps/i386/bits/byteswap.h: Removed.
56248         * sysdeps/i386/bits/byteswap-16.h: Likewise.
56249         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
56250         * sysdeps/x86/bits/byteswap.h: This.
56251         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
56252         * sysdeps/x86/bits/byteswap-16.h: This.
56253         * sysdeps/i386/Implies: Add x86.
56254         * sysdeps/x86_64/Implies: Likewise.
56256 2012-05-30  David S. Miller  <davem@davemloft.net>
56258         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
56259         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
56260         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
56261         (FP_TRAPPING_EXCEPTIONS): Define.
56262         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
56263         (FP_TRAPPING_EXCEPTIONS): Define.
56264         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
56265         subnormals only when inexact has been signalled or underflow
56266         exceptions are enabled.
56267         (_FP_PACK_CANONICAL): Likewise.
56269 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
56271         [BZ #14183]
56272         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
56273         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
56275 2012-05-30  Richard Henderson  <rth@twiddle.net>
56277         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
56278         with #ifndef NOT_IN_libc.
56280         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
56281         marked to avoid plt entry.
56283 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
56285         [BZ #14112]
56286         * Makeconfig (default-abi): New macro.
56287         (abi-includes): Likewise.
56288         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
56289         $(abi-$(default-abi)-lib-soname) for soname if defined.
56290         ($(common-objpfx)gnu/lib-names.stmp): Generate from
56291         abi-variants.
56292         * Makefile (installed-stubs): Likewise.
56293         * include/stubs-biarch.h: Removed.
56294         * scripts/lib-names.awk: Only handle one library at a time.
56295         * scripts/soversions.awk: Remove WORDSIZE support.
56296         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
56297         entries.
56298         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
56299         Removed.
56300         (syscall-list-default-condition): Likewise.
56301         (syscall-list-default-condition): Likewise.
56302         (syscall-list-includes): Likewise.
56303         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
56304         syscall-list-* with abi-*.  Handle undefined abi-variants.
56305         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
56306         * sysdeps/unix/sysv/linux/i386/Implies: New file.
56307         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
56308         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
56309         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
56310         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
56311         Removed.
56312         (syscall-list-32-options): Likewise.
56313         (syscall-list-32-condition): Likewise.
56314         (syscall-list-64-options): Likewise.
56315         (syscall-list-64-condition): Likewise.
56316         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
56317         macro.
56318         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
56319         Renamed to ...
56320         (abi-*): This.
56321         (abi-64-ld-soname): New macro.
56322         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
56323         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
56324         Renamed to ...
56325         (abi-*): This.
56326         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
56327         * sysdeps/x86_64/x32/shlib-versions: Likewise.
56329 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
56331         * sysdeps/unix/sysv/linux/kernel-features.h
56332         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
56333         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
56334         include <kernel-features.h>.
56335         [!__NR_ftruncate64]: Remove conditional code.
56336         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56337         [__NR_ftruncate64]: Make code unconditional.
56338         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56339         * sysdeps/unix/sysv/linux/truncate64.c: Do not
56340         include <kernel-features.h>.
56341         [!__NR_ftruncate64]: Remove conditional code.
56342         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56343         [__NR_ftruncate64]: Make code unconditional.
56344         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
56346         include <kernel-features.h>.
56347         [!__NR_ftruncate64]: Remove conditional code.
56348         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56349         [__NR_ftruncate64]: Make code unconditional.
56350         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
56352         include <kernel-features.h>.
56353         [!__NR_ftruncate64]: Remove conditional code.
56354         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56355         [__NR_ftruncate64]: Make code unconditional.
56356         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56358         * configure.in (libc_cv_fpie): Weaken to a compile test using
56359         LIBC_TRY_CC_OPTION.
56360         * configure: Regenerated.
56362 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56364         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
56365         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
56366         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
56367         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
56368         Refreshed.
56369         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
56370         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
56371         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
56372         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
56373         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
56374         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
56375         Refreshed.
56377 2012-05-27  David S. Miller  <davem@davemloft.net>
56379         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
56380         (___Q_zero): New.
56381         (__Q_simulate_exceptions): Return void.  Change to simulate
56382         exceptions by writing into the %fsr.
56383         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
56384         (__Qp_handle_exceptions): Likewise.
56385         (numbers): Delete.
56386         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
56387         __Qp_handle_exceptions.
56388         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
56389         __Qp_handle_exceptions.
56390         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
56391         as unused and give dummy FP_RND_NEAREST initializer.
56392         (FP_INHIBIT_RESULTS): Define.
56393         (___Q_simulate_exceptions): Update declaration.
56394         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
56395         formatting.
56396         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
56397         as unused and give dummy FP_RND_NEAREST initializer.
56398         (__Qp_handle_exceptions): Update declaration.
56399         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
56400         formatting.
56402 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
56404         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
56405         the temporary FPU control word.
56406         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
56407         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
56408         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
56409         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
56410         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
56411         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
56412         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
56413         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
56414         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
56415         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
56416         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56418 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56420         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
56421         fields.
56423 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
56425         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
56426         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
56427         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
56428         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
56429         Likewise.
56430         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
56431         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
56432         Likewise.
56434 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
56436         * po/h.po: Update from translation team.
56438 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
56440         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
56442         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
56443         handling of denormals.
56444         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
56445         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
56446         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
56447         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
56448         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56449         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
56450         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
56451         Likewise.
56453 2012-05-26  Marek Polacek  <polacek@redhat.com>
56455         [BZ #14152]
56456         * math/libm-test.inc (fma_test): Don't always expect underflow
56457         exception.
56459 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56461         [BZ #12416]
56462         * elf/tst-execstack.c: Include stackinfo.h.
56463         (do_test): Adjust test case to ensure that pthread_getattr_np
56464         behaviour remains the same after marking stack executable.
56466 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
56468         * sysdeps/unix/sysv/linux/kernel-features.h
56469         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
56470         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
56471         kernel-features.h.
56472         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
56473         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
56474         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
56475         kernel-features.h.
56476         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
56477         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
56479 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
56481         * configure.in: Define the default includes to being none.
56482         * configure: Regenerated.
56484 2012-05-25  Roland McGrath  <roland@hack.frob.com>
56486         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
56487         * sysdeps/x86_64/setjmp.S: Likewise.
56488         * sysdeps/i386/bsd-setjmp.S: Likewise.
56489         * sysdeps/i386/bsd-_setjmp.S: Likewise.
56490         * sysdeps/i386/setjmp.S: Likewise.
56491         * sysdeps/i386/__longjmp.S: Likewise.
56492         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
56493         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
56495         * include/stap-probe.h: New file.
56496         * configure.in: Handle --enable-systemtap.
56497         * configure: Regenerated.
56498         * config.h.in (USE_STAP_PROBE): New #undef.
56499         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
56500         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
56501         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
56503 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
56505         [BZ #13717]
56506         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
56507         to 2.4.0 where earlier.
56508         * sysdeps/unix/sysv/linux/configure: Regenerated.
56509         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
56510         <kernel-features.h>.
56511         [__ASSUME_32BITUIDS]: Make code unconditional.
56512         [!__ASSUME_32BITUIDS]: Remove conditional code.
56513         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
56514         <kernel-features.h>.
56515         [__ASSUME_32BITUIDS]: Make code unconditional.
56516         [!__ASSUME_32BITUIDS]: Remove conditional code.
56517         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
56518         [__ASSUME_32BITUIDS]: Make code unconditional.
56519         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
56520         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
56521         <kernel-features.h>.
56522         [__ASSUME_32BITUIDS]: Make code unconditional.
56523         [!__ASSUME_32BITUIDS]: Remove conditional code.
56524         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
56525         <kernel-features.h>.
56526         [__ASSUME_32BITUIDS]: Make code unconditional.
56527         [!__ASSUME_32BITUIDS]: Remove conditional code.
56528         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
56529         <kernel-features.h>.
56530         [__ASSUME_32BITUIDS]: Make code unconditional.
56531         [!__ASSUME_32BITUIDS]: Remove conditional code.
56532         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
56533         <kernel-features.h>.
56534         [__ASSUME_32BITUIDS]: Make code unconditional.
56535         [!__ASSUME_32BITUIDS]: Remove conditional code.
56536         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
56537         <kernel-features.h>.
56538         [__ASSUME_32BITUIDS]: Make code unconditional.
56539         [!__ASSUME_32BITUIDS]: Remove conditional code.
56540         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
56541         <kernel-features.h>.
56542         [__ASSUME_32BITUIDS]: Make code unconditional.
56543         [!__ASSUME_32BITUIDS]: Remove conditional code.
56544         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
56545         <kernel-features.h>.
56546         [__ASSUME_32BITUIDS]: Make code unconditional.
56547         [!__ASSUME_32BITUIDS]: Remove conditional code.
56548         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
56549         <kernel-features.h>.
56550         [__ASSUME_32BITUIDS]: Make code unconditional.
56551         [!__ASSUME_32BITUIDS]: Remove conditional code.
56552         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
56553         <kernel-features.h>.
56554         [__ASSUME_32BITUIDS]: Make code unconditional.
56555         [!__ASSUME_32BITUIDS]: Remove conditional code.
56556         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
56557         <kernel-features.h>.
56558         [__ASSUME_32BITUIDS]: Make code unconditional.
56559         [!__ASSUME_32BITUIDS]: Remove conditional code.
56560         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
56561         <kernel-features.h>.
56562         [__NR_setresgid] (__setresgid): Do not declare.
56563         [__ASSUME_32BITUIDS]: Make code unconditional.
56564         [!__ASSUME_32BITUIDS]: Remove conditional code.
56565         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
56566         <kernel-features.h>.
56567         [__NR_setresuid] (__setresuid): Do not declare.
56568         [__ASSUME_32BITUIDS]: Make code unconditional.
56569         [!__ASSUME_32BITUIDS]: Remove conditional code.
56570         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
56571         <kernel-features.h>.
56572         [__ASSUME_32BITUIDS]: Make code unconditional.
56573         [!__ASSUME_32BITUIDS]: Remove conditional code.
56574         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
56575         <kernel-features.h>.
56576         [__ASSUME_32BITUIDS]: Make code unconditional.
56577         [!__ASSUME_32BITUIDS]: Remove conditional code.
56578         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
56579         <kernel-features.h>.
56580         [__ASSUME_32BITUIDS]: Make code unconditional.
56581         [!__ASSUME_32BITUIDS]: Remove conditional code.
56582         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
56583         <kernel-features.h>.
56584         [__ASSUME_32BITUIDS]: Make code unconditional.
56585         [!__ASSUME_32BITUIDS]: Remove conditional code.
56586         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
56587         <kernel-features.h>.
56588         [__ASSUME_32BITUIDS]: Make code unconditional.
56589         [!__ASSUME_32BITUIDS]: Remove conditional code.
56590         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
56591         <kernel-features.h>.
56592         [__ASSUME_32BITUIDS]: Make code unconditional.
56593         [!__ASSUME_32BITUIDS]: Remove conditional code.
56594         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
56595         <kernel-features.h>.
56596         [__ASSUME_32BITUIDS]: Make code unconditional.
56597         [!__ASSUME_32BITUIDS]: Remove conditional code.
56598         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
56599         <kernel-features.h>.
56600         [__ASSUME_32BITUIDS]: Make code unconditional.
56601         [!__ASSUME_32BITUIDS]: Remove conditional code.
56602         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
56603         <kernel-features.h>.
56604         [__ASSUME_32BITUIDS]: Make code unconditional.
56605         [!__ASSUME_32BITUIDS]: Remove conditional code.
56606         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
56607         <kernel-features.h>.
56608         [__ASSUME_32BITUIDS]: Make code unconditional.
56609         [!__ASSUME_32BITUIDS]: Remove conditional code.
56610         * sysdeps/unix/sysv/linux/kernel-features.h
56611         (__ASSUME_SETRESUID_SYSCALL): Remove.
56612         (__ASSUME_SETRESGID_SYSCALL): Likewise.
56613         (__ASSUME_32BITUIDS): Likewise.
56614         (__ASSUME_LDT_WORKS): Likewise.
56615         (__ASSUME_O_DIRECTORY): Likewise.
56616         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
56617         architecture but not kernel version.
56618         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
56619         (__ASSUME_MMAP2_SYSCALL): Likewise.
56620         (__ASSUME_STAT64_SYSCALL): Likewise.
56621         (__ASSUME_IPC64): Likewise.
56622         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
56623         <kernel-features.h>.
56624         [__ASSUME_32BITUIDS]: Make code unconditional.
56625         [!__ASSUME_32BITUIDS]: Remove conditional code.
56626         * sysdeps/unix/sysv/linux/opendir.c: Do not include
56627         <kernel-features.h>.
56628         [__ASSUME_O_DIRECTORY]: Make code unconditional.
56629         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
56630         132096]: Remove conditional code.
56631         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
56632         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
56633         <kernel-features.h>.
56634         [__ASSUME_32BITUIDS]: Make code unconditional.
56635         [!__ASSUME_32BITUIDS]: Remove conditional code.
56636         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
56637         <kernel-features.h>.
56638         [__ASSUME_32BITUIDS]: Make code unconditional.
56639         [!__ASSUME_32BITUIDS]: Remove conditional code.
56640         * sysdeps/unix/sysv/linux/setegid.c: Do not include
56641         <kernel-features.h>.
56642         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
56643         unconditional.
56644         (__setresgid): Do not declare.
56645         [__ASSUME_32BITUIDS]: Make code unconditional.
56646         [!__ASSUME_32BITUIDS]: Remove conditional code.
56647         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
56648         <kernel-features.h>.
56649         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
56650         unconditional.
56651         (__setresuid): Do not declare.
56652         [__ASSUME_32BITUIDS]: Make code unconditional.
56653         [!__ASSUME_32BITUIDS]: Remove conditional code.
56654         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
56655         <kernel-features.h>.
56656         [__ASSUME_32BITUIDS]: Make code unconditional.
56657         [!__ASSUME_32BITUIDS]: Remove conditional code.
56658         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
56659         <kernel-features.h>.
56660         [__ASSUME_32BITUIDS]: Make code unconditional.
56661         [!__ASSUME_32BITUIDS]: Remove conditional code.
56663 2012-05-25  Richard Henderson  <rth@twiddle.net>
56665         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
56666         dl_hwcap to ifunc resolver.
56667         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
56668         elf_ifunc_invoke.
56669         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
56670         dl_hwcap to ifunc resolver.
56671         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
56673 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
56675         [BZ #14153]
56676         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
56677         for |x| <= 2**-26, not 2**-57.
56678         * math/libm-test.inc (acos_test): Do not allow spurious underflow
56679         exception.
56681 2012-05-24  Jeff Law  <law@redhat.com>
56683         * stdio-common/Makefile (tests): Add bug25.
56684         * stdio-common/bug25.c: New test.
56686 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
56688         [BZ #13576]
56689         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
56690         multiple of MALLOC_ALIGNMENT in size.
56691         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
56693 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
56695         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
56696         Require >= 256.
56697         (FILENAME_MAX): Use macro-int-constant.
56698         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
56699         (_IOFBF): Use macro-int-constant.
56700         (_IOLBF): Likewise.
56701         (_IONBF): Likewise.
56702         (SEEK_CUR): Likewise.
56703         (SEEK_END): Likewise.
56704         (SEEK_SET): Likewise.
56705         (TMP_MAX): Likewise.
56706         (EOF): Use macro-int-constant.  Require < 0.
56707         (NULL): Use macro-constant.  Require == 0.
56708         (stdin): Require type to be FILE *.
56709         (stdout): Likewise.
56710         (stderr): Likewise.
56711         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
56712         macro-int-constant.
56713         (EXIT_SUCCESS): Likewise.
56714         (NULL): Use macro-constant.  Require == 0.
56715         (RAND_MAX): Use macro-int-constant.
56716         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
56717         [C99-based standards] (strtof): Require function.
56718         [C99-based standards] (strtold): Likewise.
56719         [C99-based standards] (strtoll): Likewise.
56720         [C99-based standards] (strtoull): Likewise.
56721         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
56722         [ISO || ISO99 || ISO11] (limits.h): Likewise.
56723         [ISO || ISO99 || ISO11] (math.h): Likewise.
56724         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
56725         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
56726         [ISO || ISO99 || ISO11] (*_t): Do not allow.
56728 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
56730         [BZ #14132]
56731         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
56732         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
56733         * intl/dgettext.c (DCGETTEXT): Likewise.
56734         * intl/gettext.c (DCGETTEXT): Likewise.
56735         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
56736         * posix/regex_internal.h (gettext): Likewise.
56737         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
56738         Remove declaration.
56739         * include/argz.h (__argz_count_internal)
56740         (__argz_stringify_internal): Remove declaration.
56741         (__argz_count, __argz_stringify): Declare hidden proto.
56742         * intl/dcgettext.c: Remove use of INTDEF.
56743         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
56744         * string/argz-stringify.c: Likewise.
56745         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
56746         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
56747         Declare hidden proto.
56748         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
56749         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
56750         Declare hidden proto.
56751         * include/stdio.h (__asprintf_internal): Don't declare.
56752         (__asprintf): Don't define as macro.  Declare hidden proto.
56753         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
56754         (__fsetlocking): Declare hidden proto.
56755         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
56756         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
56757         hidden proto.
56758         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
56759         (_IO_setlinebuf): Remove use of INTUSE.
56760         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
56761         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
56762         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
56763         Remove declaration.
56764         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
56765         (_IO_do_flush): Remove use of INTUSE.
56766         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
56767         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
56768         (_IO_adjust_column, _IO_least_wmarker)
56769         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
56770         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
56771         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
56772         (_IO_default_doallocate, _IO_wdefault_doallocate)
56773         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
56774         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
56775         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
56776         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
56777         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
56778         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
56779         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
56780         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
56781         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
56782         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
56783         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
56784         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
56785         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
56786         proto.
56787         (_IO_flush_all_internal, _IO_adjust_column_internal)
56788         (_IO_default_uflow_internal, _IO_default_finish_internal)
56789         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
56790         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
56791         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
56792         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
56793         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
56794         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
56795         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
56796         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
56797         (_IO_file_close_internal, _IO_file_close_it_internal)
56798         (_IO_file_underflow_internal, _IO_file_overflow_internal)
56799         (_IO_file_init_internal, _IO_file_attach_internal)
56800         (_IO_file_fopen_internal, _IO_file_read_internal)
56801         (_IO_file_sync_internal, _IO_file_seek_internal)
56802         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
56803         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
56804         (_IO_str_underflow_internal, _IO_str_overflow_internal)
56805         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
56806         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
56807         (_IO_list_all_internal, _IO_link_in_internal)
56808         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
56809         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
56810         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
56811         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
56812         (_IO_do_write_internal, _IO_padn_internal)
56813         (_IO_getline_info_internal, _IO_getline_internal)
56814         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
56815         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
56816         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
56817         (_IO_vfscanf_internal, _IO_vfprintf_internal)
56818         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
56819         (_IO_init_internal, _IO_un_link_internal): Don't declare.
56820         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
56821         with libc_hidden_ver, remove use of INTUSE.
56822         * libio/genops.c: Likewise.
56823         * libio/freopen.c: Likewise.
56824         * libio/freopen64.c: Likewise.
56825         * libio/iofclose.c: Likewise.
56826         * libio/iofdopen.c: Likewise.
56827         * libio/iofflush.c: Likewise.
56828         * libio/iofflush_u.c: Likewise.
56829         * libio/iofgets.c: Likewise.
56830         * libio/iofgets_u.c: Likewise.
56831         * libio/iofopen.c: Likewise.
56832         * libio/iofopncook.c: Likewise.
56833         * libio/iofread.c: Likewise.
56834         * libio/iofread_u.c: Likewise.
56835         * libio/ioftell.c: Likewise.
56836         * libio/iofwrite.c: Likewise.
56837         * libio/iogetline.c: Likewise.
56838         * libio/iogets.c: Likewise.
56839         * libio/iogetwline.c: Likewise.
56840         * libio/iopadn.c: Likewise.
56841         * libio/iopopen.c: Likewise.
56842         * libio/ioseekoff.c: Likewise.
56843         * libio/ioseekpos.c: Likewise.
56844         * libio/iosetbuffer.c: Likewise.
56845         * libio/iosetvbuf.c: Likewise.
56846         * libio/ioungetc.c: Likewise.
56847         * libio/ioungetwc.c: Likewise.
56848         * libio/iovdprintf.c: Likewise.
56849         * libio/iovsprintf.c: Likewise.
56850         * libio/iovsscanf.c: Likewise.
56851         * libio/memstream.c: Likewise.
56852         * libio/obprintf.c: Likewise.
56853         * libio/oldfileops.c: Likewise.
56854         * libio/oldiofclose.c: Likewise.
56855         * libio/oldiofdopen.c: Likewise.
56856         * libio/oldiofopen.c: Likewise.
56857         * libio/oldiopopen.c: Likewise.
56858         * libio/oldstdfiles.c: Likewise.
56859         * libio/putc.c: Likewise.
56860         * libio/setbuf.c: Likewise.
56861         * libio/setlinebuf.c: Likewise.
56862         * libio/stdfiles.c: Likewise.
56863         * libio/strops.c: Likewise.
56864         * libio/vasprintf.c: Likewise.
56865         * libio/vscanf.c: Likewise.
56866         * libio/vsnprintf.c: Likewise.
56867         * libio/vswprintf.c: Likewise.
56868         * libio/wfiledoalloc.c: Likewise.
56869         * libio/wfileops.c: Likewise.
56870         * libio/wgenops.c: Likewise.
56871         * libio/wmemstream.c: Likewise.
56872         * libio/wstrops.c: Likewise.
56873         * libio/__fpurge.c: Likewise.
56874         * libio/__fsetlocking.c: Likewise.
56875         * assert/assert.c: Likewise.
56876         * debug/fgets_chk.c: Likewise.
56877         * debug/fgets_u_chk.c: Likewise.
56878         * debug/fread_chk.c: Likewise.
56879         * debug/fread_u_chk.c: Likewise.
56880         * debug/gets_chk.c: Likewise.
56881         * debug/obprintf_chk.c: Likewise.
56882         * debug/vasprintf_chk.c: Likewise.
56883         * debug/vdprintf_chk.c: Likewise.
56884         * debug/vsnprintf_chk.c: Likewise.
56885         * debug/vsprintf_chk.c: Likewise.
56886         * malloc/mtrace.c: Likewise.
56887         * misc/error.c: Likewise.
56888         * misc/syslog.c: Likewise.
56889         * stdio-common/asprintf.c: Likewise.
56890         * stdio-common/fxprintf.c: Likewise.
56891         * stdio-common/getw.c: Likewise.
56892         * stdio-common/isoc99_fscanf.c: Likewise.
56893         * stdio-common/isoc99_scanf.c: Likewise.
56894         * stdio-common/isoc99_vfscanf.c: Likewise.
56895         * stdio-common/isoc99_vscanf.c: Likewise.
56896         * stdio-common/isoc99_vsscanf.c: Likewise.
56897         * stdio-common/printf-prs.c: Likewise.
56898         * stdio-common/printf_fp.c: Likewise.
56899         * stdio-common/printf_fphex.c: Likewise.
56900         * stdio-common/printf_size.c: Likewise.
56901         * stdio-common/putw.c: Likewise.
56902         * stdio-common/scanf.c: Likewise.
56903         * stdio-common/sprintf.c: Likewise.
56904         * stdio-common/tmpfile.c: Likewise.
56905         * stdio-common/vfprintf.c: Likewise.
56906         * stdio-common/vfscanf.c: Likewise.
56907         * stdlib/strfmon_l.c: Likewise.
56908         * sunrpc/openchild.c: Likewise.
56909         * sunrpc/xdr_stdio.c: Likewise.
56910         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
56911         * sysdeps/mach/hurd/tmpfile.c: Likewise.
56913 2012-05-24  Roland McGrath  <roland@hack.frob.com>
56915         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
56917         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
56918         in the third column, to generate for the shared library an IFUNC
56919         that uses _dl_vdso_vsym.
56920         * Makerules (COMPILE.c, compile-stdin.c): New variables.
56921         * Makeconfig (object-suffixes-noshared): New variable.
56923         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
56924         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
56925         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
56926         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
56928         [BZ #14132]
56929         * include/sys/time.h (__gettimeofday): Remove macro.
56930         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
56931         * time/gettimeofday.c (__gettimeofday): Remove #undef.
56932         Remove INTDEF.
56933         (__gettimeofday): Add libc_hidden_def.
56934         (gettimeofday): Add libc_hidden_weak.
56935         * sysdeps/mach/gettimeofday.c: Likewise.
56936         * sysdeps/posix/gettimeofday.c: Likewise.
56937         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
56938         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
56939         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
56940         (__gettimeofday_internal): Remove strong_alias.
56941         (__gettimeofday): Add libc_hidden_def.
56942         (gettimeofday): Add libc_hidden_weak.
56943         * sysdeps/unix/syscalls.list (gettimeofday):
56944         Remove __gettimeofday_internal alias.
56946 2012-05-24  Daniel Jacobowitz  <drow@false.org>
56947             H.J. Lu  <hongjiu.lu@intel.com>
56949         [BZ #12495]
56950         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
56951         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
56952         (largebin_index_32_big): New.
56953         (largebin_index): Use it for 16-byte alignment.
56954         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
56955         correction with front_misalign.
56957 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
56959         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
56960         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
56961         Likewise.
56962         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
56963         Likewise.
56964         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
56965         Likewise.
56966         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
56967         Likewise.
56968         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
56969         Likewise.
56970         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
56971         Likewise.
56972         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
56973         Likewise.
56974         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
56975         Likewise.
56976         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
56977         Likewise.
56978         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
56979         Likewise.
56980         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
56981         Likewise.
56982         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
56983         Likewise.
56985         * scripts/data/c++-types-x32-linux-gnu.data: New file.
56986         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
56988 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
56990         [BZ #10846]
56991         [BZ #14036]
56992         * math/libm-test.inc (exp_test): Add test from bug 14036.
56993         (pow_test): Add test from bug 10846.
56995         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
56996         and other flags.
56997         (special_function): Do not include flags in test name.
56998         (parse_args): Likewise.
56999         * sysdeps/i386/fpu/libm-test-ulps: Update.
57000         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57001         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
57002         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
57003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57005         * math/gen-libm-test.pl (%beautify): Add entries for underflow
57006         exceptions.
57007         * math/libm-test.inc ("Philosophy"): Update comment about
57008         exception testing.
57009         (UNDERFLOW_EXCEPTION): New macro.
57010         (UNDERFLOW_EXCEPTION_OK): Likewise.
57011         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
57012         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
57013         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
57014         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
57015         (INVALID_EXCEPTION_OK): Update value.
57016         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
57017         (OVERFLOW_EXCEPTION_OK): Likewise.
57018         (IGNORE_ZERO_INF_SIGN): Likewise.
57019         (test_exceptions): Handle underflow exceptions.
57020         (acos_test): Update for underflow exception expectations.
57021         (cexp_test): Likewise.
57022         (clog_test): Likewise.
57023         (clog10_test): Likewise.
57024         (csqrt_test): Likewise.
57025         (ctan_test): Likewise.
57026         (ctanh_test): Likewise.
57027         (exp_test): Likewise.
57028         (exp10_test): Likewise.
57029         (exp2_test): Likewise.
57030         (expm1_test): Likewise.
57031         (fma_test): Likewise.
57032         (j0_test): Likewise.
57033         (jn_test): Likewise.
57034         (nexttoward_test): Likewise.
57035         (pow_test): Likewise.
57036         (scalbn_test): Likewise.
57037         (scalbln_test): Likewise.
57038         (tan_test): Likewise.
57039         (y1_test): Likewise.
57040         * sysdeps/i386/fpu/libm-test-ulps: Update.
57041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57043 2012-05-23  David S. Miller  <davem@davemloft.net>
57045         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
57046         (__libc_sigaction): Remove unused local variables.
57048 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
57050         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
57052 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
57054         mktime: avoid signed integer overflow
57055         * time/mktime.c (__mktime_internal): Do not mishandle the case
57056         where diff == INT_MIN.
57058         mktime: simplify computation of average
57059         * time/mktime.c (ranged_convert): Use new time_t_avg function
57060         instead of rolling our own (probably-slower) code.
57062         mktime: do not assume signed right shift propagates sign bit
57063         * time/mktime.c (isdst_differ): New static function.
57064         (__mktime_internal): No need to normalize tm_isdst now.
57065         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
57066         tm_isdst values.
57068         mktime: merge another wrapv change from gnulib
57069         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
57070         from some compilers.
57072         mktime: remove incorrect attempt at unusual arithmetics
57073         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
57074         The code didn't really work on such machines anyway.
57075         (TYPE_MINIMUM): Assume two's complement.
57076         (twos_complement_arithmetic): Verify that long_int and time_t
57077         are two's complement (or unsigned, in the latter case).
57079         mktime: check signed shifts on long_int and time_t, too
57080         * time/mktime.c (SHR): Check that shifts work as desired
57081         on the types long_int and time_t too, as SHR is used on
57082         such types.
57084         mktime: do not assume 'long' is wide enough
57085         * time/mktime.c (verify): Move decl up.
57086         (long_int): New type.
57087         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
57088         to remove assumption in the code that 'long' is wide enough to
57089         store year values.  This assumption is not true on x32 and on
57090         some non-glibc platforms.
57092         mktime: merge wrapv change from gnulib
57093         * time/mktime.c (WRAPV): New macro.
57094         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
57095         (guess_time_tm, __mktime_internal): Do not assume that signed
57096         integer overflow wraps around; modern compilers generate code
57097         where this assumption is no longer valid.
57099 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
57101         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
57102         Replace "jmp L(pseudo_end)" with "ret".
57103         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
57104         Likewise.
57106 2012-05-23  Andreas Jaeger  <aj@suse.de>
57108         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
57109         * sysdeps/unix/sysv/linux/poll.c: Remove file.
57111 2012-05-23  Andreas Jaeger  <aj@suse.de>
57112             Maximilian Attems  <max@stro.at>
57114         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
57115         New macros.
57117 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
57119         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
57120         code so that pseudo_end is just ret and the stack pointer is
57121         correct also for static library in error case.
57123 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
57125         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
57126         move to syscalls.list.
57127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
57128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
57129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
57130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
57132         * manual/install.texi (Running make install): Do not mention Linux
57133         kernel version for which pt_chown is not needed.
57134         (Linux): Do not mention problems with nscd with 2.0 kernels.
57135         * INSTALL: Regenerated.
57137 2012-05-23  Andreas Jaeger  <aj@suse.de>
57139         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
57140         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
57141         macro.
57142         * sysdeps/unix/sysv/linux/s390/bits/mman.h
57143         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57144         * sysdeps/unix/sysv/linux/sh/bits/mman.h
57145         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57146         * sysdeps/unix/sysv/linux/i386/bits/mman.h
57147         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57148         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
57149         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57150         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
57151         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57152         * sysdeps/unix/sysv/linux/bits/in.h
57153         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
57155 2012-05-22  Roland McGrath  <roland@hack.frob.com>
57157         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
57158         (PREPARE_VERSION): Just use assert instead, it will be elided
57159         under [NDEBUG] anyway.
57161 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
57163         * sysdeps/unix/sysv/linux/Makefile: Include
57164         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
57165         (sysdep_routines): Remove sysctl.
57166         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
57167         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
57168         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
57169         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
57170         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
57172 2012-05-22  Andreas Jaeger  <aj@suse.de>
57174         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
57175         that pseudo_end is just ret and the stack pointer is correct also
57176         for static library in error case.
57178 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
57180         [BZ #14122]
57181         * nss/nsswitch.c (defconfig_entries): New variable.
57182         (__nss_database_lookup): Don't leak defconfig entries.
57183         (nss_parse_service_list): Don't leak on error paths.
57184         (free_database_entries): New function.
57185         (free_defconfig): New function.
57186         (free_mem): Move common code to free_database_entries.
57188 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
57190         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
57191         Add arch_prctl.
57192         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
57194         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
57195         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
57196         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
57197         New macro.
57198         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
57199         (INTERNAL_SYSCALL_TYPES): Likewise.
57200         (LOAD_ARGS_TYPES_[1-6]): Likewise.
57201         (LOAD_REGS_TYPES_[1-6]): Likewise.
57202         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
57203         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
57205 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57207         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
57208         copysignl for GLIBC_2_0.
57209         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
57210         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
57211         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
57212         logbl for GLIBC_2_0.
57213         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
57214         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
57216 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
57218         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
57219         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
57221         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
57222         Use "neg %eax".
57224         * time/mktime.c: Update copyright years.
57226 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
57228         mktime: merge comment-quoting-style change from gnulib
57229         * time/mktime.c: Quote 'like this' in comments.
57230         The GNU coding standards suggest that we no longer quote `like this',
57231         as "`" and "'" are typically rendered asymmetrically nowadays.
57232         The typical gnulib style is to quote 'like this' when quoting
57233         code, and "like this" when quoting English.
57235         * time/mktime.c (compile-command): Add "-I.".
57237         mktime: merge mktime-internal.h change from gnulib
57238         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
57240         mktime: merge time_r change from gnulib
57241         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
57243         mktime: merge DEBUG change from gnulib
57244         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
57245         case system <time.h> has a #define.
57247         mktime: merge <sys/types.h> change from gnulib
57248         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
57249         since <time.t> is now guaranteed to define time_t.
57251         mktime: merge HAVE_CONFIG_H change from gnulib
57252         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
57254 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
57256         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
57257         Use "neg %eax".
57259         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
57260         __rlim_t cast.
57261         (struct rusage): Use anonymous union to pad each field to
57262         __syscall_slong_t.
57264 2012-05-21  David S. Miller  <davem@davemloft.net>
57266         * Makefules (o-iterator): Remove .s cases.
57267         (compile-command.s): Delete.
57268         (COMPILE.s): Delete.
57269         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
57271 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
57273         * configure.in (libc_cv_predef_stack_protector): Only consider
57274         "foobar" and "__stack_chk_fail" lines in libc_undefs.
57275         * configure: Regenerated.
57277 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
57279         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
57280         New macro.  Use R*LP on int and pointer.
57281         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
57282         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
57283         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
57284         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
57286         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
57287         [__WORDSIZE_TIME64_COMPAT32] instead of
57288         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
57289         (struct utmp): Likewise.
57290         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
57291         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
57292         Renamed to ...
57293         (__WORDSIZE_TIME64_COMPAT32): This.
57294         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
57295         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
57296         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
57297         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
57298         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
57299         (__WORDSIZE_TIME64_COMPAT32): New macro.
57301 2012-05-21  Andreas Jaeger  <aj@suse.de>
57303         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
57304         only if [SHARED]. Add prototype for __wcschr_ia32.
57306 2012-05-21  Roland McGrath  <roland@hack.frob.com>
57308         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
57309         of %rbp unmolested in the jmp_buf while mangling the low bits.
57310         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
57311         unmolested high bits of %rbp while demangling the low bits.
57312         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
57314 2012-05-21  Andreas Jaeger  <aj@suse.de>
57316         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
57317         * sunrpc/svc_simple.c: Use it for registerrpc.
57318         * sunrpc/xcrypt.c: Use it for passwd2des.
57320         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
57322 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
57324         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
57325         Don't define if [__SYSCALL_WORDSIZE != 32].
57326         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
57327         New macro.
57329 2012-05-21  Bruno Haible  <bruno@clisp.org>
57330             Andreas Jaeger  <aj@suse.de>
57332         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
57333         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
57334         inptr and inend for must_buffer_ch.
57335         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
57336         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
57337         * stdio-common/Makefile (tests): Remove bug15.
57338         (bug15-ENV): Remove macro.
57339         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
57340         anymore.
57342 2012-05-19  Andreas Jaeger  <aj@suse.de>
57343             Roland McGrath  <roland@hack.frob.com>
57345         * manual/contrib.texi: Completely rewritten. It contains now an
57346         alphabetical list of contributors and their contributions.
57348 2012-05-21  Richard Henderson  <rth@twiddle.net>
57350         * misc/getauxval.c (__getauxval): Use unsigned long int.
57351         * misc/sys/auxv.h: Include <sys/cdefs.h>.
57352         (getauxval): Use unsigned long int.
57354 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
57356         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
57358 2012-05-21  Roland McGrath  <roland@hack.frob.com>
57360         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
57361         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
57362         __alignof__ (long double).
57364 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57366         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57368 2012-05-20  Richard Henderson  <rth@twiddle.net>
57370         * misc/getauxval.c: New file.
57371         * misc/sys/auxv.h: New file.
57372         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
57373         (routines): Add getauxval.
57374         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
57375         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
57376         * elf/dl-sysdep.c (_dl_auxv): Remove.
57377         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
57378         * elf/dl-support.c (_dl_auxv): New variable.
57379         (_dl_aux_init): Initialize it.
57380         * manual/startup.texi (Auxiliary Vector): New node.
57381         * sysdeps/generic/bits/hwcap.h: New file.
57382         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
57383         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
57384         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
57385         * sysdeps/sparc/sysdep.h: ... here.  Include it.
57386         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
57387         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
57388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57389         Update.
57390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
57391         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
57392         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
57393         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
57394         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
57395         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
57396         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
57397         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
57399 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57401         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57403 2012-05-19  David S. Miller  <davem@davemloft.net>
57405         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57407 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
57409         [BZ #14123]
57410         * math/s_ccosh.c: Include <float.h>
57411         (__ccosh): Avoid internal overflow calculating sinh and cosh
57412         values before multiplying by sin and cos values.
57413         * math/s_ccoshf.c: Likewise.
57414         * math/s_ccoshl.c: Likewise.
57415         * math/s_csin.c: Likewise.
57416         * math/s_csinf.c: Likewise.
57417         * math/s_csinl.c: Likewise.
57418         * math/s_csinh.c: Likewise.
57419         * math/s_csinhf.c: Likewise.
57420         * math/s_csinhl.c: Likewise.
57421         * math/libm-test.inc (ccos_test): Add more tests.
57422         (ccosh_test): Likewise.
57423         (csin_test): Likewise.
57424         (csinh_test): Likewise.
57425         * sysdeps/i386/fpu/libm-test-ulps: Update.
57426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57428 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
57430         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
57431         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
57433         * sysdeps/x86_64/x32/_itoa.h: Add comment.
57435 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
57437         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
57438         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
57439         * sysdeps/powerpc/soft-fp/Versions: Likewise.
57440         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
57441         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
57442         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
57443         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
57444         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
57445         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
57446         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
57447         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
57448         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
57449         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
57450         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
57451         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
57452         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
57453         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
57454         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
57455         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
57456         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
57457         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
57458         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
57459         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
57460         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
57461         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
57462         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
57463         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
57464         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
57465         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
57466         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
57467         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
57469 2012-05-18  Andreas Jaeger  <aj@suse.de>
57471         * csu/.gitignore: Delete.
57473 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
57475         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
57476         (timex): Use __syscall_slong_t.
57478 2012-05-18  Andreas Jaeger  <aj@suse.de>
57479             Carlos O'Donell  <carlos_odonell@mentor.com>
57481         * manual/install.texi (Configuring and compiling): Update
57482         description about files modified in the source directory.
57483         * INSTALL: Regenerated.
57485 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
57487         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
57488         value.  Use "or" to set return value to -1.
57489         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
57490         negate return value.
57492 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57494         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
57495         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
57496         failure if the compiler has Graphite support disabled.
57497         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
57498         Likewise.
57499         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
57500         (CFLAGS-memmove.c): Likewise.
57501         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
57502         Likewise.
57504 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
57506         * sysdeps/x86_64/x32/_itoa.h: New file.
57508         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
57509         getdents system call only if kernel and user dirents have the
57510         same d_ino and d_off.
57512         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
57513         LLONG_MAX != LONG_MAX.
57514         (_itoa_word): Use _ITOA_WORD_TYPE on value.
57515         (_fitoa_word): Likewise.
57517         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
57518         years.
57519         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
57520         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
57521         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
57523         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
57524         include <bits/wordsize.h>.  Check __x86_64__ instead of
57525         __WORDSIZE.
57526         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
57527         if __x86_64__ is defined.  Use anonymous union on fpstate.
57529         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
57530         anonymous union.
57532 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
57534         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
57535         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
57536         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
57537         Refer to _rtld_local_ro instead of _rtld_global_ro.
57538         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
57539         Likewise.
57540         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
57541         Likewise.
57542         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
57543         Likewise.
57544         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
57545         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
57546         of _rtld_global, and rtld_progname instead of _dl_argv[0].
57548         [BZ #10882]
57549         * sysdeps/powerpc/powerpc32/dl-machine.c
57550         (__elf_machine_runtime_setup) [PROF]: Don't reference
57551         _dl_prof_resolve.
57553 2012-05-18  Andreas Jaeger  <aj@suse.de>
57555         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
57556         function only available for GCCs before 3.4 since GCC 3.4
57557         introduced a builtin.
57558         (lrint): Likewise.
57559         (llrintf): Likewise.
57560         (llrint): Likewise.
57561         (fmaxf): Likewise.
57562         (fmax): Likewise.
57563         (fminf): Likewise.
57564         (fmin): Likewise.
57565         (rint): Likewise.
57566         (rintf): Likewise.
57567         (nearbyint): Likewise.
57568         (nearbyintf): Likewise.
57569         (ceil): Likewise.
57570         (ceilf): Likewise.
57571         (floor): Likewise.
57572         (floorf): Likewise.
57574 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
57576         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
57577         on both fields and cast pointer to __syscall_ulong_t.
57579         * bits/types.h (__fsword_t): New type.
57580         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
57581         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
57582         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57583         (__FSWORD_T_TYPE): Likewise.
57584         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57585         (__FSWORD_T_TYPE): Likewise.
57586         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57587         (__FSWORD_T_TYPE): Likewise.
57588         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
57589         (__FSWORD_T_TYPE): Likewise.
57590         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
57591         __SWORD_TYPE with __fsword_t.
57592         (statfs64): Likewise.
57594 2012-05-17  David S. Miller  <davem@davemloft.net>
57596         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
57598 2012-05-17  Andreas Jaeger  <aj@suse.de>
57600         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
57601         warning.
57603 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
57605         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
57607 2012-05-17  Andreas Jaeger  <aj@suse.de>
57609         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
57610         when it is used.
57612 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
57614         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
57616 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
57618         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
57619         * sysdeps/x86_64/tst-mallocalign1.c: New file.
57621 2012-05-17  Andreas Jaeger  <aj@suse.de>
57622             Carlos O'Donell  <carlos_odonell@mentor.com>
57624         [BZ #14059]
57625         * sysdeps/x86_64/multiarch/init-arch.h
57626         (bit_YMM_Usable): Rename to...
57627         (bit_AVX_Usable): ... this.
57628         (bit_FMA4_Usable): New macro.
57629         (bit_XMM_state): New macro.
57630         (bit_YMM_state): New macro.
57631         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
57632         [__ASSEMBLER__] (index_AVX_Usable): ... this.
57633         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
57634         (CPUID_OSXSAVE): New macro.
57635         (CPUID_AVX): New macro.
57636         (CPUID_FMA4): New macro.
57637         (index_YMM_Usable): Rename to...
57638         (index_AVX_Usable): ... this.
57639         (HAS_AVX): Use HAS_ARCH_FEATURE.
57640         (HAS_FMA4): Likewise.
57641         (HAS_YMM_USABLE): Remove.
57642         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57643         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
57644         are present.
57645         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
57646         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
57647         * sysdeps/x86_64/multiarch/Makefile: Likewise.
57648         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
57649         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
57651 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
57653         * math/libm-test.c: Support platforms without multiple rounding modes.
57654         * math/bug-nextafter.c: Support platforms without FP exceptions.
57655         * math/bug-nexttoward.c: Likewise.
57656         * math/test-fenv.c: Likewise.
57657         * math/test-misc.c: Likewise.
57658         * stdlib/bug-getcontext.c: Likewise.
57660 2012-05-17  Andreas Jaeger  <aj@suse.de>
57662         * manual/examples/search.c (critter_cmp): Change signature to
57663         avoid warnings.
57664         * manual/string.texi (Collation Functions): Likewise.
57666 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57668         * bits/types.h: Fold copyright years.
57669         * bits/typesizes.h: Likewise.
57670         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
57671         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
57672         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
57673         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
57674         * time/time.h: Likewise.
57676 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
57678         [BZ #208]
57679         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
57680         in instead of returning them.  Return void.
57681         (__libc_mallinfo): Accumulate over all arenas.
57682         (__malloc_stats): Adjust for change in int_mallinfo interface.
57684 2012-05-16  Roland McGrath  <roland@hack.frob.com>
57686         [BZ #10375]
57687         * configure.in (NM): Add AC_CHECK_TOOL for it.
57688         (libc_extra_cflags): New substituted variable.
57689         Check for -fstack-protector being used implicitly.
57690         * configure: Regenerated.
57691         * config.make.in (config-extra-cflags): New variable,
57692         gets @libc_extra_cflags@.
57693         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
57695         [BZ #10375]
57696         * configure.in: Check for _FORTIFY_SOURCE being predefined.
57697         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
57698         * configure: Regenerated.
57699         * config.make.in (CPPUNDEFS): New substituted variable.
57700         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
57701         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
57702         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
57704 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57706         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
57707         (mq_attr): Use __syscall_slong_t.
57709 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57711         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
57712         Check __x86_64__ instead of __WORDSIZE.
57713         (_STAT_VER_LINUX): Likewise.
57714         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
57715         __syscall_ulong_t and __syscall_slong_t.
57716         (stat64): Likewise.
57718 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57720         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
57722 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57724         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
57726 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57728         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
57729         __syscall_ulong_t.
57731         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
57732         include <bits/wordsize.h>.  Check __x86_64__ instead of
57733         __WORDSIZE.
57734         (greg_t): Use "__extension__ long long int" if __x86_64__ is
57735         defined.
57736         (mcontext_t): Replace "unsigned long" with "unsigned long long".
57738         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
57739         include <bits/wordsize.h>.  Check __x86_64__ instead of
57740         __WORDSIZE.
57741         (user_regs_struct): Use "__extension__ unsigned long long"
57742         instead of "unsigned long" if __x86_64__ is defined.
57743         (user): Likewise.  Pad after pointer field if __ILP32__ is
57744         defined.
57746 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
57748         * configure.in (makeinfo): Require version 4.5 or later.  Allow
57749         versions 5 to 9.
57750         * configure: Regenerated.
57751         * manual/install.texi (texinfo): Increase version requirement to
57752         4.5 or later.
57753         * INSTALL: Regenerated.
57755         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
57757 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57759         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
57761         * sysdeps/x86_64/x32/ffs.c: New file.
57763         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
57764         __syscall_ulong_t.
57765         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
57766         defined.  Use __syscall_ulong_t.
57767         (shminfo): Use __syscall_ulong_t.
57768         (shm_info): Likewise.
57770         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
57771         __syscall_ulong_t.
57773         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
57774         <bits/wordsize.h>.
57775         (msgqnum_t): Use __syscall_ulong_t.
57776         (msglen_t): Likewise.
57777         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
57778         __syscall_ulong_t.
57780         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
57781         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
57783         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
57785         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
57786         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
57788         * sysvipc/sys/msg.h (msgbuf): Replace long int with
57789         __syscall_slong_t.
57791         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
57792         include <bits/wordsize.h>.  Check __x86_64__ instead of
57793         __WORDSIZE.
57795         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
57796         "unsigned long long int" if __x86_64__ is defined.
57797         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
57799         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
57800         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
57801         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
57803         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
57804         <stdint.h>.
57805         (GET_PC): Cast to uintptr_t first.
57806         (GET_FRAME): Likewise.
57807         (GET_STACK): Likewise.
57809         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
57810         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
57811         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
57812         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
57813         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
57814         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
57815         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
57816         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
57817         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
57818         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
57819         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
57820         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
57821         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
57822         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
57823         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
57824         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
57825         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
57826         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
57827         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
57828         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
57829         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
57830         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
57831         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
57832         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
57833         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
57834         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
57835         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
57836         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
57837         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
57839 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
57841         * Makerules (+depfiles): Also collect depfiles from .oS in
57842         $(extra-objs).
57843         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
57844         .oS, $(libnldbl-routines)).
57846         * Makerules (native-compile-mkdep-flags): Define.
57847         * sunrpc/Makefile (extra-objs): Add $(addprefix
57848         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
57849         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
57850         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
57851         calling $(make-target-directory).
57853 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57855         * bits/types.h (__snseconds_t): Removed.
57856         * time/time.h (struct timespec): Replace __snseconds_t with
57857         __syscall_slong_t.
57858         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
57859         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
57860         Likewise.
57861         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57862         (__SNSECONDS_T_TYPE): Likewise.
57863         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57864         (__SNSECONDS_T_TYPE): Likewise.
57865         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57866         (__SNSECONDS_T_TYPE): Likewise.
57868 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57870         * sysdeps/mach/hurd/bits/typesizes.h
57871         (__SYSCALL_SLONG_TYPE): New macro.
57872         (__SYSCALL_ULONG_TYPE): Likewise.
57874 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57876         * bits/types.h (__syscall_slong_t): New type.
57877         (__syscall_ulong_t): Likewise.
57879         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
57880         (__SYSCALL_ULONG_TYPE): Likewise.
57881         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57882         (__SYSCALL_SLONG_TYPE): Likewise.
57883         (__SYSCALL_ULONG_TYPE): Likewise.
57884         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57885         (__SYSCALL_SLONG_TYPE): Likewise.
57886         (__SYSCALL_ULONG_TYPE): Likewise.
57887         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57888         (__SYSCALL_SLONG_TYPE): Likewise.
57889         (__SYSCALL_ULONG_TYPE): Likewise.
57891 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57893         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
57894         Add sigaltstack-offsets.sym.
57895         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
57896         <sigaltstack-offsets.h>.
57897         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
57898         longjmp_msg pointer.
57899         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
57900         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
57901         signal stack.
57902         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
57904 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
57906         * elf/stackguard-macros.h: Remove file.
57907         * sysdeps/generic/stackguard-macros.h: New file.
57908         * sysdeps/i386/stackguard-macros.h: Likewise.
57909         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
57910         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
57911         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
57912         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
57913         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
57914         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
57915         * sysdeps/x86_64/stackguard-macros.h: Likewise.
57916         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
57917         <elf/stackguard-macros.h>.
57919         [BZ #14109]
57920         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
57921         __aligned__ in attribute.
57922         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
57923         (gregset_t): Likewise.
57925 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57927         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
57928         * sysdeps/x86_64/64/Implies-after: Here.  New file.
57929         * sysdeps/x86_64/x32/Implies-after: New file.
57931 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57933         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
57934         and access return value for _dl_profile_fixup.  Use R10_LP to
57935         load frame size.
57937 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57939         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
57941 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57943         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
57944         * sysdeps/x86_64/x32/sysdep.h: New file.
57946 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57948         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
57949         * sysdeps/x86_64/setjmp.S: Likewise.
57951 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57953         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
57954         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
57955         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
57956         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
57957         remove unused global constant.
57959 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
57961         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
57962         include of <not-cancel.h>.
57964 2012-05-15  Roland McGrath  <roland@hack.frob.com>
57966         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
57968 2012-05-15  Jeff Law  <law@redhat.com>
57969             Andreas Jaeger  <aj@suse.de>
57971         [BZ #13594]
57972         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
57973         out from...
57974         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
57975         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
57976         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
57977         code changing __hst_map_handle.map.
57979 2012-05-15  Roland McGrath  <roland@hack.frob.com>
57981         * configure.in (sysnames): Look for Implies-before and Implies-after
57982         files.
57983         * configure: Regenerated.
57985 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57987         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
57988         8-byte data alignment with LP_SIZE alignment.
57990 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57992         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
57993         into R10_LP.
57995 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57997         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
57999 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58001         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
58002         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
58003         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
58004         Likewise.
58005         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
58007 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58009         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
58010         (stackinfo_sub_sp): Likewise.
58012 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58014         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
58015         RAX_LP.
58017 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58019         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
58020         into R*_LP.
58022 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58024         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
58025         sizes into R*_LP.
58027 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58029         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
58031 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58033         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
58034         into R11_LP and load __x86_64_shared_cache_size_half into
58035         R8_LP.
58037 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58039         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
58040         R8_LP.
58042 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58044         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
58045         logb for POWER7.
58046         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
58047         logbf for POWER7.
58048         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
58049         logbl for POWER7.
58050         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
58051         powerpc32/power7/fpu/s_logb.c via #include.
58052         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
58053         powerpc32/power7/fpu/s_logbf.c via #include.
58054         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
58055         powerpc32/power7/fpu/s_logbl.c via #include.
58057 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
58059         * README.libm: Remove file.
58061 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58063         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
58064         count for x32.  Use R*_LP and omit operand-size suffix.
58066 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58068         * shlib-versions: Move x86_64-.*-linux.* entries to ...
58069         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
58070         * sysdeps/x86_64/x32/shlib-versions: New file.
58072 2012-05-14  Roland McGrath  <roland@hack.frob.com>
58074         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
58075         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
58076         Use _dl_fatal_printf instead.
58078 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
58080         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
58081         set if not set by the user.  Do not allow for being unset.
58082         * sysdeps/unix/sysv/linux/configure: Regenerated.
58084 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58086         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
58087         the `q' suffix from lea and replace .quad with ASM_ADDR.
58089 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58091         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
58092         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
58093         instead of $17.
58094         (PTR_DEMANGLE): Likewise.
58096 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58098         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
58099         (LP_OP): Likewise.
58100         (ASM_ADDR): Likewise.
58101         (RAX_LP): Likewise.
58102         (RBP_LP): Likewise.
58103         (RBX_LP): Likewise.
58104         (RCX_LP): Likewise.
58105         (RDI_LP): Likewise.
58106         (RSI_LP): Likewise.
58107         (RSP_LP): Likewise.
58108         (R8_LP): Likewise.
58109         (R9_LP): Likewise.
58110         (R10_LP): Likewise.
58111         (R10_LP): Likewise.
58112         (R11_LP): Likewise.
58113         (R12_LP): Likewise.
58114         (R13_LP): Likewise.
58115         (R14_LP): Likewise.
58116         (R15_LP): Likewise.
58118 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58120         * sysdeps/x86_64/x32/dl-machine.h: New file.
58122 2012-05-14  Andreas Jaeger  <aj@suse.de>
58124         * manual/Makefile (subdir): Remove export of subdir.
58125         (all): Remove target.
58126         (.PHONY): Remove all from list.
58127         (mkinstalldirs): Remove.
58128         (.PHONY): Remove installdirs from list.
58129         ($(inst_infodir)/libc.info): Use make-target-directory.
58130         (installdirs): Remove.
58131         (subdir_%): Remove.
58132         (glibc-targets): Remove.
58133         (lib): Remove.
58134         (stubs): Remove.
58135         ($(objpfx)stubs ../po/manual.pot): Remove.
58136         ($(objpfx)stamp%): Remove.
58137         (make-target-directory): Remove.
58138         (subdir_install): Remove.
58139         (routines): Remove.
58140         (aux): Remove.
58141         (sources): Remove.
58142         (objects): Remove.
58143         (headers): Remove.
58145         [BZ #13750]
58146         * manual/.gitignore: Remove, it's not needed anymore.
58147         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
58148         all files in it.
58149         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
58150         directory.
58151         (texis): Renamed to $(objpfx)texis.
58152         (texis-path): New, contains path to generated files.
58153         (chapters.%): Use texis-path for complete path, add extra argument
58154         libc-texinfo.sh.
58155         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
58156         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
58157         (summary,texi, stamp-summary): Use complete path of
58158         files. Generate files in build dir.
58159         (dir-add.texi): Build in build dir.
58160         (libm-err.texi,stamp-libm-err): Likewise.
58161         (version.texi, stamp-version): Likewise.
58162         (.%c.texi): Likewise.
58163         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
58164         (mostlyclean): Remove target.
58165         (realclean): Remove target.
58166         (generated): Add new variable with contents from mostlyclean and
58167         realclean, remove entries duplicated in common-mostlyclean, add
58168         stamp-libm-err and stamp-version.
58169         (generated-dirs): Add libc directory.
58170         ($(inst_infodir)/libc.info): Install files from build dir.
58172         * manual/install.texi (Configuring and compiling): Adjust since
58173         the info files are not part of the tar ball anymore.
58175 2012-05-14  Andreas Jaeger  <aj@suse.de>
58177         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
58178         variable.
58180 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
58182         [BZ #13717]
58183         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
58184         to 2.2.0 where earlier.
58185         * sysdeps/unix/sysv/linux/configure: Regenerated.
58186         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
58187         Remove conditional code.
58188         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
58189         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
58190         Remove conditional code.
58191         [!__NR_lchown]: Likewise.
58192         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
58193         [__NR_lchown]: Likewise.
58194         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
58195         comment referencing __ASSUME_LCHOWN_SYSCALL.
58196         * sysdeps/unix/sysv/linux/i386/sigaction.c
58197         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58198         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58199         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
58200         Remove conditional code.
58201         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
58202         (__protocol_available): Remove #if 0 code.
58203         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
58204         conditional code.
58205         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
58206         * sysdeps/unix/sysv/linux/kernel-features.h
58207         (__ASSUME_GETCWD_SYSCALL): Don't define.
58208         (__ASSUME_REALTIME_SIGNALS): Likewise.
58209         (__ASSUME_PREAD_SYSCALL): Likewise.
58210         (__ASSUME_PWRITE_SYSCALL): Likewise.
58211         (__ASSUME_POLL_SYSCALL): Likewise.
58212         (__ASSUME_LCHOWN_SYSCALL): Likewise.
58213         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
58214         non-SPARC.
58215         (__ASSUME_SIOCGIFNAME): Don't define.
58216         (__ASSUME_MSG_NOSIGNAL): Likewise.
58217         (__ASSUME_SENDFILE): Define unconditionally.
58218         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
58219         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
58220         conditional code.
58221         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
58222         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
58223         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
58224         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
58225         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
58226         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
58227         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
58228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
58229         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
58230         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
58232         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
58233         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
58235         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58236         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
58238         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58239         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
58241         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
58242         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
58244         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
58245         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
58247         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58248         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
58250         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58251         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58252         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
58253         Remove conditional code.
58254         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58255         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
58256         Remove conditional code.
58257         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58258         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
58259         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
58260         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
58261         Remove conditional code.
58262         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58263         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
58264         Remove conditional code.
58265         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58266         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
58267         Remove conditional code.
58268         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58269         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
58270         Remove conditional code.
58271         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58272         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
58273         Remove conditional code.
58274         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58275         * sysdeps/unix/sysv/linux/sh/pwrite64.c
58276         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58277         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58278         * sysdeps/unix/sysv/linux/sigaction.c
58279         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58280         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58281         * sysdeps/unix/sysv/linux/sigpending.c
58282         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58283         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58284         * sysdeps/unix/sysv/linux/sigprocmask.c
58285         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58286         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58287         * sysdeps/unix/sysv/linux/sigsuspend.c
58288         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58289         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58290         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
58291         (__libc_missing_rt_sigs): Remove.
58292         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
58293         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
58294         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
58295         Remove conditional code.
58296         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
58297         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
58298         return 1.
58299         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
58300         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
58301         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
58302         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
58304 2012-05-14  Andreas Jaeger  <aj@suse.de>
58306         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
58307         it's not used in glibc.
58308         (__coshm1): Likewise.
58309         (__acosh1p): Likewise.
58310         (__sgn): Likewise.
58312         * manual/string.texi (Copying and Concatenation): Add missing
58313         variable in concat example.
58314         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
58316 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58318         [BZ #14103]
58319         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
58320         __builtin_clzl with __builtin_clzll.
58322 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58324         [BZ #14104]
58325         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
58326         libc_freeres_ptr.
58328 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58330         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
58331         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
58332         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
58333         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
58335 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
58337         * NEWS: Update ia64 info.
58339 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
58341         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
58342         used as bcopy.
58344 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
58346         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
58347         * sysdeps/unix/syscalls.list (dup3): Likewise.
58348         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
58349         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
58351 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
58353         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
58354         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
58356 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
58358         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
58359         thread pointer.
58360         (TLS_IE): Use mov/add instead of movq/addq to load thread
58361         pointer.
58362         (TLS_GD_PREFIX): New.
58363         (TLS_GD): Use it.
58365 2012-05-11  David S. Miller  <davem@davemloft.net>
58367         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
58368         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
58369         (_FPU_SETCW): Likewise.
58371 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
58373         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
58374         is 32-byte aligned.
58376 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
58378         [BZ #11837]
58379         * iconvdata/gb18030.c: Update tables.
58380         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
58381         characters specially.
58382         (BODY for TO_LOOP): Add encoding of missing ranges.
58384 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
58386         [BZ #13673]
58387         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
58388         * sysdeps/mach/hurd/dup3.c: Likewise.
58389         * sysdeps/mach/hurd/readlinkat.c: Likewise.
58390         * sysdeps/powerpc/memmove.c:: Likewise.
58392 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
58394         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
58395         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
58397 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
58399         * elf/elf.h (R_X86_64_RELATIVE64): New.
58400         (R_X86_64_NUM): Updated.
58401         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
58402         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
58403         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
58404         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
58405         tst-quad1pie tst-quad2pie
58406         (modules-names): Add tst-quadmod1 tst-quadmod2.
58407         ($(objpfx)tst-quad1): New dependency.
58408         ($(objpfx)tst-quad2): Likewise.
58409         ($(objpfx)tst-quad1pie): Likewise.
58410         ($(objpfx)tst-quad2pie): Likewise.
58411         * sysdeps/x86_64/tst-quad1.c: New file.
58412         * sysdeps/x86_64/tst-quad1pie.c: New file.
58413         * sysdeps/x86_64/tst-quad2.c: Likewise.
58414         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
58415         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
58416         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
58417         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
58418         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
58420 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58422         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
58423         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
58424         * streams/stropts.h (t_scalar_t): Define type.
58426         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
58427         (_PATH_PRESERVE): Set to "/var/lib".
58428         (_PATH_RWHODIR): Set to "/var/spool/rwho".
58430         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
58431         instead of int.
58433         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
58434         if __dir_mkfile succeeded.
58436         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
58437         checking for _hurd_dtablesize.  Unlock it right after having
58438         finished _hurd_dtable allocation.
58440 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58442         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
58443         * sysdeps/mach/hurd/configure: Regenerated.
58444         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
58445         special-casing to...
58446         * sysdeps/gnu/configure.in: ... this new file.
58447         * sysdeps/unix/sysv/linux/configure: Regenerated.
58448         * sysdeps/gnu/configure: New generated file.
58450         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
58451         for Linux: use nsec instead of usec, as well as:
58452         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
58453         members of type struct timespec.
58454         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
58455         New macros.
58456         (struct stat64): Likewise.
58457         (_STATBUF_ST_NSEC): New macro.
58458         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
58460         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
58461         __strtoul_internal rather than strtoul.
58463 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
58465         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
58466         and reject them.
58468 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58470         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
58471         which preserves existing values.
58472         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
58474 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
58476         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
58477         TIMEOUT values.  Return EINVAL for NFDS values either negative or
58478         greater than FD_SETSIZE.
58480 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58482         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
58483         allocated, call __vm_protect to finish enabling the existing space, and
58484         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
58485         allocate the remainder.
58487 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
58489         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
58490         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
58492 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58494         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
58495         sysdeps/mach/hurd/readlink.c.
58497         * posix/tst-sysconf.c (posix_options): Only use
58498         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
58499         _POSIX_SYNCHRONIZED_IO when they are defined
58500         * sysdeps/mach/hurd/bits/posix_opt.h:
58501         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
58502         (_XOPEN_REALTIME): Undefine macro.
58503         (_XOPEN_REALTIME_THREADS): Undefine macro.
58504         (_XOPEN_SHM): Undefine macro.
58505         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
58506         macro to -1.
58507         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
58508         macro to -1.
58509         (_POSIX_ASYNC_IO): Undefine macro.
58510         (_POSIX_PRIORITIZED_IO): Undefine macro.
58511         (_POSIX_SPIN_LOCKS): Define macro to -1.
58513         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
58514         SA_NODEFER, SA_RESETHAND.
58515         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
58516         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
58517         F_DUPFD_CLOEXEC.
58519 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58521         * elf/Makefile (pldd-modules): Define unconditionally.
58523 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58525         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
58527 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58529         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
58530         Return ENOENT when name is empty.
58531         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
58533 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58535         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
58537         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
58539 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58541         Fix mlock in all cases except non-readable pages.
58542         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
58543         instead of VM_PROT_ALL as parameter to __vm_wire function.
58545         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
58546         (__mkdir): When path is `/', just fail with EEXIST.
58547         * sysdeps/mach/hurd/mkdirat.c: Likewise.
58549 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58551         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
58552         <sys/uio.h> (for writev).
58553         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
58554         and <sys/param.h> (for MIN).
58556 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
58558         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
58559         REQUESTED_TIME.  Properly set the remaining time and return EINTR
58560         if interrupted.
58562 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58564         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
58565         Depend on against $(link-rpcuserlibs).
58567 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58569         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
58570         (__libc_stack_end): Do not use attribute_relro.
58571         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
58572         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
58573         to libthread-provided value.
58574         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
58575         attribute_relro.
58577 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58579         [BZ #3748]
58580         * bits/libc-lock.h (__libc_once_get): New macro.
58581         * sysdeps/mach/bits/libc-lock.h: Likewise.
58582         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
58583         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
58584         instead of using implementation details.
58586         * libio/fileops.c: Unconditionally include <kernel-features.h>.
58587         * libio/freopen.c: Likewise.
58588         * libio/freopen64.c: Likewise.
58589         * misc/syslog.c: Likewise.
58590         * nscd/connections.c: Likewise.
58591         * nscd/netgroupcache.c: Likewise.
58592         * sysdeps/posix/getcwd.c: Likewise.
58594 2012-05-10  Roland McGrath  <roland@hack.frob.com>
58596         * math/w_ilogbf.c: Add #include <limits.h>.
58598 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58600         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
58601         path instead of returning without unlocking.
58603         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
58604         immediate-write ioctls.
58605         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
58607 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58609         * sysdeps/mach/hurd/i386/init-first.c (init): Use
58610         __builtin_frame_address instead of making assumptions about the
58611         location of the return address relative to DATA.  Force early load of
58612         the return address.
58613         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
58614         __builtin_frame_address.
58616         dup3 for GNU Hurd.
58617         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
58618         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
58619         implement dup3 and do some further code clean-ups.
58620         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
58621         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
58623 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58625         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
58627         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
58628         HURD_CRITICAL_END around holding _hurd_dtable_lock.
58629         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
58630         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
58631         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
58632         d->port.lock.
58634         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
58635         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
58636         when handler == SIG_ERR, not when handler != SIG_ERR.
58638 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58640         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
58641         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
58642         definitions.
58644         accept4 for GNU Hurd.
58645         * include/sys/socket.h (__libc_accept4): New prototype.
58646         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
58647         to implement __libc_accept4.
58648         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
58649         __libc_accept4.
58650         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
58652         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
58653         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
58654         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
58655         signal-defines.sym.
58657 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58659         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
58661 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58663         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
58664         assertion on O_CLOEXEC flag.
58665         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
58666         * hurd/intern-fd.c: Likewise.
58667         * hurd/port2fd.c: Likewise.
58669 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58671         [BZ #3906]
58672         * bits/in.h (IPV6_PKTINFO): Define new macro.
58673         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
58675 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58677         [BZ #13954]
58678         [BZ #13955]
58679         [BZ #13956]
58680         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
58681         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
58682         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
58683         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
58684         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
58685         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
58686         * math/libm-test.inc (logb_test) : Additional logb tests.
58688 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
58689             Andreas Jaeger  <aj@suse.de>
58691         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
58692         * configure: Regenerated.
58693         * config.h.in (LINK_OBSOLETE_RPC): New macro.
58694         * config.make.in (link-obsolete-rpc): New substituted variable.
58695         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
58696         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
58697         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
58698         (shared-only-routines): Don't set it under [link-obsolete-rpc],
58699         so that libc.a contains the symbols.
58700         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
58701         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
58702         * sunrpc/auth_none.c: Likewise.
58703         * sunrpc/auth_unix.c: Likewise.
58704         * sunrpc/authdes_prot.c: Likewise.
58705         * sunrpc/authuxprot.c: Likewise.
58706         * sunrpc/clnt_gen.c: Likewise.
58707         * sunrpc/clnt_perr.c: Likewise.
58708         * sunrpc/clnt_raw.c: Likewise.
58709         * sunrpc/clnt_simp.c: Likewise.
58710         * sunrpc/clnt_tcp.c: Likewise.
58711         * sunrpc/clnt_udp.c: Likewise.
58712         * sunrpc/clnt_unix.c: Likewise.
58713         * sunrpc/des_crypt.c: Likewise.
58714         * sunrpc/des_soft.c: Likewise.
58715         * sunrpc/get_myaddr.c: Likewise.
58716         * sunrpc/key_call.c: Likewise.
58717         * sunrpc/key_prot.c: Likewise.
58718         * sunrpc/netname.c: Likewise.
58719         * sunrpc/pm_getmaps.c: Likewise.
58720         * sunrpc/pm_getport.c: Likewise.
58721         * sunrpc/pmap_clnt.c: Likewise.
58722         * sunrpc/pmap_prot.c: Likewise.
58723         * sunrpc/pmap_prot2.c: Likewise.
58724         * sunrpc/pmap_rmt.c: Likewise.
58725         * sunrpc/publickey.c: Likewise.
58726         * sunrpc/rpc_cmsg.c: Likewise.
58727         * sunrpc/rpc_common.c: Likewise.
58728         * sunrpc/rpc_dtable.c: Likewise.
58729         * sunrpc/rpc_prot.c: Likewise.
58730         * sunrpc/rpc_thread.c: Likewise.
58731         * sunrpc/rtime.c: Likewise.
58732         * sunrpc/svc.c: Likewise.
58733         * sunrpc/svc_auth.c: Likewise.
58734         * sunrpc/svc_raw.c: Likewise.
58735         * sunrpc/svc_run.c: Likewise.
58736         * sunrpc/svc_tcp.c: Likewise.
58737         * sunrpc/svc_udp.c: Likewise.
58738         * sunrpc/svc_unix.c: Likewise.
58739         * sunrpc/svcauth_des.c: Likewise.
58740         * sunrpc/xcrypt.c: Likewise.
58741         * sunrpc/xdr.c: Likewise.
58742         * sunrpc/xdr_array.c: Likewise.
58743         * sunrpc/xdr_float.c: Likewise.
58744         * sunrpc/xdr_intXX_t.c: Likewise.
58745         * sunrpc/xdr_mem.c: Likewise.
58746         * sunrpc/xdr_rec.c: Likewise.
58747         * sunrpc/xdr_ref.c: Likewise.
58748         * sunrpc/xdr_sizeof.c: Likewise.
58749         * sunrpc/xdr_stdio.c: Likewise.
58751 2012-05-10  Roland McGrath  <roland@hack.frob.com>
58753         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
58754         change.  Update copyright years.
58756 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
58758         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
58760 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
58761             Joseph Myers  <joseph@codesourcery.com>
58762             Paul Pluzhnikov  <ppluzhnikov@google.com>
58764         [BZ #14012]
58765         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
58766         requiring rpcgen.
58767         [cross-compiling] (extra-libs): Likewise.
58768         [cross-compiling] (extra-libs-others): Likewise.
58769         [cross-compiling] (librpcsvc-routines): Likewise.
58770         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
58771         [cross-compiling] (omit-deps): Likewise.
58772         (sunrpc-CPPFLAGS): New variable.
58773         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
58774         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
58775         (cross-rpcgen-objs): New variable.
58776         (extra-objs): Append $(cross-rpcgen-objs).
58777         ($(cross-rpcgen-objs)): New rule.
58778         ($(objpfx)cross-rpcgen): Likewise.
58779         (rpcgen-cmd): Define to use $(built-program-file).  Expand
58780         comment.
58781         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
58782         ($(objpfx)x%.stmp): Likewise.
58783         * sunrpc/proto.h [IS_IN_build] (_): Define.
58784         [IS_IN_build] (_libc_intl_domainname): Likewise.
58786 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
58788         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
58789         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
58790         and R_X86_64_TPOFF64.
58792 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
58794         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
58795         sysdeps/unix/sysv/syscalls.list.
58796         (stime): Likewise.
58797         (utime): Likewise.
58798         * sysdeps/unix/sysv/syscalls.list: Remove file.
58800 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
58802         [BZ #3440]
58803         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
58804         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
58805         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
58806         (__LC_IDENTIFICATION): Make these macros useful in #if
58807         expressions, as required by C99.
58809 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
58811         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
58812         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
58813         after this.
58815 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
58817         * stdlib/longlong.h: Updated from GCC.
58819 2012-05-09  Andreas Jaeger  <aj@suse.de>
58821         * nscd/nscd.c (run_modes): Make named enum, reorder so that
58822         default is first entry.
58823         (run_mode): Set type.
58824         (main): Remove informal message about syslog.
58825         (options): Fix typo.
58827         [BZ #14053]
58828         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
58829         to asm.
58830         (lrint): Likewise.
58831         (llrintf): Likewise.
58832         (llrint): Likewise.
58833         (rint): Likewise.
58834         (rintf): Likewise.
58835         (nearbyint): Likewise.
58836         (nearbyintf): Likewise.
58838 2012-05-09  Andreas Jaeger  <aj@suse.de>
58839             Pedro Alves  <palves@redhat.com>
58841         * nscd/nscd.c (run_mode): Use enum.
58842         (main): Cleanup coding style issue.
58844 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
58845             Andreas Jaeger  <aj@suse.de>
58847         * nscd/nscd.c (go_background): Replaced with...
58848         (run_mode): ... this.
58849         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
58850         (options): Add -F --foreground.
58851         (main): Implement it.
58852         (parse_opt): Parse it.
58854 2012-05-09  Andreas Jaeger  <aj@suse.de>
58856         [BZ #14083]
58857         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
58858         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
58859         -Wconversion warning.
58860         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
58861         Likewise.
58863 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
58865         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
58866         == 0.
58867         (LC_ALL): Use macro-int-constant.
58868         (LC_COLLATE): Likewise.
58869         (LC_CTYPE): Likewise.
58870         (LC_MESSAGES): Likewise.
58871         (LC_MONETARY): Likewise.
58872         (LC_NUMERIC): Likewise.
58873         (LC_TIME): Likewise.
58874         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
58875         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
58876         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58877         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
58878         Specify type.
58879         [C99-based standards] (float_t): Expect type.
58880         [C99-based standards] (double_t): Expect type.
58881         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
58882         type.
58883         [C99-based standards] (HUGE_VALL): Likewise.
58884         [C99-based standards] (INFINITY): Likewise.
58885         [C99-based standards] (NAN): Likewise.
58886         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
58887         [C99-based standards] (FP_NAN): Likewise.
58888         [C99-based standards] (FP_NORMAL): Likewise.
58889         [C99-based standards] (FP_SUBNORMAL): Likewise.
58890         [C99-based standards] (FP_ZERO): Likewise.
58891         [C99-based standards] (FP_FAST_FMA): Use
58892         optional-macro-int-constant.  Specify type.  Require == 1.
58893         [C99-based standards] (FP_FAST_FMAF): Likewise.
58894         [C99-based standards] (FP_FAST_FMAL): Likewise.
58895         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
58896         [C99-based standards] (FP_ILOGBNAN): Likewise.
58897         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
58898         Specify type.
58899         [C99-based standards] (MATH_ERREXCEPT): Likewise.
58900         [C99-based standards] (math_errhandling): Specify type.
58901         [ISO99 || ISO11] (signgam): Do not allow.
58902         [non-C99-based standards] (copysignf): Do not allow.
58903         [non-C99-based standards] (exp2f): Likewise.
58904         [non-C99-based standards] (log2f): Likewise.
58905         [non-C99-based standards] (modff): Allow.
58906         [non-C99-based standards] (erff): Do not allow.
58907         [non-C99-based standards] (erfcf): Likewise.
58908         [non-C99-based standards] (gammaf): Likewise.
58909         [non-C99-based standards] (hypotf): Likewise.
58910         [non-C99-based standards] (j0f): Likewise.
58911         [non-C99-based standards] (j1f): Likewise.
58912         [non-C99-based standards] (jnf): Likewise.
58913         [non-C99-based standards] (lgammaf): Likewise.
58914         [non-C99-based standards] (tgammaf): Likewise.
58915         [non-C99-based standards] (y0f): Likewise.
58916         [non-C99-based standards] (y1f): Likewise.
58917         [non-C99-based standards] (ynf): Likewise.
58918         [non-C99-based standards] (isnanf): Likewise.
58919         [non-C99-based standards] (acoshf): Likewise.
58920         [non-C99-based standards] (asinhf): Likewise.
58921         [non-C99-based standards] (atanhf): Likewise.
58922         [non-C99-based standards] (cbrtf): Likewise.
58923         [non-C99-based standards] (expm1f): Likewise.
58924         [non-C99-based standards] (ilogbf): Likewise.
58925         [non-C99-based standards] (log1pf): Likewise.
58926         [non-C99-based standards] (logbf): Likewise.
58927         [non-C99-based standards] (nextafterf): Likewise.
58928         [non-C99-based standards] (remainderf): Likewise.
58929         [non-C99-based standards] (rintf): Likewise.
58930         [non-C99-based standards] (scalbf): Likewise.
58931         [non-C99-based standards] (copysignl): Likewise.
58932         [non-C99-based standards] (exp2l): Likewise.
58933         [non-C99-based standards] (log2l): Likewise.
58934         [non-C99-based standards] (modfl): Allow.
58935         [non-C99-based standards] (erfl): Do not allow.
58936         [non-C99-based standards] (erfcl): Likewise.
58937         [non-C99-based standards] (gammal): Likewise.
58938         [non-C99-based standards] (hypotl): Likewise.
58939         [non-C99-based standards] (j0l): Likewise.
58940         [non-C99-based standards] (j1l): Likewise.
58941         [non-C99-based standards] (jnl): Likewise.
58942         [non-C99-based standards] (lgammal): Likewise.
58943         [non-C99-based standards] (tgammal): Likewise.
58944         [non-C99-based standards] (y0l): Likewise.
58945         [non-C99-based standards] (y1l): Likewise.
58946         [non-C99-based standards] (ynl): Likewise.
58947         [non-C99-based standards] (isnanl): Likewise.
58948         [non-C99-based standards] (acoshl): Likewise.
58949         [non-C99-based standards] (asinhl): Likewise.
58950         [non-C99-based standards] (atanhl): Likewise.
58951         [non-C99-based standards] (cbrtl): Likewise.
58952         [non-C99-based standards] (expm1l): Likewise.
58953         [non-C99-based standards] (ilogbl): Likewise.
58954         [non-C99-based standards] (log1pl): Likewise.
58955         [non-C99-based standards] (logbl): Likewise.
58956         [non-C99-based standards] (nextafterl): Likewise.
58957         [non-C99-based standards] (remainderl): Likewise.
58958         [non-C99-based standards] (rintl): Likewise.
58959         [non-C99-based standards] (scalbl): Likewise.
58960         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58961         [non-C99-based standards] (FP_*): Do not allow.
58962         [C99-based standards] (FP_*): Change to
58963         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
58964         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
58965         allow.
58966         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
58967         (SIG_ERR): Likewise.
58968         [X/Open-based standards] (SIG_HOLD): Likewise.
58969         (SIG_IGN): Likewise.
58970         (SIGABRT): Use macro-int-constant.  Specify type.  Require
58971         positive value.
58972         (SIGFPE): Likewise.
58973         (SIGILL): Likewise.
58974         (SIGINT): Likewise.
58975         (SIGSEGV): Likewise.
58976         (SIGTER): Likewise.
58977         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
58978         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
58979         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
58980         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
58981         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
58982         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
58983         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
58984         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
58985         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
58986         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
58987         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
58988         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
58989         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
58990         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
58991         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
58992         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
58993         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
58994         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
58995         [X/Open-based standards] (SIGTRAP): Likewise.
58996         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
58997         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
58998         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
58999         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
59000         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
59001         allow.
59003 2012-05-08  Ian Wienand  <ianw@vmware.com>
59005         [BZ #14080]
59006         * time/tzset.c (__tzset_parse_tz): Update default rules for
59007         daylight time changes in the Energy Policy Act of 2005.
59009 2012-05-09  Andreas Jaeger  <aj@suse.de>
59011         [BZ #13983]
59012         * elf/ldconfig.c (parse_conf): Change string to make clear that
59013         ldconfig only issued a warning if ld.so.conf does not exist.
59015 2012-05-08  David S. Miller  <davem@davemloft.net>
59017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
59018         movxtod instead of popping the value on the stack.
59020         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59022 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
59024         * config.h.in: Add HAVE_ARM_PCS_VFP.
59026 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
59028         [BZ #13979]
59029         * include/features.h: Warn if user requests __FORTIFY_SOURCE
59030         checking but the checks are disabled for any reason.
59032 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
59034         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
59035         and ELF64_R_TYPE with ELFW(R_TYPE).
59037 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
59039         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
59040         (ulimit): Likewise.
59042         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
59043         (settimeofday): Likewise.
59045 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
59047         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
59048         a struct th_u2 inside the union, and move tu_block/tu_code into
59049         a new th_u3 union of tu_block/tu_code inside of that.  Move
59050         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
59051         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
59052         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
59053         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
59054         (th_stuff): Change to th_u1.tu_stuff.
59055         (th_data): Define.
59056         (th_msg): Change to th_u1.th_u2.tu_data.
59058 2012-05-07  David S. Miller  <davem@davemloft.net>
59060         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59062         [BZ #14074]
59063         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
59064         (SETUP_PIC_REG): Use it.
59065         (SETUP_PIC_REG_LEAF): Use it.
59067 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
59069         [BZ #13885]
59070         [BZ #13923]
59071         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
59072         USE_AS_EXPM1L.
59073         (EXPL_FINITE): Likewise.
59074         (FLDLOG): Likewise.
59075         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
59076         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
59077         e_expl.S.
59078         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
59079         USE_AS_EXPM1L.
59080         (EXPL_FINITE): Likewise.
59081         (FLDLOG): Likewise.
59082         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
59083         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
59084         e_expl.S.
59085         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
59086         test of -max_value argument for long double.
59087         * sysdeps/i386/fpu/libm-test-ulps: Update.
59088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59090 2012-05-06  David S. Miller  <davem@davemloft.net>
59092         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
59093         quad soft-float symbols whose references which are compiler
59094         generated.
59095         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
59097 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
59099         [BZ #13884]
59100         [BZ #13914]
59101         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
59102         USE_AS_EXP10L.
59103         (EXPL_FINITE): Likewise.
59104         (FLDLOG): Likewise.
59105         (c0): Likewise.
59106         (c1): Likewise.
59107         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
59108         Adjust comments for base varying.
59109         (__expl_finite): Change alias to EXPL_FINITE.
59110         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
59111         e_expl.S.
59112         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
59113         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
59114         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
59115         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
59116         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
59117         USE_AS_EXP10L.
59118         (EXPL_FINITE): Likewise.
59119         (FLDLOG): Likewise.
59120         (c0): Likewise.
59121         (c1): Likewise.
59122         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
59123         Adjust comments for base varying.
59124         (__expl_finite): Change alias to EXPL_FINITE.
59125         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
59126         tests for bugs.
59127         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59129         [BZ #14064]
59130         * math/libm-test.inc (check_float_internal): Correct ulp
59131         calculation for subnormal expected results.
59133 2012-05-06  Andreas Jaeger  <aj@suse.de>
59135         * Makeconfig (+math-flags): New, set to -frounding-math.
59136         (+cflags): Add +math-flags so that all of glibc gets compiled with
59137         it.
59139         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
59141 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
59143         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
59144         Disable one test.
59146         [BZ #13787]
59147         [BZ #13922]
59148         [BZ #14036]
59149         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
59150         (__ieee754_expl): Allow for and saturate large arguments.
59151         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
59152         (u_threshold): Likewise.
59153         (__exp): Call __ieee754_exp before checking for overflow and
59154         underflow.
59155         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
59156         (u_threshold): Likewise.
59157         (__expf): Call __ieee754_expf before checking for overflow and
59158         underflow.
59159         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
59160         (u_threshold): Likewise.
59161         (__expl): Call __ieee754_expl before checking for overflow and
59162         underflow.
59163         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
59164         (__ieee754_expl): Allow for and saturate large arguments.
59165         * math/libm-test.inc (exp_test): Add another test.  Do not allow
59166         missing overflow exception on overflow.
59167         (expm1_test): Do not allow missing overflow exception on overflow.
59169         * sysdeps/i386/fpu/e_expl.c: Move to ...
59170         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
59171         rather than using inline asm.
59172         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
59173         * sysdeps/x86_64/fpu/e_expl.S: Copy from
59174         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
59176         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
59177         (nice): Likewise.
59178         (poll): Likewise.
59179         (signal): Likewise.
59180         (time): Likewise.
59181         (times): Likewise.
59183 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
59185         * sysdeps/unix/syscalls.list (adjtime): Add entry from
59186         sysdeps/unix/common/syscalls.list.
59187         (fchmod): Likewise.
59188         (fchown): Likewise.
59189         (ftruncate): Likewise.
59190         (getrusage): Likewise.
59191         (gettimeofday): Likewise.
59192         (setpgid): Likewise.
59193         (setregid): Likewise.
59194         (setreuid): Likewise.
59195         (sigaction): Likewise.
59196         (truncate): Likewise.
59197         (vhangup): Likewise.
59198         * sysdeps/unix/common/syscalls.list: Remove file.
59199         * sysdeps/unix/bsd/Implies: Don't include unix/common.
59200         * sysdeps/unix/sysv/linux/Implies: Likewise.
59202 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
59204         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
59205         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
59206         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
59207         Moved to ...
59208         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
59209         Here.
59210         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
59211         to ...
59212         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
59213         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
59214         to ...
59215         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
59216         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
59217         to ...
59218         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
59219         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
59220         to ...
59221         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
59222         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
59223         to ...
59224         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
59225         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
59226         to ...
59227         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
59228         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
59229         to ...
59230         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
59231         Here.
59232         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
59233         to ...
59234         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
59235         Here.
59236         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
59237         to ...
59238         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
59239         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
59240         Moved to ...
59241         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
59242         Here.
59243         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
59244         to ...
59245         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
59247 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
59249         * sysdeps/unix/common/bits/dirent.h: Remove file.
59250         * sysdeps/unix/common/bits/fcntl.h: Likewise.
59252         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
59253         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
59254         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
59255         * sysdeps/unix/bsd/isatty.c: Likewise.
59256         * sysdeps/unix/bsd/tcdrain.c: Likewise.
59257         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
59258         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
59260 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59262         [BZ #13563]
59263         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
59264         long double comparison inaccuracies.
59265         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
59266         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59268 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
59270         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
59271         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
59273 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
59275         [BZ #14049]
59276         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
59277         nonzero digits before rounding a hex value.
59278         * stdlib/tst-strtod.c (tests): Add another test.
59280 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59282         * sysdeps/s390/fpu/libm-test-ulps: Update.
59284 2012-05-03  Andreas Jaeger  <aj@suse.de>
59286         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
59287         does not get optimized out.
59288         (malloc_opt_barrier): New.
59290 2012-05-03  Andreas Jaeger  <aj@suse.de>
59291             Roland McGrath  <roland@hack.frob.com>
59293         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
59294         intermediate file deletion.
59295         (generated): Add .symlist files.
59297 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
59299         [BZ #13775]
59300         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
59301         Redirect under this condition.
59302         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
59303         [__USE_GNU] (__dprintf_chk): Not under this condition.
59304         [__USE_GNU] (__vdprintf_chk): Likewise.
59305         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
59306         under this condition.
59307         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
59308         [__USE_XOPEN2K8] (dprintf): Define under this condition.
59309         [__USE_XOPEN2K8] (vdprintf): Likewise.
59310         [__USE_GNU] (__dprintf_chk): Not under this condition.
59311         [__USE_GNU] (__vdprintf_chk): Likewise.
59312         [__USE_GNU] (dprintf): Likewise.
59313         [__USE_GNU] (vdprintf): Likewise.
59315 2012-05-03  Roland McGrath  <roland@hack.frob.com>
59317         * elf/Makefile (common-generated): Set this instead of generated for
59318         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
59319         $(all-built-dso)-derived lists.
59321 2012-05-03  Andreas Jaeger  <aj@suse.de>
59323         * sysdeps/i386/fpu/libm-test-ulps: Update.
59325         * FAQ: Removed.
59326         * FAQ.in: Likewise.
59327         * scripts/gen-FAQ.pl: Likewise.
59328         * manual/install.texi (Installation): Point to online location of
59329         FAQ.
59330         * Makefile (files-for-dist): Remove FAQ.
59331         (FAQ): Remove.
59333 2012-05-02  Allan McRae  <allan@archlinux.org>
59335         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
59336         (LDFLAGS-reldepmod5.so): Likewise.
59337         (LDFLAGS-reldep6mod1.so): Likewise.
59338         (LDFLAGS-reldep6mod4.so): Likewise.
59339         (LDFLAGS-reldep8mod3.so): Likewise.
59340         (LDFLAGS-unload4mod1.so): Likewise.
59341         (LDFLAGS-unload4mod2.so): Likewise.
59342         (LDFLAGS-tst-initorder): Likewise.
59343         (LDFLAGS-tst-initordera2.so): Likewise.
59344         (LDFLAGS-tst-initordera3.so): Likewise.
59345         (LDFLAGS-tst-initordera4.so): Likewise.
59346         (LDFLAGS-tst-initorderb2.so): Likewise.
59347         (LDFLAGS-noload): Likewise.
59348         (LDFLAGS-next): Likewise.
59349         (LDFLAGS-order2mod1.so): Likewise.
59350         (LDFLAGS-order2mod2.so): Likewise.
59351         (LDFLAGS-tst-initorder2): Likewise.
59352         (LDFLAGS-tst-initorder2a.so): Likewise.
59353         (LDFLAGS-tst-initorder2b.so): Likewise.
59354         (LDFLAGS-tst-initorder2c.so): Likewise.
59355         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
59357 2012-05-02  David S. Miller  <davem@davemloft.net>
59359         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59361 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
59363         [BZ #14055]
59364         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
59366 2012-05-02  Andreas Jaeger  <aj@suse.de>
59368         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
59369         since we manipulate rounding mode.
59370         (CPPFLAGS-test-idouble.c): Likewise.
59371         (CPPFLAGS-test-ifloat.c): Likewise.
59372         (CFLAGS-test-ldouble.c): Likewise.
59373         (CFLAGS-test-double.c): Likewise.
59374         (CFLAGS-test-float.c): Likewise.
59375         (CFLAGS-test-misc.c): Likewise.
59376         (CFLAGS-test-test-fenv.c): Likewise.
59378 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59380         [BZ #2550]
59381         [BZ #2570]
59382         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
59383         comparisons to determine direction to adjust input.
59385 2012-05-01  Roland McGrath  <roland@hack.frob.com>
59387         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
59388         output to the target.
59390         * scripts/localplt.awk: New file.
59391         * elf/Makefile ($(objpfx)check-localplt): Target removed.
59392         (check-localplt-CFLAGS): Variable removed.
59393         ($(all-built-dso:=.jmprel)): New static pattern rule.
59394         (generated): Add those targets.
59395         (localplt-built-dso): New variable.
59396         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
59398         * elf/check-localplt.c: File removed.
59400         * scripts/check-execstack.awk: New file.
59401         * elf/Makefile ($(objpfx)check-execstack): Target removed.
59402         (check-execstack-CFLAGS): Variable removed.
59403         ($(objpfx)check-execstack.h): Target removed.
59404         ($(objpfx)execstack-default): New target.
59405         (generated): Add that instead of check-execstack.h.
59406         ($(all-built-dso:=.phdr)): New static pattern rule.
59407         (generated): Add those targets.
59408         * elf/check-execstack.c: File removed.
59410         * scripts/check-textrel.awk: New file.
59411         * elf/Makefile ($(objpfx)check-textrel): Target removed.
59412         (check-textrel-CFLAGS): Variable removed.
59413         (all-built-dso): Use := to define.o
59414         ($(all-built-dso:=.dyn)): New static pattern rule.
59415         (generated): Add those targets.
59416         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
59417         * config.make.in (READELF): New substituted variable.
59418         * elf/check-textrel.c: File removed.
59420 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
59422         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
59423         allow.
59424         * conform/data/ctype.h-data [C99-based standards] (isblank):
59425         Expect function.
59426         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
59427         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
59428         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59429         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
59430         Specify type.  Require positive value.
59431         (EILSEQ): Likewise.
59432         (ERANGE): Likewise.
59433         [ISO || POSIX] (EILSEQ): Do not expect.
59434         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
59435         Specify type.  Require positive value.
59436         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
59437         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
59438         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
59439         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
59440         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
59441         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
59442         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
59443         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
59444         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
59445         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
59446         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
59447         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
59448         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
59449         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
59450         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
59451         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
59452         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
59453         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
59454         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
59455         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
59456         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
59457         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
59458         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
59459         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
59460         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
59461         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
59462         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
59463         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
59464         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
59465         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
59466         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
59467         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
59468         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
59469         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
59470         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
59471         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
59472         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
59473         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
59474         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
59475         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
59476         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
59477         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
59478         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
59479         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
59480         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
59481         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
59482         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
59483         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
59484         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
59485         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
59486         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
59487         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
59488         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
59489         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
59490         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
59491         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
59492         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
59493         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
59494         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
59495         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
59496         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
59497         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
59498         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
59499         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
59500         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
59501         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
59502         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
59503         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
59504         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
59505         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
59506         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
59507         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
59508         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
59509         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
59510         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
59511         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
59512         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
59513         Require >= 2.
59514         (FLT_ROUNDS): Expect as macro, not constant.
59515         (FLT_MANT_DIG): Use macro-int-constant.
59516         (DBL_MANT_DIG): Likewise.
59517         (LDBL_MANT_DIG): Likewise.
59518         (FLT_DIG): Likewise.
59519         (DBL_DIG): Likewise.
59520         (LDBL_DIG): Likewise.
59521         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
59522         (DBL_MIN_EXP): Likewise.
59523         (LDBL_MIN_EXP): Likewise.
59524         (FLT_MAX_EXP): Use macro-int-constant.
59525         (DBL_MAX_EXP): Likewise.
59526         (LDBL_MAX_EXP): Likewise.
59527         (FLT_MAX_10_EXP): Likewise.
59528         (DBL_MAX_10_EXP): Likewise.
59529         (LDBL_MAX_10_EXP): Likewise.
59530         (FLT_MAX): Use macro-constant.
59531         (DBL_MAX): Likewise.
59532         (LDBL_MAX): Likewise.
59533         (FLT_EPSILON): Use macro-constant.  Give upper bound.
59534         (DBL_EPSILON): Likewise.
59535         (LDBL_EPSILON): Likewise.
59536         (FLT_MIN): Likewise.
59537         (DBL_MIN): Likewise.
59538         (LDBL_MIN): Likewise.
59539         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
59540         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
59541         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
59542         [ISO11] (FLT_HAS_SUBNORM): Likewise.
59543         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
59544         [ISO11] (DBL_DECIMAL_DIG): Likewise.
59545         [ISO11] (FLT_DECIMAL_DIG): Likewise.
59546         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
59547         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
59548         [ISO11] (FLT_TRUE_MIN): Likewise.
59549         [ISO11] (LDBL_TRUE_MIN): Likewise.
59550         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59551         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
59552         (SCHAR_MIN): Use macro-int-constant.  Specify type.
59553         (SCHAR_MAX): Likewise.
59554         (UCHAR_MAX): Likewise.
59555         (CHAR_MIN): Likewise.
59556         (CHAR_MAX): Likewise.
59557         (MB_LEN_MAX): Use macro-int-constant.
59558         (SHRT_MIN): Use macro-int-constant.  Specify type.
59559         (SHRT_MAX): Likewise.
59560         (USHRT_MAX): Likewise.
59561         (INT_MAX): Likewise.
59562         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
59563         bound negative.
59564         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
59565         bound with "U".
59566         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
59567         bound with "L".
59568         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
59569         bound negative.  Suffix upper bound with "L".
59570         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
59571         bound with "UL".
59572         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
59573         Specify type.
59574         [C99-based standards] (LLONG_MAX): Likewise.
59575         [C99-based standards] (ULLONG_MAX): Likewise.
59576         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
59577         == 0.
59578         [ISO11] (max_align_t): Require type.
59579         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59581         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
59582         from $CFLAGS, without defining away __attribute__ calls.
59583         (checknamespace): Use $CFLAGS_namespace.
59585         * conform/conformtest.pl (@keywords): Only include C99 keywords
59586         for standards based on C99 or C11.
59588         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
59589         Disable tests.
59590         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
59591         UNIX98]: Likewise.
59593         * conform/conformtest.pl: Handle "macro-int-constant" and test for
59594         usability of symbols in #if.
59596         * conform/conformtest.pl: If macro or constant types start
59597         "promoted:", expect the symbol to be of the following type
59598         promoted by the integer promotions.
59600         * conform/conformtest.pl: Parse all "constant" and "macro" lines
59601         in one place.  Also handle "macro-constant".
59603         * conform/conformtest.pl: Only accept expected macro values with
59604         "==".  Parse all "macro" lines in one place.
59605         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
59607         * conform/conformtest.pl: Handle braced types on "constant" lines
59608         instead of handling "typed-constant".
59609         * conform/data/signal.h-data: Use "constant" instead of
59610         "typed-constant".
59612         * conform/conformtest.pl: Handle "optional-" at start of lines in
59613         one place rather than duplicating several cases.  Handle each
59614         format of "macro" line with initial "optional-".
59616         * conform/conformtest.pl: Only accept expected constant or
59617         optional-constant values with "==".  Parse all "constant" lines in
59618         one place.  Parse all "optional-constant" lines in one place.
59619         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
59620         * conform/data/fmtmsg.h-data: Likewise.
59621         * conform/data/netinet/in.h-data: Likewise.
59622         * conform/data/tar.h-data: Likewise.
59623         * conform/data/limits.h-data: Use "==" form on "constant" and
59624         "optional-constant" lines.
59626         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
59627         Use -std=c99 for XOPEN2K.
59628         (@knownproblems): Remove.
59629         (newtoken): Don't check %isknown.
59631         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
59632         Do not expect macro.
59633         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
59634         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
59635         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
59636         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
59637         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
59638         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
59639         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
59640         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
59641         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
59642         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
59643         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
59644         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
59645         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
59646         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
59647         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
59648         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
59649         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
59650         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
59651         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
59652         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
59653         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
59654         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
59655         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
59656         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
59657         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
59658         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
59659         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
59660         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
59661         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
59662         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
59663         [XPG3] (acosh): Likewise.
59664         [XPG3] (asinh): Likewise.
59665         [XPG3] (atanh): Likewise.
59666         [XPG3] (cbrt): Likewise.
59667         [XPG3] (expm1): Likewise.
59668         [XPG3] (ilogb): Likewise.
59669         [XPG3] (log1p): Likewise.
59670         [XPG3] (logb): Likewise.
59671         [XPG3] (nextafter): Likewise.
59672         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
59673         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
59674         [XPG3] (remainder): Likewise.
59675         [XPG3] (rint): Likewise.
59676         [XPG3 || XPG4 || UNIX98] (round): Likewise.
59677         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
59678         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
59679         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
59680         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
59681         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
59682         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
59683         [UNIX98 || XOPEN2K] (scalb): Expect.
59684         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
59685         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
59686         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
59687         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
59688         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
59689         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
59690         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
59691         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
59692         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
59693         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
59694         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
59695         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
59696         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
59697         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
59698         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
59699         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
59700         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
59701         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
59702         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
59703         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
59704         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
59705         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
59706         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
59707         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
59708         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
59709         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
59710         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
59711         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
59712         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
59713         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
59714         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
59715         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
59716         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
59717         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
59718         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
59719         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
59720         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
59721         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
59722         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
59723         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
59724         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
59725         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
59726         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
59727         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
59728         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
59729         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
59730         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
59731         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
59732         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
59733         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
59734         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
59735         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
59736         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
59737         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
59738         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
59739         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
59740         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
59741         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
59742         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
59743         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
59744         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
59745         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
59746         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
59747         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
59748         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
59749         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
59750         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
59751         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
59752         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
59753         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
59754         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
59755         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
59756         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
59757         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
59758         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
59759         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
59760         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
59761         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
59762         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
59763         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
59764         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
59765         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
59766         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
59767         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
59768         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
59769         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
59770         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
59771         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
59772         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
59773         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
59774         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
59775         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
59776         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
59777         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
59778         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
59779         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
59780         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
59781         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
59782         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
59783         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
59784         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
59785         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
59786         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
59787         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
59788         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
59789         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
59790         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
59791         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
59792         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
59793         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
59794         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
59795         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
59796         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
59797         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
59798         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
59799         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
59800         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
59801         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
59802         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
59803         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
59804         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
59805         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
59806         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
59807         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
59808         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
59809         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
59810         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
59811         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
59812         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
59813         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
59814         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
59815         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
59816         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
59817         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
59818         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
59819         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
59820         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
59822         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
59823         _XOPEN_SOURCE_EXTENDED for XPG4.
59825         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
59827         * Makeconfig (localtime): Remove variable.
59828         (inst_localtime-file): Likewise.
59830 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
59832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
59833         Update.
59834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59835         Update.
59836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
59837         Update.
59838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
59839         Update.
59840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
59841         Update.
59842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
59843         Update.
59844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59845         Update.
59846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
59847         Update.
59848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
59849         Update.
59851 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
59853         [BZ #2550]
59854         [BZ #2570]
59855         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
59856         comparisons to determine direction to adjust input.
59857         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
59858         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
59859         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
59860         Likewise.
59861         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
59862         Likewise.
59863         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
59864         Likewise.
59865         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
59866         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
59867         Likewise.
59868         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
59869         Likewise.
59870         * math/libm-test.inc (nexttoward_test): Add more tests.
59872 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
59874         [BZ #14040]
59875         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
59876         in version GLIBC_2.1, not GLIBC_2.0.
59877         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
59878         Likewise.
59880 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
59882         [BZ #13942]
59883         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
59884         (1 - x) * (1 + x).
59885         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
59886         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
59887         * math/libm-test.inc (acos_test): Add more tests.
59888         (asin_test): Likewise.
59889         * sysdeps/i386/fpu/libm-test-ulps: Update.
59890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59892         [BZ #14034]
59893         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
59894         of square root.
59895         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
59896         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
59897         * math/libm-test.inc (acos_test_tonearest): New function.
59898         (acos_test_towardzero): Likewise.
59899         (acos_test_downward): Likewise.
59900         (acos_test_upward): Likewise.
59901         (asin_test_tonearest): Likewise.
59902         (asin_test_towardzero): Likewise.
59903         (asin_test_downward): Likewise.
59904         (asin_test_upward): Likewise.
59905         (main): Call the new functions.
59906         * sysdeps/i386/fpu/libm-test-ulps: Update.
59907         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59909         [BZ #13884]
59910         [BZ #13924]
59911         * math/e_exp10.c: Include <float.h>.
59912         (__ieee754_exp10): Handle underflow here rather than multiplying
59913         large negative argument by M_LN10.
59914         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
59915         of __ieee754_expf.
59916         * math/e_exp10l.c: Include <float.h>.
59917         (__ieee754_exp10l): Handle underflow here rather than multiplying
59918         large negative argument by M_LN10l.
59919         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
59920         spurious overflow exception on underflow.
59922 2012-04-29  Marek Polacek  <polacek@redhat.com>
59924         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
59925         (__fortify_function): New macro.
59926         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
59927         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
59928         __extern_always_inline.
59929         * libio/bits/stdio2.h: Likewise.
59930         * libio/bits/stdio.h: Likewise.
59931         * string/string.h: Likewise.
59932         * string/bits/string3.h: Likewise.
59933         * include/stdio.h: Likewise.
59934         * stdlib/bits/stdlib.h: Likewise.
59935         * stdlib/stdlib.h: Likewise.
59936         * rt/bits/mqueue2.h: Likewise.
59937         * rt/mqueue.h: Likewise.
59938         * posix/bits/unistd.h: Likewise.
59939         * posix/unistd.h: Likewise.
59940         * io/bits/poll2.h: Likewise.
59941         * io/bits/fcntl2.h: Likewise.
59942         * io/fcntl.h: Likewise.
59943         * io/sys/poll.h: Likewise.
59944         * misc/bits/syslog.h: Likewise.
59945         * misc/bits/syslog-ldbl.h: Likewise.
59946         * misc/sys/syslog.h: Likewise.
59947         * socket/bits/socket2.h: Likewise.
59948         * socket/sys/socket.h: Likewise.
59949         * debug/tst-chk1.c: Likewise.
59950         * wcsmbs/bits/wchar2.h: Likewise.
59951         * wcsmbs/bits/wchar-ldbl.h: Likewise.
59952         * wcsmbs/wchar.h: Likewise.
59954 2012-04-29  Andreas Jaeger  <aj@suse.de>
59956         * Makerules (tests): Remove enable-check-abi protection.
59957         (check-abi-warn): Remove.
59958         (check-abi-%): Remove check-abi-warn usage.
59960         * configure.in: Remove check-abi configure option.
59961         * configure: Regenerated.
59962         * config.make.in (enable-check-abi): Remove.
59964 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
59966         [BZ #14033]
59967         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
59968         double functions to double *_finite functions.
59970         [BZ #13941]
59971         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
59972         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
59973         LDBL_MIN_EXP.
59974         * stdio-common/Makefile (tests): Add tst-sprintf3.
59975         * stdio-common/tst-sprintf3.c: New file.
59977         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
59978         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
59980 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
59982         * conform/conformtest.pl: Remove duplicate typed-constant
59983         handling.
59985 2012-04-28  David S. Miller  <davem@davemloft.net>
59987         * Makerules (%.abilist): Add vpath on sysdep_dirs.
59988         (check-abi-%): Remove AWK script prerequisite and explicit
59989         abilist directory.
59990         (check-abi): Rewrite to just diff the symlist with the abilist.
59991         (config-tls, config-abi-config): Delete, no longer used.
59992         (update-abi-%): Remove AWK script and explicit abilist directory.
59993         (update-abi): Rewrite to simply compare and conditionally copy the
59994         symlist and the sysdep abilist file.  Remove update-abi-config
59995         checks.
59996         * abilist/ld.abilist: Remove.
59997         * abilist/libBrokenLocale.abilist: Remove.
59998         * abilist/libanl.abilist: Remove.
59999         * abilist/libcrypt.abilist: Remove.
60000         * abilist/libdl.abilist: Remove.
60001         * abilist/librt.abilist: Remove.
60002         * abilist/libthread_db.abilist: Remove.
60003         * abilist/libutil.abilist: Remove.
60004         * scripts/extract-abilist.awk: Remove.
60005         * scripts/merge-abilist.awk: Remove.
60006         * sysdeps/generic/libcidn.abilist: New file.
60007         * sysdeps/generic/libnss_compat.abilist: New file.
60008         * sysdeps/generic/libnss_db.abilist: New file.
60009         * sysdeps/generic/libnss_dns.abilist: New file.
60010         * sysdeps/generic/libnss_files.abilist: New file.
60011         * sysdeps/generic/libnss_hesiod.abilist: New file.
60012         * sysdeps/generic/libnss_nis.abilist: New file.
60013         * sysdeps/generic/libnss_nisplus.abilist: New file.
60014         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
60015         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
60016         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
60017         file.
60018         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
60019         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
60020         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
60021         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
60022         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
60023         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
60024         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
60025         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
60026         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
60027         file.
60028         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
60029         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
60030         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
60031         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
60032         file.
60033         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
60034         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
60035         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
60036         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
60037         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
60038         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
60039         file.
60040         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
60041         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
60042         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
60043         file.
60044         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
60045         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
60046         New file.
60047         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
60048         New file.
60049         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
60050         New file.
60051         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
60052         New file.
60053         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
60054         New file.
60055         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
60056         New file.
60057         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
60058         New file.
60059         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
60060         New file.
60061         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
60062         New file.
60063         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
60064         New file.
60065         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
60066         New file.
60067         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
60068         New file.
60069         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
60070         New file.
60071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
60072         file.
60073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
60074         New file.
60075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
60076         New file.
60077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
60078         file.
60079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
60080         New file.
60081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
60082         New file.
60083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
60084         file.
60085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
60086         New file.
60087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
60088         New file.
60089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
60090         New file.
60091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
60092         New file.
60093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
60094         New file.
60095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
60096         New file.
60097         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
60098         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
60099         file.
60100         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
60101         New file.
60102         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
60103         file.
60104         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
60105         file.
60106         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
60107         file.
60108         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
60109         file.
60110         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
60111         file.
60112         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
60113         New file.
60114         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
60115         file.
60116         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
60117         file.
60118         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
60119         New file.
60120         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
60121         file.
60122         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
60123         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
60124         file.
60125         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
60126         New file.
60127         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
60128         file.
60129         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
60130         file.
60131         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
60132         file.
60133         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
60134         file.
60135         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
60136         file.
60137         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
60138         New file.
60139         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
60140         file.
60141         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
60142         file.
60143         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
60144         New file.
60145         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
60146         file.
60147         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
60148         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
60149         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
60150         file.
60151         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
60152         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
60153         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
60154         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
60155         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
60156         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
60157         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
60158         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
60159         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
60160         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
60161         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
60162         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
60163         file.
60164         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
60165         New file.
60166         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
60167         file.
60168         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
60169         file.
60170         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
60171         file.
60172         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
60173         file.
60174         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
60175         file.
60176         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
60177         New file.
60178         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
60179         New file.
60180         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
60181         file.
60182         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
60183         New file.
60184         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
60185         file.
60186         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
60187         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
60188         file.
60189         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
60190         New file.
60191         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
60192         file.
60193         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
60194         file.
60195         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
60196         file.
60197         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
60198         file.
60199         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
60200         file.
60201         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
60202         New file.
60203         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
60204         New file.
60205         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
60206         file.
60207         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
60208         New file.
60209         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
60210         file.
60212 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
60214         * conform/conformtest.pl: Fix typo in handling typed-constant from
60215         allow-header.
60217 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
60219         * README: Cut down references to pre-2.6 Linux kernels and
60220         Linuxthreads.  Update lists of configurations in libc and ports
60221         and sort alphabetically.  Say "or newer" with Linux kernel version
60222         requirements.
60224         * config.h.in [IS_IN_build]: Allow compiling without optimization.
60226 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60228         [BZ #887]
60229         * math/libm-test.inc (logb_test_downward): New test to expose
60230         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
60231         rounding mode.
60233 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
60235         [BZ #14027]
60236         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
60237         to be done.
60238         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
60239         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
60241 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
60243         * sysdeps/unix/i386/brk.S: Remove file.
60244         * sysdeps/unix/i386/dl-brk.S: Likewise.
60245         * sysdeps/unix/i386/pipe.S: Likewise.
60246         * sysdeps/unix/i386/sigreturn.S: Likewise.
60247         * sysdeps/unix/i386/syscall.S: Likewise.
60248         * sysdeps/unix/i386/vfork.S: Likewise.
60249         * sysdeps/unix/i386/wait.S: Likewise.
60251         * sysdeps/unix/common/tcsendbrk.c: Move to ...
60252         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
60254         * configure.in (arm*-none*): Do not allow without
60255         --enable-hacker-mode.
60256         (netbsd*): Remove case setting base_os.
60257         (386bsd*): Likewise.
60258         (freebsd*): Likewise.
60259         (bsdi*): Likewise.
60260         (osf*): Likewise.
60261         (sunos*): Likewise.
60262         (ultrix*): Likewise.
60263         (newsos*): Likewise.
60264         (dynix*): Likewise.
60265         (*bsd*): Likewise.
60266         (sysv*): Likewise.
60267         (isc*): Likewise.
60268         (esix*): Likewise.
60269         (sco*): Likewise.
60270         (minix*): Likewise.
60271         (irix4*): Likewise.
60272         (irix6*): Likewise.
60273         (solaris[2-9]*): Likewise.
60274         (none): Likewise.
60275         * configure: Regenerated.
60277 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60279         [BZ #11521]
60280         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
60281         overflow or cancellation in calculating denominator.
60282         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
60283         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
60284         down expression to avoid unexpected rounding in newer GCCs.
60285         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
60287 2012-04-26  David S. Miller  <davem@davemloft.net>
60289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
60290         long-double compat symbols.
60291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
60292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
60293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
60294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
60295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
60296         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
60297         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
60298         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
60299         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
60300         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
60301         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
60302         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
60303         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
60305 2012-04-25  David S. Miller  <davem@davemloft.net>
60307         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
60308         HWCAP_* values only after the memory barriers have been defined.
60309         (atomic_full_barrier): Define.
60310         (atomic_read_barrier): Define.
60311         (atomic_write_barrier): Define.
60313 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
60315         * shlib-versions: Add libgcc_s version information.
60316         * sysdeps/generic/libgcc_s.h: Remove.
60317         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
60318         libgcc_s.h.
60319         * sysdeps/gnu/unwind-resume.c: Likewise.
60320         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
60322 2012-04-25  David S. Miller  <davem@davemloft.net>
60324         * sysdeps/unix/sparc/brk.S: Delete.
60325         * sysdeps/unix/sparc/dl-brk.S: Delete.
60326         * sysdeps/unix/sparc/pipe.S: Delete.
60327         * sysdeps/unix/sparc/sysdep.S: Delete.
60328         * sysdeps/unix/sparc/sysdep.h: Delete.
60329         * sysdeps/unix/sparc/vfork.S: Delete.
60330         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
60331         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
60332         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
60333         (ret_ERRVAL, r0, r1, MOVE): Define.
60334         (JUMPTARGET): Remove.
60335         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
60336         sysdeps/unix/sparc/sysdep.h
60337         (ENTRY, END): Remove.
60338         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
60340 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
60342         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
60343         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
60344         -DIS_IN_build.
60346         * timezone/README: Update upstream location and email address for
60347         tzcode and tzdata.
60348         * timezone/zdump.c: Update from tzcode 2012b.
60349         * timezone/zic.c: Likewise.
60351         * configure.in (libc_cv_as_needed): Remove test.
60352         * configure: Regenerated.
60353         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
60354         conditional definition.
60355         [$(have-as-needed) != yes] (no-as-needed): Likewise.
60356         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
60357         * config.make.in (have-as-needed): Remove variable.
60359 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
60360             Paul Pluzhnikov  <ppluzhnikov@google.com>
60362         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
60363         strings correctly.
60365 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
60367         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
60368         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
60369         * sysdeps/sh/strlen.S: Likewise.
60371 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
60373         * sysdeps/unix/fork.S: Remove file.
60374         * sysdeps/unix/i386/fork.S: Likewise.
60375         * sysdeps/unix/sparc/fork.S: Likewise.
60377         * sysdeps/unix/system.c: Remove file.
60378         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
60380         * sysdeps/unix/getegid.S: Remove file.
60381         * sysdeps/unix/geteuid.S: Likewise.
60383 2012-04-24  Roland McGrath  <roland@hack.frob.com>
60385         * scripts/check-localplt.awk: New file.
60386         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
60387         of diff.
60388         * scripts/data/localplt-generic.data: Add a comment.
60390         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
60391         NODE when __dir_mkfile failed.
60392         * sysdeps/mach/hurd/symlinkat.c: Likewise.
60393         Reported by Ludovic Courtès <ludo@gnu.org>.
60395 2012-04-24  Andreas Jaeger  <aj@suse.de>
60397         * Makerules (common-clean): Also remove gen-as-const-headers
60398         files.
60400 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
60402         * Makerules (native-compile): Do not change working directory for
60403         build.  Use $(OUTPUT_OPTION) in command.
60404         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
60406 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60408         [BZ #13886]
60409         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
60410         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
60411         * math/libm-test.inc (floor_test): Add more tests.
60412         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
60414 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
60416         * sysdeps/unix/getdents.c: Remove file.
60417         * sysdeps/unix/sysv/getdents.c: Likewise.
60418         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
60420         * sysdeps/unix/syscalls.list (madvise): Add syscall from
60421         sysdeps/unix/mman/syscalls.list.
60422         (mmap): Likewise.
60423         (mprotect): Likewise.
60424         (msync): Likewise.
60425         (munmap): Likewise.
60426         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
60427         * sysdeps/unix/mman/syscalls.list: Remove.
60428         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
60430         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
60431         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
60432         * configure: Regenerated.
60433         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
60434         $(libgcc_s_suffix).
60435         * config.make.in (libgcc_s_suffix): Remove variable.
60437 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
60439         * sysdeps/unix/sysv/gethostname.c: Move to ...
60440         * sysdeps/posix/gethostname.c: ... here.
60442         * sysdeps/unix/execve.S: Remove file.
60444         * sysdeps/unix/_exit.S: Remove file.
60446 2012-04-23  Andreas Jaeger  <aj@suse.de>
60448         [BZ #13739]
60449         * manual/Makefile: Remove make dist support, there's no
60450         need for a stand-alone documentation tar ball.
60451         (TEXI2DVI): Define always, it's not in Makeconfig.
60452         (dist): Removed.
60453         (tar-it): Removed.
60454         (edition): Removed.
60455         (glibc-doc-$(edition).tar): Removed
60456         (%.Z): Removed.
60457         (%.gz): Removed.
60458         (%.uu): Removed.
60459         (ETAGS): Remove, it's in Makeconfig.
60460         (move-if-change): Remove, it's in Makeconfig.
60462 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
60464         [BZ #13970]
60465         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
60466         (strtod, strtof, strtold, strtol, strtoul, strtoq)
60467         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
60468         (strtod_l, strtof_l, strtold_l): Remove __wur.
60469         It is not necessarily an error to ignore strtol's return value.
60470         One can reliably look at the stored endptr to decide whether
60471         the number had valid syntax.
60473 2012-04-21  Andreas Jaeger  <aj@suse.de>
60475         [BZ #13739]
60476         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
60478 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
60480         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
60481         * sysdeps/unix/sysv/Versions: Remove file.
60483 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
60485         [BZ #13927]
60486         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60488 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
60490         [BZ #7064]
60491         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
60492         version from __vm86.
60494 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
60496         * sysdeps/unix/common/lxstat.c: Remove file.
60497         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
60499         * sysdeps/unix/sysv/Makefile: Remove file.
60501         * sysdeps/unix/sysv/direct.h: Remove file.
60503         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
60504         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
60505         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
60506         * sysdeps/unix/sysv/bits/signum.h: Likewise.
60507         * sysdeps/unix/sysv/bits/stat.h: Likewise.
60508         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
60509         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
60511         * sysdeps/unix/sysv/setrlimit.c: Remove file.
60513         * sysdeps/unix/xmknod.c: Remove file.
60514         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
60516         * sysdeps/unix/sysv/settimeofday.c: Remove file.
60518         * sysdeps/unix/sysv/i386/time.S: Remove file.
60520         * sysdeps/unix/fxstat.c: Remove file.
60521         * sysdeps/unix/xstat.c: Likewise.
60522         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
60524         * sysdeps/unix/sysv/sigaction.c: Remove file.
60526         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
60527         (sysdep_headers): Remove variable.
60528         [termio.h not in sysdep_headers] (generated): Likewise.
60529         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
60530         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
60531         * sysdeps/unix/sysv/tcdrain.c: Likewise.
60532         * sysdeps/unix/sysv/tcflow.c: Likewise.
60533         * sysdeps/unix/sysv/tcflush.c: Likewise.
60534         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
60535         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
60536         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
60537         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
60538         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
60540         * sysdeps/unix/siglist.c: Remove file.
60542         * sysdeps/unix/getppid.S: Remove file.
60544         * sysdeps/unix/mkdir.c: Remove file.
60545         * sysdeps/unix/rmdir.c: Likewise.
60547 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
60549         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
60550         ERR_MAX value.
60551         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
60552         errlist-compat value.
60554 2012-04-18  David S. Miller  <davem@davemloft.net>
60556         * sysdeps/generic/memcopy.h (reg_char): Delete.
60557         * debug/strcat_chk.c: Use char, not reg_char.
60558         * debug/strcpy_chk.c: Likewise.
60559         * debug/strncat_chk.c: Likewise.
60560         * debug/strncpy_chk.c: Likewise.
60561         * string/memchr.c: Likewise.
60562         * string/memrchr.c: Likewise.
60563         * string/rawmemchr.c: Likewise.
60564         * string/strcat.c: Likewise.
60565         * string/strchr.c: Likewise.
60566         * string/strchrnul.c: Likewise.
60567         * string/strcmp.c: Likewise.
60568         * string/strcpy.c: Likewise.
60569         * string/strncat.c: Likewise.
60570         * string/strncmp.c: Likewise.
60571         * string/strncpy.c: Likewise.
60573 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
60575         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
60576         __builtin_memcopy is called when src and dest ranges are known to not
60577         overlap.
60579 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
60581         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
60582         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
60583         fwd_align_merge macro call.
60584         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
60585         bwd_align_merge macro call.
60586         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
60588 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
60590         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
60591         bwd_align_merge macros.
60592         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
60593         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
60594         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
60596 2012-04-18  David S. Miller  <davem@davemloft.net>
60598         * sysdeps/sparc/sparc64/memcopy.h: Delete.
60600 2012-04-18  Andreas Jaeger  <aj@suse.de>
60602         [BZ# 6794]
60603         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
60604         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
60605         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
60607         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
60608         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
60609         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
60611         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
60612         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
60613         Adjust for changed ldbl-128 files.
60615         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
60616         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
60617         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
60619 2012-04-17  David S. Miller  <davem@davemloft.net>
60621         * sysdeps/sparc/sparc32/memcopy.h: Delete.
60623 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
60625         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
60626         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
60627         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
60628         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
60629         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
60630         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
60632 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60634         [BZ #6794]
60635         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
60636         * math/libm-test.inc: Add ilogb errno and exception tests.
60637         * math/w_ilogb.c: New file: ilogb wrapper.
60638         * math/w_ilogbf.c: New file: ilogbf wrapper.
60639         * math/w_ilogbl.c: New file: ilogbl wrapper.
60640         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
60641         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
60642         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
60643         exception being thrown with 0.0 as argument.
60644         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
60645         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
60646         exception being thrown with 0.0 as argument.
60647         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
60648         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
60649         exception being thrown with 0.0 as argument.
60650         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
60651         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
60652         exception being thrown with 0.0 as argument.
60653         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
60654         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
60655         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
60656         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
60657         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
60658         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
60659         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
60660         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
60661         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
60663 2012-04-17  Petr Baudis  <pasky@ucw.cz>
60665         * include/sys/uio.h: Change __vector to __iovec to avoid clash
60666         with altivec.
60668 2012-04-16  Marek Polacek  <polacek@redhat.com>
60670         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
60672 2012-04-16  Marek Polacek  <polacek@redhat.com>
60674         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
60675         operands of fdivp instruction.
60677 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
60679         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
60680         * elf/tst-auditmod3b.c: Likewise.
60681         * elf/tst-auditmod4b.c: Likewise.
60682         * elf/tst-auditmod5b.c: Likewise.
60683         * elf/tst-auditmod6b.c: Likewise.
60684         * elf/tst-auditmod6c.c: Likewise.
60685         * elf/tst-auditmod7b.c: Likewise.
60686         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
60687         * sysdeps/x86_64/preconfigure.in: Likewise.
60688         * sysdeps/x86_64/preconfigure: Regenerated.
60690 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
60692         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
60693         __ILP32__.
60695 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
60697         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60698         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
60700 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
60702         [BZ #13973]
60703         * locale/iso-639.def: Fix gl language name. Spotted by
60704         Yaron Shahrabani.
60706 2012-04-12  Roland McGrath  <roland@hack.frob.com>
60708         [BZ #2074]
60709         * libio/libio.h (__io_write_fn): Update comment.
60711 2012-04-12  Petr Baudis  <pasky@ucw.cz>
60713         [BZ #2074]
60714         * stdio.texi (Hook Functions): The user provided writer function
60715         is not allowed to return -1.
60717 2012-04-11  David S. Miller  <davem@davemloft.net>
60719         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60721 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
60723         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
60724         Add a leading slash to rtkaio.
60726 2012-04-11  Jim Meyering  <meyering@redhat.com>
60728         [BZ #11959]
60729         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
60730         It is not necessarily an error to ignore fwrite's return
60731         value.  One can reliably use ferror to test for errors after
60732         the fact.
60734 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
60736         * bits/types.h (__snseconds_t): New type.
60737         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
60739         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
60740         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60741         (__SNSECONDS_T_TYPE): Likewise.
60742         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60743         (__SNSECONDS_T_TYPE): Likewise.
60744         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60745         (__SNSECONDS_T_TYPE): Likewise.
60747 2012-04-10  Andreas Jaeger  <aj@suse.de>
60749         [BZ #2636]
60750         * manual/time.texi (Processor Time): Return type of times is
60751         elapsed real time since an arbitrary point in the past.
60752         (CPU Time): Move CLK_TCK from here...
60753         (Processor Time): ...to here.  Correct description.
60754         * manual/conf.texi (Constants for Sysconf): Correct description of
60755         _SC_CLK_TCK.
60757 2012-04-10  David S. Miller  <davem@davemloft.net>
60759         [BZ #13967]
60760         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
60761         where the is a gap between DT_REL(A) and DT_JMPREL.
60763 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
60765         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
60766         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
60767         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
60769 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
60771         * elf/dl-support.c (_dl_inhibit_cache): New variable.
60772         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
60773         (dl_main): Handle --inhibit-cache.
60774         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
60775         _dl_inhibit_cache.
60776         * elf/dl-load.c (_dl_map_object): Use it.
60777         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
60779 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
60781         [BZ #13872]
60782         * sysdeps/i386/fpu/e_powl.S (p78): New object.
60783         (__ieee754_powl): Saturate large exponents rather than testing for
60784         overflow of y*log2(x).
60785         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
60786         * math/libm-test.inc (pow_test): Do not permit spurious overflow
60787         exceptions.
60789         [BZ #11521]
60790         * math/s_ctan.c: Include <float.h>.
60791         (__ctan): Avoid internal overflow or cancellation in calculating
60792         denominator.
60793         * math/s_ctanf.c: Likewise.
60794         * math/s_ctanl.c: Likewise.
60795         * math/s_ctanh.c: Likewise.
60796         * math/s_ctanhf.c: Likewise.
60797         * math/s_ctanhl.c: Likewise.
60798         * math/libm-test.inc (ctan_test): Add more tests.
60799         (ctanh_test): Likewise.
60800         * sysdeps/i386/fpu/libm-test-ulps: Update.
60801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60803 2012-04-09  Andreas Jaeger  <aj@suse.de>
60805         [BZ #6894]
60806         * manual/filesys.texi (Directory Entries): Mention that d_namlen
60807         is an optional BSD extension.
60809         [BZ #10254]
60810         * manual/stdio.texi (Opening Streams): Document additional fopen
60811         parameters.
60813 2012-04-09  Roland McGrath  <roland@hack.frob.com>
60815         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
60816         %eax without telling the compiler.
60818 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
60820         [BZ # 13963]
60821         * manual/install.texi: Use sourceware.org.
60823 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
60825         [BZ #13873]
60826         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
60827         (__ieee754_pow): Generate overflow and underflow using huge*huge
60828         and tiny*tiny rather than just returning constant infinity or zero
60829         for large exponents.
60830         * math/libm-test.inc (pow_test): Require overflow exceptions for
60831         applicable cases of large exponents.
60833         [BZ #706]
60834         * sysdeps/i386/fpu/e_pow.S (p10): New object.
60835         (__ieee754_pow): Use iterative multiplication algorithm only for
60836         integer exponents with absolute value below 1024.  Check for odd
60837         integer exponents when using algorithm for real exponents.
60838         * math/libm-test.inc (pow_test): Add more tests.
60839         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60841 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
60843         [BZ #13705]
60844         * math/libm-test.inc (exp_test): Do not allow overflow exception
60845         on underflow test.
60847 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
60849         [BZ #13705]
60850         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
60851         instead of __kernel_standard_f.
60853 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
60855         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
60856         * sysdeps/x86_64/memset_chk.S: Likewise.
60858 2012-04-08  Andreas Jaeger  <aj@suse.de>
60860         [BZ #10153]
60861         * manual/startup.texi (Environment Access): Describe return value
60862         for putenv and setenv.
60864         [BZ #6895]
60865         * manual/filesys.texi (Directory Entries): Add description for
60866         DT_LNK.
60868         [BZ #6890]
60869         * manual/filesys.texi (Directory Entries): Clarify that it's file
60870         system not operating system in the description of DT_UNKNOWN.
60872         [BZ #6578]
60873         * manual/syslog.texi (closelog): Fix reference, it's openlog.
60875 2012-04-08  Stephen Compall  <s11@member.fsf.org>
60877         [BZ #6649]
60878         * manual/llio.texi (Opening and Closing Files): Add cross
60879         reference to explain mode argument.
60881 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
60883         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
60884         * sysdeps/x86_64/memset_chk.S: Likewise.
60886 2012-04-07  David S. Miller  <davem@davemloft.net>
60888         * elf/elf.h (R_SPARC_WDISP10): Define.
60889         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
60890         R_SPARC_SIZE32.
60891         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
60892         R_SPARC_SIZE64 and R_SPARC_H34.
60894 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
60896         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
60897         conditions and remove no longer applicable assertion.
60899 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
60901         * bits/byteswap.h: Include <features.h>.
60902         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
60903         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
60905 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
60907         * bits/byteswap.h (__bswap_16): Removed.
60908         Include <bits/byteswap-16.h> to get __bswap_16.
60909         * sysdeps/i386/bits/byteswap.h: Likewise.
60910         * sysdeps/s390/bits/byteswap.h: Likewise.
60911         * sysdeps/x86_64/bits/byteswap.h: Likewise.
60912         * bits/byteswap-16.h: New file.
60913         * sysdeps/i386/bits/byteswap-16.h: Likewise.
60914         * sysdeps/s390/bits/byteswap-16.h: Likewise.
60915         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
60916         * string/Makefile (headers): Add bits/byteswap-16.h.
60918 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
60920         [BZ #13895]
60921         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
60922         extra indirection.
60923         * nss/Makefile (tests-static, tests): Add tst-nss-static.
60924         * nss/tst-nss-static.c: New.
60926 2012-04-06  Robert Millan  <rmh@gnu.org>
60928         [BZ #6486]
60929         * manual/llio.texi (File Position Primitive): lseek
60930         refers to WHENCE when it really means OFFSET.
60932 2012-04-06  Andreas Jaeger  <aj@suse.de>
60934         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
60935         strncmp declarations.
60937         * abilist/libc.abilist: Add __poll and __ppoll.
60939 2012-04-05  David S. Miller  <davem@davemloft.net>
60941         * scripts/check-local-headers.sh: Accept a host triplet in the
60942         path matched by the exclude regexp.
60944         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
60945         definition.
60946         * sysdeps/powerpc/powerpc32/dl-machine.h
60947         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
60948         * sysdeps/s390/s390-32/dl-machine.h
60949         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
60950         * sysdeps/sparc/sparc32/dl-machine.h
60951         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
60952         * sysdeps/sparc/sparc64/dl-machine.h
60953         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
60955         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
60956         lazy binding.
60957         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
60958         undefined symbol errors.
60960         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
60961         DT_NEEDED entries.
60963 2012-04-05  Michael Matz  <matz@suse.de>
60965         [BZ #13592]
60966         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
60968 2012-04-05  Andreas Jaeger  <aj@suse.de>
60970         [BZ #13908]
60971         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
60972         comment.
60974 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60976         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
60977         which ROUND is no valid rounding mode.
60979 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60981         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
60982         read again.
60983         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
60985 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60987         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
60988         an exception using FPU order intentionally.
60990 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60992         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
60993         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
60994         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
60995         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
60997 2012-04-05  Simon Josefsson  <simon@josefsson.org>
60999         [BZ #12340]
61000         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
61001         EINVAL when BUFLEN is too smal.
61003 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
61005         [BZ #13553]
61006         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
61007         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
61009 2012-04-03  Andreas Jaeger  <aj@suse.de>
61011         [BZ #13938]
61012         * manual/setjmp.texi (System V contexts): Fix sentence.
61014         [BZ #13926]
61015         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
61016         New macro for this case.
61017         [!__GNUC__] (__bswap_64): New inline function for this case.
61018         * sysdeps/x86_64/bits/byteswap.h: Likewise.
61019         * bits/byteswap.h: Likewise.
61020         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
61021         ull, guard with __GLIBC_HAVE_LONG_LONG.
61023         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
61024         __GLIBC_HAVE_LONG_LONG.
61026         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
61027         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
61029 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
61031         [BZ #13691]
61032         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
61033         inptr and inend, rather than using last_ch.
61035 2012-04-02  David S. Miller  <davem@davemloft.net>
61037         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
61038         * stdio-common/printf-parse.h (read_int): Change return type to
61039         'int', return -1 on INT_MAX overflow.
61040         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
61041         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
61042         overflows INT_MAX.  Check for overflow of in-format-string precision
61043         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
61044         SIZE_MAX not INT_MAX for integer overflow test.
61045         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
61046         skip the construct in the format string but do not record anything.
61047         * stdio-common/bug22.c: Adjust to test both width/prevision
61048         INT_MAX overflow as well as total length INT_MAX overflow.  Check
61049         explicitly for proper errno values.
61051 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
61053         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
61054         CHAR_MAX.
61055         * string/test-strcmp.c [! WIDE]: Likewise.
61056         * time/tst-mktime2.c: Likewise for INT_MAX.
61057         * string/test-string.h: #include <sys/param.h> for MIN.
61059         * csu/init-first.c (__libc_init_first): Call __ctype_init.
61060         * sysdeps/i386/init-first.c (init): Likewise.
61061         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
61062         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
61063         * sysdeps/sh/init-first.c (init): Likewise.
61065 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
61067         * po/ru.po: Update from translation team.
61068         * po/vi.po: Likewise.
61070 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
61072         * resolv/nss_dns/dns-host.c: Merge copyright years.
61074 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61076         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
61077         Optimize memcpy with prefetch if
61078         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
61079         src, dst pointers have unequal 16 byte alignments.
61081 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
61083         [BZ #13928]
61084         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
61085         from a CNAME entry and return the minimum ttl for the query.
61086         (gaih_getanswer_slice): Likewise.
61088 2012-03-30  Jeff Law  <law@redhat.com>
61090         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
61091         due to long keys.
61092         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
61093         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
61095         * resolv/nss_dns/dns-host.c: Update copyright year.
61097 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
61099         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
61100         requests to save a system call.  Fix check that all bytes are sent.
61102         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
61103         comments for sendmmsg.
61105 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61107         [BZ #13691]
61108         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
61109         with only 1 character between 0x0041 and 0x01b0.
61110         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
61111         * wcsmbs/tst-mbsnrtowcs.c: New file.
61113 2012-03-29  David S. Miller  <davem@davemloft.net>
61115         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
61116         small copies by hand.
61118 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61120         [BZ #13761]
61121         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
61122         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
61123         group memberships.
61125 2012-03-28  David S. Miller  <davem@davemloft.net>
61127         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
61128         that branches into memcpy.
61129         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
61130         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
61131         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
61132         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
61133         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
61134         bits.
61135         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
61136         implementation too.
61137         * sysdeps/sparc/mempcpy.S: New file.
61139         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
61140         the IFUNC routine in the libc case.
61141         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
61143         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
61144         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
61145         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
61146         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
61147         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
61148         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
61149         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
61150         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
61152         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
61153         loop to 256 bytes instead of 64 bytes and fix test signedness.
61155         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
61156         * sysdeps/sparc/sparc32/Makefile: rather than here...
61157         * sysdeps/sparc/sparc64/Makefile: and here.
61159 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
61161         * malloc/mallocbug.c: Avoid warnings about unused variables.
61163 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
61165         [BZ #13760]
61166         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
61167         in the right place. Discard and retry query if response is
61168         larger than input buffer size.
61170 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
61172         [BZ #369]
61173         [BZ #2678]
61174         [BZ #3866]
61175         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
61176         x for large integer exponent.
61177         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
61178         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
61179         sign of result as needed afterwards.
61180         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
61181         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
61182         result for underflowing pow the same as for overflow.
61183         (__kernel_standard_l): Handle powl overflow and underflow here
61184         rather than calling __kernel_standard.
61185         * math/libm-test.inc (pow_test): Add more tests.
61187         [BZ #3868]
61188         [BZ #13879]
61189         [BZ #13910]
61190         [BZ #13911]
61191         [BZ #13912]
61192         [BZ #13913]
61193         [BZ #13915]
61194         [BZ #13916]
61195         [BZ #13917]
61196         [BZ #13918]
61197         [BZ #13919]
61198         [BZ #13920]
61199         [BZ #13921]
61200         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
61201         * sysdeps/ieee754/k_standard.c: Include <float.h>.
61202         (__kernel_standard_l): New function.
61203         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
61204         __kernel_standard.
61205         * math/w_acosl.c (__acosl): Likewise.
61206         * math/w_asinl.c (__asinl): Likewise.
61207         * math/w_atan2l.c (__atan2l): Likewise.
61208         * math/w_atanhl.c (__atanhl): Likewise.
61209         * math/w_coshl.c (__coshl): Likewise.
61210         * math/w_exp10l.c (__exp10l): Likewise.
61211         * math/w_exp2l.c (__exp2l): Likewise.
61212         * math/w_fmodl.c (__fmodl): Likewise.
61213         * math/w_hypotl.c (__hypotl): Likewise.
61214         * math/w_j0l.c (__j0l, __y0l): Likewise.
61215         * math/w_j1l.c (__j1l, __y1l): Likewise.
61216         * math/w_jnl.c (__jnl, __ynl): Likewise.
61217         * math/w_lgammal.c (__lgammal): Likewise.
61218         * math/w_log10l.c (__log10l): Likewise.
61219         * math/w_log2l.c (__log2l): Likewise.
61220         * math/w_logl.c (__logl): Likewise.
61221         * math/w_powl.c (__powl): Likewise.
61222         * math/w_remainderl.c (__remainderl): Likewise.
61223         * math/w_scalbl.c (sysv_scalbl): Likewise.
61224         * math/w_sinhl.c (__sinhl): Likewise.
61225         * math/w_sqrtl.c (__sqrtl): Likewise.
61226         * math/w_tgammal.c (__tgammal): Likewise.
61227         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
61228         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
61229         * math/libm-test.inc (acos_test): Add more tests.
61230         (acosh_test): Likewise.
61231         (asin_test): Likewise.
61232         (atanh_test): Likewise.
61233         (exp_test): Likewise.
61234         (exp10_test): Likewise.
61235         (exp2_test): Likewise.
61236         (expm1_test): Likewise.
61237         (lgamma_test): Likewise.
61238         (log_test): Likewise.
61239         (log10_test): Likewise.
61240         (log1p_test): Likewise.
61241         (log2_test): Likewise.
61242         (pow_test): Do not allow some spurious overflow exceptions.
61243         (sqrt_test): Add more tests.
61244         (tgamma_test): Likewise.
61245         (y0_test): Likewise.
61246         (y1_test): Likewise.
61247         (yn_test): Likewise.
61249 2012-03-27  Anton Blanchard  <anton@samba.org>
61251         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
61252         MAP_HUGETLB.
61253         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
61254         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
61255         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
61257 2012-03-27  David S. Miller  <davem@davemloft.net>
61259         * conform/Makefile: Run run-conformtest.sh using $(BASH).
61261         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
61262         have-as-vis3 check.
61264 2012-03-27  Andreas Jaeger  <aj@suse.de>
61266         * sysdeps/x86_64/elf/configure.in: Moved to ...
61267         * sysdeps/x86_64/configure.in: ... here.
61268         * sysdeps/x86_64/elf/start.S: Moved to ...
61269         * sysdeps/x86_64/start.S: ... here.
61270         * sysdeps/x86_64/elf/configure: Delete.
61272         * sysdeps/x86_64/configure.in: Merge contents from
61273         sysdeps/i386/configure.in (without i686 check).
61275         * sysdeps/i386/elf/Versions: Merge into ...
61276         * sysdeps/i386/Versions: ... this.
61277         * sysdeps/i386/elf/Versions: Delete file.
61278         * sysdeps/i386/elf/start.S: Moved to ...
61279         * sysdeps/i386/start.S: ...here.
61280         * sysdeps/i386/elf/configure.in: Merge into...
61281         * sysdeps/i386/configure.in: ...here.
61282         * sysdeps/i386/elf/configure.in: Delete file.
61283         * sysdeps/i386/elf/configure: Delete file.
61285         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
61286         * debug/backtracesyms.c: ... here.
61287         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
61288         * debug/backtracesymsfd.c: ... here.
61289         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
61290         * sysdeps/generic/ifunc-sel.h: ... here.
61292         * sysdeps/unix/i386/start.c: Delete file.
61293         * sysdeps/unix/sparc/start.c: Delete file.
61294         * sysdeps/unix/start.c: Delete file.
61296         * sysdeps/sh/elf/configure.in: Moved to ...
61297         * sysdeps/sh/configure.in: ... here.
61298         * sysdeps/sh/elf/start.S: Moved to ...
61299         * sysdeps/sh/start.S: ... here.
61300         * sysdeps/sh/elf/configure: Delete file.
61302         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
61303         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
61304         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
61305         * sysdeps/powerpc/powerpc64/entry.h: ... here.
61306         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
61307         * sysdeps/powerpc/powerpc64/start.S: here.
61308         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
61309         * sysdeps/powerpc/powerpc64/Makefile: ... this.
61310         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
61311         * sysdeps/powerpc/powerpc64/configure.in: ... this.
61312         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
61314         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
61315         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
61316         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
61317         * sysdeps/powerpc/powerpc32/start.S: ... here.
61318         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
61319         * sysdeps/powerpc/powerpc32/configure.in: ... this.
61320         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
61322         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
61323         * sysdeps/powerpc/ifunc-sel.h: ... here.
61324         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
61325         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
61327         * sysdeps/sparc/elf/configure.in: Moved to ...
61328         * sysdeps/sparc/configure.in: ... here.
61329         * sysdeps/sparc/elf/configure: Delete file.
61330         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
61331         * sysdeps/sparc/sparc32/start.S: ... here.
61332         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
61333         * sysdeps/sparc/sparc64/start.S: ... here.
61334         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
61335         * sysdeps/sparc/sparc32/Makefile: ... this.
61336         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
61337         * sysdeps/sparc/sparc64/Makefile: ... this.
61339         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
61340         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
61341         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
61342         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
61343         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
61344         * sysdeps/s390/s390-32/setjmp.S: ... here.
61345         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
61346         * sysdeps/s390/s390-32/configure.in: ... here.
61347         * sysdeps/s390/s390-32/elf/configure: Delete file.
61348         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
61349         * sysdeps/s390/s390-32/start.S: ... here.
61351         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
61352         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
61353         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
61354         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
61355         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
61356         * sysdeps/s390/s390-64/setjmp.S: ... here.
61357         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
61358         * sysdeps/s390/s390-64/configure.in: ... here
61359         * sysdeps/s390/s390-64/elf/configure: Delete file.
61360         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
61361         * sysdeps/s390/s390-64/start.S: ... here.
61362         * sysdeps/s390/s390-64/elf/configure: Delete.
61364         * configure.in: Remove support for elf directories in sysdeps.
61366         * configure: Regenerated.
61367         * sysdeps/i386/configure: Regenerated.
61368         * sysdeps/powerpc/powerpc32/configure: Regenerated.
61369         * sysdeps/powerpc/powerpc64/configure: Regenerated.
61370         * sysdeps/s390/s390-32/configure: Regenerated.
61371         * sysdeps/s390/s390-64/configure: Regenerated.
61372         * sysdeps/sh/configure: Regenerated.
61373         * sysdeps/sparc/configure: Regenerated.
61374         * sysdeps/x86_64/configure: Regenerated.
61376 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
61378         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61380         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
61381         denormal result into account.
61383 2012-03-25  Roland McGrath  <roland@hack.frob.com>
61385         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
61386         Reported by Allan McRae <allan@archlinux.org>.
61388 2012-03-23  Jeff Law  <law@redhat.com>
61390         * nss/getnssent.c (__nss_getent): Fix typo.
61392 2012-03-23  David S. Miller  <davem@davemloft.net>
61394         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61396 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
61398         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
61399         to pad to uint64_t for each field.
61400         (dl_tls_index): Replace unsigned long with uint64_t.
61402 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
61403         Paul Pluzhnikov  <ppluzhnikov@google.com>
61405         [BZ #6528]
61406         * grp/Makefile (otherlibs): Don't set it.
61407         * inet/Makefile (otherlibs): Likewise.
61408         * login/Makefile (otherlibs): Likewise.
61409         * nscd/Makefile (otherlibs): Likewise.
61410         * posix/Makefile (otherlibs): Likewise.
61411         * pwd/Makefile (otherlibs): Likewise.
61412         * rt/Makefile (otherlibs): Likewise.
61413         * sunrpc/Makefile (otherlibs): Likewise.
61414         * nss/Makefile (otherlibs): Likewise.
61415         Add libnss_files to routines and static-only-routines.
61416         ($(objpfx)getent): Remove rule.
61417         * resolv/Makefile: Add libnss_dns and libresolv to routines and
61418         static-only-routines.
61420 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
61422         [BZ #13892]
61423         * math/s_cexp.c: Include <float.h>.
61424         (__cexp): Handle exp result overflowing not necessarily
61425         overflowing both real and imaginary parts of result.
61426         * math/s_cexpf.c: Likewise.
61427         * math/s_cexpl.c: Likewise.
61428         * math/libm-test.inc (cexp_test): Add more tests.
61429         * sysdeps/i386/fpu/libm-test-ulps: Update.
61430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61432 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
61434         * include/link.h (ELFW): New macro.
61435         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
61436         Replace ELF64_R_TYPE with ELFW(R_TYPE).
61438 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
61440         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
61441         with uint64_t.
61443 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
61445         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
61446         declaration.
61447         (struct La_x32_retval): Likewise.
61449 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
61451         * sysdeps/x86_64/preconfigure.in: New file.
61452         * sysdeps/x86_64/preconfigure: New generated file.
61454 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
61456         [BZ #13824]
61457         * math/e_exp2l.c: Include <float.h>.
61458         (__ieee754_exp2l): Handle overflow and underflow cases
61459         separately.  Only pass fractional part of argument to
61460         __ieee754_expl.
61461         * math/libm-test.inc (exp2_test): Add more tests.
61463         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
61464         negating x to take absolute value.
61465         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
61466         Likewise.
61467         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
61468         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
61469         Likewise.
61470         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
61471         computing low part if x was negated.
61472         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
61474 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
61476         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
61477         la_x32_gnu_pltexit.
61478         (pltexit): Cast int_retval to ptrdiff_t.
61479         * elf/tst-auditmod3b.c: Likewise.
61480         * elf/tst-auditmod4b.c: Likewise.
61481         * elf/tst-auditmod5b.c: Likewise.
61482         * elf/tst-auditmod6b.c: Likewise.
61483         * elf/tst-auditmod6c.c: Likewise.
61484         * elf/tst-auditmod7b.c: Likewise.
61486         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
61487         and x32_gnu_pltexit.
61489         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
61490         __ELF_NATIVE_CLASS.
61491         (La_x32_regs): New macro.
61492         (La_x32_retval): Likewise.
61493         (la_x32_gnu_pltenter): New function prototype.
61494         (la_x32_gnu_pltexit): Likewise.
61496 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
61498         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
61499         exponent.
61501         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61503         * configure.in (libc_cv_cc_nofma): Check for option to disable
61504         generation of FMA instructions.
61505         * configure: Regenerate.
61506         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
61507         * sysdeps/ieee754/dbl-64/Makefile: New file.
61508         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
61509         Remove brandred-fma4.
61510         (CFLAGS-brandred-fma4.c): Remove.
61511         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
61512         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
61513         define.
61514         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
61515         define.
61517 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
61519         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
61520         LLONG_MAX != LONG_MAX.
61521         (_itoa_word): Use _ITOA_WORD_TYPE on value.
61522         (_fitoa_word): Likewise.
61523         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
61524         LLONG_MAX != LONG_MAX.
61525         * stdio-common/_itowa.h: Include <_itoa.h>.
61526         (_itowa_word): Use _ITOA_WORD_TYPE on value.
61527         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
61528         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
61529         only if not defined.
61530         (_ITOA_WORD_TYPE): Likewise.
61531         (_itoa_word): Use _ITOA_WORD_TYPE on value.
61532         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
61534 2012-03-21  David S. Miller  <davem@davemloft.net>
61536         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61538 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
61540         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
61541         of x86_64 when setting libc_cv_slibdir, libdir and
61542         libc_cv_localedir.
61543         * sysdeps/unix/sysv/linux/configure: Regenerated.
61545 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
61547         * manual/lang.texi (Old Varargs): Remove section.
61548         (How Variadic): Update menu.
61549         (va_start): Do not mention varargs.h.
61551 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
61552             Joseph Myers  <joseph@codesourcery.com>
61554         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
61555         link test.
61556         * configure: Regenerated.
61558 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
61560         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
61561         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
61562         conformtest.pl
61564 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
61566         * NOTES: Remove.
61567         * Makefile (files-for-dist): Remove NOTES.
61568         (NOTES): Remove rule.
61569         * README: Don't refer to NOTES.
61570         * manual/creature.texi: Don't include macros.texi.
61571         * manual/intro.texi (creature.texi): Remove comment referring to
61572         NOTES.
61574         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
61575         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
61576         * configure: Regenerated.
61577         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
61578         LIBC_TRY_CC_OPTION.
61579         (libc_cv_as_i686): Likewise.
61580         (libc_cv_cc_avx): Likewise.
61581         (libc_cv_cc_sse2avx): Likewise.
61582         (libc_cv_cc_fma4): Likewise.
61583         (libc_cv_cc_novzeroupper): Likewise.
61584         * sysdeps/i386/configure: Regenerated.
61586         [BZ #13883]
61587         * sysdeps/i386/fpu/s_cexp.S: Remove.
61588         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
61589         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
61590         * math/libm-test.inc (cexp_test): Add more tests.
61591         * sysdeps/i386/fpu/libm-test-ulps: Update.
61592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61594 2012-03-21  Allan McRae  <allan@archlinux.org>
61596         * timezone/Makefile: Do not install iso3166.tab and zone.tab
61598 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
61600         [BZ #13871]
61601         * math/w_exp2.c: Do not include <float.h>.
61602         (o_threshold, u_threshold): Remove.
61603         (__exp2): Calculate result before checking finiteness and calling
61604         __kernel_standard.
61605         * math/w_exp2f.c: Likewise.
61606         * math/w_exp2l.c: Likewise.
61607         * math/libm-test.inc (exp2_test): Require overflow exception for
61608         1e6 input.
61610         [BZ #3866]
61611         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
61612         range of signed 64-bit integers before using fistpll.  Remove
61613         checks for whether integers fit in mantissa bits.
61614         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
61615         the range of signed 32-bit integers before using fistpl.  Remove
61616         checks for whether integers fit in mantissa bits.
61617         * sysdeps/i386/fpu/e_powl.S (p64): New object.
61618         (__ieee754_powl): Test for y outside the range of signed 64-bit
61619         integers before using fistpll.  Reduce 64-bit values to 63-bit
61620         ones as needed.
61621         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
61622         divide-by-zero is raised for zero to large negative powers.
61623         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
61624         (__ieee754_powl): Test for y outside the range of signed 64-bit
61625         integers before using fistpll.  Reduce 64-bit values to 63-bit
61626         ones as needed.
61627         * math/libm-test.inc (pow_test): Add more tests.
61629 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
61631         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
61632         <stdio-common/_itoa.h>.
61633         * debug/segfault.c: Likewise.
61634         * elf/dl-cache.c: Likewise.
61635         * elf/dl-minimal.c: Likewise.
61636         * elf/dl-misc.c: Likewise.
61637         * elf/dl-sysdep.c: Likewise.
61638         * elf/dl-version.c: Likewise.
61639         * elf/rtld.c: Likewise.
61640         * hurd/hurdsock.c: Likewise.
61641         * hurd/lookup-retry.c: Likewise.
61642         * malloc/malloc.c: Likewise.
61643         * malloc/mtrace.c: Likewise.
61644         * nscd/nscd_getgr_r.c: Likewise.
61645         * nscd/nscd_getpw_r.c: Likewise.
61646         * nscd/nscd_getserv_r.c: Likewise.
61647         * posix/getopt_init.c: Likewise.
61648         * posix/wordexp.c: Likewise.
61649         * stdio-common/_itoa.c: Likewise.
61650         * stdio-common/printf_fphex.c: Likewise.
61651         * stdio-common/vfprintf.c: Likewise.
61652         * string/_strerror.c: Likewise.
61653         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
61654         * sysdeps/i386/i686/hp-timing.h: Likewise.
61655         * sysdeps/mach/_strerror.c: Likewise.
61656         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
61657         * sysdeps/mach/hurd/sethostid.c: Likewise.
61658         * sysdeps/mach/hurd/xmknodat.c: Likewise.
61659         * sysdeps/mach/xpg-strerror.c: Likewise.
61660         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
61661         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
61662         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
61663         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
61664         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
61665         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
61666         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
61667         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
61668         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
61669         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
61670         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
61671         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
61672         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
61673         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
61674         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
61675         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
61676         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
61677         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
61678         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
61679         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
61680         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
61682         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
61684         * stdio-common/_itoa.h: Moved to ...
61685         * sysdeps/generic/_itoa.h: Here.
61687         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
61689         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
61690         instead of "_itoa.h" and "_itowa.h".
61691         * stdio-common/vfprintf.: Likewise.
61693 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
61695         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
61696         <bits/wordsize.h>.
61697         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
61698         (__signbit): Likwise.
61699         (llrintf): Likwise.
61700         (llrint): Likwise.
61702 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
61704         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
61705         __WORDSIZE != 64.
61707 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
61709         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
61710         OVERFLOW_EXCEPTION_OK.
61711         * math/libm-test.inc ("Philosophy"): Update comment about
61712         exception testing.
61713         (OVERFLOW_EXCEPTION): Define.
61714         (OVERFLOW_EXCEPTION_OK): Likewise.
61715         (INVALID_EXCEPTION_OK): Renumber.
61716         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
61717         (IGNORE_ZERO_INF_SIGN): Likewise.
61718         (test_exceptions): Handle FE_OVERFLOW.
61719         (exp10_test): Expect overflow exceptions.
61720         (exp2_test): Likewise.
61721         (expm1_test): Likewise.
61722         (nextafter_test): Likewise.
61723         (pow_test): Likewise.
61724         (scalbn_test): Likewise.
61725         (scalbln_test): Likewise.
61727 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61729         * sysdeps/x86_64/bits/atomic.h
61730         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
61731         64bit integer.
61732         (atomic_exchange_acq): Likewise.
61733         (__arch_exchange_and_add_body): Likewise.
61734         (__arch_add_body): Likewise.
61735         (atomic_add_negative): Likewise.
61736         (atomic_add_zero): Likewise.
61738 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61740         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
61741         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
61743 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61745         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
61746         Check __x86_64__ instead of __WORDSIZE.
61748 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61750         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
61752 2012-03-19  David S. Miller  <davem@davemloft.net>
61754         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61756         * sysdeps/sparc/fpu/fenv_private.h: New file.
61757         * sysdeps/sparc/fpu/math_private.h: Use it.
61758         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
61759         Remove.
61760         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
61761         (libc_feholdexcept_setroundl): Remove.
61762         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
61763         Remove.
61764         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
61765         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
61767 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61769         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
61770         int64_t instead of long int.
61771         (INSERT_WORDS64): Likwise.
61773 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61775         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
61776         _Unwind_GetCFA return to _Unwind_Ptr first.
61778 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
61780         [BZ #13629]
61781         * math/s_clog.c: Include <float.h>.
61782         (__clog): Scale large or subnormal inputs.
61783         * math/s_clogf.c: Likewise.
61784         * math/s_clogl.c: Likewise.
61785         * math/s_clog10.c: Include <float.h>.
61786         (M_LOG10_2): Define.
61787         (__clog10): Scale large or subnormal inputs.
61788         * math/s_clog10f.c: Likewise.
61789         * math/s_clog10l.c: Likewise.
61790         * math/libm-test.inc (clog_test): Add more tests.
61791         (clog10_test): Likewise.
61792         * sysdeps/i386/fpu/libm-test-ulps: Update.
61793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61795         [BZ #11451]
61796         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
61797         x and y.
61798         * math/libm-test.inc (atan2_test): Add another test.
61800         * Makerules (common-objdir-compile): Remove.
61801         * sysdeps/unix/Makefile (config-generated): Do not add
61802         $(unix-generated) to variable.
61803         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
61804         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
61805         Remove rule.
61806         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
61807         Likewise.
61808         [generic bits/local_lim.h] (before-compile): Do not append to
61809         variable.
61810         [generic bits/local_lim.h] (common-generated): Likewise.
61811         [generic sys/param.h] (before-compile): Do not append to variable.
61812         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
61813         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
61814         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
61815         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
61816         include.
61817         [generic sys/param.h] (sys/param.h-includes): Remove variable.
61818         [generic sys/param.h] (sys/param.h-includes): Remove rule.
61819         [generic sys/param.h] ($(addprefix
61820         $(common-objpfx),$(sys/param.h-includes))): Likewise.
61821         [generic sys/param.h] (common-generated): Do not append to
61822         variable.
61823         [generic sys/param.h] (sysdep_headers): Likewise.
61824         [generic bits/errno.h] (before-compile): Do not append to
61825         variable.
61826         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
61827         rule.
61828         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
61829         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
61830         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
61831         [generic bits/errno.h] (common-generated): Do not append to
61832         variable.
61833         [generic bits/ioctls.h] (before-compile): Do not append to
61834         variable.
61835         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
61836         rule.
61837         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
61838         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
61839         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
61840         rule.
61841         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
61842         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
61843         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
61844         [generic bits/ioctls.h] (common-generated): Do not append to
61845         variable.
61846         [generic sys/syscall.h] (syscall.h): Remove variable.
61847         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
61848         rule.
61849         [generic sys/syscall.h] (before-compile): Do not append to
61850         variable.
61851         [generic sys/syscall.h] (common-generated): Likewise.
61852         * sysdeps/unix/errnos-tmpl.c: Remove file.
61853         * sysdeps/unix/errnos.awk: Likewise.
61854         * sysdeps/unix/ioctls-tmpl.c: Likewise.
61855         * sysdeps/unix/ioctls.awk: Likewise.
61856         * sysdeps/unix/mk-local_lim.c: Likewise.
61857         * sysdeps/unix/snarf-ioctls: Likewise.
61859 2012-03-19  Richard Henderson  <rth@twiddle.net>
61861         * sysdeps/i386/fpu/fenv_private.h: New file.
61862         * sysdeps/i386/fpu/math_private.h: Use it.
61863         (math_opt_barrier, math_force_eval): Remove.
61864         (libc_feholdexcept_setround_53bit): Remove.
61865         (libc_feupdateenv_53bit): Remove.
61866         * sysdeps/x86_64/fpu/math_private.h: Likewise.
61867         (math_opt_barrier, math_force_eval): Remove.
61868         (libc_feholdexcept): Remove.
61869         (libc_feholdexcept_setround): Remove.
61870         (libc_fetestexcept, libc_fesetenv): Remove.
61871         (libc_feupdateenv_test): Remove.
61872         (libc_feupdateenv, libc_feholdsetround): Remove.
61873         (libc_feresetround): Remove.
61875         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
61876         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
61878         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
61879         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
61880         (libc_feupdateenv_testl): New.
61881         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
61882         (libc_feupdateenv_testf): New.
61883         (libc_feupdateenv): Use libc_feupdateenv_test.
61884         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
61885         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
61887         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
61888         (libc_feholdsetroundf, libc_feholdsetroundl): New.
61889         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
61890         (libc_feresetround_noex): New.
61891         (libc_feresetround_noexf): New.
61892         (libc_feresetround_noexl): New.
61893         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
61894         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
61895         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
61896         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
61897         SET_RESTORE_ROUND.
61898         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
61899         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
61900         (__cos): Likewise.
61901         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
61902         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
61903         SET_RESTORE_ROUND_NOEX.
61904         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
61905         SET_RESTORE_ROUND_NOEXF.
61906         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
61907         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
61908         (libc_feholdsetroundf): New.
61909         (libc_feresetround, libc_feresetroundf): New.
61911         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
61912         (libc_feholdexcept_setround_53bit): Convert from macro to function.
61913         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
61915         * sysdeps/generic/math_private.h: Include <fenv.h>.
61916         (default_libc_feholdexcept): New.
61917         (default_libc_feholdexcept_setround): New.
61918         (default_libc_fesetenv, default_libc_feupdateenv): New.
61919         (libc_feholdexcept): Only define if undefined.
61920         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
61921         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
61922         (libc_feholdexcept_setroundl): Likewise.
61923         (libc_feholdexcept_setround_53bit): Likewise.
61924         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
61925         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
61926         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
61927         (libc_feupdateenv_53bit): Likewise.
61928         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
61929         (libc_feholdexcept): Convert from macro to inline function.
61930         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
61931         (libc_fesetenv, libc_feupdateenv): Likewise.
61933         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
61934         not previously defined.
61935         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
61936         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
61937         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
61938         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
61939         * sysdeps/ieee754/flt-32/math_private.h: New file.
61940         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
61941         math_private.h below SET_FLOAT_WORD.
61942         (__isnan, __isinf_ns, __finite): Remove.
61943         (__isnanf, __isinf_nsf, __finitef): Remove.
61945 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
61947         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61949 2012-03-17  David S. Miller  <davem@davemloft.net>
61951         [BZ #6471]
61952         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
61953         for 2.16.
61955 2012-03-16  David S. Miller  <davem@davemloft.net>
61957         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
61958         warnings.
61960         [BZ #6471]
61961         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
61962         properly.
61963         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
61964         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
61965         sysdep_routines when subdir is sysvipc.
61966         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
61967         __getshmlba helper.
61969         * sysdeps/sparc/fpu/libm-test/ulps: Update.
61971 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
61973         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
61974         [__LP64__].
61976 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
61978         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
61979         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
61980         (__lround): Renamed to ...
61981         (__llround): This.  Replace long int with long long int.
61982         Define lround functions as aliases of llround functions.
61983         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
61985 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
61987         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
61988         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
61989         adresses to uintptr_t.  Replace "long int" and "unsigned long
61990         int" with "greg_t" on va_arg.
61992 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
61994         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
61995         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
61997         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
61998         Move e_machine check before EI_CLASS check.  Handle x32
61999         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
62000         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
62001         SKIP_EM_IA_64 and include
62002         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
62004         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
62005         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
62006         (add_system_dir): New macro.
62008         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
62009         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
62011 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
62013         [BZ #2551]
62014         [BZ #2552]
62015         [BZ #2553]
62016         [BZ #2554]
62017         [BZ #2562]
62018         [BZ #2563]
62019         [BZ #2565]
62020         [BZ #2566]
62021         [BZ #2576]
62022         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
62023         (y0): Likewise.
62024         * math/w_j0f.c (j0f): Likewise.
62025         (y0f): Likewise.
62026         * math/w_j0l.c (__j0l): Likewise.
62027         (__y0l): Likewise.
62028         * math/w_j1.c (j1): Likewise.
62029         (y1): Likewise.
62030         * math/w_j1f.c (j1f): Likewise.
62031         (y1f): Likewise.
62032         * math/w_j1l.c (__j1l): Likewise.
62033         (__y1l): Likewise.
62034         * math/w_jn.c (jn): Likewise.
62035         (yn): Likewise.
62036         * math/w_jnf.c (jnf): Likewise.
62037         (ynf): Likewise.
62038         * math/w_jnl.c (__jnl): Likewise.
62039         (__ynl): Likewise.
62040         * math/libm-test.inc (j0_test): Add more tests.
62041         (j1_test): Likewise.
62042         (jn_test): Likewise.  Add trailing semicolon to existing test.
62043         (y0_test): Likewise.
62044         (y1_test): Likewise.
62045         * sysdeps/i386/fpu/libm-test-ulps: Update.
62046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62048         [BZ #13851]
62049         [BZ #13854]
62050         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
62051         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
62052         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
62053         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
62054         (__tanl): Set errno for infinite argument.
62055         * sysdeps/i386/fpu/mptan.c: Remove.
62056         * sysdeps/i386/fpu/s_tan.S: Likewise.
62057         * sysdeps/i386/fpu/s_tanl.S: Likewise.
62058         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
62059         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
62060         * math/libm-test.inc (tan_test): Add more tests and enable more
62061         tests for double and long double.
62062         * sysdeps/i386/fpu/libm-test-ulps: Update.
62063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62065 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
62067         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
62068         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
62070 2012-03-16  Roland McGrath  <roland@hack.frob.com>
62072         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
62073         * configure.in: Use it for both main tree and add-ons.
62074         * configure: Regenerated.
62076 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
62078         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
62080 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
62082         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
62083         in comment.
62085         [BZ #13851]
62086         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
62087         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
62088         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
62089         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
62090         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
62091         infinite argument.
62092         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
62093         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
62094         != 0 for prec == 2.
62095         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
62096         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
62097         * sysdeps/i386/fpu/s_cosl.S: Likewise.
62098         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
62099         * sysdeps/i386/fpu/s_sinl.S: Likewise.
62100         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
62101         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
62102         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
62103         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
62104         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
62105         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
62106         * math/libm-test.inc (cos_test): Add more tests and enable more
62107         tests for long double.
62108         (sin_test): Likewise.
62109         (sincos_test): Likewise.
62110         * sysdeps/i386/fpu/libm-test-ulps: Update.
62111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62113 2012-03-16  David S. Miller  <davem@davemloft.net>
62115         * sysdeps/sparc/fpu/math_private.h: New file.
62117 2012-03-15  David S. Miller  <davem@davemloft.net>
62119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
62120         file.
62121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
62122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
62123         file.
62124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
62125         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
62126         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
62127         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
62128         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
62129         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
62130         sysdep routines.
62131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
62133         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
62134         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
62136         * sysdeps/sparc/sparc-ifunc.h: New file.
62137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
62138         sparc-ifunc.h
62139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
62140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
62141         Likewise.
62142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
62143         Likewise.
62144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
62145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
62146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
62147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
62148         Likewise.
62149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
62150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
62151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
62152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
62153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
62154         Likewise.
62155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
62156         Likewise.
62157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
62158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
62159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
62160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
62161         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
62162         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
62163         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
62164         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
62165         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
62166         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
62167         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
62168         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
62169         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
62170         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
62171         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
62172         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
62173         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
62174         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
62175         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
62176         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
62177         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
62178         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
62179         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
62180         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
62182 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
62184         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
62185         scaling.
62186         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62188 2012-03-15  Andreas Jaeger  <aj@suse.de>
62190         [BZ #13852]
62191         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
62192         ieee754/flt-32 implementation for sin, cos and sincos.
62193         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
62194         * sysdeps/i386/fpu/s_cosf.S: Likewise.
62195         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
62196         * sysdeps/i386/fpu/s_sinf.S: Likewise.
62197         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
62198         ieee754/flt-32 implementation for tan.
62200         * math/libm-test.inc (cos_test): Enable some large input tests for
62201         float as well
62202         (sin_test): Likewise.
62203         (sincos_test): Likewise.
62204         (tan_test): Add tests for large input.
62206         * sysdeps/i386/fpu/libm-test-ulps: Update.
62208 2012-03-15  Andreas Jaeger  <aj@suse.de>
62210         [BZ #13658]
62211         * math/libm-test.inc (cos_test): Add more test cases.
62212         (sin_test): Likewise.
62213         (sincos_test): Likewise.
62215 2012-03-15  Andreas Jaeger  <aj@suse.de>
62217         [BZ #13837]
62218         * math/libm-test.inc (cos_test): Add a test case for large input
62219         value.
62220         (sin_test): Likewise.
62221         (sincos_test): Likewise.
62223 2012-03-15  Andreas Jaeger  <aj@suse.de>
62224             Joseph Myers  <joseph@codesourcery.com>
62226         [BZ #13658]
62227         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
62228         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
62229         * sysdeps/i386/fpu/branred.c: Likewise.
62230         * sysdeps/i386/fpu/dosincos.c: Likewise.
62231         * sysdeps/i386/fpu/mpa.c: Likewise.
62232         * sysdeps/i386/fpu/s_cos.S: Likewise.
62233         * sysdeps/i386/fpu/s_sin.S: Likewise.
62234         * sysdeps/i386/fpu/s_sincos.S: Likewise.
62235         * sysdeps/i386/fpu/sincos32.c: Likewise.
62237         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
62238         Define.
62239         (libc_feupdateenv_53bit): Define.
62240         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
62241         Define.
62242         (libc_feupdateenv_53bit): Define.
62244         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
62245         53 bit (without extend i386 double precision).
62247         * math/libm-test.inc (sincos_test): Add tests for large input.
62248         (sin): Likewise.
62249         (cos): Likewise.
62251         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
62253 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
62255         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62257 2012-03-15  David S. Miller  <davem@davemloft.net>
62259         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
62260         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
62261         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
62262         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
62263         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
62264         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
62265         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
62266         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
62267         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
62268         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
62269         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
62270         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
62271         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
62272         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
62273         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
62274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
62275         file.
62276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
62277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
62278         file.
62279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
62280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
62281         file.
62282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
62283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
62284         file.
62285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
62286         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
62287         fmin/fmax sysdep routines.
62288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
62290 2012-03-14  David S. Miller  <davem@davemloft.net>
62292         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
62293         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
62294         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
62295         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
62296         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
62297         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
62298         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
62299         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
62300         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
62301         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
62302         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
62303         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
62304         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
62305         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
62306         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
62307         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
62308         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
62309         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
62310         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
62311         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
62312         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
62313         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
62314         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
62315         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
62316         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
62317         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
62318         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
62319         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
62320         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
62321         routines.
62322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
62323         file.
62324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
62325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
62326         file.
62327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
62328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
62329         file.
62330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
62331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
62332         file.
62333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
62334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
62335         file.
62336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
62337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
62338         file.
62339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
62340         file.
62341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
62342         file.
62343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
62344         file.
62345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
62346         New file.
62347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
62348         file.
62349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
62350         file.
62351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
62352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
62353         file.
62354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
62355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
62356         file.
62357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
62358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
62359         file.
62360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
62361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
62362         VIS3 routines.
62364         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
62365         New file.
62367         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62369         * sysdeps/sparc/configure.in: New file.
62370         * sysdeps/sparc/configure: Generate.
62371         * configure.in (libc_cv_sparc_as_vis3): Substitute.
62372         * configure: Regenerate.
62373         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
62374         * config.make.in (have-as-vis3): New.
62375         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
62376         available use -Av9d instead of -Av9a.
62377         * sysdeps/sparc/sparc64/Makefile: Likewise.
62378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
62379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
62380         New file.
62381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
62382         file.
62383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
62384         New file.
62385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
62386         file.
62387         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
62388         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
62389         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
62390         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
62391         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
62393         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
62394         fzeros/fnegs to load 0x80000000 into a float register instead of
62395         using the stack.
62396         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
62398 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
62400         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62401         bits/syscall.h.
62402         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
62403         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
62404         ($(inst_includedir)/bits/syscall.h): Remove rule.
62405         ($(objpfx)bits/syscall.d): Include instead of
62406         $(objpfx)syscall-list.d.
62407         (generated): Change syscall-list.h and syscall-list.d to
62408         bits/syscall.h and bits/syscall.d.
62410 2012-03-14  Roland McGrath  <roland@hack.frob.com>
62412         [BZ #13846]
62413         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
62415 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
62417         [BZ #13841]
62418         * math/s_csqrt.c: Include <float.h>.
62419         (__csqrt): Scale large or subnormal inputs.
62420         * math/s_csqrtf.c: Likewise.
62421         * math/s_csqrtl.c: Likewise.
62422         * math/libm-test.inc (csqrt_test): Add more tests.
62423         * sysdeps/i386/fpu/libm-test-ulps: Update.
62424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62426         [BZ #13840]
62427         * math/libm-test.inc (hypot_test): Add more tests.
62429 2012-03-13  David S. Miller  <davem@davemloft.net>
62431         [BZ #13840]
62432         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
62433         double-precision for the calculation instead of scaling.
62435 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
62437         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
62438         manipulate bits before adding and subtracting TWO52[sx].
62439         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
62440         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
62441         Likewise.
62442         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
62444 2012-03-13  David S. Miller  <davem@davemloft.net>
62446         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
62447         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
62448         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
62449         rtld-global-offsets.h
62450         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
62452         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
62453         large parameters.
62455         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
62457         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
62458         'err' in the ifdef scope in which it is actually used.
62460         * nss/nss_db/db-init.c: Include string.h
62462 2012-03-12  David S. Miller  <davem@davemloft.net>
62464         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
62465         masking out of the most significant byte of random value used.
62466         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62467         Fix coding style in previous change.
62469         * sysdeps/unix/sysv/linux/kernel-features.h
62470         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
62471         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
62472         expression.
62473         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
62474         later.
62476 2012-03-11  David S. Miller  <davem@davemloft.net>
62478         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
62479         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
62480         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
62481         for 'resultvar' otherwise things get truncated on 64-bit.
62483         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62484         Fix masking out of the most significant byte of random value used.
62486         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62488 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
62490         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62492 2012-03-09  David S. Miller  <davem@davemloft.net>
62494         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
62495         variables with appropriate CPP guards.
62496         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
62497         from the frame pointer, not the stack pointer.  Correct layout
62498         comments.  Fix test on resulting framesize and the management of
62499         the outregs buffer for pltexit.  Preserve floating point return
62500         values across _dl_call_pltexit call.
62501         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
62502         framesize and the management of the outregs buffer for pltexit.
62503         Preserve floating point return values across _dl_call_pltexit
62504         call.
62505         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
62506         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
62507         (la_sparc64_gnu_pltexit): New functions.
62508         (print_exit): Fix format string for return register value.
62510 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
62512         * sunrpc/Makefile (others): Add rpcgen.
62513         ($(objpfx)rpcgen): Remove special build rule and dependency on
62514         libc.
62515         * sunrpc/rpcgen.c: New file.
62517 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
62519         [BZ #13673]
62520         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
62521         * stdio-common/bug-vfprintf-nargs.c: Likewise.
62522         * sysdeps/i386/crti.S: Likewise.
62523         * sysdeps/i386/crtn.S: Likewise.
62524         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
62525         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
62526         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
62527         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
62528         * sysdeps/sh/crti.S: Likewise.
62529         * sysdeps/sh/crtn.S: Likewise.
62530         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
62532         [BZ #13673]
62533         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
62534         with URL.
62535         * locale/programs/locfile-kw.gperf: Likewise.
62536         * locale/programs/charmap-kw.h: Regenerated.
62537         * locale/programs/locfile-kw.h: Likewise.
62539         [BZ #13673]
62540         * intl/plural.y: Replace FSF snail mail address with URL.
62541         * intl/plural.c: Regenerated.
62543 2012-03-09  Richard Henderson  <rth@twiddle.net>
62545         * include/math_private.h: Remove file.
62546         * math/math_private.h: Move file ...
62547         * sysdeps/generic/math_private.h: ... here.
62549         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
62550         * sysdeps/powerpc/fpu/math_private.h: Likewise.
62551         * sysdeps/x86_64/fpu/math_private.h: Likewise.
62553         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
62554         and <math_private.h>.
62555         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
62556         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
62557         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
62558         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
62559         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
62560         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
62561         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
62562         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
62563         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
62564         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
62565         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
62566         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
62567         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
62568         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
62569         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
62570         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
62571         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
62572         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
62573         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
62574         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
62575         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62576         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
62577         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
62578         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
62579         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
62580         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
62581         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
62582         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
62583         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
62584         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
62585         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
62586         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
62587         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
62588         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
62589         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
62590         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
62591         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
62592         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
62593         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
62594         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
62595         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
62596         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
62597         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
62598         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
62599         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
62600         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
62601         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
62602         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
62603         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
62604         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
62605         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
62606         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
62607         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
62608         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
62609         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
62610         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
62611         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
62612         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
62613         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
62614         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
62615         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62616         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
62617         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
62618         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
62619         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
62620         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
62621         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
62622         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
62623         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
62624         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
62625         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
62626         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
62627         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
62628         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
62629         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
62630         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
62631         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
62632         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
62633         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
62634         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
62635         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
62636         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
62637         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
62638         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
62639         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
62640         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
62641         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
62642         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
62643         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
62644         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
62645         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
62646         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
62647         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
62648         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
62649         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
62650         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
62651         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
62652         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
62653         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
62654         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
62655         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
62656         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
62657         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
62658         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
62659         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
62660         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
62661         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
62662         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
62663         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
62664         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
62665         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
62666         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
62667         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
62668         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
62669         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
62670         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
62671         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
62672         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
62673         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
62674         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
62675         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
62676         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
62677         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
62678         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
62679         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
62680         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
62681         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
62682         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
62683         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
62684         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
62685         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
62686         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
62687         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
62688         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
62689         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
62690         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
62691         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
62692         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
62693         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
62694         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
62695         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
62696         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
62697         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
62698         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
62699         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
62700         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
62701         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
62702         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
62703         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
62704         * sysdeps/ieee754/k_standard.c: Likewise.
62705         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
62706         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
62707         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
62708         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
62709         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
62710         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
62711         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
62712         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
62713         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
62714         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
62715         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
62716         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
62717         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
62718         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
62719         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
62720         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
62721         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
62722         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
62723         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
62724         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
62725         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
62726         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
62727         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
62728         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
62729         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
62730         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
62731         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
62732         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
62733         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
62734         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
62735         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
62736         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
62737         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
62738         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
62739         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
62740         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
62741         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
62742         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
62743         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
62744         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
62745         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
62746         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
62747         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
62748         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
62749         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
62750         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
62751         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
62752         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
62753         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
62754         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
62755         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
62756         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
62757         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
62758         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
62759         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
62760         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
62761         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
62762         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
62763         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
62764         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
62765         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
62766         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
62767         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
62768         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
62769         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
62770         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
62771         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
62772         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
62773         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
62774         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
62775         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
62776         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
62777         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
62778         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
62779         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
62780         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
62781         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
62782         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
62783         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
62784         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
62785         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
62786         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
62787         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
62788         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
62789         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
62790         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
62791         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
62792         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
62793         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
62794         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
62795         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
62796         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
62797         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
62798         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
62799         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
62800         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
62801         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
62802         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
62803         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
62804         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
62805         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
62806         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
62807         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
62808         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
62809         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
62810         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
62811         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
62812         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
62813         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
62814         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
62815         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
62816         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
62817         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
62818         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
62819         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
62820         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
62821         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
62822         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
62823         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
62824         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
62825         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
62826         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
62827         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
62828         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
62829         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
62830         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
62831         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
62832         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
62833         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
62834         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
62835         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
62836         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
62837         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
62838         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
62839         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
62840         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
62841         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
62842         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
62843         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
62844         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
62845         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
62846         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
62847         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
62848         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
62849         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
62850         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
62851         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
62852         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
62853         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
62854         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
62855         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
62856         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
62857         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
62858         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
62859         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
62860         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
62861         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
62862         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
62863         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
62864         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
62865         * sysdeps/ieee754/s_lib_version.c: Likewise.
62866         * sysdeps/ieee754/s_matherr.c: Likewise.
62867         * sysdeps/ieee754/s_signgam.c: Likewise.
62868         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
62869         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
62870         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
62871         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
62872         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
62873         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
62874         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
62875         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
62876         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
62877         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
62878         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
62879         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
62880         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
62881         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
62882         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
62883         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
62884         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
62885         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
62886         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
62887         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
62888         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
62890 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
62892         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
62893         * sunrpc/rpc_main.c: Likewise.
62894         * sunrpc/rpc_svcout.c: Likewise.
62896 2012-03-09  David S. Miller  <davem@davemloft.net>
62898         * include/math_private.h: New file.
62900 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
62902         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
62903         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
62904         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
62905         from <bits/socket_type.h>.
62906         (enum __socket_type): Don't define here.
62907         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
62908         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62909         bits/socket_type.h.
62911         [BZ #13566]
62912         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
62913         checking __USE_GNU.
62915         * Makerules ($(inst_includedir)/%.h): New rule.
62916         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
62917         (install-others): Remove variable setting.
62918         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
62920 2012-03-08  Richard Henderson  <rth@twiddle.net>
62922         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
62923         from macro to inline function; merge with the
62924         !__LIBC_INTERNAL_MATH_INLINES version.
62925         (__ieee754_sqrtf): Likewise.
62927         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
62928         to inline function.
62929         (__rintf, __floor, __floorf): Likewise.
62931         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
62932         macro to inline function.
62933         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
62935         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
62936         not <math/math_private.h>.
62938 2012-03-08  David S. Miller  <davem@davemloft.net>
62940         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
62941         copyright year.
62942         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
62944 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
62946         * resolv/gai_misc.c (handle_requests): Fix struct timespec
62947         normalization.
62948         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
62949         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
62951 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
62953         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
62954         be defined individually, they must be defined as a block.  Define
62955         S for printing a string instead of hidint the different by using a
62956         macro for adding the 'l'.
62957         * stdio-common/tst-fphex-wide.c: Adjust.
62959 2012-03-07  Marek Polacek  <polacek@redhat.com>
62961         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
62963 2012-03-08  Marek Polacek  <polacek@redhat.com>
62965         [BZ #13806]
62966         * stdio-common/Makefile (tests): Add tst-fphex-wide.
62967         * stdio-common/tst-fphex.c: Define a few macros to make the
62968         test reusable.  Use them.
62969         * stdio-common/tst-fphex-wide.c: New file.
62971 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
62973         [BZ #6911]
62974         * manual/macros.texi (gnusystems): New macro.
62975         (nongnusystems): Likewise.
62976         (gnulinuxhurdsystems): Likewise.
62977         (gnuhurdsystems): Likewise..
62978         (gnulinuxsystems): Likewise.
62979         * manual/charset.texi: Use new macros or @theglibc{} to refer to
62980         variants of the GNU system, not "GNU system".
62981         * manual/conf.texi: Likewise.
62982         * manual/errno.texi: Likewise.  Update example of errno macro
62983         expansion.
62984         * manual/filesys.texi: Likewise.
62985         (getumask): Document as specific to GNU/Hurd.
62986         * manual/install.texi: Likewise.  Reword some references to
62987         GNU/Linux.
62988         * manual/intro.texi: Likewise.
62989         * manual/io.texi: Likewise.
62990         (File Name Portability): Detail which constraints are inapplicable
62991         to all GNU systems and which are only inapplicable to GNU/Hurd.
62992         * manual/job.texi: Likewise.
62993         * manual/llio.texi: Likewise.
62994         (O_NOCTTY): Document as present on GNU/Linux.
62995         * manual/maint.texi: Likewise.
62996         * manual/memory.texi: Likewise.
62997         * manual/pattern.texi: Likewise.
62998         * manual/pipe.texi: Likewise.
62999         * manual/process.texi: Likewise.
63000         * manual/resource.texi: Likewise.
63001         (RUSAGE_CHILDREN): Remove statement about specifying a particular
63002         child on GNU/Hurd.
63003         * manual/setjmp.texi: Likewise.
63004         * manual/signal.texi: Likewise.
63005         * manual/startup.texi: Likewise.
63006         * manual/stdio.texi: Likewise.
63007         * manual/terminal.texi: Likewise.
63008         (ONLCR): Document as POSIX.
63009         (OXTABS): Document availability on GNU/Linux as XTABS.
63010         (ONOEOT): Document availability separately from other bits.
63011         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
63012         * manual/time.texi: Likewise.
63013         * manual/users.texi: Likewise.
63014         * INSTALL: Regenerated.
63015         * sysdeps/gnu/errlist.c: Regenerated.
63017         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
63018         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
63019         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
63020         puts.
63021         * configure: Regenerated.
63023 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
63025         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
63026         default includes instead of AC_HEADER_CHECK.
63027         * sysdeps/i386/configure: Regenerated.
63029         [BZ #10716]
63030         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
63031         * math/s_cacoshf.c (__cacoshf): Likewise.
63032         * math/s_cacoshl.c (__cacoshl): Likewise.
63033         * math/s_casinh.c (__casinh): Set signs of result from argument.
63034         * math/s_casinhf.c (__casinhf): Likewise.
63035         * math/s_casinhl.c (__casinhl): Likewise.
63036         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
63037         (casinh_test): Add more tests.
63038         * sysdeps/i386/fpu/libm-test-ulps: Update.
63039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63041 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
63043         * po/zh_TW.po: Update from translation team.
63045         * login/Makefile (distribute): Remove variable.
63046         * catgets/Makefile: Likewise.
63047         * mach/Makefile: Likewise.
63048         * malloc/Makefile: Likewise.
63049         * misc/Makefile: Likewise.
63050         * iconv/Makefile: Likewise.
63051         * nscd/Makefile: Likewise.
63052         * hurd/Makefile: Likewise.
63053         * manual/Makefile: Likewise.
63054         * locale/Makefile: Likewise.
63055         * intl/Makefile: Likewise.
63056         * conform/Makefile: Likewise.
63057         * nss/Makefile: Likewise.
63058         * time/Makefile: Likewise.
63059         * soft-fp/Makefile: Likewise.
63060         * dirent/Makefile: Likewise.
63061         * gmon/Makefile: Likewise.
63062         * po/Makefile: Likewise.
63063         * rt/Makefile: Likewise.
63064         * socket/Makefile: Likewise.
63065         * math/Makefile: Likewise.
63066         * signal/Makefile: Likewise.
63067         * debug/Makefile: Likewise.
63068         * elf/Makefile: Likewise.
63069         * timezone/Makefile: Likewise.
63070         * stdlib/Makefile: Likewise.
63071         * iconvdata/Makefile: Likewise.
63072         * sunrpc/Makefile: Likewise.
63073         * io/Makefile: Likewise.
63074         * argp/Makefile: Likewise.
63075         * inet/Makefile: Likewise.
63076         * hesiod/Makefile: Likewise.
63077         * grp/Makefile: Likewise.
63078         * csu/Makefile: Likewise.
63079         * wctype/Makefile: Likewise.
63080         * crypt/Makefile: Likewise.
63081         * libio/Makefile: Likewise.
63082         * string/Makefile: Likewise.
63083         * nis/Makefile: Likewise.
63084         * resolv/Makefile: Likewise.
63085         * stdio-common/Makefile: Likewise.
63086         * wcsmbs/Makefile: Likewise.
63087         * dlfcn/Makefile: Likewise.
63088         * posix/Makefile: Likewise.
63090         [BZ #6959]
63091         * timezone/Makefile: Don't install timezone files, just the programs
63092         and scripts.
63094 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
63096         * nss/databases.def: Add missing gshadow entry.
63098         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
63100 2012-03-06  Marek Polacek  <polacek@redhat.com>
63102         [BZ #13726]
63103         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
63104         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
63105         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
63106         * stdio-common/tst-long-dbl-fphex.c: New file.
63108 2012-03-06  David S. Miller  <davem@davemloft.net>
63110         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
63111         (set_obp_int): New function.
63112         (get_obp_int): New function.
63113         (__get_clockfreq_via_dev_openprom): Likewise.
63114         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
63115         Avoid unused variable warnings on 'val' and use builtin_expect.
63116         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
63117         __builtin_expect.
63118         (INLINE_CLONE_SYSCALL): Likewise.
63120 2012-03-05  David S. Miller  <davem@davemloft.net>
63122         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63124 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
63126         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63128         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
63129         only for |x| >= 40.
63130         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
63132 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
63134         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
63135         Replace gettimeofday with __vdso_gettimeofday.
63137         * sysdeps/unix/sysv/linux/x86_64/init-first.c
63138         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
63139         __vdso_clock_gettime and __vdso_getcpu.
63141         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
63142         time with __vdso_time.
63144 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
63146         * manual/lang.texi (size_t): Note types to which size_t may be
63147         equivalent with the GNU C Library, but do not describe when
63148         differences between them are significant.
63150 2012-03-05  Andreas Jaeger  <aj@suse.de>
63152         * sysdeps/i386/fpu/libm-test-ulps: Update.
63154 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
63156         [BZ #3976]
63157         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
63158         (__ieee754_pow): Save and restore rounding mode and use
63159         round-to-nearest for main computations.
63160         * math/libm-test.inc (pow_test_tonearest): New function.
63161         (pow_test_towardzero): Likewise.
63162         (pow_test_downward): Likewise.
63163         (pow_test_upward): Likewise.
63164         (main): Call the new functions.
63165         * sysdeps/i386/fpu/libm-test-ulps: Update.
63166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63168         [BZ #3976]
63169         * math/libm-test.inc (cosh_test_tonearest): New function.
63170         (cosh_test_towardzero): Likewise.
63171         (cosh_test_downward): Likewise.
63172         (cosh_test_upward): Likewise.
63173         (sinh_test_tonearest): Likewise.
63174         (sinh_test_towardzero): Likewise.
63175         (sinh_test_downward): Likewise.
63176         (sinh_test_upward): Likewise.
63177         (main): Call the new functions.
63178         * sysdeps/i386/fpu/libm-test-ulps: Update.
63179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63181 2012-03-05  Tom de Vries  <tom@codesourcery.com>
63183         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
63184         default stack guard is set in last bytes.
63185         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
63187 2012-03-05  Kees Cook  <keescook@chromium.org>
63189         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
63191         [BZ #13656]
63192         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
63193         possibly allocate from heap instead of stack.
63194         * stdio-common/bug-vfprintf-nargs.c: New file.
63195         * stdio-common/Makefile (tests): Add nargs overflow test.
63197 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
63199         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63201 2012-03-03  Marek Polacek  <polacek@redhat.com>
63203         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
63204         * math/math_private.h: Likewise.
63205         * stdlib/tst-strtod.c: Likewise.
63206         * sysdeps/i386/i486/bits/atomic.h: Likewise.
63207         * sysdeps/x86_64/bits/atomic.h: Likewise.
63209 2012-03-02  David S. Miller  <davem@davemloft.net>
63211         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
63212         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
63213         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
63214         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
63215         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
63216         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
63217         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
63218         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
63220 2012-03-02  Roland McGrath  <roland@hack.frob.com>
63222         [BZ #13792]
63223         * manual/examples/README: New file, says the example source files
63224         can be used under GPL>=2.
63225         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
63226         line containing just "*/".
63227         * manual/examples/add.c: Add copyright header (GPL>=2).
63228         * manual/examples/argp-ex1.c: Likewise.
63229         * manual/examples/argp-ex2.c: Likewise.
63230         * manual/examples/argp-ex3.c: Likewise.
63231         * manual/examples/argp-ex4.c: Likewise.
63232         * manual/examples/atexit.c: Likewise.
63233         * manual/examples/db.c: Likewise.
63234         * manual/examples/dir.c: Likewise.
63235         * manual/examples/dir2.c: Likewise.
63236         * manual/examples/execinfo.c: Likewise.
63237         * manual/examples/filecli.c: Likewise.
63238         * manual/examples/filesrv.c: Likewise.
63239         * manual/examples/fmtmsgexpl.c: Likewise.
63240         * manual/examples/genpass.c: Likewise.
63241         * manual/examples/inetcli.c: Likewise.
63242         * manual/examples/inetsrv.c: Likewise.
63243         * manual/examples/isockad.c: Likewise.
63244         * manual/examples/longopt.c: Likewise.
63245         * manual/examples/memopen.c: Likewise.
63246         * manual/examples/memstrm.c: Likewise.
63247         * manual/examples/mkfsock.c: Likewise.
63248         * manual/examples/mkisock.c: Likewise.
63249         * manual/examples/mygetpass.c: Likewise.
63250         * manual/examples/pipe.c: Likewise.
63251         * manual/examples/popen.c: Likewise.
63252         * manual/examples/rprintf.c: Likewise.
63253         * manual/examples/search.c: Likewise.
63254         * manual/examples/select.c: Likewise.
63255         * manual/examples/setjmp.c: Likewise.
63256         * manual/examples/sigh1.c: Likewise.
63257         * manual/examples/sigusr.c: Likewise.
63258         * manual/examples/stpcpy.c: Likewise.
63259         * manual/examples/strdupa.c: Likewise.
63260         * manual/examples/strftim.c: Likewise.
63261         * manual/examples/strncat.c: Likewise.
63262         * manual/examples/subopt.c: Likewise.
63263         * manual/examples/swapcontext.c: Likewise.
63264         * manual/examples/termios.c: Likewise.
63265         * manual/examples/testopt.c: Likewise.
63266         * manual/examples/testpass.c: Likewise.
63267         * manual/examples/timeval_subtract.c: Likewise.
63269         [BZ #13792]
63270         * manual/time.texi (Elapsed Time): Move timeval_subtract example
63271         function to ...
63272         * manual/timeval_subtract.c.texi: ... here, new file.
63274 2012-03-02  David S. Miller  <davem@davemloft.net>
63276         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
63278 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
63280         [BZ #3976]
63281         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
63282         (__sin): Save and restore rounding mode and use round-to-nearest
63283         for all computations.
63284         (__cos): Save and restore rounding mode and use round-to-nearest
63285         for all computations.
63286         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
63287         <fenv.h>.
63288         (tan): Save and restore rounding mode and use round-to-nearest for
63289         all computations.
63290         * math/libm-test.inc (cos_test_tonearest): New function.
63291         (cos_test_towardzero): Likewise.
63292         (cos_test_downward): Likewise.
63293         (cos_test_upward): Likewise.
63294         (sin_test_tonearest): Likewise.
63295         (sin_test_towardzero): Likewise.
63296         (sin_test_downward): Likewise.
63297         (sin_test_upward): Likewise.
63298         (tan_test_tonearest): Likewise.
63299         (tan_test_towardzero): Likewise.
63300         (tan_test_downward): Likewise.
63301         (tan_test_upward): Likewise.
63302         (main): Call the new functions.
63303         * sysdeps/i386/fpu/libm-test-ulps: Update.
63304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63306         [BZ #10135]
63307         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
63308         small n, then large n, before computing and testing k+n.
63309         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
63310         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
63311         Likewise.
63312         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
63313         Likewise.
63314         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
63315         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
63316         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
63317         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
63318         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
63319         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
63320         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
63321         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
63322         * math/libm-test.inc (scalbn_test): Add more tests.
63323         (scalbln_test): Likewise.
63325         * manual/filesys.texi (mode_t): Describe constraints on size and
63326         signedness, not exact equivalence to a particular type.
63327         (ino_t): Likewise.
63328         (ino64_t): Likewise.
63329         (dev_t): Likewise.
63330         (nlink_t): Likewise.
63331         (blkcnt_t): Likewise.
63332         (blkcnt64_t): Likewise.
63333         * manual/llio.texi (off_t): Likewise.
63335         [BZ #3976]
63336         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
63337         (__ieee754_exp): Save and restore rounding mode and use
63338         round-to-nearest for all computations.
63339         * math/libm-test.inc (exp_test_tonearest): New function.
63340         (exp_test_towardzero): Likewise.
63341         (exp_test_downward): Likewise.
63342         (exp_test_upward): Likewise.
63343         (main): Call the new functions.
63344         * sysdeps/i386/fpu/libm-test-ulps: Update.
63345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63347 2012-03-01  Chris Demetriou  <cgd@google.com>
63349         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
63350         have predictable order.
63352 2012-03-01  David S. Miller  <davem@davemloft.net>
63354         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
63356         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
63357         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
63358         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
63359         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
63361         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
63362         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
63363         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
63364         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
63365         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
63366         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
63367         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
63368         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
63369         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
63371         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63373         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
63374         * sysdeps/sparc/fpu/libm-test-ulps: to here.
63375         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
63377         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
63378         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
63379         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
63380         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
63381         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
63382         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
63383         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
63384         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
63385         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
63386         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
63387         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
63388         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
63389         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
63390         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
63391         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
63392         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
63393         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
63394         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
63395         * sysdeps/sparc/elf/configure: Regenerated.
63397 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
63399         * configure.in (AS, LD): Require binutils 2.20 or later.
63400         * configure: Regenerated.
63401         * manual/install.texi (Tools for Compilation): Give binutils 2.20
63402         as required minimum version.
63403         * INSTALL: Regenerated.
63405         [BZ #2541]
63406         [BZ #4108]
63407         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
63408         before squaring exponent.
63409         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
63410         bottom long double and 27 bits of top long double before squaring
63411         exponent.
63412         * math/libm-test.inc (erfc_test): Add more tests.
63413         * sysdeps/i386/fpu/libm-test-ulps: Update.
63414         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
63415         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63417 2012-03-01  Kai Tietz  <ktietz@redhat.com>
63419         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
63420         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
63421         containing bit-fields.
63422         * soft-fp/extended.h (_FP_UNION_E): Likewise.
63423         * soft-fp/single.h (_FP_UNION_S): Likewise.
63424         * soft-fp/double.h (_FP_UNION_D): Likewise.
63426 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
63428         [BZ #13786]
63429         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
63430         not include ../strcmp.S.
63431         [USE_AS_STRNCASECMP_L]: Likewise.
63432         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
63433         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
63434         * sysdeps/i386/i686/multiarch/strncase_l-c.c
63435         (__strncasecmp_l_ia32): Define as alias to
63436         __strncasecmp_l_nonascii.
63438         [BZ #5794]
63439         * math/libm-test.inc (expm1_test): Add test for bug 5794.
63440         * sysdeps/i386/fpu/libm-test-ulps: Update.
63441         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63443         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
63444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63446 2012-02-29  Jeff Law  <law@redhat.com>
63448         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
63449         out of bounds read.
63451 2012-02-29  Marek Polacek  <polacek@redhat.com>
63453         [BZ #13706]
63454         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
63455         * elf/Makefile: Add rules to run tst-unused-dep.out.
63457 2012-02-28  David S. Miller  <davem@davemloft.net>
63459         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
63460         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
63461         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
63462         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
63463         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
63464         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
63466 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
63468         * math/libm-test.inc (llround_test): Move one test from
63469         lround_test.  Use TEST_f_L in moved test.
63470         (lround_test): Move misplaced test to llround_test.  Add testcase
63471         from bug 2561.
63473 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
63475         * sysdeps/x86_64/fpu/e_expf.S: New file.
63476         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
63478 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
63480         [BZ #13637]
63481         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
63482         of remain_len that may cause incomplete multi-byte character and
63483         false match.
63484         * posix/bug-regex33.c: New file.
63485         * posix/Makefile (tests): Add bug-regex33.
63487 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
63489         * manual/macros.texi: New file.
63490         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
63491         * manual/libc.texinfo: Include macros.texi.
63492         * manual/creatute.texi: Likewise.
63493         * manual/install.texi: Likewise.
63494         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
63495         @glibcadj{} in references to the GNU C Library.
63496         * manual/charset.texi: Likewise.
63497         * manual/conf.texi: Likewise.
63498         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
63499         when not using those macros.
63500         * manual/creature.texi: Likewise.
63501         * manual/crypt.texi: Likewise.
63502         * manual/errno.texi: Likewise.
63503         * manual/filesys.texi: Likewise.
63504         * manual/header.texi: Likewise.
63505         * manual/install.texi: Likewise.
63506         * manual/intro.texi: Likewise.
63507         * manual/io.texi: Likewise.
63508         * manual/job.texi: Likewise.
63509         * manual/lang.texi: Likewise.
63510         * manual/libc.texiinfo: Likewise.
63511         * manual/llio.texi: Likewise.
63512         * manual/locale.texi: Likewise.
63513         * manual/maint.texi: Likewise.
63514         * manual/math.texi: Likewise.
63515         * manual/memory.texi: Likewise.
63516         * manual/message.texi: Likewise.
63517         * manual/nss.texi: Likewise.
63518         * manual/pattern.texi: Likewise.
63519         * manual/process.texi: Likewise.
63520         * manual/resource.texi: Likewise.
63521         * manual/search.texi: Likewise.
63522         * manual/setjmp.texi: Likewise.
63523         * manual/signal.texi: Likewise.
63524         * manual/socket.texi: Likewise.
63525         * manual/startup.texi: Likewise.
63526         * manual/stdio.texi: Likewise.
63527         * manual/string.texi: Likewise.
63528         * manual/sysinfo.texi: Likewise.
63529         * manual/syslog.texi: Likewise.
63530         * manual/terminal.texi: Likewise.
63531         * manual/time.texi: Likewise.
63532         * manual/users.texi: Likewise.
63533         * INSTALL: Regenerated.
63534         * NOTES: Regenerated.
63535         * sysdeps/gnu/errlist.c: Regenerated.
63537 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
63539         * include/dirent.h: Include <dirstream.h> before
63540         <dirent/dirent.h>.
63542 2012-02-28  David S. Miller  <davem@davemloft.net>
63544         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
63545         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
63546         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
63547         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
63549 2012-02-27  David S. Miller  <davem@davemloft.net>
63551         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
63552         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
63553         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
63554         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
63556         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
63557         frame pointer instead of stack pointer relative arg slot.
63558         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
63559         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
63560         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
63562 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
63564         [BZ #3992]
63565         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
63567 2012-02-27  David S. Miller  <davem@davemloft.net>
63569         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
63570         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
63571         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
63572         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
63573         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
63574         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
63575         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
63576         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
63578 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
63580         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
63581         later.  Allow versions 5-9.
63582         * configure: Regenerated.
63583         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
63584         required minimum version and 4.6 as recommended version.  Do not
63585         mention bugs in GCC 2.7 and 2.8.
63586         * INSTALL: Regenerated.
63588 2012-02-27  David S. Miller  <davem@davemloft.net>
63590         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
63591         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
63592         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
63593         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
63594         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
63595         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
63596         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
63597         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
63599         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
63600         manipulate bits before adding and subtracting TWO112[sx].
63601         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
63603 2012-02-27  Roland McGrath  <roland@hack.frob.com>
63605         [BZ #13775]
63606         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
63607         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
63608         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
63609         being in POSIX, because they are in 1003.1-2008.
63611         * rt/tst-aio.c: Include <fcntl.h>.
63612         * rt/tst-aio7.c: Likewise.
63613         * rt/tst-aio64.c: Likewise.
63615         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
63617 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
63619         * manual/install.texi (--with-headers): Describe headers as
63620         interface headers, not private headers.
63621         (Specific advice for GNU/Linux systems): Describe use of headers
63622         from "make headers_install", not private headers from older
63623         kernels.
63624         * INSTALL: Regenerated.
63625         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
63626         Change to 2.6.19.
63627         * sysdeps/unix/sysv/linux/configure: Regenerated.
63629         * manual/llio.texi (fclean): Remove documentation.
63631         * manual/Makefile (libc-texi-generated): New variable.  Include
63632         version.texi.
63633         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
63634         $(libc-texi-generated), not duplicated list of files.
63635         (version.texi, stamp-version): New rules.
63636         (realclean): Remove $(libc-texi-generated), not individual files
63637         from that list.  Do not remove dir-add.texinfo.
63638         * manual/libc.texinfo: Comment out uses of edition numbers and
63639         references to printed manual.  Remove last-updated dates.
63640         (EDITION): Comment out.
63641         (ISBN): Likewise.
63642         (VERSION, UPDATED): Remove.
63643         (version.texi): Include.
63645 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
63647         * sysdeps/posix/spawni.c: Include <signal.h>.
63648         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
63649         * sysdeps/pthread/aio_fsync.c: Likewise.
63651 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
63653         * conform/Makefile (tests): Run only when not cross-compiling and
63654         when fast-check is not defined.
63656         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
63657         * conform/data/limits.h-data: Fixes for POSIX2008.
63658         * conform/run-conformtest.sh: Run all tests.
63659         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
63660         headers.
63661         * include/bits/dlfcn.h: Likewise.
63662         * include/langinfo.h: Likewise.
63663         * include/monetary.h: Likewise.
63664         * include/sys/poll.h: Likewise.
63666         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
63667         for __USE_GNU.
63668         * posix/spawn.h: Define __need_sigset_t.
63669         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
63670         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
63671         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
63672         to get sigevent_t only.
63673         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
63674         only for __USE_GNU.
63675         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
63676         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
63677         process_vm_writev only for __USE_GNU.
63678         * termios/termios.h: Declare tcgetsid also for POSIX2008.
63680         * conform/Makefile: For now ignore errors from run-conformtest.
63681         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
63682         POSIX to avoid namespace pollution.  Don't prepend headers.
63683         * conform/data/aio.h-data: Fixes for POSIX testing.
63684         * conform/data/fcntl.h-data: Likewise.
63685         * conform/data/glob.h-data: Likewise.
63686         * conform/data/grp.h-data: Likewise.
63687         * conform/data/pthread.h-data: Likewise.
63688         * conform/data/pwd.h-data: Likewise.
63689         * conform/data/signal.h-data: Likewise.
63690         * conform/data/spawn.h-data: Likewise.
63691         * conform/data/stdio.h-data: Likewise.
63692         * conform/data/stdlib.h-data: Likewise.
63693         * conform/data/stropts.h-data: Likewise.
63694         * conform/data/sys/mman.h-data: Likewise.
63695         * conform/data/sys/stat.h-data: Likewise.
63696         * conform/data/sys/types.h-data: Likewise.
63697         * conform/data/sys/wait.h-data: Likewise.
63698         * conform/data/time.h-data: Likewise.
63699         * conform/data/unistd.h-data: Likewise.
63700         * conform/data/utime.h-data: Likewise.
63702         * io/sys/stat.h: fchmod was always in POSIX.
63703         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
63704         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
63705         * rt/aio.h: Define __need_timespec before including <time.h>.
63706         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
63707         struct.  Add forward declaration of pthread_attr_t and use it in
63708         sigevent.
63709         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
63710         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
63711         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
63712         always remove CLK_TCK definition.
63714 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
63716         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
63718 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
63720         * conform/run-conformtest.sh: New file.
63721         * conform/Makefile: Run run-conformtest for tests.
63722         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
63723         support.
63725         * conform/data/uchar.h-data: New file.
63726         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
63727         * conform/data/arpa/inet.h-data: Likewise.
63728         * conform/data/assert.h-data: Likewise.
63729         * conform/data/complex.h-data: Likewise.
63730         * conform/data/cpio.h-data: Likewise.
63731         * conform/data/ctype.h-data: Likewise.
63732         * conform/data/dirent.h-data: Likewise.
63733         * conform/data/dlfcn.h-data: Likewise.
63734         * conform/data/errno.h-data: Likewise.
63735         * conform/data/fcntl.h-data: Likewise.
63736         * conform/data/float.h-data: Likewise.
63737         * conform/data/fmtmsg.h-data: Likewise.
63738         * conform/data/fnmatch.h-data: Likewise.
63739         * conform/data/ftw.h-data: Likewise.
63740         * conform/data/glob.h-data: Likewise.
63741         * conform/data/grp.h-data: Likewise.
63742         * conform/data/iconv.h-data: Likewise.
63743         * conform/data/inttypes.h-data: Likewise.
63744         * conform/data/langinfo.h-data: Likewise.
63745         * conform/data/libgen.h-data: Likewise.
63746         * conform/data/limits.h-data: Likewise.
63747         * conform/data/locale.h-data: Likewise.
63748         * conform/data/math.h-data: Likewise.
63749         * conform/data/monetary.h-data: Likewise.
63750         * conform/data/mqueue.h-data: Likewise.
63751         * conform/data/ndbm.h-data: Likewise.
63752         * conform/data/net/if.h-data: Likewise.
63753         * conform/data/netdb.h-data: Likewise.
63754         * conform/data/netinet/in.h-data: Likewise.
63755         * conform/data/nl_types.h-data: Likewise.
63756         * conform/data/poll.h-data: Likewise.
63757         * conform/data/pthread.h-data: Likewise.
63758         * conform/data/pwd.h-data: Likewise.
63759         * conform/data/regex.h-data: Likewise.
63760         * conform/data/sched.h-data: Likewise.
63761         * conform/data/search.h-data: Likewise.
63762         * conform/data/semaphore.h-data: Likewise.
63763         * conform/data/setjmp.h-data: Likewise.
63764         * conform/data/signal.h-data: Likewise.
63765         * conform/data/spawn.h-data: Likewise.
63766         * conform/data/stdarg.h-data: Likewise.
63767         * conform/data/stdio.h-data: Likewise.
63768         * conform/data/stdlib.h-data: Likewise.
63769         * conform/data/string.h-data: Likewise.
63770         * conform/data/strings.h-data: Likewise.
63771         * conform/data/stropts.h-data: Likewise.
63772         * conform/data/sys/ipc.h-data: Likewise.
63773         * conform/data/sys/mman.h-data: Likewise.
63774         * conform/data/sys/msg.h-data: Likewise.
63775         * conform/data/sys/resource.h-data: Likewise.
63776         * conform/data/sys/select.h-data: Likewise.
63777         * conform/data/sys/sem.h-data: Likewise.
63778         * conform/data/sys/shm.h-data: Likewise.
63779         * conform/data/sys/socket.h-data: Likewise.
63780         * conform/data/sys/stat.h-data: Likewise.
63781         * conform/data/sys/statvfs.h-data: Likewise.
63782         * conform/data/sys/time.h-data: Likewise.
63783         * conform/data/sys/timeb.h-data: Likewise.
63784         * conform/data/sys/times.h-data: Likewise.
63785         * conform/data/sys/types.h-data: Likewise.
63786         * conform/data/sys/uio.h-data: Likewise.
63787         * conform/data/sys/un.h-data: Likewise.
63788         * conform/data/sys/utsname.h-data: Likewise.
63789         * conform/data/sys/wait.h-data: Likewise.
63790         * conform/data/syslog.h-data: Likewise.
63791         * conform/data/tar.h-data: Likewise.
63792         * conform/data/termios.h-data: Likewise.
63793         * conform/data/utime.h-data: Likewise.
63794         * conform/data/utmpx.h-data: Likewise.
63795         * conform/data/varargs.h-data: Likewise.
63796         * conform/data/wchar.h-data: Likewise.
63797         * conform/data/wctype.h-data: Likewise.
63798         * conform/data/wordexp.h-data: Likewise.
63800         * include/stropts.h: New file.
63801         * include/uchar.h: New file.
63802         * include/aio.h: Changes to allow conformtest.pl to use the headers.
63803         * include/assert.h: Likewise.
63804         * include/ctype.h: Likewise.
63805         * include/dirent.h: Likewise.
63806         * include/dlfcn.h: Likewise.
63807         * include/fcntl.h: Likewise.
63808         * include/fnmatch.h: Likewise.
63809         * include/glob.h: Likewise.
63810         * include/grp.h: Likewise.
63811         * include/libio.h: Likewise.
63812         * include/locale.h: Likewise.
63813         * include/math.h: Likewise.
63814         * include/net/if.h: Likewise.
63815         * include/netdb.h: Likewise.
63816         * include/netinet/in.h: Likewise.
63817         * include/pthread.h: Likewise.
63818         * include/pwd.h: Likewise.
63819         * include/regex.h: Likewise.
63820         * include/sched.h: Likewise.
63821         * include/search.h: Likewise.
63822         * include/setjmp.h: Likewise.
63823         * include/signal.h: Likewise.
63824         * include/stdio.h: Likewise.
63825         * include/stdlib.h: Likewise.
63826         * include/string.h: Likewise.
63827         * include/sys/cdefs.h: Likewise.
63828         * include/sys/mman.h: Likewise.
63829         * include/sys/msg.h: Likewise.
63830         * include/sys/resource.h: Likewise.
63831         * include/sys/select.h: Likewise.
63832         * include/sys/socket.h: Likewise.
63833         * include/sys/stat.h: Likewise.
63834         * include/sys/statvfs.h: Likewise.
63835         * include/sys/time.h: Likewise.
63836         * include/sys/times.h: Likewise.
63837         * include/sys/uio.h: Likewise.
63838         * include/sys/utsname.h: Likewise.
63839         * include/sys/wait.h: Likewise.
63840         * include/termios.h: Likewise.
63841         * include/time.h: Likewise.
63842         * include/ulimit.h: Likewise.
63843         * include/unistd.h: Likewise.
63844         * include/utime.h: Likewise.
63845         * include/wchar.h: Likewise.
63846         * include/wctype.h: Likewise.
63847         * include/wordexp.h: Likewise.
63849         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
63851         * time/time.h: TIME_UTC must be a macro.
63852         Make timespec_get available for ISO C11 only as well.
63854 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
63856         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
63857         Reported by Peng Haitao <penght@cn.fujitsu.com>.
63859 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
63861         * configure.in: Use -o not -a in test for unsupported multi-arch.
63863 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
63865         * manual/texinfo.tex: Update to version 2012-01-19.16.
63867 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
63869         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
63871 2012-02-24  Roland McGrath  <roland@hack.frob.com>
63873         [BZ #13738]
63874         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
63875         * manual/fdl-1.3.texi: New file.
63876         * manual/fdl-1.1.texi: File removed.
63878         [BZ #13738]
63879         * manual/libc.texinfo (FDL_VERSION): New @set.
63880         Use it for mention of FDL in cover text.
63881         (Documentation License): Use it in @include file name.
63883 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
63884             Roland McGrath  <roland@hack.frob.com>
63886         [BZ #5461]
63887         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
63888         (not LONG_LONG_MAX and LONG_LONG_MIN.
63889         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
63890         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
63891         name.
63892         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
63894 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
63896         [BZ #2547]
63897         [BZ #11365]
63898         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
63899         manipulate bits before adding and subtracting TWO23[sx].
63900         * math/libm-test.inc (nearbyint_test): Add more tests.
63902 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
63904         [BZ #2548]
63905         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
63906         bits before adding and subtracting TWO23[sx].
63907         * math/libm-test.inc (rint_test): Add more tests.
63908         (rint_test_tonearest): Likewise.
63909         (rint_test_towardzero): Likewise.
63910         (rint_test_downward): Likewise.
63911         (rint_test_upward: Likewise.
63913 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
63915         [BZ #10110]
63916         * include/stdc-predef.h: New file.  Extracted from features.h.
63917         * include/features.h: Include stdc-predef.h.
63918         * Makefile (headers): Add stdc-predef.h.
63919         * CONFORMANCE (Compiler limitations): Update.
63921 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
63923         * manual/libc.texinfo (VERSION, UPDATED): Revert.
63925 2012-02-21  David S. Miller  <davem@davemloft.net>
63927         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
63928         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
63930 2012-02-20  David S. Miller  <davem@davemloft.net>
63932         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
63933         using a normal save/restore sequence, rather than allocating a
63934         dummy stack frame just to store a frame pointer and restore.
63935         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
63937 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
63939         * manual/install.texi: Fix stray word in line-wrapped comment.
63941 2012-02-20  David S. Miller  <davem@davemloft.net>
63943         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
63944         both binutils and gcc support GOTDATA.
63946         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
63947         "rd %pc" in the PIC register setup sequences.
63949         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
63950         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
63951         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
63952         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
63953         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
63954         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
63955         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
63956         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
63957         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
63958         (SYSCALL_ERROR_HANDLER): Likewise.
63959         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
63960         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
63961         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
63962         (SYSCALL_ERROR_HANDLER): Likewise.
63964         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
63965         (HAVE_GCC_GOTDATA): New.
63966         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
63967         relocation support in both binutils and gcc.
63968         * sysdeps/sparc/elf/configure: Regenerate.
63970         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
63971         * sysdeps/sparc/sparc32/elf/configure: Delete.
63972         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
63973         * sysdeps/sparc/sparc64/elf/configure: Delete.
63974         * sysdeps/sparc/elf/configure.in: New file.
63975         * sysdeps/sparc/elf/configure: Generate.
63977         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
63978         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
63979         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
63980         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
63981         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
63983 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
63985         * manual/install.texi: Do not mention specific glibc version
63986         numbers.
63987         * manual/libc.texinfo (VERSION, UPDATED): Update.
63988         (@copying): Use @copyright{} and range of years.
63990 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
63992         [BZ #13695]
63993         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
63994         [crti.S not in sysdirs] (generated): Do not append.
63995         [crti.S not in sysdirs] (omit-deps): Likewise.
63996         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
63997         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
63998         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
63999         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
64000         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
64001         Likewise.
64002         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
64003         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
64004         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
64005         * csu/defs.awk: Remove file.
64006         * sysdeps/generic/initfini.c: Likewise.
64007         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
64008         variable.
64009         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
64010         Likewise.
64012 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
64014         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
64015         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
64016         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
64017         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
64018         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
64019         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
64020         <bits/epoll.h>.
64021         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
64022         (__EPOLL_PACKED): Define to empty if not defined by
64023         <bits/epoll.h>.
64024         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
64025         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64026         bits/epoll.h.
64028 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
64030         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
64031         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
64032         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
64033         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
64034         <bits/timerfd.h>.
64035         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
64036         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64037         bits/timerfd.h.
64039 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
64041         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
64042         in C locale.
64043         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64044         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
64045         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
64046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64048 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
64050         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
64051         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
64053 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
64055         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
64056         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
64057         defined.
64058         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
64059         Likewise.
64060         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
64061         entry for 2.16.
64063 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
64065         * math/w_acos.c: Use non-signaling floating-point comparisons.
64066         * math/w_acosf.c: Likewise.
64067         * math/w_acosh.c: Likewise.
64068         * math/w_acoshf.c: Likewise.
64069         * math/w_acoshl.c: Likewise.
64070         * math/w_acosl.c: Likewise.
64071         * math/w_asin.c: Likewise.
64072         * math/w_asinf.c: Likewise.
64073         * math/w_asinl.c: Likewise.
64074         * math/w_atanh.c: Likewise.
64075         * math/w_atanhf.c: Likewise.
64076         * math/w_atanhl.c: Likewise.
64077         * math/w_exp2.c: Likewise.
64078         * math/w_exp2f.c: Likewise.
64079         * math/w_exp2l.c: Likewise.
64080         * math/w_j0.c: Likewise.
64081         * math/w_j0f.c: Likewise.
64082         * math/w_j0l.c: Likewise.
64083         * math/w_j1.c: Likewise.
64084         * math/w_j1f.c: Likewise.
64085         * math/w_j1l.c: Likewise.
64086         * math/w_jn.c: Likewise.
64087         * math/w_jnf.c: Likewise.
64088         * math/w_log.c: Likewise.
64089         * math/w_log10.c: Likewise.
64090         * math/w_log10f.c: Likewise.
64091         * math/w_log10l.c: Likewise.
64092         * math/w_log2.c: Likewise.
64093         * math/w_log2f.c: Likewise.
64094         * math/w_log2l.c: Likewise.
64095         * math/w_logf.c: Likewise.
64096         * math/w_logl.c: Likewise.
64097         * math/w_sqrt.c: Likewise.
64098         * math/w_sqrtf.c: Likewise.
64099         * math/w_sqrtl.c: Likewise.
64100         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
64101         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
64102         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
64103         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
64104         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
64106 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
64108         [BZ #9739]
64109         * manual/string.texi (strnlen): Use correct parameter name in
64110         equivalent expression.
64112 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
64114         [BZ #11174]
64115         * manual/users.texi (seteuid): Consistently use neweuid for
64116         argument name.
64118 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
64120         [BZ #13704]
64121         * manual/nss.texi (Services in the NSS configuration): Correct
64122         list of services in example configuration file.
64124 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
64126         [BZ #11322]
64127         * manual/arith.texi: Remove statements about negative zero
64128         behaving identically to zero.
64130 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
64132         [BZ #5993]
64133         * manual/install.texi: Do not document upgrading from libc5.
64135 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
64137         [BZ #4596]
64138         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
64140 2012-02-18  David S. Miller  <davem@davemloft.net>
64142         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
64143         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
64144         %o7 across the call.
64145         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
64146         instead.
64147         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
64148         SETUP_PIC_REG_LEAF.
64149         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
64150         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
64151         * sysdeps/sparc/crtn.S: Likewise.
64153 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
64155         * aout/Makefile: Remove.
64157 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
64159         [BZ #13058]
64160         * manual/examples/argp-ex1.c (main): Format definition in GNU
64161         style.
64162         * manual/examples/argp-ex2.c (main): Likewise.
64163         * manual/examples/argp-ex3.c (main): Likewise.
64164         * manual/examples/argp-ex4.c (main): Likewise.
64165         * manual/examples/longopt.c (main): Use new-style prototype
64166         definition.
64167         * manual/examples/strncat.c (main): Specify return type and use
64168         (void) for arguments.
64169         * manual/examples/subopt.c (main): Use char **argv argument.
64171 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
64173         [BZ #5077]
64174         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
64175         rounding modes.
64177 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
64179         [BZ #6907]
64180         * manual/string.texi (strchr): Change when strchrnul is
64181         recommended.
64183 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
64185         [BZ #174]
64186         * manual/locale.texi (setlocale): Document LOCPATH.
64188 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
64190         [BZ #10210]
64191         * manual/process.texi (execle): Move @dots{} before last argument.
64193 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
64195         [BZ #12047]
64196         * manual/charset.texi (Generic Charset Conversion): Fix typo
64197         (LC_TYPE -> LC_CTYPE).
64199 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
64201         [BZ #5805]
64202         * manual/arith.texi (scalbn): Use @var{} on parameter names.
64203         (scalbnf): Likewise.
64204         (scalbnl): Likewise.
64205         (scalbln): Likewise.
64206         (scalblnf): Likewise.
64207         (scalblnl): Likewise.
64208         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
64209         (vwarnx): Likewise.
64210         (verr): Likewise.
64211         (verrx): Likewise.
64212         * manual/filesys.texi (telldir): Use braces around return type.
64213         * manual/llio.texi (mmap): Add space after comma.
64214         (mmap64): Likewise.
64215         * manual/math.texi (jn): Use @var{} on parameter names.
64216         (jnf): Likewise.
64217         (jnl): Likewise.
64218         (yn): Likewise.
64219         (ynf): Likewise.
64220         (ynl): Likewise.
64221         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
64222         line.
64223         * manual/resource.texi (ulimit): Use @dots{} instead of literal
64224         "...".
64225         (sched_get_priority_min): Remove semicolon on @deftypefun line.
64226         (sched_get_priority_max): Likewise.
64227         * manual/signal.texi (sigvec): Add space after comma.
64228         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
64229         names.
64230         (if_indextoname): Likewise.
64231         (if_freenameindex): Likewise.
64232         (sendto): Use ',' instead of '.' in prototype.
64233         * manual/startup.texi (syscall): Use @dots{} instead of literal
64234         "...".
64235         * manual/stdio.texi (__fpending): Separate initial words of
64236         paragraph from @deftypefun line.
64237         * manual/syslog.texi (syslog): Use @dots{} instead of literal
64238         "...".
64239         (vsyslog): Use @var{} on parameter names.
64240         * manual/terminal.texi (stty): Use @var{} on parameter names.
64241         * manual/users.texi (getutmp): Use @var{} on parameter names.
64242         (getutmpx): Likewise.
64244 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
64246         [BZ #6884]
64247         * manual/stdio.texi (fopen): Fix typos in description of
64248         ",ccs=STRING".
64250 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
64252         [BZ #4026]
64253         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
64254         get clock_id definition.
64256 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
64258         [BZ #4822]
64259         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
64260         (madvise): Cast every argument to void on its own.
64262 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
64264         [BZ #9902]
64265         * manual/startup.texi (Exit Status): Fix typo.
64267 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
64269         [BZ #10140]
64270         * manual/examples/argp-ex1.c: Include <stdlib.h>.
64271         * manual/examples/argp-ex2.c: Likewise.
64272         * manual/examples/argp-ex3.c: Likewise.
64274 2012-02-16  Richard Henderson  <rth@redhat.com>
64276         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
64277         * sysdeps/s390/s390-32/initfini.c: Remove.
64278         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
64279         * sysdeps/s390/s390-64/initfini.c: Remove.
64281 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64283         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
64284         compiler output for sysdeps/generic/initfini.c.
64285         * sysdeps/sh/elf/initfini.c: Remove file.
64287 2012-02-16  David S. Miller  <davem@davemloft.net>
64289         [BZ #11494]
64290         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
64292         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
64293         * sysdeps/sparc/crti.S: New file.
64294         * sysdeps/sparc/crtn.S: New file.
64295         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
64296         * sysdeps/sparc/sparc64/Makefile: Likewise.
64298 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
64300         [BZ #3335]
64301         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
64303 2012-02-15  Roland McGrath  <roland@hack.frob.com>
64305         [BZ #4822]
64306         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
64308         * mach/devstream.c (cookie_io_functions_t): Macro removed.
64309         (write, read, close): Likewise.
64310         Patch by Aurelien Jarno <aurelien@aurel32.net>.
64312 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
64314         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
64315         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
64316         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
64317         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
64318         <bits/signalfd.h>.
64319         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
64320         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64321         bits/signalfd.h.
64323 2012-02-14  Marek Polacek  <polacek@redhat.com>
64325         * sysdeps/x86_64/crti.S: New file.
64326         * sysdeps/x86_64/crtn.S: New file.
64327         * sysdeps/x86_64/elf/initfini.c: Remove file.
64329 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
64331         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
64332         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
64333         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
64334         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
64335         <bits/inotify.h>.
64336         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
64337         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64338         bits/inotify.h.
64340 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
64342         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
64343         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
64344         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
64345         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
64346         <bits/eventfd.h>.
64347         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
64348         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64349         bits/eventfd.h.
64351 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
64353         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
64354         __feraiseexcept instead of feraiseexcept.
64356         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
64357         nanosleep invocations.
64358         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
64359         strings, and add error checking for a nanosleep invocations.
64361 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
64363         Replace FSF snail mail address with URLs, as per GNU coding standards.
64364         Most of the snail mail addresses were wrong anyway, and omitting
64365         them makes the source code easier to maintain.  Almost all of the
64366         changes are to license notices and to locale LC_IDENTIFICATION
64367         addresses, except for this one:
64368         * manual/libc.texinfo: In "Published by", give the FSF's URL,
64369         not its snail mail address.
64371 2012-02-09  Richard Henderson  <rth@twiddle.net>
64373         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
64374         of kernel-features.h.
64376         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
64378 2012-02-08  Marek Polacek  <polacek@redhat.com>
64380         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
64381         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
64382         * sysdeps/gnu/_G_config.h: Likewise.
64383         * sysdeps/generic/_G_config.h: Likewise.
64385 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
64387         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
64388         tests.
64389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64391         * sysdeps/powerpc/powerpc32/crti.S: New file.
64392         * sysdeps/powerpc/powerpc32/crtn.S: New file.
64393         * sysdeps/powerpc/powerpc64/crti.S: New file.
64394         * sysdeps/powerpc/powerpc64/crtn.S: New file.
64396         * Makeconfig (have-initfini): Don't set.
64397         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
64398         * configure.in (nopic_initfini): Don't substitute.
64399         * config.h.in (HAVE_INITFINI): Don't #undef.
64400         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
64401         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
64403 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
64405         Support crti.S and crtn.S provided directly by architectures.
64406         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
64407         [crti.S in sysdirs] (omit-deps): Likewise.
64408         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
64409         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
64410         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
64411         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
64412         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
64413         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
64414         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
64415         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
64416         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
64417         compiler output for sysdeps/generic/initfini.c.
64418         * sysdeps/i386/elf/Makefile: Remove file.
64419         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
64421 2012-02-07  Marek Polacek  <polacek@redhat.com>
64423         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
64424         * sysdeps/gnu/_G_config.h: Likewise.
64425         * sysdeps/mach/hurd/_G_config.h: Likewise.
64427 2012-02-07  Marek Polacek  <polacek@redhat.com>
64429         * math/Makefile (tests): Add tst-CMPLX2.
64430         * math/tst-CMPLX2.c: New file.
64432 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
64434         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
64436         * math/libm-test.inc (jn_test): Add missing L suffix.
64438 2012-02-06  Marek Polacek  <polacek@redhat.com>
64440         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
64441         * sysdeps/i386/fpu/e_powf.S: Likewise.
64442         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
64443         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
64444         * sysdeps/i386/fpu/e_acosh.S: Likewise.
64445         * sysdeps/i386/fpu/e_pow.S: Likewise.
64446         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
64447         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
64448         * sysdeps/i386/fpu/s_expm1.S: Likewise.
64449         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
64450         * sysdeps/i386/fpu/e_log2.S: Likewise.
64451         * sysdeps/i386/fpu/e_log2l.S: Likewise.
64452         * sysdeps/i386/fpu/e_scalb.S: Likewise.
64453         * sysdeps/i386/fpu/e_powl.S: Likewise.
64454         * sysdeps/i386/fpu/s_log1p.S: Likewise.
64455         * sysdeps/i386/fpu/e_log10f.S: Likewise.
64456         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
64457         * sysdeps/i386/fpu/e_logl.S: Likewise.
64458         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
64459         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
64460         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
64461         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
64462         * sysdeps/i386/fpu/e_log2f.S: Likewise.
64463         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
64464         * sysdeps/i386/fpu/e_log.S: Likewise.
64465         * sysdeps/i386/fpu/s_cexp.S: Likewise.
64466         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
64467         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
64468         * sysdeps/i386/fpu/e_logf.S: Likewise.
64469         * sysdeps/i386/fpu/e_log10l.S: Likewise.
64470         * sysdeps/i386/fpu/e_atanh.S: Likewise.
64471         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
64472         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
64473         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
64474         * sysdeps/i386/fpu/e_log10.S: Likewise.
64475         * sysdeps/i386/fpu/s_frexp.S: Likewise.
64476         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
64477         * sysdeps/i386/fpu/s_asinh.S: Likewise.
64478         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
64479         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
64480         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
64481         * sysdeps/i386/asm-syntax.h: Likewise.
64482         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
64483         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
64484         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
64485         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
64486         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
64487         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
64488         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
64489         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
64490         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
64491         * sysdeps/powerpc/sysdep.h: Likewise.
64492         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
64493         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
64495 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
64497         [BZ #411]
64498         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
64500 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
64502         * sysdeps/i386/sysdep.h: Include <features.h>.
64503         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
64504         version.
64506 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
64508         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
64509         Define.
64510         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
64511         LOAD_PIC_REG_STR.
64513 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
64515         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
64516         (SETUP_PIC_REG): Use GET_PC_THUNK.
64517         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
64518         macro.
64520 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
64522         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
64523         for non-PIC compilation.
64524         (SETUP_PIC_REG): Add .p2align directive.
64525         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
64526         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
64527         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
64528         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
64529         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
64530         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
64531         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
64532         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
64533         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
64534         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
64535         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
64536         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
64537         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
64538         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
64539         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
64540         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
64541         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
64542         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
64543         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
64544         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
64545         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
64546         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
64547         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
64548         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
64549         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
64550         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
64551         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
64552         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
64553         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
64554         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
64555         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
64556         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
64557         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
64558         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
64559         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
64560         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
64561         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
64562         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
64563         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
64564         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
64565         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
64567 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
64569         * math/tst-CMPLX.c: Include <stdio.h>.
64571 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
64573         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
64574         float.
64575         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
64576         * sysdeps/sparc/bits/mathdef.h: Likewise.
64578 2012-01-31  Marek Polacek  <polacek@redhat.com>
64580         * libio/libio.h: Don't define _PARAMS.
64581         * locale/programs/config.h: Don't define PARAMS.
64582         * stdlib/strtol_l.c: Likewise.
64583         (__strtol_l): Remove PARAMS from the prototype.
64585 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
64587         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
64588         names.  Just use the correct names.  Remove unnecessary wrapper
64589         functions.
64590         * malloc/arena.c: Likewise.
64591         * malloc/hooks.c: Likewise.
64593         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
64594         ARENA_TEST says not to.  Simplify test for creation of a new arena.
64595         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
64597 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
64599         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
64600         into tail calls.
64601         (update_get_addr): New function.
64602         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
64603         GET_ADDR_MODULE parameter.
64605 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
64607         * crypt/cert.c: Remove __STDC__ conditionals.
64608         * crypt/crypt-entry.c: Likewise.
64609         * crypt/crypt_util.c: Likewise.
64610         * libio/filedoalloc.c: Likewise.
64611         * libio/fileops.c: Likewise.
64612         * libio/genops.c: Likewise.
64613         * libio/iofclose.c: Likewise.
64614         * libio/iofdopen.c: Likewise.
64615         * libio/iofopen.c: Likewise.
64616         * libio/iofopen64.c: Likewise.
64617         * libio/iogetdelim.c: Likewise.
64618         * libio/iopopen.c: Likewise.
64619         * libio/obprintf.c: Likewise.
64620         * libio/oldfileops.c: Likewise.
64621         * libio/oldiofclose.c: Likewise.
64622         * libio/oldiofdopen.c: Likewise.
64623         * libio/oldiofopen.c: Likewise.
64624         * libio/oldiopopen.c: Likewise.
64625         * libio/wfiledoalloc.c: Likewise.
64626         * libio/wgenops.c: Likewise.
64627         * locale/programs/xmalloc.c: Likewise.
64628         * misc/syslog.c: Likewise.
64629         * stdio-common/xbug.c: Likewise.
64630         * string/memchr.c: Likewise.
64631         * string/memcmp.c: Likewise.
64632         * string/memrchr.c: Likewise.
64633         * string/rawmemchr.c: Likewise.
64634         * sysdeps/posix/getcwd.c: Likewise.
64635         * time/strftime_l.c: Likewise.
64637 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
64639         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
64640         * config.make.in (config-cflags-sse2avx): Define.
64641         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
64642         Fix typo.
64644 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
64646         * scripts/config.guess: Update from upstream config git repository.
64647         * scripts/config.sub: Likewise.
64649 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
64651         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
64652         (EM_NUM): Update.
64653         (R_TILEPRO_*, R_TILEGX_*): New macros.
64655         * scripts/firstversions.awk: Fix bug in version range handling.
64657         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
64659         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
64661         * include/sys/epoll.h: New file.
64662         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
64663         libc_hidden_def.
64665 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
64667         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
64668         Avoid unnecessary __WORDSIZE == 64 test.
64669         (fmaxf): Use VEX format if possible.
64670         (fmax): Likewise.
64671         (fminf): Likewise.
64672         (fmin): Likewise.
64674         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
64675         * math/math_private.h: Remove libc_fegetround* and
64676         libc_fesetround*.
64677         * sysdeps/i386/configure.in: Check for -msse2avx.
64678         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
64679         also if SSE2AVX is defined.
64680         Remove libc_fegetround* and libc_fesetround*.
64681         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
64682         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
64683         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
64684         of HAS_YMM_USABLE.
64685         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
64686         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
64687         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
64688         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
64689         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
64691         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
64693 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64695         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
64696         size is not set.
64697         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
64699 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
64701         [BZ #13618]
64702         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
64703         relocation.
64704         * Makeconfig (libm): Define.
64705         * elf/Makefile: Add rules to build and run tst-relsort1.
64706         * elf/tst-relsort1.c: New file.
64707         * elf/tst-relsort1mod1.c: New file.
64708         * elf/tst-relsort1mod2.c: New file.
64710 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
64712         * math/s_ldexp.c: Remove __STDC__ conditionals.
64713         * math/s_ldexpf.c: Likewise.
64714         * math/s_ldexpl.c: Likewise.
64715         * math/s_nextafter.c: Likewise.
64716         * math/s_nexttowardf.c: Likewise.
64717         * math/s_significand.c: Likewise.
64718         * math/s_significandf.c: Likewise.
64719         * math/s_significandl.c: Likewise.
64720         * math/w_jnl.c: Likewise.
64721         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
64722         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
64723         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
64724         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
64725         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
64726         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
64727         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
64728         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
64729         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
64730         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
64731         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
64732         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
64733         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
64734         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
64735         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
64736         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
64737         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
64738         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
64739         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
64740         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
64741         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
64742         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
64743         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
64744         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
64745         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
64746         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
64747         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
64748         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
64749         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
64750         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
64751         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
64752         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
64753         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
64754         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
64755         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
64756         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
64757         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
64758         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
64759         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
64760         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
64761         * sysdeps/ieee754/k_standard.c: Likewise.
64762         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
64763         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
64764         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
64765         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
64766         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
64767         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
64768         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
64769         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
64770         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
64771         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
64772         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
64773         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
64774         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
64775         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
64776         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
64777         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
64778         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
64779         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
64780         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
64781         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
64782         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
64783         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
64784         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
64785         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
64786         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
64787         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
64788         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
64789         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
64790         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
64791         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
64792         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
64793         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
64794         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
64795         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
64796         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
64797         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
64798         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
64799         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
64800         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
64801         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
64802         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
64803         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
64804         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
64805         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
64806         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
64807         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
64808         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
64809         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
64810         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
64811         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
64812         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
64813         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
64814         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
64815         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
64816         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
64817         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
64818         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
64819         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
64820         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
64821         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
64822         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
64823         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
64824         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
64825         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
64826         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
64827         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
64828         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
64829         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
64830         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
64831         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
64832         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
64833         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
64834         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
64835         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
64836         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
64837         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
64838         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
64839         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
64840         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
64841         * sysdeps/ieee754/s_matherr.c: Likewise.
64842         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
64843         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
64844         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
64845         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
64847 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
64849         * crypt/md5.h: Remove __STDC__ conditionals.
64850         * libio/libioP.h: Likewise.
64851         * locale/programs/config.h: Likewise.
64852         * sysdeps/generic/sysdep.h: Likewise.
64853         * sysdeps/i386/asm-syntax.h: Likewise.
64854         * sysdeps/s390/asm-syntax.h: Likewise.
64855         * sysdeps/unix/sysdep.h: Likewise.
64856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
64857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
64859 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
64861         * libio/libio.h: Remove __STDC__ conditionals.
64862         * malloc/obstack.h: Likewise.
64863         * math/complex.h: Likewise.
64864         * math/math.h: Likewise.
64865         * sysdeps/generic/_G_config.h: Likewise.
64866         * sysdeps/gnu/_G_config.h: Likewise.
64867         * sysdeps/mach/hurd/_G_config.h: Likewise.
64868         * sysdeps/powerpc/bits/mathdef.h: Likewise.
64869         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
64870         * sysdeps/sparc/bits/mathdef.h: Likewise.
64872 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
64874         [BZ #13583]
64875         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
64876         Clean up HAS_* macros.
64877         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
64878         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
64879         possible.
64880         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
64881         HAS_AVX.
64882         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
64883         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
64884         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
64885         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
64886         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
64888 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
64890         * elf/tst-unique3.cc (gets): Remove declaration.
64891         * elf/tst-unique3lib.cc (gets): Likewise.
64892         * elf/tst-unique3lib2.cc (gets): Likewise.
64893         * elf/tst-unique4.cc (gets): Likewise.
64895 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
64897         * include/stdio.h: Add C++ protection.  Add gets declarations and
64898         definitions.
64899         * debug/tst-chk1.c: Don't declare gets here.
64900         * stdio-common/tst-gets.c: Likewise.
64902 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
64904         * posix/glob: Remove directory.
64906 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
64908         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
64910 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
64912         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
64913         of the non-standard EPFNOSUPPORT.
64915 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64917         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
64918         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
64919         ANYWHERE set to 1 only on KERN_NO_SPACE error.
64921 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
64923         * wcsmbs/uchar.h: Test __STDC_VERSION__.
64925 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
64927         * nscd/aicache.c (addhstaiX): Do not cache negative results of
64928         transient errors.
64929         * nscd/grpcache.c (cache_addgr): Likewise.
64930         * nscd/hstcache.c (cache_addhst): Likewise.
64931         * nscd/initgrcache.c (addinitgroupsX): Likewise.
64932         * nscd/pwdcache.c (cache_addpw): Likewise.
64933         * nscd/servicescache.c (cache_addserv): Likewise.
64935 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
64937         * malloc/malloc.c: Various cleanups.
64938         * malloc/hooks.c: Likewise.
64940         * stdlib/Makefile (tests): Add bug-fmtmsg1.
64941         * stdlib/bug-fmtmsg1.c: New file.
64943         * stdlib/fmtmsg.c (init): Add missing unlock.
64944         Patch by Peng Haitao <penght@cn.fujitsu.com>.
64946 2012-01-12  Marek Polacek  <polacek@redhat.com>
64948         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
64949         and _GNU_SOURCE.
64951 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
64953         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
64954         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
64955         macro to ensure uniqueness of label name.
64956         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
64957         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
64959 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
64961         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
64963         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
64964         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
64965         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
64966         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
64968 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
64970         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
64972         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
64973         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
64974         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
64976         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
64978         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
64979         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
64980         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
64981         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
64983         * math/bits/math-finite.h: Add ldexp support.
64985 2012-01-10  Marek Polacek  <polacek@redhat.com>
64987         * locale/programs/localedef.h (show_archive_content): Add noreturn
64988         attribute.
64990 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
64992         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
64994 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
64996         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
64998         * io/Makefile (headers): Add bits/poll2.h.
65000 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
65002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
65003         typo #include statement.
65005 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
65007         * include/sys/cdefs.h: Define __attribute_alloc_size.
65008         * catgets/gencat.c: Add alloc_size attribute and apply consistently
65009         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
65010         * elf/pldd.c: Likewise.
65011         * iconv/iconv_charmap.c: Likewise.
65012         * iconv/iconvconfig.c: Likewise.
65013         * iconv/strtab.c: Likewise.
65014         * locale/programs/locale.c: Likewise.
65015         * locale/programs/localedef.h: Likewise.
65016         * locale/programs/simple-hash.c: Likewise.
65017         * nscd/nscd.h: Likewise.
65018         * nss/makedb.c: Likewise.
65019         * sysdeps/generic/ldconfig.h: Likewise.
65020         * locale/programs/localedef.c: Remove xmalloc prototype.
65021         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
65023 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
65025         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
65026         appropriate.
65028 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
65030         * math/Makefile (tests): Add tst-CMPLX.
65031         * math/tst-CMPLX.c: New file.
65033         * math/complex.h (CMPLXL): Fix typo.
65035         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
65036         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
65037         GLIBC_2.16.
65038         * debug/tst-chk1.c: Add poll and ppoll tests.
65039         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
65040         * include/sys/poll.h: Add hidden proto for ppoll.
65041         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
65042         * sysdeps/mach/hurd/ppoll.c: Likewise.
65043         * io/ppoll.c: Likewise.
65044         * debug/poll_chk.c: New file.
65045         * debug/ppoll_chk.c: New file.
65046         * include/bits/poll2.h: New file.
65047         * io/bits/poll2.h: New file.
65049         [BZ #1350]
65050         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
65052         * configure.in: static is always set to yes.  Remove.
65053         * config.make.in: Don't set build-static.
65054         * Makeconfig: Remove use of build-static.
65055         * dlfcn/Makefile: Likewise.
65056         * elf/Makefile: Likewise.
65057         * math/Makefile: Likewise.
65058         * misc/Makefile: Likewise.
65059         * nptl/Makefile: Likewise.
65060         * sysdeps/mach/hurd/Makefile: Likewise.
65062         * configure.in: PWD_P is not used anymore.
65063         * config.make.in: Remove PWD_P entry.
65065         * configure.in: Remove last remnants of RANLIB.
65066         No need to check for signed size_t anymore.
65067         Don't set libc_commonpagesize and libc_relro_required here for Alpha
65068         and IA-64.
65069         Remove __builtin_expect test because we require at least gcc 3.4.
65070         * aclocal.m4: Likewise.
65072         * wcsmbs/mbrtoc16.c: Implement using towc function.
65073         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
65074         * wcsmbs/wcsmbsload.c: Likewise.
65075         * iconv/gconv_simple.c: Likewise.
65076         * iconv/gconv_int.h: Likewise.
65077         * iconv/gconv_builtin.h: Likewise.
65078         * iconv/iconv_prog.c: Remove CHAR16 handling.
65080         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
65082         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
65084         * configure.in: Remove --with-elf and --enable-bounded options.
65085         Dont set base_machine for ia64.  More non-ELF conditions removed.
65086         Remove testing and setting of leading underscore information.
65087         * config.make.in (build-bounded): Set to no.
65088         * config.h.in: Remove NO_UNDERSCORES entry.
65089         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
65090         them.
65091         * csu/start.c: Remove !NO_UNDERSCORE code.
65092         * locale/localeinfo.h: Likewise.
65093         * sysdeps/generic/machine-gmon.h: Likewise.
65094         * sysdeps/generic/sysdep.h: Likewise.
65095         * sysdeps/i386/sysdep.h: Likewise.
65096         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
65097         * sysdeps/mach/sysdep.h: Likewise.
65098         * sysdeps/s390/s390-32/sysdep.h: Likewise.
65099         * sysdeps/s390/s390-64/sysdep.h: Likewise.
65100         * sysdeps/sh/sysdep.h: Likewise.
65101         * sysdeps/sparc/sparc32/alloca.S: Likewise.
65102         * sysdeps/unix/i386/sysdep.S: Likewise.
65103         * sysdeps/unix/sparc/start.c: Likewise.
65104         * sysdeps/unix/sparc/sysdep.S: Likewise.
65105         * sysdeps/unix/sparc/sysdep.h: Likewise.
65106         * sysdeps/unix/start.c: Likewise.
65107         * sysdeps/unix/x86_64/sysdep.S: Likewise.
65108         * sysdeps/x86_64/sysdep.h: Likewise.
65110 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
65112         [BZ #13553]
65113         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
65114         for non-gcc.
65115         * argp/argp-fmtstream.h: Use const instead __const.
65116         * argp/argp.h: Likewise.
65117         * assert/assert.h: Likewise.
65118         * bits/fenv.h: Likewise.
65119         * bits/sched.h: Likewise.
65120         * bits/sigset.h: Likewise.
65121         * bits/sigthread.h: Likewise.
65122         * catgets/nl_types.h: Likewise.
65123         * conform/data/pthread.h-data: Likewise.
65124         * crypt/crypt-private.h: Likewise.
65125         * crypt/crypt.h: Likewise.
65126         * crypt/crypt_util.c: Likewise.
65127         * ctype/ctype.h: Likewise.
65128         * debug/execinfo.h: Likewise.
65129         * debug/mbsnrtowcs_chk.c: Likewise.
65130         * debug/mbsrtowcs_chk.c: Likewise.
65131         * debug/wcsnrtombs_chk.c: Likewise.
65132         * debug/wcsrtombs_chk.c: Likewise.
65133         * debug/wcstombs_chk.c: Likewise.
65134         * dirent/dirent.h: Likewise.
65135         * dlfcn/dlfcn.h: Likewise.
65136         * elf/neededtest4.c: Likewise.
65137         * grp/grp.h: Likewise.
65138         * gshadow/gshadow.h: Likewise.
65139         * iconv/gconv.h: Likewise.
65140         * iconv/gconv_int.h: Likewise.
65141         * iconv/gconv_simple.c: Likewise.
65142         * iconv/iconv.h: Likewise.
65143         * iconv/loop.c: Likewise.
65144         * iconv/skeleton.c: Likewise.
65145         * include/aio.h: Likewise.
65146         * include/aliases.h: Likewise.
65147         * include/argz.h: Likewise.
65148         * include/arpa/inet.h: Likewise.
65149         * include/assert.h: Likewise.
65150         * include/dirent.h: Likewise.
65151         * include/dlfcn.h: Likewise.
65152         * include/execinfo.h: Likewise.
65153         * include/fcntl.h: Likewise.
65154         * include/fenv.h: Likewise.
65155         * include/glob.h: Likewise.
65156         * include/grp.h: Likewise.
65157         * include/libintl.h: Likewise.
65158         * include/mntent.h: Likewise.
65159         * include/netdb.h: Likewise.
65160         * include/pwd.h: Likewise.
65161         * include/rpc/netdb.h: Likewise.
65162         * include/sched.h: Likewise.
65163         * include/search.h: Likewise.
65164         * include/shadow.h: Likewise.
65165         * include/signal.h: Likewise.
65166         * include/stdio.h: Likewise.
65167         * include/stdlib.h: Likewise.
65168         * include/string.h: Likewise.
65169         * include/sys/socket.h: Likewise.
65170         * include/sys/stat.h: Likewise.
65171         * include/sys/statfs.h: Likewise.
65172         * include/sys/statvfs.h: Likewise.
65173         * include/sys/syslog.h: Likewise.
65174         * include/sys/time.h: Likewise.
65175         * include/sys/uio.h: Likewise.
65176         * include/time.h: Likewise.
65177         * include/unistd.h: Likewise.
65178         * include/utmp.h: Likewise.
65179         * include/wchar.h: Likewise.
65180         * include/wctype.h: Likewise.
65181         * inet/aliases.h: Likewise.
65182         * inet/arpa/inet.h: Likewise.
65183         * inet/netinet/ether.h: Likewise.
65184         * inet/netinet/in.h: Likewise.
65185         * intl/libintl.h: Likewise.
65186         * io/bits/fcntl2.h: Likewise.
65187         * io/fcntl.h: Likewise.
65188         * io/ftw.h: Likewise.
65189         * io/sys/poll.h: Likewise.
65190         * io/sys/stat.h: Likewise.
65191         * io/sys/statfs.h: Likewise.
65192         * io/sys/statvfs.h: Likewise.
65193         * io/utime.h: Likewise.
65194         * libio/bits/stdio.h: Likewise.
65195         * libio/bits/stdio2.h: Likewise.
65196         * libio/libio.h: Likewise.
65197         * libio/libioP.h: Likewise.
65198         * libio/stdio.h: Likewise.
65199         * locale/lc-ctype.c: Likewise.
65200         * locale/locale.h: Likewise.
65201         * login/utmp.h: Likewise.
65202         * malloc/arena.c: Likewise.
65203         * malloc/malloc.c: Likewise.
65204         * malloc/malloc.h: Likewise.
65205         * malloc/mcheck.c: Likewise.
65206         * malloc/mtrace.c: Likewise.
65207         * math/bits/mathcalls.h: Likewise.
65208         * math/fenv.h: Likewise.
65209         * math/math_private.h: Likewise.
65210         * misc/bits/error.h: Likewise.
65211         * misc/bits/syslog.h: Likewise.
65212         * misc/err.h: Likewise.
65213         * misc/error.h: Likewise.
65214         * misc/fstab.h: Likewise.
65215         * misc/mntent.h: Likewise.
65216         * misc/regexp.h: Likewise.
65217         * misc/search.h: Likewise.
65218         * misc/sgtty.h: Likewise.
65219         * misc/sys/mman.h: Likewise.
65220         * misc/sys/syslog.h: Likewise.
65221         * misc/sys/uio.h: Likewise.
65222         * misc/sys/xattr.h: Likewise.
65223         * misc/ttyent.h: Likewise.
65224         * nis/rpcsvc/ypclnt.h: Likewise.
65225         * nss/nss.h: Likewise.
65226         * posix/bits/unistd.h: Likewise.
65227         * posix/fnmatch.h: Likewise.
65228         * posix/glob.h: Likewise.
65229         * posix/sched.h: Likewise.
65230         * posix/spawn.h: Likewise.
65231         * posix/sys/wait.h: Likewise.
65232         * posix/unistd.h: Likewise.
65233         * posix/wordexp.h: Likewise.
65234         * pwd/pwd.h: Likewise.
65235         * resolv/netdb.h: Likewise.
65236         * resource/sys/resource.h: Likewise.
65237         * rt/aio.h: Likewise.
65238         * rt/bits/mqueue2.h: Likewise.
65239         * rt/mqueue.h: Likewise.
65240         * shadow/shadow.h: Likewise.
65241         * signal/signal.h: Likewise.
65242         * socket/send.c: Likewise.
65243         * socket/sendto.c: Likewise.
65244         * socket/sys/socket.h: Likewise.
65245         * stdio-common/printf.h: Likewise.
65246         * stdlib/bits/stdlib.h: Likewise.
65247         * stdlib/fmtmsg.h: Likewise.
65248         * stdlib/monetary.h: Likewise.
65249         * stdlib/stdlib.h: Likewise.
65250         * stdlib/ucontext.h: Likewise.
65251         * streams/stropts.h: Likewise.
65252         * string/argz.h: Likewise.
65253         * string/bits/string2.h: Likewise.
65254         * string/string.h: Likewise.
65255         * string/strings.h: Likewise.
65256         * sunrpc/rpc/auth.h: Likewise.
65257         * sunrpc/rpc/auth_des.h: Likewise.
65258         * sunrpc/rpc/clnt.h: Likewise.
65259         * sunrpc/rpc/netdb.h: Likewise.
65260         * sunrpc/rpc/pmap_clnt.h: Likewise.
65261         * sunrpc/rpc/xdr.h: Likewise.
65262         * sysdeps/generic/inttypes.h: Likewise.
65263         * sysdeps/generic/net/if.h: Likewise.
65264         * sysdeps/generic/sys/swap.h: Likewise.
65265         * sysdeps/gnu/net/if.h: Likewise.
65266         * sysdeps/gnu/utmpx.h: Likewise.
65267         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
65268         * sysdeps/i386/i486/bits/string.h: Likewise.
65269         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
65270         * sysdeps/s390/bits/string.h: Likewise.
65271         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
65272         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
65273         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
65274         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
65275         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
65276         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
65277         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
65278         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
65279         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
65280         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
65281         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
65282         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
65283         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
65284         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
65285         * sysdeps/unix/sysv/linux/readv.c: Likewise.
65286         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
65287         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
65288         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
65289         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
65290         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
65291         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
65292         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
65293         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
65294         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
65295         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
65296         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
65297         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
65298         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
65299         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
65300         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
65301         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
65302         * sysvipc/sys/ipc.h: Likewise.
65303         * sysvipc/sys/msg.h: Likewise.
65304         * sysvipc/sys/sem.h: Likewise.
65305         * sysvipc/sys/shm.h: Likewise.
65306         * termios/termios.h: Likewise.
65307         * time/sys/time.h: Likewise.
65308         * time/time.h: Likewise.
65309         * wcsmbs/bits/wchar2.h: Likewise.
65310         * wcsmbs/uchar.h: Likewise.
65311         * wcsmbs/wchar.h: Likewise.
65312         * wctype/wctype.h: Likewise.
65314         [BZ #13551]
65315         * Makeconfig: Remove all but ELF support including AIX support.
65316         * Makerules: Likewise.
65317         * config.h.in: Likewise.
65318         * config.make.in: Likewise.
65319         * configure: Likewise.
65320         * configure.in: Likewise.
65321         * csu/Makefile: Likewise.
65322         * csu/version.c: Likewise.
65323         * debug/Makefile: Likewise.
65324         * dlfcn/Makefile: Likewise.
65325         * elf/Makefile: Likewise.
65326         * extra-lib.mk: Likewise.
65327         * iconv/Makefile: Likewise.
65328         * include/libc-symbols.h: Likewise.
65329         * include/shlib-compat.h: Likewise.
65330         * resolv/Makefile: Likewise.
65331         * resolv/res_libc.c: Likewise.
65332         * rt/Makefile: Likewise.
65333         * sysdeps/i386/asm-syntax.h: Likewise.
65334         * sysdeps/i386/sysdep.h: Likewise.
65335         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
65336         * sysdeps/mach/sysdep.h: Likewise.
65337         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
65338         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
65339         * sysdeps/s390/asm-syntax.h: Likewise.
65340         * sysdeps/s390/s390-32/sysdep.h: Likewise.
65341         * sysdeps/s390/s390-64/sysdep.h: Likewise.
65342         * sysdeps/sh/sysdep.h: Likewise.
65343         * sysdeps/unix/sparc/sysdep.h: Likewise.
65344         * sysdeps/wordsize-32/divdi3.c: Likewise.
65345         * sysdeps/x86_64/sysdep.h: Likewise.
65347         * argp/Versions: Remove _argp_unlock_xxx.
65349         [BZ #13559]
65350         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
65351         * abilist/libBrokenLocale.abilist: Likewise.
65352         * abilist/libanl.abilist: Likewise.
65353         * abilist/libc.abilist: Likewise.
65354         * abilist/libcrypt.abilist: Likewise.
65355         * abilist/libdl.abilist: Likewise.
65356         * abilist/libm.abilist: Likewise.
65357         * abilist/libnsl.abilist: Likewise.
65358         * abilist/libpthread.abilist: Likewise.
65359         * abilist/libresolv.abilist: Likewise.
65360         * abilist/librt.abilist: Likewise.
65361         * abilist/libthread_db.abilist: Likewise.
65362         * abilist/libutil.abilist: Likewise.
65363         * abilist/libnss_db.abilist: New file.
65365         * scripts/abilist.awk: Add support for indirect functions.
65367         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
65369         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
65371         * shlib-versions: Remove entries for ports architectures.
65373         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
65374         files in ports.
65375         * elf/stackguard-macros.h: Remove support for IA-64.
65376         * elf/tst-auditmod1.c: Likewise.
65377         * sysdeps/generic/ldsodefs.h: Likewise.
65379         * sysdeps/unix/sysv/linux/configure.in: Ports should define
65380         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
65381         configure files.
65383         [BZ #13552]
65384         * configure.in: Remove --enable-omitfp support.
65385         * FAQ.in: Adjust.
65386         * config.make.in: Likewise.
65387         * Makeconfig: Likewise.
65388         * manual/install.texi: Likewise.
65390         In case anyone cares, the IA-64 architecture could move to ports.
65391         * sysdeps/ia64/*: Removed.
65392         * sysdeps/unix/sysv/linux/ia64/*: Removed.
65393         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
65395         [BZ #13555]
65396         * configure.in: Remove entries for unsupported architectures.
65398         [BZ #13533]
65399         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
65400         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
65401         routines.
65402         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
65403         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
65404         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
65405         fall back to using wcrtomb.
65406         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
65407         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
65408         renaming.
65409         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
65410         * wcsmbs/tst-c16c32-1.c: New file.
65412         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
65413         local variable.
65415         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
65417         * elf/tst-unique3.cc: Add explicit declaration of gets.
65418         * elf/tst-unique3lib.cc: Likewise.
65419         * elf/tst-unique3lib2.cc: Likewise.
65420         * elf/tst-unique4.cc: Likewise.
65422         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
65424 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
65426         [BZ #13566]
65427         * assert/assert.h (static_assert): Don't define for C++.
65428         * libio/stdio.h (gets): Do declare for C++ <= C++11.
65429         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
65431 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
65433         * iconv/loop.c (single loop): Fix assertion in storing of
65434         remaining bytes.
65436         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
65438 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
65440         * posix/getconf.c: Update copyright year.
65441         * nss/getent.c: Likewise.
65442         * nss/makedb.c: Likewise.
65443         * iconv/iconvconfig.c: Likewise.
65444         * iconv/iconv_prog.c: Likewise.
65445         * elf/ldconfig.c: Likewise.
65446         * elf/pldd.c: Likewise.
65447         * elf/sotruss.ksh: Likewise.
65448         * catgets/gencat.c: Likewise.
65449         * csu/version.c: Likewise.
65450         * elf/ldd.bash.in: Likewise.
65451         * elf/sprof.c (print_version): Likewise.
65452         * locale/programs/locale.c: Likewise.
65453         * locale/programs/localedef.c: Likewise.
65454         * login/programs/pt_chown.c: Likewise.
65455         * nscd/nscd.c (print_version): Likewise.
65456         * debug/xtrace.sh: Likewise.
65457         * malloc/memusage.sh: Likewise.
65458         * malloc/mtrace.pl: Likewise.
65459         * debug/catchsegv.sh: Likewise.
65461 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
65463         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
65464         pure attribute.
65466 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
65468         [BZ #13533]
65469         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
65470         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
65471         transformations.
65472         * iconv/gconv_int.h: Likewise.
65473         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
65474         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
65475         from libc for GLIBC_2.16.
65476         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
65477         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
65478         * wcsmbs/uchar.h: Really define mbstate_t.
65479         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
65480         * wcsmbs/c16rtomb.c: New file.
65481         * wcsmbs/mbrtoc16.c: New file.
65482         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
65483         for C/POSIX locale.
65484         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
65485         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
65487         * wcsmbs/wchar.h: Add missing __restrict.
65489 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
65491         [BZ #13532]
65492         * time/Makefile (routines): Add timespec_get.
65493         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
65494         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
65495         timespec for ISO C11.
65496         * time/timespec_get.c: New file.
65497         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
65498         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
65500         [BZ #13531]
65501         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
65502         * stdlib/stdlib.h: Declare aligned_alloc.
65503         * Versions.def: Add GLIBC_2.16 for libc.
65504         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
65506         [BZ 13527]
65507         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
65508         ISO C11.
65510         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
65511         code.
65513         [BZ #13528]
65514         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
65516         [BZ #13529]
65517         * assert/assert.h (static_assert): Define.
65519         * version.h: Update for 2.16 development version.
65521         [BZ #13526]
65522         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
65523         _ISOC11_SOURCE.
65525         * version.h (RELEASE): Bump for 2.15 release.
65526         * include/features.h (__GLIBC_MINOR__): Bump to 15.
65528         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
65529         Patch by Marek Polacek <mpolacek@redhat.com>.
65531         * bits/byteswap.h: Protect long long constants with __extension__.
65532         * sysdeps/i386/bits/byteswap.h: Likewise.
65533         * sysdeps/ia64/bits/byteswap.h: Likewise.
65534         * sysdeps/s390/bits/byteswap.h: Likewise.
65535         * sysdeps/x86_64/bits/byteswap.h: Likewise.
65537 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65539         [BZ #13540]
65540         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
65541         destination buffer.
65542         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
65544 2011-12-23  Marek Polacek  <polacek@redhat.com>
65546         * elf/dl-addr.c (determine_info): Add inline keyword.
65547         * elf/tst-auditmod4b.c (check_avx): Likewise.
65548         * elf/tst-auditmod6b.c (check_avx): Likewise.
65549         * elf/tst-auditmod6c.c (check_avx): Likewise.
65550         * elf/tst-auditmod7b.c (check_avx): Likewise.
65552 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
65554         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
65555         !__SSE_MATH__.
65557 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65559         [BZ #13540]
65560         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
65561         processing for last bytes.
65563 2011-08-06  Bruno Haible  <bruno@clisp.org>
65565         [BZ #13061]
65566         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
65567         U+0385, not to U+1FEE.
65569         [BZ #13062]
65570         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
65571         entry for U+00A5 U+0301.
65573 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
65575         [BZ #13166]
65576         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
65577         buffer for the output is too small.
65579         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
65580         optimization.
65582         [BZ #13185]
65583         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
65584         SSE flags if possible.
65586 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65588         [BZ #13540]
65589         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
65590         processing for last bytes.
65592 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
65594         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
65595         (syscall-list-default-options, syscall-list-default-condition)
65596         (syscall-list-includes): Define.
65597         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
65598         list of ABIs and options and #if conditions for each ABI.  Do not
65599         handle common syscalls between ABIs specially.
65600         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
65601         Remove.
65602         (syscall-list-variants, syscall-list-32bit-options)
65603         (syscall-list-32bit-condition, syscall-list-64bit-options)
65604         (syscall-list-64bit-condition): Define.
65605         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
65606         (syscall-list-variants, syscall-list-32bit-options)
65607         (syscall-list-32bit-condition, syscall-list-64bit-options)
65608         (syscall-list-64bit-condition): Define.
65609         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
65610         Remove.
65611         (syscall-list-variants, syscall-list-32bit-options)
65612         (syscall-list-32bit-condition, syscall-list-64bit-options)
65613         (syscall-list-64bit-condition): Define.
65614         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
65615         Remove.
65616         (syscall-list-variants, syscall-list-32bit-options)
65617         (syscall-list-32bit-condition, syscall-list-64bit-options)
65618         (syscall-list-64bit-condition): Define.
65620 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
65622         * locale/iso-639.def: Add brx entry.
65624         [BZ #13328]
65625         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
65626         Proposed by Mariusz_Cukr <marcukr@op.pl>.
65628         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
65629         __feraiseexcept_renamed.
65631 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
65633         [BZ #13538]
65634         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
65635         EPOLLET with unsigned values.
65636         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
65637         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
65639         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
65640         to large cancellation.
65641         * math/s_cacoshf.c: Likewise.
65642         * math/s_cacoshl.c: Likewise.
65644 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
65646         [BZ #13305]
65647         [BZ #12786]
65648         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
65649         * math/s_cacoshf.c: Likewise.
65650         * math/s_cacoshl.c: Likewise.
65652 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
65654         [BZ #13439]
65655         * iconv/gconv.h: Define __GCONV_SWAP.
65656         * iconvdata/unicode.c: The swap bit must be stored in __flags.
65657         * iconvdata/utf-16.c: Likewise.
65658         * iconvdata/utf-32.c: Likewise.
65660 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
65662         [BZ #13524]
65663         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
65664         numerator after shifting it by one limb.
65666 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
65668         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
65669         under [__USE_EXTERN_INLINES].
65671 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
65673         [BZ #13446]
65674         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
65676 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65678         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
65679         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
65680         optimized code.
65681         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
65682         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
65683         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
65684         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
65685         for strncasecmp/strncasecmp_l compilation.
65686         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
65687         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
65689 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
65691         [BZ #13484]
65692         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
65693         of __asm__.
65695 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
65697         [BZ #13506]
65698         * time/tzfile.c (__tzfile_read): Check values from file header.
65700 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
65702         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
65703         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
65704         * powerpc/powerpc32/dl-start.S: Likewise.
65705         * powerpc/powerpc32/elf/start.S: Likewise.
65706         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
65707         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
65708         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
65709         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
65710         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
65711         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
65712         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
65713         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
65714         * powerpc/powerpc32/fpu/s_round.S: Likewise.
65715         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
65716         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
65717         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
65718         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
65719         * powerpc/powerpc32/memset.S: Likewise.
65720         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
65721         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
65722         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
65723         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
65724         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
65725         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
65726         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
65727         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
65728         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
65729         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
65730         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
65731         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
65732         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
65734 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65736         * math/libm-test.inc: Added more nearbyint tests.
65737         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
65738         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
65739         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
65740         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
65742 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
65744         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
65745         FD_CLOEXEC.
65747 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65749         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
65750         Add wcscpy-ssse3 wcscpy-c.
65751         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
65752         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
65753         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
65754         * sysdeps/x86_64/wcschr.S: New file.
65755         * sysdeps/x86_64/wcsrchr.S: New file.
65756         * string/test-strcmp.c: Remove checking of wcscmp function for
65757         wrong alignments.
65758         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
65759         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
65760         wcsrchr-sse2 wcsrchr-c.
65761         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
65762         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
65763         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
65764         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
65765         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
65766         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
65767         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
65768         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
65769         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
65770         * wcsmbc/wcschr.c (WCSCHR): New macro.
65772 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65774         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
65775         * wcsmbs/test-wcsrchr.c: New file.
65776         * string/test-strrchr.c: Add wcsrchr support.
65777         (WIDE): New macro.
65778         * wcsmbs/test-wcscpy.c: New file.
65779         * string/test-strcpy.c: Add wcscpy support.
65780         (WIDE): New macro.
65782 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
65784         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
65785         the inner loop.
65787 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
65789         [BZ #13472]
65790         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
65792 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
65794         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
65795         Minor optimizations.
65797         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
65798         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
65799         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
65801 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
65803         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
65804         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
65805         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
65806         for gcc to avoid warnings.
65807         * inet/Makefile (tests): Add tst-checks.
65808         * inet/tst-checks.c: New file.
65810         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
65811         warning.
65813         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
65814         __wmemcmp_sse2.
65816         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
65817         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
65819         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
65821 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
65823         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
65824         problem.
65826         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
65828 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
65830         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
65831         conditional on GCC version.
65832         (__arch_compare_and_exchange_val_8_acq)
65833         (__arch_compare_and_exchange_val_16_acq)
65834         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
65835         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
65836         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
65838 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
65840         * sysdeps/sh/backtrace.c: New file.
65842 2011-12-02  Andreas Schwab  <schwab@redhat.com>
65844         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
65845         parenthesis.
65847 2011-12-01  Andreas Schwab  <schwab@redhat.com>
65849         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
65850         falling back to utime.
65852 2011-11-30  Andreas Schwab  <schwab@redhat.com>
65854         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
65855         expectations for float.
65857 2011-11-29  Andreas Schwab  <schwab@redhat.com>
65859         * locale/weight.h (findidx): Add parameter len.
65860         * locale/weightwc.h (findidx): Likewise.
65861         * posix/fnmatch_loop.c (FCT): Adjust caller.
65862         * posix/regcomp.c (build_equiv_class): Likewise.
65863         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
65864         * posix/regexec.c (check_node_accept_bytes): Likewise.
65865         * string/strcoll_l.c (STRCOLL): Likewise.
65866         * string/strxfrm_l.c (STRXFRM): Likewise.
65868 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
65870         * Makefile.in: Remove CVSOPT handling.
65871         * configure.in: Remove use of AC_REVISION.
65872         * iconvdata/Makefile (distribute): No need to filter out CVS.
65873         * scripts/list-sources.sh: Remove CVS, subversion and monotone
65874         handling.
65876 2011-11-16  Andreas Schwab  <schwab@redhat.com>
65878         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
65879         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
65880         [USE_AS_STRNCASECMP_L]: Likewise.
65881         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
65882         NO_TLS_DIRECT_SEG_REFS.
65883         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
65884         Fix argument offsets for non-PIC.
65885         [USE_AS_STRNCASECMP_L]: Likewise.
65886         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
65887         NO_TLS_DIRECT_SEG_REFS.
65889 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
65891         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
65892         O_CLOEXEC.
65893         * locale/loadlocale.c (_nl_load_locale): Likewise.
65895 2011-11-15  Andreas Schwab  <schwab@redhat.com>
65897         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
65898         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
65899         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
65900         (SYSCALL_GETTIME): Set errno on error.
65902         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
65903         count references to noai6ai_cached.
65905 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
65907         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
65909         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
65910         FD_CLOEXEC for /proc/self/maps.
65912         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
65913         FD_CLOEXEC for /proc/meminfo.
65915         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
65916         gai.conf.
65918         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
65919         FD_CLOEXEC for given file.
65921         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
65923         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
65924         FD_CLOEXEC for /etc/hosts.
65925         (_gethtent): Likewise.
65927         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
65929         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
65930         cancellation and set FD_CLOEXEC for /etc/netgroup.
65932         * nss/nss_files/files-key.c (search): Don't allow cancellation when
65933         reading /etc/publickey.
65935         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
65936         allow cancellation when reading /etc/group.
65938         * nss/nss_files/files-alias.c (internal_setent): Don't allow
65939         cancellation.
65940         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
65942         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
65943         when using data file.
65945         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
65947         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
65948         (write_nis_obj): Use "c" and "e" in fopen.
65950         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
65952         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
65954         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
65956         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
65958         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
65959         locale.alias.
65961         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
65963         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
65965         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
65967         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
65968         file parsing and set FD_CLOEXEC.
65970 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
65972         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
65974 2011-11-14  Andreas Schwab  <schwab@redhat.com>
65976         * malloc/arena.c (arena_get2): Don't call reused_arena when
65977         _int_new_arena failed.
65979 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
65981         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
65982         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
65983         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
65984         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
65985         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
65986         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
65987         to compile strcasecmp and strncasecmp.
65988         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
65989         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
65991         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
65993 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
65995         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
65996         locale-defines.sym to gen-as-const-headers.
65997         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
65998         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
65999         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
66000         to compile strcasecmp and strncasecmp.
66001         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
66002         strcasecmp_l and strncasecmp_l.
66003         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
66004         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
66005         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
66006         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
66007         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
66008         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
66009         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
66010         * sysdeps/i386/i686/multiarch/strncase.S: New file.
66011         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
66012         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
66013         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
66015 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
66017         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
66018         result of SYSDEP_GETTIME_CPU to retval.
66019         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
66020         parameter list to macro.  Remove trailing semicolon.  Adjust users.
66022         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
66023         variable.
66025         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
66026         mantissa words.
66027         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
66029         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
66030         from unused variable.
66032         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
66033         DWARF definitions.
66034         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
66035         for assembling.
66037         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
66038         over namespaces.
66040         * sunrpc/rpc_prot.c (rejected): Fix case value.
66042         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
66043         unsigned long long int to avoid warnings in shift.
66045         * posix/regex_internal.c (re_string_reconstruct): Actually use result
66046         of use of trans.
66047         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
66048         variable tmp.
66050         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
66051         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
66052         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
66054         * nis/nis_table.c (nis_list): Use variable of correct type for
66055         result of __follow_path call.
66057 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66059         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
66060         of math functions ceil, trunc, floor, round, and sqrt, when
66061         avaliable on the platform.
66062         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
66063         name clash.
66064         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
66065         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
66066         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
66068 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
66070         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
66071         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
66073 2011-11-11  Roland McGrath  <roland@hack.frob.com>
66075         * include/unistd.h: Fix __readlink return type.
66076         Reported by Chris Metcalf <cmetcalf@tilera.com>.
66078 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
66080         * stdlib/ucontext.h: Undo last change for makecontext.
66082 2011-11-11  Andreas Schwab  <schwab@redhat.com>
66084         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
66086         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
66087         * setjmp/setjmp.h: Mark functions as non-leaf.
66088         * setjmp/bits/setjmp2.h: Likewise.
66089         * stdlib/ucontext.h: Likewise.
66091 2011-11-10  Andreas Schwab  <schwab@redhat.com>
66093         * malloc/arena.c (_int_new_arena): Don't increment narenas.
66094         (reused_arena): Don't check arena limit.
66095         (arena_get2): Atomically check arena limit.
66097 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
66099         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
66100         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
66102         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
66103         instructions.
66105 2011-11-07  Andreas Schwab  <schwab@redhat.com>
66107         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
66108         handler when locking.
66110         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
66111         Fix size of allocated buffer.
66113 2011-11-04  Andreas Schwab  <schwab@redhat.com>
66115         [BZ #10103]
66116         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
66117         declarations for long double functions.
66118         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
66120         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
66122 2011-11-03  Andreas Schwab  <schwab@redhat.com>
66124         * nscd/nscd.c (main): Don't start AVC thread until credentials are
66125         installed.
66127         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
66128         is disabled.
66130 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66132         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
66134 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
66136         * include/alloca.h (stackinfo_alloca_round): Define.
66137         (extend_alloca): Use it.
66138         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
66139         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
66140         here.
66142         * scripts/check-local-headers.sh: Ignore libaudit.h.
66144         * nscd/Makefile (extra-objs): Make recursively expanded.
66146 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
66148         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
66149         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
66151         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
66152         * posix/tst-rfc3484-2.c: Likewise.
66153         * posix/tst-rfc3484-3.c: Likewise.
66155         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
66156         process_vm_writev.
66157         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
66158         process_vm_writev.
66159         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
66160         process_vm_writev from libc using GLIBC_2.15 version.
66162         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
66164 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
66166         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
66167         stack usage.
66169 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
66171         [BZ #13367]
66172         * nss/getent.c (initgroups_keys): Show error message in case no group
66173         names are given.
66175         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
66176         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
66177         __bump_nl_timestamp.
66178         * nscd/connections (nscd_init): When host database is served open
66179         netlink socket and request notification about configuration changes.
66180         (main_loop_poll): Track netlink file descriptor and bump timestamp
66181         in case data becomes available.
66182         (main_loop_epoll): Likewise.
66183         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
66184         (database_pers_head): Add extra_data fileds.
66185         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
66186         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
66187         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
66188         Adjust caller.
66189         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
66190         in6ai data, call __free_in6ai.
66191         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
66192         Add -DHAVE_NETLINK.
66193         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
66194         interface information.  Reuse previous data if netlink timestamp
66195         is not changed.
66196         (__bump_nl_timestamp): New function.
66197         (__free_in6ai): New function.
66199 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
66201         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
66202         close_not_cancel_no_status here.
66203         (__check_pf): Reorganize code a bit to not call close twice if OOM.
66205 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
66207         [BZ #13276]
66208         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
66209         return value.
66211         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
66212         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
66213         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
66215 2011-07-03  Andreas Jaeger  <aj@suse.de>
66217         [BZ #10709]
66218         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
66219         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
66220         * math/libm-test.inc (sin_test): Add test case.
66222 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
66224         [BZ #13337]
66225         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
66226         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
66228         * elf/chroot_canon.c (chroot_canon): Cleanups.
66230         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
66232         [BZ #13335]
66233         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
66234         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
66236         * string/test-strchr.c: Make usable for strchrnul testing.
66237         * string/test-strchrnul.c: New file.
66238         * string/Makefile (strop-tests): Add strchrnul.
66240         * po/it.po: Update from translation team.
66241         * po/es.po: Likewise.
66243 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
66245         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
66246         the three constants needed as parameters.  Drop the others.
66247         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
66248         __m128i_strloadu_tolower.
66249         Create and initialize variable zero and use it in all the places
66250         where _mm_setzero_si128 was used.
66252         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
66253         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
66254         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
66255         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
66256         anymore.
66257         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
66258         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
66259         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
66260         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
66261         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
66262         __mpranred, __mptan.
66263         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
66264         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
66265         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
66266         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
66267         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
66268         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
66269         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
66270         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
66271         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
66273 2011-10-28  Andreas Schwab  <schwab@redhat.com>
66275         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
66276         redefine if SHARED.
66277         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
66279         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
66280         wide char related routines to wcsmbs subdir.
66282 2011-10-27  Andreas Schwab  <schwab@redhat.com>
66284         [BZ #13344]
66285         * misc/sys/cdefs.h (__THROWNL): Define.
66286         * posix/unistd.h: Use __THREADNL instead of __THREAD
66287         for memory synchronization functions.
66289 2011-10-26  Roland McGrath  <roland@hack.frob.com>
66291         [BZ #13349]
66292         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
66293         doesn't exist.
66294         * manual/stdio.texi (Obstack Streams): Node removed.
66296 2011-10-26  Andreas Schwab  <schwab@redhat.com>
66298         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
66299         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
66300         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
66302         * math/math_private.h (math_force_eval): Allow non-addressable
66303         arguments.
66304         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
66306 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
66308         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
66309         file is not needed.
66311         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
66312         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
66313         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
66314         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
66315         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
66316         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
66317         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
66318         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
66319         Add AVX variants.
66320         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
66321         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
66322         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
66323         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
66324         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
66325         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
66326         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
66327         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
66328         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
66329         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
66330         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
66331         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
66332         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
66333         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
66334         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
66335         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
66336         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
66337         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
66338         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
66340         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
66341         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
66343         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
66344         place.  Use VEX encoding when compiling for AVX.
66346 2011-10-25  Andreas Schwab  <schwab@redhat.com>
66348         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
66349         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
66351         * string/test-strchr.c (do_test): Don't generate NUL bytes.
66353 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
66355         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
66356         useless if() expression.
66357         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
66358         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
66359         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
66360         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
66361         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
66362         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
66363         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
66364         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
66365         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
66366         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
66367         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
66368         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
66369         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
66370         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
66371         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
66372         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
66373         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
66374         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
66375         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
66377         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
66379 2011-10-25  Andreas Schwab  <schwab@redhat.com>
66381         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
66382         condition.
66383         * elf/dl-fini.c (_dl_sort_fini): Likewise.
66385 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
66387         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
66388         .text section.  Avoid duplicate constants.
66389         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
66390         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66391         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
66392         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66393         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66394         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66395         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66396         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66397         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
66398         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
66399         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
66400         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
66401         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
66402         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
66403         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
66404         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
66405         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
66406         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
66407         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
66408         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66409         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
66410         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
66411         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
66412         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
66413         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
66414         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
66415         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
66416         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
66417         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
66418         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
66419         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
66420         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
66421         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
66422         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
66423         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
66424         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
66425         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
66426         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
66427         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
66428         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
66429         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
66430         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
66431         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
66432         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
66433         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
66435 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
66437         * sysdeps/x86_64/dla.h: Move to ...
66438         * sysdeps/x86_64/fpu/dla.h: ...here.
66439         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
66440         situations.  Use __builtin_fma only for gcc 4.6 and up.
66442         * config.make.in: Add have-mfma4 entry.
66443         * configure.in: Substitute libc_cv_cc_fma4.
66444         * math/Makefile (dbl-only-routines): Add sincostab.
66445         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
66446         Use __sincostab not sincos.
66447         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
66448         name is a macro.
66449         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66450         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66451         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66452         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
66453         using __copysign.
66454         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
66455         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
66456         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
66457         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
66458         and __inv.
66459         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
66460         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
66461         __copysign.
66462         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
66463         define aliases when function name is a macro.
66464         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
66465         sysdeps/ieee754/dbl-64/sincos.tbl.
66466         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
66467         fma4-enabled routines.
66468         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
66469         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
66470         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
66471         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
66472         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
66473         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
66474         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
66475         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
66476         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
66477         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
66478         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
66479         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
66480         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
66481         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
66482         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
66483         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
66484         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
66485         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
66486         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
66487         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
66488         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
66489         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
66490         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
66491         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
66492         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
66493         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
66494         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
66495         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
66496         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
66497         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
66499         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
66500         rename.
66501         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66502         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66503         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66504         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66505         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66506         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66507         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
66508         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66510 2011-10-24  Andreas Schwab  <schwab@redhat.com>
66512         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
66514 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
66516         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
66518         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
66519         prediction.
66520         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
66522         * string/strnlen.c: Don't define STRNLEN, reverse logic.
66523         Remove unused variable magic_bits.
66524         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
66526         * string/strnlen.c: Define and use STRNLEN macro.
66527         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
66528         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
66529         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
66530         * wcsmbs/wcslen.c: Define and use WCSLEN.
66531         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
66532         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
66533         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
66534         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
66535         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
66536         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
66537         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
66539 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66541         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66542         strnlen-sse2-no-bsf.
66543         Rename strlen-no-bsf to strlen-sse2-no-bsf.
66544         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
66545         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
66546         Add strnlen support.
66547         (USE_AS_STRNLEN): New macro.
66548         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
66549         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
66550         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
66551         * sysdeps/x86_64/wcslen.S: New file.
66553 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
66555         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
66556         XMM-moves are used for copying on small sizes.
66558 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66560         * wcsmbs/Makefile (strop-tests): Add wcschr.
66561         * wcsmbs/test-wcschr.c: New file.
66562         * string/test-strchr.c: Update.
66563         Add wcschr support.
66564         (WIDE): New macro.
66566 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66568         * wcsmbs/Makefile (strop-tests): Add wcslen.
66569         * wcsmbs/test-wcslen.c: New file.
66570         * string/test-strlen.c: Update.
66571         Add wcslen support.
66572         (WIDE): New macro.
66574 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
66576         * po/it.po: Update from translation team.
66578 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66580         * sysdeps/x86_64/wcscmp.S: Update.
66581         Fix wrong comparison semantics.
66582         wcscmp shall use signed comparison not unsigned.
66583         Don't use substraction to avoid overflow bug.
66584         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
66585         * wcsmbc/wcscmp.c: Likewise.
66586         * string/test-strcmp.c: Likewise.
66587         Add new tests to check cases with negative values.
66589 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
66591         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
66592         * sysdeps/x86_64/dla.h: ...here.  New file.
66593         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
66594         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66595         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66596         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66597         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66598         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
66599         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66600         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
66601         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66603 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
66605         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
66606         __ynl_finite aliases.
66608 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
66610         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66612         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
66613         define DLA_FMA.
66614         [DLA_FMA] (EMULV): Use DLA_FMA.
66615         [DLA_FMA] (MUL12): Use EMULV.
66616         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
66617         that are not needed.
66618         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66619         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66620         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66621         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66622         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66623         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
66624         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66626 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
66628         * math/s_nan.c: Undef __nan.
66629         * math/s_nanf.c: Undef __nanf.
66630         * math/s_nanl.c: Undef __nanl.
66631         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
66632         "math_private.h".
66634 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
66636         * math/s_catan.c: Add branch predictions.
66637         * math/s_catanf.c: Likewise.
66638         * math/s_catanh.c: Likewise.
66639         * math/s_catanhf.c: Likewise.
66640         * math/s_catanhl.c: Likewise.
66641         * math/s_catanl.c: Likewise.
66642         * math/s_cexp.c: Likewise.
66643         * math/s_cexpf.c: Likewise.
66644         * math/s_cexpl.c: Likewise.
66645         * math/s_clog.c: Likewise.
66646         * math/s_clog10.c: Likewise.
66647         * math/s_clog10f.c: Likewise.
66648         * math/s_clog10l.c: Likewise.
66649         * math/s_clogf.c: Likewise.
66650         * math/s_clogl.c: Likewise.
66651         * math/s_csqrt.c: Likewise.
66652         * math/s_csqrtf.c: Likewise.
66653         * math/s_csqrtl.c: Likewise.
66654         * math/s_ctanf.c: Likewise.
66655         * math/s_ctanh.c: Likewise.
66656         * math/s_ctanhf.c: Likewise.
66657         * math/s_ctanhl.c: Likewise.
66658         * math/s_ctanl.c: Likewise.
66660         * math/math_private.h: Define __nan, __nanf, __nanl.
66661         * math/s_cacosh.c: Include <math_private.h>.
66662         * math/s_cacoshl.c: Likewise.
66663         * math/s_casinh.c: Likewise.
66664         * math/s_casinhf.c: Likewise.
66665         * math/s_casinhl.c: Likewise.
66666         * math/s_ccos.c: Rely entire on ccosh.
66667         * math/s_ccosf.c: Rely entire on ccoshf.
66668         * math/s_ccosl.c: Rely entirely on ccoshl.
66669         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
66670         Remove tests for FE_INVALID.
66671         * math/s_ccoshf.c: Likewise.
66672         * math/s_ccoshl.c: Likewise.
66673         * math/s_csin.c: Likewise.
66674         * math/s_csinf.c: Likewise.
66675         * math/s_csinh.c Likewise.
66676         * math/s_csinhf.c: Likewise.
66677         * math/s_csinhl.c: Likewise.
66678         * math/s_csinl.c: Likewise.
66679         * math/s_ctan.c: Likewise.
66680         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
66681         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
66682         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
66684 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
66686         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
66687         compilation problems.
66689         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
66690         __builtin_expect.
66692 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
66694         * sysdeps/i386/configure.in: Test for -mfma4 option.
66695         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
66696         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
66697         COMMON_CPUID_INDEX_80000001.
66698         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
66699         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
66700         use it if FMA3 is not supported.
66701         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
66703         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
66704         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
66706 2011-10-20  Andreas Schwab  <schwab@redhat.com>
66708         [BZ #12892]
66709         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
66710         it would create a cycle with a link time dependency.
66712 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
66714         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
66715         instruction.
66716         * string/Makefile (strop-tests): Add rawmemchr.
66717         * string/test-rawmemchr.c: New file.
66719         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
66720         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
66721         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
66722         when compiling str{,n}casecmp and when AVX is available.  Hook up
66723         new optimized code in initializers.
66725 2011-10-19  Andreas Schwab  <schwab@redhat.com>
66727         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
66728         __feraiseexcept instead of feraiseexcept.
66730 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
66732         * math/math_private.h: Define defaults for libc_fetestexcept and
66733         libc_feupdateenv.
66734         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
66735         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
66736         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
66737         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
66738         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
66739         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
66740         libc_fetestexcept and libc_feupdateenv.
66742         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
66743         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
66744         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
66745         * sysdeps/x86_64/fpu/math_private.h: Define special version of
66746         libc_feholdexcept_setround.
66748         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
66749         Add s_nearbyint-c and s_nearbyintf-c.
66750         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
66751         nearbyintf inlines.
66752         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
66753         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
66754         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
66755         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
66757         * math/math_private.h: Define defaults for libc_fegetround,
66758         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
66759         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
66760         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
66761         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
66762         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
66763         standard functions.
66764         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
66765         Remove comments and hacks for old compiler versions.
66766         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
66767         libc_fegetround, libc_fesetround, libc_feholdexcept, and
66768         libc_feholdexceptl.
66770 2011-10-18  Andreas Schwab  <schwab@redhat.com>
66772         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
66773         (__feraiseexcept_renamed): Add __NTH.
66774         (feraiseexcept): Add __NTH.  Rename local variables to fix
66775         namespace violations.
66777 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
66779         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
66781         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
66783         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
66784         recently added interfaces.
66785         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
66787         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
66788         about macro parameter expansion.
66790         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
66791         __NO_MATH_INLINES is defined.  Cleanups.
66793         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
66794         and __floorf is target has SSE4.1.
66795         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
66796         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
66797         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
66798         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
66800         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
66801         name.
66802         (floorf): Likewise.
66804         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
66806 2011-10-17  Andreas Schwab  <schwab@redhat.com>
66808         * misc/sys/cdefs.h: Fix last change.
66810         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
66811         database lookup.
66813 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
66815         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
66817         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
66818         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
66819         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
66820         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
66821         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
66822         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
66823         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
66824         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
66825         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
66826         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
66827         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
66828         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
66829         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
66830         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
66831         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
66832         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
66833         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
66834         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
66835         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
66836         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
66837         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
66838         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
66840         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
66841         ceil, ceilf, floor, floorf.
66843         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
66844         Perform IRELATIVE relocations last.
66846         * elf/do-rel.h: Add another parameter nrelative, replacing the
66847         local variable with the same name.  Change name of the function
66848         to end in Rel or Rela (uppercase).
66849         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
66850         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
66851         elf_dynamic_do_##reloc function.
66853 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
66855         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
66856         is sufficient, at least on modern CPUs.
66858         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
66860         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
66861         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
66863         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
66864         __expl_finite.
66865         * math/bits/math-finite.h: Add entries for exp.
66866         * math/e_expl.c: Add __*_finite alias.
66867         * sysdeps/i386/fpu/e_exp.S: Likewise.
66868         * sysdeps/i386/fpu/e_expf.S: Likewise.
66869         * sysdeps/i386/fpu/e_expl.c: Likewise.
66870         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66871         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
66872         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
66873         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
66874         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
66875         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
66876         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
66878         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
66879         is sufficient, at least on modern CPUs.
66881         * ctype/ctype-info.c (__ctype_init): Define.
66882         * include/ctype.h (__ctype_init): Declare.
66883         (__ctype_b_loc): The variable is always initialized.
66884         (__ctype_toupper_loc): Likewise.
66885         (__ctype_tolower_loc): Likewise.
66886         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
66887         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
66889 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
66891         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
66893         * configure.in: Also look in $cxxmachine/include for C++ system
66894         headers.
66896 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66898         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
66899         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
66900         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
66901         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
66902         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
66903         (USE_AS_WMEMCMP): New macro.
66904         Fixing indents.
66905         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
66906         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
66907         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
66908         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
66909         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66910         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
66911         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
66912         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
66913         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
66914         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
66915         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
66916         (USE_AS_WMEMCMP): New macro.
66917         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
66918         * sysdeps/string/test-memcmp.c: Update.
66919         Fix simple_wmemcmp.
66920         Add new tests.
66921         * wcsmbs/wmemcmp.c: Update.
66922         (WMEMCMP): New macro.
66923         Fix overflow bug.
66925 2011-10-12  Andreas Jaeger  <aj@suse.de>
66927         [BZ #13268]
66928         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
66930 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
66932         * libio/iofwide.c (do_length): Avoid warning.
66934         * ctype/ctype.h (__isctype_f): Add missing __THROW.
66936 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
66938         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
66940         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
66941         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
66942         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
66943         * sysdeps/i386/i686/fpu/e_log.S: New file.
66944         * sysdeps/i386/i686/fpu/e_logf.S: New file.
66945         * sysdeps/i386/i686/fpu/e_logl.S: New file.
66947         * ctype/ctype.h: Add support for inlined isXXX functions when
66948         compiling C++ code.
66950 2011-10-14  Andreas Schwab  <schwab@redhat.com>
66952         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
66954         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
66956 2011-10-13  Roland McGrath  <roland@hack.frob.com>
66958         [BZ #13291]
66959         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
66961 2011-10-13  Andreas Schwab  <schwab@redhat.com>
66963         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
66964         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
66965         feraiseexcept.
66967         * sysdeps/x86_64/memrchr.S: Check for zero size.
66969         * string/stratcliff.c: Add memrchr tests.
66971 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66973         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66974         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
66975         rawmemchr-sse2 rawmemchr-sse2-bsf.
66976         * sysdeps/i386/i686/multiarch/memchr.S: New file.
66977         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
66978         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
66979         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
66980         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
66981         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
66982         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
66983         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
66984         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
66985         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
66986         * string/memrchr.c (MEMRCHR): New macro.
66988 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
66990         Add integration with gcc's -ffinite-math-only and optimize wrapper
66991         functions in libm.
66992         * Versions.def: Define GLIBC_2.15 version for libm.
66993         * math/Makefile (headers): Add bits/math-finite.h.
66994         * math/bits/math-finite.h: New file.
66995         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
66996         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
66997         * math/e_acoshl.c: Add __*_finite alias.
66998         * math/e_acosl.c: Likewise.
66999         * math/e_asinl.c: Likewise.
67000         * math/e_atan2l.c: Likewise.
67001         * math/e_atanhl.c: Likewise.
67002         * math/e_coshl.c: Likewise.
67003         * math/e_exp10.c: Likewise.
67004         * math/e_exp10f.c: Likewise.
67005         * math/e_exp10l.c: Likewise.
67006         * math/e_exp2l.c: Likewise.
67007         * math/e_fmodl.c: Likewise.
67008         * math/e_gammal_r.c: Likewise.
67009         * math/e_hypotl.c: Likewise.
67010         * math/e_j0l.c: Likewise.
67011         * math/e_j1l.c: Likewise.
67012         * math/e_jnl.c: Likewise.
67013         * math/e_lgammal_r.c: Likewise.
67014         * math/e_log10l.c: Likewise.
67015         * math/e_log2l.c: Likewise.
67016         * math/e_logl.c: Likewise.
67017         * math/e_powl.c: Likewise.
67018         * math/e_sinhl.c: Likewise.
67019         * math/e_sqrtl.c: Likewise.
67020         * math/e_scalb.c: Completely rewritten and optimized.
67021         * math/e_scalbf.c: Likewise.
67022         * math/e_scalbl.c: Likewise.
67023         * math/w_acos.c: Likewise.
67024         * math/w_acosf.c: Likewise.
67025         * math/w_acosl.c: Likewise.
67026         * math/w_acosh.c: Likewise.
67027         * math/w_acoshf.c: Likewise.
67028         * math/w_acoshl.c: Likewise.
67029         * math/w_asin.c: Likewise.
67030         * math/w_asinf.c: Likewise.
67031         * math/w_asinl.c: Likewise.
67032         * math/w_atan2.c: Likewise.
67033         * math/w_atan2f.c: Likewise.
67034         * math/w_atan2l.c: Likewise.
67035         * math/w_atanh.c: Likewise.
67036         * math/w_atanhf.c: Likewise.
67037         * math/w_atanhl.c: Likewise.
67038         * math/w_exp10.c: Likewise.
67039         * math/w_exp10f.c: Likewise.
67040         * math/w_exp10l.c: Likewise.
67041         * math/w_fmod.c: Likewise.
67042         * math/w_fmodf.c: Likewise.
67043         * math/w_fmodl.c: Likewise.
67044         * math/w_j0.c: Likewise.
67045         * math/w_j0f.c: Likewise.
67046         * math/w_j0l.c: Likewise.
67047         * math/w_j1.c: Likewise.
67048         * math/w_j1f.c: Likewise.
67049         * math/w_j1l.c: Likewise.
67050         * math/w_jn.c: Likewise.
67051         * math/w_jnf.c: Likewise.
67052         * math/w_log.c: Likewise.
67053         * math/w_logf.c: Likewise.
67054         * math/w_logl.c: Likewise.
67055         * math/w_log10.c: Likewise.
67056         * math/w_log10f.c: Likewise.
67057         * math/w_log10l.c: Likewise.
67058         * math/w_log2.c: Likewise.
67059         * math/w_log2f.c: Likewise.
67060         * math/w_log2l.c: Likewise.
67061         * math/w_pow.c: Likewise.
67062         * math/w_powf.c: Likewise.
67063         * math/w_powl.c: Likewise.
67064         * math/w_remainder.c: Likewise.
67065         * math/w_remainderf.c: Likewise.
67066         * math/w_remainderl.c: Likewise.
67067         * math/w_scalb.c: Likewise.
67068         * math/w_scalbf.c: Likewise.
67069         * math/w_scalbl.c: Likewise.
67070         * math/w_sqrt.c: Likewise.
67071         * math/w_sqrtf.c: Likewise.
67072         * math/w_sqrtl.c: Likewise.
67073         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
67074         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
67075         used.
67076         * math/math_private.h: Declare __kernel_standard_f.
67077         * math/w_cosh.c: Remove cruft and optimize a bit.
67078         * math/w_coshf.c: Likewise.
67079         * math/w_coshl.c: Likewise.
67080         * math/w_exp2.c: Likewise.
67081         * math/w_exp2f.c: Likewise.
67082         * math/w_exp2l.c: Likewise.
67083         * math/w_hypot.c: Likewise.
67084         * math/w_hypotf.c: Likewise.
67085         * math/w_hypotl.c: Likewise.
67086         * math/w_lgamma.c: Likewise.
67087         * math/w_lgamma_r.c: Likewise.
67088         * math/w_lgammaf.c: Likewise.
67089         * math/w_lgammaf_r.c: Likewise.
67090         * math/w_lgammal.c: Likewise.
67091         * math/w_lgammal_r.c: Likewise.
67092         * math/w_sinh.c: Likewise.
67093         * math/w_sinhf.c: Likewise.
67094         * math/w_sinhl.c: Likewise.
67095         * math/w_tgamma.c: Likewise.
67096         * math/w_tgammaf.c: Likewise.
67097         * math/w_tgammal.c: Likewise.
67098         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
67099         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
67100         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
67101         Minor optimizations.  Pretty printing.  Remove cruft.
67102         * sysdeps/i386/fpu/e_acosf.S: Likewise.
67103         * sysdeps/i386/fpu/e_acosh.S: Likewise.
67104         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
67105         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
67106         * sysdeps/i386/fpu/e_acosl.c: Likewise.
67107         * sysdeps/i386/fpu/e_asin.S: Likewise.
67108         * sysdeps/i386/fpu/e_asinf.S: Likewise.
67109         * sysdeps/i386/fpu/e_atan2.S: Likewise.
67110         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
67111         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
67112         * sysdeps/i386/fpu/e_atanh.S: Likewise.
67113         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
67114         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
67115         * sysdeps/i386/fpu/e_exp10.S: Likewise.
67116         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
67117         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
67118         * sysdeps/i386/fpu/e_exp2.S: Likewise.
67119         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
67120         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
67121         * sysdeps/i386/fpu/e_fmod.S: Likewise.
67122         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
67123         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
67124         * sysdeps/i386/fpu/e_hypot.S: Likewise.
67125         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
67126         * sysdeps/i386/fpu/e_log.S: Likewise.
67127         * sysdeps/i386/fpu/e_log10.S: Likewise.
67128         * sysdeps/i386/fpu/e_log10f.S: Likewise.
67129         * sysdeps/i386/fpu/e_log10l.S: Likewise.
67130         * sysdeps/i386/fpu/e_log2.S: Likewise.
67131         * sysdeps/i386/fpu/e_log2f.S: Likewise.
67132         * sysdeps/i386/fpu/e_log2l.S: Likewise.
67133         * sysdeps/i386/fpu/e_logf.S: Likewise.
67134         * sysdeps/i386/fpu/e_logl.S: Likewise.
67135         * sysdeps/i386/fpu/e_pow.S: Likewise.
67136         * sysdeps/i386/fpu/e_powf.S: Likewise.
67137         * sysdeps/i386/fpu/e_powl.S: Likewise.
67138         * sysdeps/i386/fpu/e_remainder.S: Likewise.
67139         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
67140         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
67141         * sysdeps/i386/fpu/e_scalb.S: Likewise.
67142         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
67143         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
67144         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
67145         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
67146         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
67147         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
67148         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
67149         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67150         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
67151         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
67152         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
67153         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
67154         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
67155         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
67156         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
67157         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
67158         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
67159         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67160         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
67161         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
67162         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67163         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
67164         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
67165         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
67166         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67167         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
67168         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
67169         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
67170         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
67171         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
67172         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
67173         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
67174         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
67175         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
67176         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
67177         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
67178         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
67179         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
67180         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
67181         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
67182         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
67183         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
67184         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
67185         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
67186         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
67187         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
67188         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
67189         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
67190         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
67191         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
67192         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
67193         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
67194         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
67195         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
67196         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
67197         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
67198         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
67199         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
67200         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
67201         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
67202         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
67203         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
67204         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
67205         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
67206         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
67207         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
67208         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
67209         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
67210         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
67211         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
67212         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
67213         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
67214         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
67215         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
67216         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
67217         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
67218         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
67219         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
67220         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
67221         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
67222         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
67223         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
67224         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
67225         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
67226         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
67227         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
67228         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
67229         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
67230         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
67231         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
67232         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
67233         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
67234         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
67235         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
67236         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
67237         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
67238         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
67239         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
67240         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
67241         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
67242         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
67243         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
67244         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
67245         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
67246         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
67247         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
67248         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
67249         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
67250         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
67251         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
67252         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
67253         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
67254         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
67255         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
67256         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
67257         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
67258         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
67259         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
67260         (__isnanf): Likewise.
67261         (__isinf_ns): Likewise.
67262         (__isinf_nsf): Likewise.
67263         (__finite): Likewise.
67264         (__finitef): Likewise.
67265         (__ieee754_sqrt): Define as macro.
67266         (__ieee754_sqrtf): Define as macro.
67267         (__ieee754_sqrtl): Define as macro.
67268         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
67269         inlined copy.
67270         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
67271         __FINITE_MATH_ONLY__ consistent.
67272         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
67274 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
67276         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
67277         of rawmemchr.
67279         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
67281 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
67283         * po/ja.po: Update from translation team.
67285 2011-10-08  Roland McGrath  <roland@hack.frob.com>
67287         * locale/programs/locarchive.c (prepare_address_space): New function.
67288         (create_archive, enlarge_archive, open_archive): Use it.
67290         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
67291         inside [SHARED], where it is used.
67293         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
67295         * nss/getent.c (netgroup_keys): Remove unused variable.
67296         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
67298 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
67300         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
67301         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
67302         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
67303         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
67304         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
67305         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
67306         * math/Makefile (libm-calls): Add s_isinf_ns.
67307         * math/divtc3.c: Use __isinf_nsl instead of isinf.
67308         * math/multc3.c: Likewise.
67309         * math/s_casin.c: Likewise.
67310         * math/s_casinf.c: Likewise.
67311         * math/s_casinl.c: Likewise.
67312         * math/s_ccos.c: Likewise.
67313         * math/s_ccosf.c: Likewise.
67314         * math/s_ccosl.c: Likewise.
67315         * math/s_ctan.c: Likewise.
67316         * math/s_ctanf.c: Likewise.
67317         * math/s_ctanh.c: Likewise.
67318         * math/s_ctanhf.c: Likewise.
67319         * math/s_ctanhl.c: Likewise.
67320         * math/s_ctanl.c: Likewise.
67321         * math/w_fmod.c: Likewise.
67322         * math/w_fmodf.c: Likewise.
67323         * math/w_fmodl.c: Likewise.
67324         * math/w_remainder.c: Likewise.
67325         * math/w_remainderf.c: Likewise.
67326         * math/w_remainderl.c: Likewise.
67327         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
67328         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
67329         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
67330         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
67331         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
67332         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
67333         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
67334         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
67336         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
67337         of the number.
67338         * stdio-common/printf_fphex.c: Likewise.
67339         * stdio-common/printf_size.c: Likewise.
67341         * math/e_exp10.c: Include math_private.h using <...> not "...".
67342         * math/e_exp10f.c: Likewise.
67343         * math/e_exp10l.c: Likewise.
67344         * math/e_exp2l.c: Likewise.
67345         * math/e_j0l.c: Likewise.
67346         * math/e_j1l.c: Likewise.
67347         * math/e_jnl.c: Likewise.
67348         * math/e_lgammal_r.c: Likewise.
67349         * math/e_rem_pio2l.c: Likewise.
67350         * math/e_scalb.c: Likewise.
67351         * math/e_scalbf.c: Likewise.
67352         * math/e_scalbl.c: Likewise.
67353         * math/k_cosl.c: Likewise.
67354         * math/k_sinl.c: Likewise.
67355         * math/k_tanl.c: Likewise.
67356         * math/s_cacoshf.c: Likewise.
67357         * math/s_catan.c: Likewise.
67358         * math/s_catanf.c: Likewise.
67359         * math/s_catanh.c: Likewise.
67360         * math/s_catanhf.c: Likewise.
67361         * math/s_catanhl.c: Likewise.
67362         * math/s_catanl.c: Likewise.
67363         * math/s_ccosh.c: Likewise.
67364         * math/s_ccoshf.c: Likewise.
67365         * math/s_ccoshl.c: Likewise.
67366         * math/s_cexp.c: Likewise.
67367         * math/s_cexpf.c: Likewise.
67368         * math/s_cexpl.c: Likewise.
67369         * math/s_clog.c: Likewise.
67370         * math/s_clog10.c: Likewise.
67371         * math/s_clog10f.c: Likewise.
67372         * math/s_clog10l.c: Likewise.
67373         * math/s_clogf.c: Likewise.
67374         * math/s_clogl.c: Likewise.
67375         * math/s_csin.c: Likewise.
67376         * math/s_csinf.c: Likewise.
67377         * math/s_csinh.c: Likewise.
67378         * math/s_csinhf.c: Likewise.
67379         * math/s_csinhl.c: Likewise.
67380         * math/s_csinl.c: Likewise.
67381         * math/s_csqrt.c: Likewise.
67382         * math/s_csqrtf.c: Likewise.
67383         * math/s_csqrtl.c: Likewise.
67384         * math/s_ctan.c: Likewise.
67385         * math/s_ctanf.c: Likewise.
67386         * math/s_ctanh.c: Likewise.
67387         * math/s_ctanhf.c: Likewise.
67388         * math/s_ctanhl.c: Likewise.
67389         * math/s_ctanl.c: Likewise.
67390         * math/s_ldexp.c: Likewise.
67391         * math/s_ldexpf.c: Likewise.
67392         * math/s_ldexpl.c: Likewise.
67393         * math/s_significand.c: Likewise.
67394         * math/s_significandf.c: Likewise.
67395         * math/s_significandl.c: Likewise.
67396         * math/w_acos.c: Likewise.
67397         * math/w_acosf.c: Likewise.
67398         * math/w_acosh.c: Likewise.
67399         * math/w_acoshf.c: Likewise.
67400         * math/w_acoshl.c: Likewise.
67401         * math/w_acosl.c: Likewise.
67402         * math/w_asin.c: Likewise.
67403         * math/w_asinf.c: Likewise.
67404         * math/w_asinl.c: Likewise.
67405         * math/w_atan2.c: Likewise.
67406         * math/w_atan2f.c: Likewise.
67407         * math/w_atan2l.c: Likewise.
67408         * math/w_atanh.c: Likewise.
67409         * math/w_atanhf.c: Likewise.
67410         * math/w_atanhl.c: Likewise.
67411         * math/w_cosh.c: Likewise.
67412         * math/w_coshf.c: Likewise.
67413         * math/w_coshl.c: Likewise.
67414         * math/w_dremf.c: Likewise.
67415         * math/w_exp10.c: Likewise.
67416         * math/w_exp10f.c: Likewise.
67417         * math/w_exp10l.c: Likewise.
67418         * math/w_exp2.c: Likewise.
67419         * math/w_exp2f.c: Likewise.
67420         * math/w_fmod.c: Likewise.
67421         * math/w_fmodf.c: Likewise.
67422         * math/w_fmodl.c: Likewise.
67423         * math/w_hypot.c: Likewise.
67424         * math/w_hypotf.c: Likewise.
67425         * math/w_hypotl.c: Likewise.
67426         * math/w_j0.c: Likewise.
67427         * math/w_j0f.c: Likewise.
67428         * math/w_j0l.c: Likewise.
67429         * math/w_j1.c: Likewise.
67430         * math/w_j1f.c: Likewise.
67431         * math/w_j1l.c: Likewise.
67432         * math/w_jn.c: Likewise.
67433         * math/w_jnf.c: Likewise.
67434         * math/w_jnl.c: Likewise.
67435         * math/w_lgamma.c: Likewise.
67436         * math/w_lgamma_r.c: Likewise.
67437         * math/w_lgammaf.c: Likewise.
67438         * math/w_lgammaf_r.c: Likewise.
67439         * math/w_lgammal.c: Likewise.
67440         * math/w_lgammal_r.c: Likewise.
67441         * math/w_log.c: Likewise.
67442         * math/w_log10.c: Likewise.
67443         * math/w_log10f.c: Likewise.
67444         * math/w_log10l.c: Likewise.
67445         * math/w_log2.c: Likewise.
67446         * math/w_log2f.c: Likewise.
67447         * math/w_log2l.c: Likewise.
67448         * math/w_logf.c: Likewise.
67449         * math/w_logl.c: Likewise.
67450         * math/w_pow.c: Likewise.
67451         * math/w_powf.c: Likewise.
67452         * math/w_powl.c: Likewise.
67453         * math/w_remainder.c: Likewise.
67454         * math/w_remainderf.c: Likewise.
67455         * math/w_remainderl.c: Likewise.
67456         * math/w_scalb.c: Likewise.
67457         * math/w_scalbf.c: Likewise.
67458         * math/w_scalbl.c: Likewise.
67459         * math/w_sinh.c: Likewise.
67460         * math/w_sinhf.c: Likewise.
67461         * math/w_sinhl.c: Likewise.
67462         * math/w_sqrt.c: Likewise.
67463         * math/w_sqrtf.c: Likewise.
67464         * math/w_sqrtl.c: Likewise.
67465         * math/w_tgamma.c: Likewise.
67466         * math/w_tgammaf.c: Likewise.
67467         * math/w_tgammal.c: Likewise.
67469         * po/ja.po: Update from translation team.
67471 2011-09-29  Andreas Jaeger  <aj@suse.de>
67473         [BZ #13179]
67474         * sunrpc/netname.c (netname2host): Fix logic.
67476         [BZ #6779]
67477         [BZ #6783]
67478         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
67479         correctly.
67480         * math/w_remainder.c (__remainder): Likewise.
67481         * math/w_remainderf.c (__remainderf): Likewise.
67482         * math/libm-test.inc (remainder_test): Add test cases.
67484 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67486         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
67487         sdiv_qrnnd.
67489 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
67491         * string/test-memcmp.c: Avoid unncessary #defines.
67492         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
67494 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67496         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
67497         Use new sse2 version for core i3 - i7 as it's faster
67498         than sse42 version.
67499         (bit_Prefer_PMINUB_for_stringop): New.
67500         * sysdeps/x86_64/rawmemchr.S: Update.
67501         Replace with faster SSE2 version.
67502         * sysdeps/x86_64/memrchr.S: New file.
67503         * sysdeps/x86_64/memchr.S: Update.
67504         Replace with faster SSE2 version.
67506 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
67508         * elf/dl-load.c (lose): Add cast to avoid warning.
67510 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
67512         * po/ca.po: Update from translation team.
67514         * inet/getnetgrent_r.c: Hook up nscd.
67515         * nscd/Makefile (routines): Add nscd_netgroup.
67516         (nscd-modules): Add netgroupcache.
67517         (CFLAGS-netgroupcache.c): Define.
67518         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
67519         (cache_search): Add const to second parameter.
67520         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
67521         INNETGR.
67522         (dbs): Add netgrdb entry.
67523         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
67524         (verify_persistent_db): Handle netgrdb.
67525         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
67526         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
67527         GETFDNETGR.
67528         (netgroup_response_header): Define.
67529         (innetgroup_response_header): Define.
67530         (datahead): Add netgroup_response_header and innetgroup_response_header
67531         elements.
67532         * nscd/nscd.conf: Add entries for netgroup cache.
67533         * nscd/nscd.h (dbtype): Add netgrdb.
67534         (_PATH_NSCD_NETGROUP_DB): Define.
67535         (netgroup_iov_disabled): Declare.
67536         (xmalloc, xcalloc, xrealloc): Move declarations here.
67537         (cache_search): Adjust prototype.
67538         Add netgroup-related prototypes.
67539         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
67540         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
67541         (__nscd_innetgr): Declare.
67542         * nscd/selinux.c (perms): Use access_vector_t as element type and
67543         add netgroup-related initializers.
67544         * nscd/netgroupcache.c: New file.
67545         * nscd/nscd_netgroup.c: New file.
67546         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
67547         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
67548         For four parameters use innetgr.
67549         * nss/nss_files/files-init.c: Add definition and callback for netgr.
67550         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
67551         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
67552         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
67554         * nscd/connections.c (register_traced_file): Don't register file
67555         for disabled databases.
67557 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
67559         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
67561         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
67562         from tree and freeing node.
67564 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
67566         * nss/nsswitch.c (__nss_database_lookup): Handle
67567         nss_parse_service_list out of memory case.
67569 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
67571         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
67572         out of memory case.
67574 2011-10-04  Andreas Schwab  <schwab@redhat.com>
67576         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
67577         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
67578         pass it down.
67579         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
67580         elf_machine_rela, elf_machine_lazy_rel.
67581         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
67582         (ELF_DYNAMIC_DO_REL): Likewise.
67583         (ELF_DYNAMIC_DO_RELA): Likewise.
67584         (ELF_DYNAMIC_RELOCATE): Likewise.
67585         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
67586         to ELF_DYNAMIC_DO_REL.
67587         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
67588         (dl_main): In trace mode always set __RTLD_NOIFUNC.
67589         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
67590         elf_machine_rela.
67591         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
67592         skip_ifunc, don't call ifunc function if non-zero.
67593         (elf_machine_rela): Likewise.
67594         (elf_machine_lazy_rel): Likewise.
67595         (elf_machine_lazy_rela): Likewise.
67596         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
67597         (elf_machine_lazy_rel): Likewise.
67598         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
67599         Likewise.
67600         (elf_machine_lazy_rel): Likewise.
67601         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
67602         Likewise.
67603         (elf_machine_lazy_rel): Likewise.
67604         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
67605         (elf_machine_lazy_rel): Likewise.
67606         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
67607         (elf_machine_lazy_rel): Likewise.
67608         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
67609         (elf_machine_lazy_rel): Likewise.
67610         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
67611         (elf_machine_lazy_rel): Likewise.
67612         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
67613         (elf_machine_lazy_rel): Likewise.
67614         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
67615         (elf_machine_lazy_rel): Likewise.
67617 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
67619         * nss/nss_files/files-init.c (_nss_files_init): Use static
67620         initialization for all the *_traced_file variables.
67622 2011-09-28  Andreas Schwab  <schwab@redhat.com>
67624         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
67626 2011-09-27  Roland McGrath  <roland@hack.frob.com>
67628         [BZ #13226]
67629         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
67631 2011-09-27  Andreas Schwab  <schwab@redhat.com>
67633         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
67634         Reread the line before reparsing it.
67636 2011-09-26  Andreas Schwab  <schwab@redhat.com>
67638         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
67640 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
67641             Maxim Kuvyrkov  <maxim@codesourcery.com>
67642             Joseph Myers  <joseph@codesourcery.com>
67644         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
67645         if needed for __stack_chk_guard.
67647 2011-09-19  Roland McGrath  <roland@hack.frob.com>
67649         * sysdeps/posix/spawni.c (script_execute): Always define it.
67650         It will be optimized away if unused.
67651         (maybe_script_execute): New function.
67652         (__spawni): Call it.
67654         * Makerules: Don't include tls.make.
67655         (config-tls): Always set to thread.
67656         * tls.make.c: File removed.
67658 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
67660         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
67661         * config.make.in (CPPFLAGS-config): New substituted variable.
67663 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
67665         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
67667         [BZ #13192]
67668         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
67669         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
67671 2011-09-15  Roland McGrath  <roland@hack.frob.com>
67673         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
67674         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
67675         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
67676         (CALL_FAIL): Likewise.
67677         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
67678         (CALL_FAIL): Macro removed.
67679         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
67681 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
67683         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
67684         for __FINITE_MATH_ONLY__ == 1.
67686 2011-09-15  Andreas Schwab  <schwab@redhat.com>
67688         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
67689         __ieee754_sqrt instead of sqrt.
67690         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
67691         __ieee754_sqrtf instead of sqrtf.
67692         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
67693         __floorf instead of floorf.
67694         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
67695         __floorf, __truncf instead of floorf, truncf.
67697 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
67699         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
67701         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
67702         __extern_always_inline.
67703         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
67704         32-bit.
67706 2011-09-14  Andreas Schwab  <schwab@redhat.com>
67708         * elf/rtld.c (dl_main): Also relocate in dependency order when
67709         doing symbol dependency testing.
67711 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
67713         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
67714         Always define `refsym'.
67716 2011-09-13  Andreas Schwab  <schwab@redhat.com>
67718         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
67719         (__FD_ELT): Renamed from __FDELT.
67720         * misc/bits/select2.h (__FD_ELT): Likewise.
67721         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
67722         __FD_MASK instead of __FDELT, __FDMASK.
67723         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
67724         Likewise.
67725         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
67726         Likewise.
67728         * elf/Makefile (gen-ldd): Fix pattern.
67730         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
67731         (init_tls): Likewise.
67733 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
67735         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
67737 2011-09-12  Andreas Schwab  <schwab@redhat.com>
67739         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
67740         `struct cmsghdr *' instead of `void *'.
67741         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
67742         Likewise.
67744 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
67746         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
67747         if non-absolute.
67748         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
67749         ldd_rewrite_script.
67751 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
67753         * configure.in: Remove --with-tls option.
67754         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
67755         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
67756         out in case it is missing.
67757         * sysdeps/ia64/elf/configure.in: Likewise.
67758         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
67759         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
67760         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
67761         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
67762         * sysdeps/sh/elf/configure.in: Likewise.
67763         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
67764         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
67765         * sysdeps/x86_64/elf/configure.in: Likewise.
67766         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
67767         * sysdeps/mach/hurd/tls.h: Likewise.
67769         [BZ #13067]
67770         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
67772         [BZ #13090]
67773         * configure.in: Fix use of AC_INIT.
67775         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
67777 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
67779         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
67780         __set_errno.
67781         * malloc/hooks.c: Likewise.
67783         [BZ #11929]
67784         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
67785         variables statically.
67786         (narenas): Initialize.
67787         (list_lock): Initialize.
67788         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
67789         initializtion of main_arena and list_lock.  Small cleanups.
67790         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
67791         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
67792         Add initializers to main_arena and mp_.
67793         (malloc_state): Remove pagesize member.  Change all users to use
67794         GLRO(dl_pagesize).
67796         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
67797         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
67798         is always initialized.
67800         * malloc/malloc.c: Removed unused configurations and dead code.
67801         * malloc/arena.c: Likewise.
67802         * malloc/hooks.c: Likewise.
67803         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
67805         * include/tls.h: Removed.  USE___THREAD must always be defined.
67806         * bits/libc-tsd.h: Don't handle !USE___THREAD.
67807         * elf/dl-libc.c: Likewise.
67808         * elf/dl-tsd.c: Likewise.
67809         * include/errno.h: Likewise.
67810         * include/netdb.h: Likewise.
67811         * include/resolv.h: Likewise.
67812         * inet/herrno-loc.c: Likewise.
67813         * inet/herrno.c: Likewise.
67814         * malloc/arena.c: Likewise.
67815         * malloc/hooks.c: Likewise.
67816         * malloc/malloc.c: Likewise.
67817         * resolv/res-state.c: Likewise.
67818         * resolv/res_libc.c: Likewise.
67819         * sysdeps/i386/dl-machine.h: Likewise.
67820         * sysdeps/ia64/dl-machine.h: Likewise.
67821         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
67822         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
67823         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
67824         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
67825         * sysdeps/sh/dl-machine.h: Likewise.
67826         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
67827         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
67828         * sysdeps/unix/i386/sysdep.S: Likewise.
67829         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
67830         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
67831         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
67832         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
67833         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
67834         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
67835         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
67836         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
67837         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
67838         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
67839         * sysdeps/unix/x86_64/sysdep.S: Likewise.
67840         * sysdeps/x86_64/dl-machine.h: Likewise.
67841         * tls.make.c: Likewise.
67843         * configure.in: Remove --with-__thread option.  Make tests for
67844         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
67845         tls_model attribute fail if no support is available.  Remove
67846         USE_IN_LIBIO.
67847         * Makeconfig: Adjust for dropped configure option.  All features are
67848         now mandatory.
67849         * Makerules: Likewise.
67850         * Versions.def: Likewise.
67851         * argp/argp-fmtstream.c: Likewise.
67852         * argp/argp-fmtstream.h: Likewise.
67853         * argp/argp-help.c: Likewise.
67854         * assert/assert.c: Likewise.
67855         * config.h.in: Likewise.
67856         * config.make.in: Likewise.
67857         * configure: Likewise.
67858         * configure.in: Likewise.
67859         * csu/Versions: Likewise.
67860         * csu/init.c: Likewise.
67861         * elf/tst-audit2.c: Likewise.
67862         * elf/tst-tls10.c: Likewise.
67863         * elf/tst-tls10.h: Likewise.
67864         * elf/tst-tls11.c: Likewise.
67865         * elf/tst-tls12.c: Likewise.
67866         * elf/tst-tls14.c: Likewise.
67867         * elf/tst-tlsmod11.c: Likewise.
67868         * elf/tst-tlsmod12.c: Likewise.
67869         * elf/tst-tlsmod13.c: Likewise.
67870         * elf/tst-tlsmod13a.c: Likewise.
67871         * elf/tst-tlsmod14a.c: Likewise.
67872         * elf/tst-tlsmod15b.c: Likewise.
67873         * elf/tst-tlsmod16a.c: Likewise.
67874         * elf/tst-tlsmod16b.c: Likewise.
67875         * elf/tst-tlsmod7.c: Likewise.
67876         * elf/tst-tlsmod8.c: Likewise.
67877         * elf/tst-tlsmod9.c: Likewise.
67878         * gmon/gmon.c: Likewise.
67879         * grp/fgetgrent_r.c: Likewise.
67880         * grp/putgrent.c: Likewise.
67881         * hurd/fopenport.c: Likewise.
67882         * include/libc-symbols.h: Likewise.
67883         * include/tls.h: Likewise.
67884         * intl/gettextP.h: Likewise.
67885         * intl/loadinfo.h: Likewise.
67886         * locale/global-locale.c: Likewise.
67887         * locale/localeinfo.h: Likewise.
67888         * mach/devstream.c: Likewise.
67889         * malloc/arena.c: Likewise.
67890         * malloc/set-freeres.c: Likewise.
67891         * misc/err.c: Likewise.
67892         * misc/getttyent.c: Likewise.
67893         * misc/mntent_r.c: Likewise.
67894         * posix/getopt.c: Likewise.
67895         * posix/wordexp.c: Likewise.
67896         * pwd/fgetpwent_r.c: Likewise.
67897         * resolv/Versions: Likewise.
67898         * resolv/res_hconf.c: Likewise.
67899         * shadow/fgetspent_r.c: Likewise.
67900         * shadow/putspent.c: Likewise.
67901         * stdio-common/printf_fphex.c: Likewise.
67902         * stdio-common/tmpfile.c: Likewise.
67903         * stdlib/abort.c: Likewise.
67904         * stdlib/fmtmsg.c: Likewise.
67905         * sunrpc/auth_unix.c: Likewise.
67906         * sunrpc/clnt_perr.c: Likewise.
67907         * sunrpc/clnt_tcp.c: Likewise.
67908         * sunrpc/clnt_udp.c: Likewise.
67909         * sunrpc/clnt_unix.c: Likewise.
67910         * sunrpc/openchild.c: Likewise.
67911         * sunrpc/svc_simple.c: Likewise.
67912         * sunrpc/svc_tcp.c: Likewise.
67913         * sunrpc/svc_udp.c: Likewise.
67914         * sunrpc/svc_unix.c: Likewise.
67915         * sunrpc/xdr.c: Likewise.
67916         * sunrpc/xdr_array.c: Likewise.
67917         * sunrpc/xdr_rec.c: Likewise.
67918         * sunrpc/xdr_ref.c: Likewise.
67919         * sunrpc/xdr_stdio.c: Likewise.
67921 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
67923         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
67925 2011-07-03  Andreas Jaeger  <aj@suse.de>
67927         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
67928         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
67929         regenerate with gen-libm-tests.pl.
67931 2010-05-12  Petr Baudis  <pasky@suse.cz>
67933         [BZ #11589]
67934         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
67935         around j0() zero points by switching to j1().
67936         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
67937         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
67938         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
67939         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
67941 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
67943         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
67944         instead of 0.
67945         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
67946         instead of 0.
67947         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
67948         Patch in part by Pavel Roskin <proski@gnu.org>.
67950         [BZ #13138]
67951         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
67952         realloc.
67953         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
67954         Free memory block if necessary.
67956         [BZ #12847]
67957         * libio/genops.c (INTDEF): For string streams the _lock pointer can
67958         be NULL.  Don't lock in this case.
67960 2011-09-09  Roland McGrath  <roland@hack.frob.com>
67962         * elf/elf.h (ELFOSABI_GNU): New macro.
67963         (ELFOSABI_LINUX): Define to that.
67965 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
67967         * string/strncat.c (strncat): Undef the symbol in case it has been
67968         defined in bits/string.h.
67970 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
67972         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
67974         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
67975         link map.
67977 2011-08-17  Andreas Jaeger  <aj@suse.de>
67979         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
67981 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
67982             Ian Lance Taylor  <iant@google.com>
67984         * math/libm-test.inc (lround_test): New testcase.
67985         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
67987 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
67989         * Makefile: Remove support for automatic cvs check-ins.
67990         * Makerules: Likewise.
67991         * config.make.in: Likewise.
67992         * configure.in: Likewise.
67993         * intl/Makefile: Likewise.
67994         * locale/Makefile: Likewise.
67995         * po/Makefile: Likewise.
67996         * posix/Makefile: Likewise.
67997         * sysdeps/gnu/Makefile: Likewise.
67998         * sysdeps/mach/hurd/Makefile: Likewise.
67999         * sysdeps/sparc/sparc32/Makefile: Likewise.
68001         [BZ #13118]
68002         * posix/Makefile (bug-regex32-ENV): Define.
68003         Patch by John Stanley <jpsinthemix@verizon.net>.
68005         * misc/Makefile (headers): Add bits/select2.h.
68006         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
68007         * misc/bits/select2.h: New file.
68008         * include/bits/select2.h: New file.
68009         * debug/Makefile (routines): Add fdelt_chk.
68010         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
68011         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
68012         FD_ISSET.
68013         * debug/fdelt_chk.c: New file.
68015         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
68016         * wcsmbs/test-wmemcmp.c: Likewise.
68017         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
68018         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
68020 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68022         * string/Makefile (strop-tests): Add memcmp.
68023         * string/test-wmemcmp.c: New file.
68024         * string/test-memcmp.c: Add wmemcmp support.
68026 2011-09-08  Roland McGrath  <roland@hack.frob.com>
68028         [BZ #13153]
68029         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
68030         2011-07-19 change.
68032         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
68033         garbage value in a __mach_port_mod_refs call in the cases of the
68034         task-self and thread-self ports.
68036 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68038         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
68040 2011-09-08  Andreas Schwab  <schwab@redhat.com>
68042         * elf/dl-load.c (lose): Check for non-null L.
68044 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
68046         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
68048         * elf/dl-libc.c (dlerror_run): Pass back error code from
68049         dl_catch_error.
68051         [BZ #13123]
68052         * elf/dl-load.c (lose): Free l_origin if it is valid.
68054         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
68055         names.
68056         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
68057         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
68058         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
68059         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
68060         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
68061         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
68063 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68065         * sysdeps/powerpc/fpu/e_hypot.c: New file.
68066         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
68067         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
68068         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
68069         * sysdeps/powerpc/fpu/k_cosf.c: New file.
68070         * sysdeps/powerpc/fpu/k_sinf.c: New file.
68071         * sysdeps/powerpc/fpu/s_cosf.c: New file.
68072         * sysdeps/powerpc/fpu/s_sinf.c: New file.
68073         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
68074         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
68076 2011-08-15  Alan Modra  <amodra@gmail.com>
68078         [BZ #13092]
68079         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
68080         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
68081         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
68082         ppc_mcount to static-only-routines.
68083         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
68084         __mcount_internal.
68085         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
68086         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
68088 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
68090         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
68091         for finite and infinity parameters.
68093 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
68095         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
68096         and add nop instructions for throughput optimization.
68097         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
68099 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
68101         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
68102         aligned copy for power7 with vector-scalar instructions.
68103         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
68105 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
68107         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
68108         AVX check.
68110 2011-09-07  Andreas Schwab  <schwab@redhat.com>
68112         [BZ #13144]
68113         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
68114         last change.
68116 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
68118         * sysdeps/unix/sysv/linux/x86_64/init-first.c
68119         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
68120         syscall wrapper around clock_gettime in __vdso_clock_gettime.
68121         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
68122         clock_gettime.
68124 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
68126         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
68127         Forgot to demangle the pointer.
68129         * sysdeps/i386/sysdep.h: Define atom_text_section.
68130         * sysdeps/x86_64/sysdep.h: Likewise.
68131         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
68132         section with atom_text_section.
68133         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
68134         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
68135         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
68136         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
68137         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
68139         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
68140         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
68141         already be defined.  Change to take two parameters and don't assign
68142         result to variable.  Adjust all users.
68143         Define INTERNAL_GETTIME if not already defined.
68144         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
68145         call.
68146         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
68147         HAVE_CLOCK_GETTIME_VSYSCALL.
68148         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
68150         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
68151         gettimeofday vsyscall, just use time.
68153 2011-09-06  Andreas Schwab  <schwab@redhat.com>
68155         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
68156         <errno.h>.
68158 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
68160         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
68161         syscall on x86-64.
68162         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
68163         syscall.
68164         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
68165         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
68166         syscall if possible.
68168 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
68170         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
68171         e_ident.  Don't pass to find_mapsXX.
68172         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
68174 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
68176         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68177         strchr-sse2-no-bsf strrchr-sse2-no-bsf
68178         * sysdeps/x86_64/multiarch/strchr.S: Update.
68179         Check bit_slow_BSF bit.
68180         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
68181         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
68182         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
68184 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
68186         [BZ #13134]
68187         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
68188         before glibc 2.15.
68189         (tryshell): Define.
68190         (__spawni): Change last parameter to be flag.  Test
68191         SPAWN_XFLAGS_USE_PATH flag to use path or not.
68192         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
68193         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
68194         * posix/spawni.c: Likewise.
68195         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
68196         * posix/spawnp.c: Likewise.  Change normal version to use
68197         SPAWN_XFLAGS_USE_PATH.
68198         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
68199         SPAWN_XFLAGS_TRY_SHELL.
68201         [BZ #13150]
68202         * posix/glob.h: Remove gcc 1.x support.
68204         [BZ #13068]
68205         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
68207 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
68209         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68210         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
68211         strrchr-sse2-bsf
68212         * sysdeps/i386/i686/multiarch/strchr.S: New file.
68213         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
68214         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
68215         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
68216         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
68217         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
68219 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68221         * sysdeps/x86_64/wcscmp.S: New file.
68223         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
68224         wcscmp-c wcscmp-sse2
68225         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
68226         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
68227         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
68228         * wcsmbs/wcscmp.c: Allow renaming.
68230 2011-09-05  David S. Miller  <davem@davemloft.net>
68232         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
68233         stack slot, rather than the struct return pointer slot.
68234         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
68235         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
68236         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
68237         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
68239 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
68241         * po/ja.po: Update from translation team.
68243         [BZ #13144]
68244         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
68245         kernel in 64-bit binaries.
68247 2011-09-01  David S. Miller  <davem@davemloft.net>
68249         * elf/elf.h (HWCAP_SPARC_*): Move to..
68250         * sysdeps/sparc/sysdep.h: this new file and add new values.
68251         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
68252         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
68253         _DL_HWCAP_COUNT to 24.
68254         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
68255         entries.
68256         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
68257         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
68258         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
68259         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
68260         instead of magic constants.
68261         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
68263 2011-08-31  David S. Miller  <davem@davemloft.net>
68265         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
68266         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
68267         Reimplement to do errno handling inline.
68268         (SYSCALL_ERROR_HANDLER): New macro.
68269         (__SYSCALL_STRING): Do not do errno handling in asm.
68270         (__CLONE_SYSCALL_STRING): Delete.
68271         (__INTERNAL_SYSCALL_STRING): Delete.
68272         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
68273         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
68274         (PSEUDO): Reimplement to do errno handling inline.
68275         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
68276         (SYSCALL_ERROR_HANDLER): New macro.
68277         (__SYSCALL_STRING): Do not do errno handling in asm.
68278         (__CLONE_SYSCALL_STRING): Delete.
68279         (__INTERNAL_SYSCALL_STRING): Delete.
68280         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
68281         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
68282         i386.
68283         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
68284         (inline_syscall*): Add 'err' argument.
68285         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
68286         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
68287         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
68288         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
68290         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
68291         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
68293 2011-08-30  Andreas Schwab  <schwab@redhat.com>
68295         * elf/rtld.c (dl_main): Relocate objects in dependency order.
68297 2011-08-29  Jiri Olsa <jolsa@redhat.com>
68299         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
68300         directive.
68302 2011-08-24  David S. Miller  <davem@davemloft.net>
68304         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
68306 2011-08-24  Andreas Schwab  <schwab@redhat.com>
68308         * elf/Makefile: Add rules to build and run unload8 test.
68309         * elf/unload8.c: New file.
68310         * elf/unload8mod1.c: New file.
68311         * elf/unload8mod1x.c: New file.
68312         * elf/unload8mod2.c: New file.
68313         * elf/unload8mod3.c: New file.
68315         * elf/dl-close.c (_dl_close_worker): Reset private search list if
68316         it wasn't used.
68318 2011-08-23  David S. Miller  <davem@davemloft.net>
68320         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
68321         subtract stack bias.
68322         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
68323         %sp not %fp in calculations.
68324         (_JMPBUF_UNWINDS_ADJ): Likewise.
68326         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
68327         (aio_suspend): Call it to force an exception region around the
68328         AIO_MISC_WAIT() invocation.
68330 2011-08-23  Andreas Schwab  <schwab@redhat.com>
68332         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
68333         backslash.
68335 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
68337         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
68338         protection macro.
68339         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
68340         and <dl-machine.h>.
68341         (Elf64_FuncDesc): Remove.
68343 2011-08-22  David S. Miller  <davem@davemloft.net>
68345         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
68346         sigaltstack check, add missing cfi directives.
68347         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
68348         missing cfi directives, and sigaltstack handling.
68350 2011-08-16  Andreas Schwab  <schwab@redhat.com>
68352         [BZ #11724]
68353         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
68354         object is seen twice.
68355         * elf/dl-fini.c (_dl_sort_fini): Likewise.
68357         * elf/Makefile (distribute): Add tst-initorder2.c.
68358         (tests): Add tst-initorder2.
68359         (modules-names): Add tst-initorder2a tst-initorder2b
68360         tst-initorder2c tst-initorder2d.  Add rules to build them.
68361         ($(objpfx)tst-initorder2.out): New rule.
68362         * elf/tst-initorder2.c: New file.
68363         * elf/tst-initorder2.exp: New file.
68365 2011-08-22  Andreas Schwab  <schwab@redhat.com>
68367         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
68369         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
68370         dependencies back to end of function.
68372         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
68373         $(elfobjdir)/ld.so.
68375 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
68377         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
68378         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
68379         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
68380         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
68381         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
68382         of __vdso_gettimeofday.
68383         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
68384         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
68385         attribute_hidden.
68386         (_libc_vdso_platform_setup): Remove initialization of
68387         __vdso_gettimeofday and __vdso_time.
68389 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
68391         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
68392         and fgetc_unlocked.
68393         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
68394         getc_unlocked.
68396         * elf/dl-open.c (add_to_global): Report additions to the global scope
68397         for LD_DEBUG=scopes.
68398         (dl_open_worker): Also print scope of newly loaded dependencies.
68399         (_dl_show_scope): Indicate if there is no scope.
68401         [BZ #13114]
68402         * stdio-common/Makefile (tests): Add bug24.
68403         * stdio-common/bug24.c: New file.
68405 2011-08-19  Andreas Jaeger  <aj@suse.de>
68407         [BZ #13114]
68408         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
68409         non-existant file when using close-on-exec mode.
68411 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
68413         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
68414         the very first instruction.
68416         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
68417         the CFI state in the end.
68418         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
68419         inclusion of dl-trampoline.h.
68420         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
68422 2011-08-19  Andreas Schwab  <schwab@redhat.com>
68424         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
68425         expectations for long double.
68427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
68428         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
68430 2011-08-14  David S. Miller  <davem@davemloft.net>
68432         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
68433         artificual limit depends upon the system page size.
68435 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
68437         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
68438         * resolv/Makefile: Define CFLAGS-libresolv.
68440 2011-08-17  Andreas Schwab  <schwab@redhat.com>
68442         * nss/makedb.c (compute_tables): Make variables used in nested
68443         function static.
68445 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
68447         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
68448         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
68449         if buffer was too small.
68451         * elf/pldd.c (main): Attach to all threads in the process.
68452         Rewrite /proc handling to use *at functions.
68454 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
68456         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
68457         specifies first scope to show.
68458         (dl_open_worker): Update callers.  Move printing scope of new
68459         object to before the relocation.
68460         * elf/rtld.c (dl_main): Update _dl_show_scope call.
68461         * sysdeps/generic/ldsodefs.h: Update declaration.
68463         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
68464         string for the scope number.
68466 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
68468         * nscd/servicescache.c (cache_addserv): Make sure written is always
68469         initialized.
68471 2011-08-14  Roland McGrath  <roland@hack.frob.com>
68473         * sysdeps/i386/i486/bits/atomic.h
68474         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
68475         statement expression, so as to suppress "set but not used" warning.
68476         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
68478         * string/strncat.c (STRNCAT): Use prototype definition.
68480         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
68481         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
68482         -Iprograms here.
68483         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
68484         (localedef-modules): Add localedef.
68485         (locale-modules): Add locale.
68487         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
68488         * elf/rtld.c (dl_main): Invert order of assignment in last change,
68489         to avoid a warning.
68491 2011-08-14  David S. Miller  <davem@davemloft.net>
68493         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
68494         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
68496 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
68498         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
68499         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
68500         * elf/rtld.c (dl_main): Set l_name of vDSO.
68501         Call _dl_show_scope when DL_DEBUG_SCOPES.
68502         (process_dl_debug): Recognize scopes flag and also set it for all.
68503         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
68504         Declare _dl_show_scope.
68506         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
68507         (do_dlopen): Pass caller_dlopen to dl_open.
68508         (__libc_dlopen_mode): Initialize caller_dlopen.
68510         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
68511         of libc.  Make tolower call locale-independent.  Optimize a bit by
68512         using isdigit instead of isalnum.
68513         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
68515 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
68517         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
68518         was a dependency or dynamically loaded.
68520 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
68522         * intl/l10nflist.c: Allow architecture-specific pop function.
68523         * sysdeps/x86_64/l10nflist.c: New file.
68525         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
68526         classification.
68528 2011-08-10  Andreas Schwab  <schwab@redhat.com>
68530         * include/dirent.h: Add libc_hidden_proto for scandirat and
68531         scandirat64.  Don't declare __scandirat64.
68532         * dirent/scandirat.c: Add libc_hidden_def.
68533         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
68534         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
68536 2011-08-10  David S. Miller  <davem@davemloft.net>
68538         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
68539         enum.
68540         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
68541         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
68542         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
68544 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
68546         * Versions.def [libc]: Add GLIBC_2.15.
68547         * dirent/Makefile (routines): Add scandirat and scandirat64.
68548         * dirent/Versions [libc]: Export scandirat and scandirat64 for
68549         GLIBC_2.15.
68550         * dirent/dirent.h: Declare scandirat and scandirat64.
68551         * dirent/scandirat.c: New file.
68552         * dirent/scandirat64.c: New file.
68553         * sysdeps/wordsize-64/scandirat.c: New file.
68554         * sysdeps/wordsize-64/scandirat64.c: New file.
68555         * dirent/opendir.c: Define opendirat.
68556         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
68557         using scandirat.
68558         * dirent/scandir64.c: Adjust for scandir.c change.
68559         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
68560         __scandirat64, and __scandir_cancel_handler.
68561         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
68562         additional parameter and use openat instead of open (outside of ld.so).
68563         Add new __opendir as wrapper around __opendirat.
68564         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
68565         here without requiring old scandirat implementation.
68567 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
68569         * dirent/scandir.c (cancel_handler): Renamed to
68570         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
68571         defined.  Adjust users.
68572         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
68573         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
68575 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
68577         * string/test-string.h (IMPL): Use __STRING to expand name and then
68578         stringify it.
68580         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
68581         of cleanups.
68583 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68585         * string/Makefile: Update.
68586         (strop-tests): Append strncat.
68587         * string/test-wcscmp.c: New file.
68588         New comprehensive test for wcscmp.
68589         * string/test-strcmp.c: Update.
68590         (WIDE): New define.
68592 2011-07-22  Andreas Schwab  <schwab@redhat.com>
68594         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
68595         line.
68597 2011-07-26  Andreas Schwab  <schwab@redhat.com>
68599         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
68600         encoding to ACE if AI_IDN.
68602 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
68604         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
68605         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
68607 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
68609         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
68610         Fix overflow bug in strncat.
68611         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
68613         * string/test-strncat.c: Update.
68614         Add new tests for checking overflow bugs.
68616 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
68618         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68619         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
68620         * sysdeps/i386/i686/multiarch/strcat.S: New file.
68621         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
68622         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
68623         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
68624         * sysdeps/i386/i686/multiarch/strncat.S: New file.
68625         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
68626         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
68628         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
68629         (USE_AS_STRCAT): Define.
68630         Add strcat and strncat support.
68631         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
68633 2011-07-25  Andreas Schwab  <schwab@redhat.com>
68635         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
68636         __n bigger than INT_MAX+1.
68637         (__strncmp_g): Likewise.
68639 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
68641         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
68642         * libio/stido.h: Likewise.
68644         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
68645         (AF_NFC): Define.
68646         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
68647         (AF_NFC): Define.
68649         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
68650         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
68651         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
68652         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
68653         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
68655         [BZ #13021]
68656         * scripts/test-installation.pl: Don't expect libnss_test1 to be
68657         installed.
68659         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
68660         typo.
68661         (_dl_x86_64_save_sse): Likewise.
68663 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
68665         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
68666         OSXSAVE.
68667         (_dl_x86_64_save_sse): Likewise.
68669         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
68671         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
68673 2011-07-21  Andreas Schwab  <schwab@redhat.com>
68675         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
68676         change.
68677         (_dl_x86_64_save_sse): Use correct AVX check.
68679 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68681         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
68682         bug in strncpy/strncat.
68683         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
68685 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
68687         * string/tester.c (test_strcat): Add tests for different alignments
68688         of source and destination.
68689         (test_strncat): Likewise.
68691 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
68693         [BZ #12852]
68694         * posix/glob.c (glob): Check passed in values before using them in
68695         expressions to avoid some overflows.
68696         (glob_in_dir): Likewise.
68698         [BZ #13007]
68699         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
68700         check for AVX enablement so that we don't crash with old kernels and
68701         new hardware.
68702         * elf/tst-audit4.c: Add same checks here.
68703         * elf/tst-audit6.c: Likewise.
68705         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
68707 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
68709         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
68711 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
68713         * po/cs.po: Update from translation team.
68714         * po/bg.po: Likewise.
68716 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
68718         * misc/sys/cdefs.h: Add support for const attribute.
68719         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
68720         to gnu_dev_{major,minor,makedev} functions.
68722 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
68724         * intl/dcigettext.c (get_output_charset): Add missing bracket.
68726 2011-07-20  Andreas Schwab  <schwab@redhat.com>
68728         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
68729         strlen results.
68731 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68733         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
68734         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
68735         register in order to avoid conflicts with the soft frame pointer
68736         being held in r11 when necessary.
68737         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
68738         (INTERNAL_VSYSCALL_NCS): Likewise.
68740 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
68742         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
68743         * elf/dl-fini.c (_dl_fini): Adjust caller.
68744         * elf/dl-close.c (_dl_close_worker): Likewise.
68745         * sysdeps/generic/ldsodefs.h: Adjust declaration.
68747 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
68749         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
68750         "aux_cache->nlibs < 0".
68752         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
68753         in the reload-count case.
68755 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
68757         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68758         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
68759         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
68760         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
68761         * sysdeps/x86_64/multiarch/strcat.S: New file.
68762         * sysdeps/x86_64/multiarch/strncat.S: New file.
68763         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
68764         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
68765         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
68766         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
68767         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
68768         (USE_AS_STRCAT): Define.
68769         Add strcat and strncat support.
68770         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
68771         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
68772         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
68773         * string/strncat.c: Update.
68774         (USE_AS_STRNCAT): Define.
68775         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68776         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
68777         and i7.
68778         * sysdeps/x86_64/multiarch/init-arch.h
68779         (bit_Prefer_PMINUB_for_stringop): New.
68780         (index_Prefer_PMINUB_for_stringop): Likewise.
68781         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
68782         bit_Prefer_PMINUB_for_stringop.
68784 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
68786         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
68787         buffer64.
68788         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
68789         of casting of buffer.
68790         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
68791         buffer32 and buffer64.
68792         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
68793         writes instead of casting of buffer.
68794         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
68795         buffer32.
68796         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
68797         casting of buffer.
68799 2011-07-19  Andreas Schwab  <schwab@redhat.com>
68801         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
68803 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
68805         * nscd/nscd.c (termination_handler): Don't do anything for a database
68806         if it has not yet been initialized.
68808 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
68810         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
68812 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
68814         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
68816 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
68818         * po/nl.po: Update from translation team.
68819         * po/sv.po: Likewise.
68821 2011-07-16  Roland McGrath  <roland@hack.frob.com>
68823         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
68824         now disallowed by GCC.
68826         * configure.in (use-default-link): Default to yes if a test -shared
68827         link meets our qualifications.
68828         * configure: Regenerated.
68830         * config.make.in (output-format): New variable.
68831         * configure.in: Check for ld --print-output-format support.
68832         * configure: Regenerated.
68833         * Makerules ($(common-objpfx)format.lds)
68834         [$(output-format) != unknown]: Just use $(output-format),
68835         instead of the linker-script munging.
68837 2011-07-14  Roland McGrath  <roland@hack.frob.com>
68839         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
68840         of $(common-objpfx)shlib.lds.
68841         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
68843         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
68844         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
68846         * configure.in (-z relro check): Adjust test code to add a large
68847         writable data section after it.
68848         * configure: Regenerated.
68850 2011-07-11  Roland McGrath  <roland@hack.frob.com>
68852         * configure.in (-z relro check): Fix test code to make the variable
68853         truly const.
68854         * configure: Regenerated.
68856 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
68858         * nscd/nscd.h (struct traced_file): Define.
68859         (struct database_dyn): Remove inotify_descr, reset_res, and filename
68860         elements.  Add traced_files.
68861         (inotify_fd): Declare.
68862         (register_traced_file): Declare.
68863         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
68864         (inotify_fd): Export.
68865         (resolv_conf_descr): Remove.
68866         (nscd_init): Move inotify descriptor creation to main.
68867         Don't register files for notification here.
68868         (register_traced_file): New function.
68869         (invalidate_cache): Don't use reset_res to determine whether to call
68870         res_init, go through the list of registered files.
68871         (main_loop_poll): The inotify descriptors are now stored in the
68872         structures for the traced files.
68873         (main_loop_epoll): Likewise
68874         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
68875         to __nss_disable_nscd.
68876         * nscd/cache.c (prune_cache): There is no single inotify descriptor
68877         for a database anymore.  Check the records for all the registered
68878         files instead.
68879         * nss/Makefile (libnss_files-routines): Add files-init.
68880         (libnss_db-routines): Add db-init.
68881         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
68882         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
68883         * nss/nss_db/db-init.c: New file.
68884         * nss/nss_files/files-init.c: New file.
68885         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
68886         __nss_lookup_function.
68887         (__nss_lookup_function): Call nss_load_library.
68888         (nss_load_all_libraries): New function.
68889         (__nss_disable_nscd): Take parameter with callback function for files
68890         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
68891         used for the cached services.
68892         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
68893         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
68894         options for features to all the files in nscd.
68896         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
68898 2011-07-10  Roland McGrath  <roland@hack.frob.com>
68900         * csu/elf-init.c (__libc_csu_init): Comment typo.
68902 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
68904         * po/pl.po: Update from translation team.
68905         * po/ja.po: Likewise.
68906         * po/ru.po: Likewise.
68907         * po/ko.po: Likewise.
68908         * po/fr.po: Likewise.
68910 2011-07-09  Roland McGrath  <roland@hack.frob.com>
68912         * configure.in (.ctors/.dtors header and trailer check):
68913         Use an empirical test on a built program.
68914         * configure: Regenerated.
68916         * configure.in (-z relro check): Use an empirical test on a built DSO.
68917         Detect, but do not require, on ia64.
68918         * configure: Regenerated.
68920         * configure.in (READELF): Find it with AC_CHECK_TOOL.
68921         Update tests that use readelf to use $READELF instead.
68922         * configure: Regenerated.
68924 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
68926         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
68927         if the result is not used.
68929 2011-07-05  Andreas Jaeger  <aj@suse.de>
68931         [BZ#9696]
68932         * stdlib/tst-strtod.c: Add testcase.
68934 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
68936         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
68937         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
68938         The latter has a higher limit.  Take additional parameter to pass to
68939         the new function.
68940         (__pathconf): Pass file to __statfs_link_max.
68941         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
68942         __statfs_link_max.
68943         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
68944         __statfs_link_max.
68946         [BZ #12868]
68947         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
68948         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
68949         Handle Lustre.
68950         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
68951         (__statfs_filesize_max): Likewise.
68952         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
68954 2011-07-05  Andreas Jaeger  <aj@suse.de>
68956         * resolv/res_comp.c (dn_skipname): Remove unused variable.
68958 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
68960         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
68961         `status' variable.
68962         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
68963         Likewise.
68965 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
68967         * Makefile (strop-tests): Add strncat.
68968         * string/test-strncat.c: New file.
68970 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
68972         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
68974 2011-06-21  Andreas Jaeger  <aj@suse.de>
68976         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
68977         Copy rule from iconvdata/Makefile.
68979 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
68981         [BZ #12922]
68982         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
68983         but no long options are defined, just return 'W'.
68985 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
68987         [BZ #9696]
68988         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
68990 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
68992         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
68993         netgroups to read.
68994         (innetgr): Likewise.
68996 2011-07-05  Roland McGrath  <roland@hack.frob.com>
68998         * config.make.in (install_root): Default to $(DESTDIR).
69000 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
69002         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
69004 2011-07-02  Roland McGrath  <roland@hack.frob.com>
69006         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
69008         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
69009         containing directory rather than embedding absolute directory names.
69011         * scripts/check-local-headers.sh: Rewritten using awk.
69012         Match by word, not by line.  Print error messages for matches.
69013         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
69015         * Makerules [shlib-lds-flags empty]:
69016         ($(common-objpfx)libc_pic.opts): New target.
69017         ($(common-objpfx)libc_pic.os.clean): New target.
69018         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
69020         * config.make.in (OBJCOPY): New variable.
69021         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
69022         * configure: Regenerated.
69024         * config.make.in (use-default-link): New variable.
69025         * configure.in (use_default_link): Grok --with-default-link to set it.
69026         * configure: Regenerated.
69027         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
69028         (shlib-lds, shlib-lds-flags): Define to empty.
69030         * Makerules (shlib-lds): New variable.
69031         (shlib-lds-flags): New variable.
69032         (build-shlib, build-moduile, build-module-asneeded): Use it.
69033         ($(common-objpfx)libc.so): Use $(shlib-lds).
69034         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
69035         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
69037         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
69038         DT_FLAGS/DT_FLAGS_1 with zero flags.
69040         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
69041         linker script munging.
69043 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
69045         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
69046         as 128-bit value.
69047         * crypt/sha512.c (sha512_process_block): Perform total addition using
69048         128-bit if possible.
69049         (__sha512_finish_ctx): Likewise.
69050         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
69051         as 64-bit value.
69052         * crypt/sha256.c (SWAP64): Define.
69053         (sha256_process_block): Perform total addition using 64-bit if
69054         possible.
69055         (__sha256_finish_ctx): Likewise.
69057 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
69059         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
69060         * nscd/initgrcache.c (addinitgroupsX): Likewise.
69061         * nscd/hstcache.c (cache_addhst): Likewise.
69062         * nscd/grpcache.c (cache_addgr): Likewise.
69063         * nscd/aicache.c (addhstaiX): Likewise
69064         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
69066 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
69068         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
69069         * nscd/initgrcache.c (addinitgroupsX): Likewise.
69070         * nscd/hstcache.c (cache_addhst): Likewise.
69071         * nscd/grpcache.c (cache_addgr): Likewise.
69072         * nscd/aicache.c (addhstaiX): Likewise
69074 2011-07-01  Andreas Schwab  <schwab@redhat.com>
69076         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
69077         domain only when needed.
69079 2011-06-30  Andreas Schwab  <schwab@redhat.com>
69081         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
69082         is always restored.
69084 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
69086         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
69087         are re-adding the entry.
69088         * nscd/servicescache.c (cache_addserv): Likewise.
69090 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
69092         * sysdeps/generic/dl-irel.h: fix protection against multiple
69093         inclusions.
69094         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
69096 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
69098         [BZ #12935]
69099         * malloc/memusage.sh: Fix quoting in message.
69100         * debug/xtrace.sh: Likewise.
69102         * configure.in: Remove support for --experimental-malloc option, make
69103         it the default.
69104         * config.make.in: Likewise.
69105         * malloc/Makefile: Likewise.
69107 2011-06-27  Andreas Schwab  <schwab@redhat.com>
69109         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
69110         two-byte characters.
69112 2011-06-27  Roland McGrath  <roland@hack.frob.com>
69114         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
69115         AC_CACHE_CHECK invocation.
69116         * configure: Regenerated.
69118         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
69120 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
69122         [BZ #12350]
69123         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
69124         bit from old_res_options.
69126         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
69128         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
69129         value type for setfct.
69131 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
69133         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
69134         __gettimeofday instead of gettimeofday.
69136 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
69138         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
69140 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
69142         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
69144         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
69145         info.
69147 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
69149         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69150         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
69151         strcpy-sse2-unaligned strncpy-sse2-unaligned
69152         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
69153         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
69154         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
69155         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
69156         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
69157         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
69158         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
69159         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
69160         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
69161         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
69162         (STRCPY): Support SSE2 and SSSE3 versions.
69164 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
69166         [BZ #12874]
69167         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
69168         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
69169         kernels which artificially limit size of requests.
69171 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
69173         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69174         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
69175         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
69176         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
69177         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
69178         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
69179         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
69180         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
69181         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
69182         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
69183         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
69184         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
69185         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
69186         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
69187         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
69188         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69189         Enable unaligned load optimization for Intel Core i3, i5 and i7
69190         processors.
69191         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
69192         Define.
69193         (index_Fast_Unaligned_Load): Define.
69194         (HAS_FAST_UNALIGNED_LOAD): Define.
69196 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
69198         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
69200 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
69202         [BZ #12907]
69203         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
69204         until it is clear that the information is realy needed.
69205         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
69207 2011-06-22  Andreas Schwab  <schwab@redhat.com>
69209         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
69211 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
69213         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
69214         /sys/devices/system/cpu/online if it is usable.
69216         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
69217         reading the information from the /proc filesystem to once a second.
69219 2011-06-21  Andreas Jaeger  <aj@suse.de>
69221         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
69222         NULL after inclusion of kernel headers.
69224 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
69226         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
69227         calls to internal_setent.
69229         [BZ #12885]
69230         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
69231         addresses using gethostbyname4_r ignore IPv4 addresses.
69233         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
69234         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
69236         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
69238 2011-06-20  David S. Miller  <davem@davemloft.net>
69240         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
69241         inclusions.
69242         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
69244         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
69245         (elf_irel): Use it.
69246         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
69247         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
69248         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
69249         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
69250         * sysdeps/x86_64/dl-irel.h: Likewise.
69252         * elf/dl-runtime.c: Use elf_ifunc_invoke.
69253         * elf/dl-sym.c: Likewise.
69255 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
69257         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
69258         need to dereference resplen2.
69260 2011-06-14  Andreas Schwab  <schwab@redhat.com>
69262         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
69264 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
69266         * Makeconfig: Define vardbdir and inst_vardbdir.
69267         * nss/Makefile: Add rules to install db-Makefile.
69269         * nss/nss_db/db-XXX.c: Cleanup.
69271         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
69272         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
69273         GLIBC_PRIVATE.
69274         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
69275         * nss/makedb.c: Implement -g option to specify that value strings
69276         are generated and should not be added to table iterated over for
69277         get*ent calls.
69278         * nss/nss_db/db-initgroups.c: New file.
69280         * nss/getent.c: Add support for initgroups lookups through getgrouplist
69281         interface.
69283         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
69284         (internal_getgrouplist): Adjust to name change.
69285         Update use_initgroups_entry if this is not the first call.
69286         * nss/databases.def: Add initgroups entry.
69288         * nss/makedb.c (compute_tables): Check result of multiple hash table
69289         sizes to minimize maximum chain length.
69291 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
69293         * Versions.def: Add entry for libnss_db.
69294         * shlib-versions: Likewise.
69295         * nss/Makefile: Add rules to build libnss_db.
69296         * nss/Versions: Add libnss_db information.  Organize libnss_files
69297         entries better.
69298         * nss/db-Makefile: Add gshadow support.  Change rules for the new
69299         makedb progra.  Some minor improvements to generate smaller files.
69300         * nss/nss_db/nss_db.h: Move NSS database header data structures to
69301         here from...
69302         * nss/makedb.c: ...here.
69303         Improve database format to be smaller and require less memory at
69304         runtime.
69305         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
69306         db anymore.
69307         * nss/nss_db/db-netgrp.c: Likewise.
69308         * nss/nss_db/db-open.c: Likewise.
69309         * nss/nss_files/flies-XXX.x: Adjust comments.
69310         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
69311         * nss/nss_files/files-grp.c: Likewise.
69312         * nss/nss_files/files-hosts.c: Likewise.
69313         * nss/nss_files/files-network.c: Likewise.
69314         * nss/nss_files/files-proto.c: Likewise.
69315         * nss/nss_files/files-pwd.c: Likewise.
69316         * nss/nss_files/files-rpc.c: Likewise.
69317         * nss/nss_files/files-service.c: Likewise.
69318         * nss/nss_files/files-sgrp.c: Likewise.
69319         * nss/nss_files/files-spwd.c: Likewise.
69320         * nss/nss_db/db-alias.c: Removed.
69321         * nss/nss_db/dummy-db.h: Removed.
69323 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
69325         * nss/makedb.c: Rewritten to not use database library.
69326         * nss/Makefile: Update to build new makedb program.
69328 2011-06-14  Andreas Jaeger  <aj@suse.de>
69330         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
69331         memset declaration.
69333 2011-06-10  Andreas Schwab  <schwab@redhat.com>
69335         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
69336         tmpbuf.
69338 2011-06-10  Roland McGrath  <roland@hack.frob.com>
69340         * Makerules (shlib.lds): Fail if the linker script comes out empty.
69341         * elf/Makefile ($(objpfx)ld.so): Likewise.
69343         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
69344         Don't list ld.so twice in dependencies.
69346         * posix/bug-regex31.c: Include <stdlib.h>.
69348         * nscd/hstcache.c (cache_addhst): Remove unused variable.
69350         * nis/nss_compat/compat-spwd.c
69351         (getspent_next_nss_netgr): Remove unused variable.
69352         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
69354         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
69355         nonmembers" output to use the right array.
69357         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
69359         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
69361         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
69362         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
69363         * catgets/gencat.c (read_input_file): Likewise.
69364         * locale/programs/locarchive.c (enlarge_archive): Likewise.
69366         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
69367         variable definition inside #if's controlling its use.
69369         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
69371         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
69373         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
69375         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
69376         unreachable code.
69378         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
69380         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
69381         * configure: Regenerated.
69383         * Makerules: Revert last change.
69384         * elf/Makefile: Likewise.
69386 2011-06-09  Roland McGrath  <roland@hack.frob.com>
69388         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
69389         * elf/Makefile ($(objpfx)librtld.os): Likewise.
69390         (reloc-link): Likewise.
69392 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
69394         * elf/Makefile: Add rules to build pldd.
69395         * elf/pldd.c: New file.
69396         * elf/pldd-xx.c: New file.
69398 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
69400         * version.h: Update for 2.15 development version.
69402 2011-06-07  David S. Miller  <davem@davemloft.net>
69404         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
69405         ifuncs.
69406         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
69407         elf_machine_lazy_rel): Likewise.
69408         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
69409         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
69410         elf_machine_lazy_rel): Likewise.
69411         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
69412         dl_hwcap via passed in argument.
69413         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
69414         Likewise.
69416 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69418         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
69420 2011-06-06  Roland McGrath  <roland@hack.frob.com>
69422         [BZ #12849]
69423         * manual/fdl-1.1.texi: New file, verbatim from:
69424         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
69425         * manual/lgpl-2.1.texi: New file, verbatim from:
69426         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
69427         * manual/Makefile (licenses): New variable, list those new file names.
69428         (texis): Use it.
69429         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
69431         * manual/fdl.texi: File removed.
69432         * manual/lesser.texi: File removed.
69433         * manual/libc.texinfo (Copying, Documentation License):
69434         Use new @include file names, put @appendix directive before @include.
69436 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
69438         [BZ #12841]
69439         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
69440         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
69441         (mq_open): Add __NTH.
69443 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
69445         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69446         Assume Intel Core i3/i5/i7 processor if AVX is available.
69448 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
69450         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
69451         typo.
69453 2011-05-31  Andreas Schwab  <schwab@redhat.com>
69455         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
69456         memory.  Use alloca_account.  Fix memory leak when retrying.
69458 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
69460         * version.h (RELEASE): Bump for 2.14 release.
69461         * include/features.h (__GLIBC_MINOR__): Bump to 14.
69463         * config.make.in (RANLIB): Remove entry.
69465 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
69467         * po/Makefile (po-sed-cmd): Add ksh to extensions.
69468         (libc.pot): Work around missing support for .ksh extension in xgettext.
69470         [BZ #12684]
69471         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
69472         if both request failed.
69473         (send_dg): In case of server errors clear resplen or *resplen2.
69475         [BZ #12454]
69476         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
69477         when there are multiple maps.
69478         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
69479         (_dl_fini): Remove test here.
69481         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
69483 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
69485         [BZ #12350]
69486         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
69487         bit from old_res_options.
69488         (gaih_inet): Likewise.
69490         [BZ #11099]
69491         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
69492         as signed.
69494         * resolv/res_init.c (res_setoptions): Make the code more compact.
69496         [BZ #11558]
69497         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
69498         set RES_USEVC.
69500         [BZ #11634]
69501         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
69503         * malloc/malloc.h: Mark malloc hook variables as deprecated.
69505         [BZ #11781]
69506         * malloc/malloc.h: Declare malloc hook variables as volatile.
69508         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
69509         in last patch.
69511         [BZ #11799]
69512         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
69513         raise in the comment.
69514         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
69515         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
69516         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
69518 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
69520         [BZ #12811]
69521         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
69522         grow the buffers more if it already has to be sufficient.
69523         (build_wcs_upper_buffer): Likewise.
69524         * posix/regexec.c (check_matching): Likewise.
69525         (clean_state_log_if_needed): Likewise.
69526         (extend_buffers): Don't enlarge buffers beyond size of the input
69527         buffer.
69528         Patches mostly by Emil Wojak <emil@wojak.eu>.
69529         * posix/bug-regex32.c: New file.
69530         * posix/Makefile (tests): Add bug-regex32.
69532         * locale/findlocale.c (_nl_find_locale): Return right away if
69533         _nl_explode_name failed.
69534         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
69536         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
69538         * debug/xtrace.sh: Unify messages.
69539         * malloc/memusage.sh: Likewise.
69541         [BZ #12813]
69542         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
69543         time symbol from vDSO.  Substitute with vsyscall if not available.
69544         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
69545         __vdso_time.
69547         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
69548         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
69549         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
69550         Add sendmmsg and internal_sendmmsg.
69551         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
69552         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
69553         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
69555         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
69556         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
69557         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
69559 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
69561         [BZ #12813]
69562         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
69563         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
69564         available.
69565         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
69566         __vdso_getcpu.
69568         [BZ #12814]
69569         * iconvdata/Makefile (tests): Add bug-iconv9.
69570         * iconvdata/bug-iconv9.c: New file.
69572 2011-05-27  Andreas Schwab  <schwab@redhat.com>
69574         [BZ #12814]
69575         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
69577 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
69579         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
69580         (struct user_regs_struct): Change intcs field back to cs.
69582 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
69584         * po/ja.po: Update from translation team.
69586 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
69588         [BZ #12795]
69589         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
69590         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
69592 2011-05-20  Andreas Schwab  <schwab@redhat.com>
69594         * stdlib/longlong.h: Update from GCC.
69596 2011-05-23  Andreas Schwab  <schwab@redhat.com>
69598         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
69599         parameter name.
69600         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
69601         Add parameter name.
69602         (__sysconf): Pass it down.
69604 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
69606         [BZ #12671]
69607         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
69608         some situations.
69609         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
69610         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
69611         add in in __libc_use_alloca calls.  Adjust callers.
69612         (glob): Use malloc in some situations.
69614         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
69615         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
69616         pltexit.
69618 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
69620         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
69621         and CLOCK_BOOTTIME_ALARM.
69623         [BZ #12782]
69624         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
69625         is returned.
69627         * string/_strerror.c (__strerror_r): Print negative errors as signed
69628         numbers.
69630         [BZ #12777]
69631         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
69632         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
69633         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
69635         * configure.in: Fix typo in redirection and correct removal of test
69636         files in two cases.
69638         [BZ #12788]
69639         * locale/setlocale.c (new_composite_name): Fix test to check for
69640         identical name of all categories.
69642         [BZ #12792]
69643         * libio/filedoalloc.c (local_isatty): New function.
69644         (_IO_file_doallocate): Use local_isatty.
69645         * stdio-common/perror.c (perror): In case a new stream is used
69646         forward the stream error.
69647         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
69648         error flag.
69650 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
69652         [BZ #11884]
69653         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
69654         alloca.
69655         * include/alloca.h (extend_alloca_account): Define.
69657         [BZ #11857]
69658         * posix/regex.h: Fix comments with documentation of user-accessible
69659         fields after compilation and describe correct free'ing of pattern
69660         after re_compile_pattern.
69661         Patch by Reuben Thomas <rrt@sc3d.org>.
69663 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
69665         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
69666         and -mno-altivec to prevent the compiler from using Altivec and/or
69667         VSX instructions when the corresponding registers are not available.
69669 2011-05-19  Andreas Schwab  <schwab@redhat.com>
69671         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
69673 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
69675         * libio/freopen.c (freopen): Use __dup2, not dup2.
69676         * libio/freopen64.c (freopen64): Likewise.
69678 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
69680         [BZ #12775]
69681         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
69682         * math/Makefile (tests): Add test-powl.
69683         (CFLAGS-test-powl.c): Define.
69684         * math/test-powl.c: New file.
69686 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
69688         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
69690 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
69692         [BZ #11837]
69693         * iconvdata/gb18030.c: Update to GB18020-2005.
69695 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
69697         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
69698         RE_SYNTAX_POSIX_AWK): Update to match recent development.
69699         Patch by Aharon Robbins <arnold@skeeve.com>.
69701         [BZ #11892]
69702         * stdlib/putenv.c (putenv): Don't always create copy of the variable
69703         on the stack.
69705         [BZ #11895]
69706         * misc/pselect.c (__pselect): Handle timeout value errors hidden
69707         through underflows.
69709         [BZ #12766]
69710         * misc/error.c (error_at_line): Ensure file_name and old_file_name
69711         point to strings before performing equality test for error_one_per_line
69712         mode.
69714         [BZ #11697]
69715         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
69717         [BZ #11820]
69718         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
69719         (struct user_fpregs_struct): Avoid __uint*_t types.
69721         [BZ #6420]
69722         * malloc/mtrace.c (tr_where): Add additional parameter to point to
69723         symbol info.  Use it instead of calling _dl_addr locally.
69724         (lock_and_info): New function.
69725         (tr_freehook): Call lock_and_info and pass symbol info as additional
69726         parameter to tr_where.
69727         (tr_mallochook): Likewise.
69728         (tr_reallochook): Likewise.
69729         (tr_memalignhook): Likewise.
69731         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
69732         used and couldn't be at all thread-safe.
69734 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
69736         * libio/freopen.c (freopen): Don't close old file descriptor
69737         before the new one is opened.  Instead dup the new file descriptor
69738         to the old one after the new stream is created.
69739         * libio/freopen64.c (freopen64): Likewise.
69740         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
69741         * libio/fileops.c (_IO_new_file_close_it): Handle new
69742         _IO_FLAGS2_NOCLOSE flag.
69743         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
69744         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
69745         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
69746         _IO_FLAGS2_NOCLOSE flag.
69747         * include/unistd.h: Add hidden_proto for dup3.
69748         Define __have_dup3.
69749         * io/dup3.c: Define hidden symbol.
69750         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
69752         [BZ #7101]
69753         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
69754         when an incomplete long option is used.
69755         * posix/tst-getopt_long1.c: New file.
69756         * posix/Makefile (tests): Add tst-getopt_long1.
69758         [BZ #10138]
69759         * scripts/config.guess: Update from autoconf-2.68.
69760         * scripts/config.sub: Likewise.
69762         [BZ #10157]
69763         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
69764         tests into ...
69765         (has_cpuclock): ...this.  New function.
69766         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
69767         macro here based on has_cpuclock code.
69769         [BZ #10149]
69770         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
69771         First byte (not low byte) is now always NUL.
69772         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
69774         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
69775         Use non-cancelable interfaces.
69777         [BZ #9809]
69778         * locale/iso-639.def: Add entry for Sorani.
69780         [BZ #11901]
69781         * include/stdlib.h: Move include protection to the right place.
69782         Define abort_msg_s.  Declare __abort_msg with it.
69783         * stdlib/abort.c (__abort_msg): Adjust type.
69784         * assert/assert.c (__assert_fail_base): New function.  Majority
69785         of code from __assert_fail.  Allocate memory for __abort_msg with
69786         mmap.
69787         (__assert_fail): Now call __assert_fail_base.
69788         * assert/assert-perr.c: Remove bulk of implementation.  Use
69789         __assert_fail_base.
69790         * include/assert.hL Declare __assert_fail_base.
69791         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
69792         mmap.
69793         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
69795 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
69797         [BZ #11952]
69798         [BZ #12453]
69799         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
69800         until all modules are registered in the DTV.
69801         * elf/Makefile: Add rules to build and run tst-tls19.
69802         * elf/tst-tls19.c: New file.
69803         * elf/tst-tls19mod1.c: New file.
69804         * elf/tst-tls19mod2.c: New file.
69805         * elf/tst-tls19mod3.c: New file.
69806         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
69808         [BZ #12083]
69809         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
69810         correctly.
69812         [BZ #12601]
69813         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
69814         two-byte sequence errors.
69815         * iconvdata/Makefile (tests): Add bug-iconv8.
69816         * iconvdata/bug-iconv8.c: New file.
69818         [BZ #12626]
69819         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
69820         buf2 definition.
69822         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
69824         [BZ #12432]
69825         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
69826         (dummy_getcfa): New function.
69827         (init): Get _Unwind_GetCFA address, use dummy if not found.
69828         (backtrace_helper): In recursion check, also check whether CFA changes.
69829         (__backtrace): Completely initialize arg.
69831         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
69832         storing incomplete byte sequence in state object.  Avoid testing for
69833         guaranteed too small input if we know there is enough data available.
69835 2011-05-11  Andreas Schwab  <schwab@redhat.com>
69837         * Makeconfig (+link-pie): Indent.
69838         * Rules (binaries-pie): Define if $(have-fpie) and
69839         $(build-shared).
69840         (binaries-shared): Also filter out $(binaries-pie).
69841         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
69842         * nscd/Makefile (others-pie): Add nscd.
69843         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
69844         ($(objpfx)nscd): Remove command override.
69845         * login/Makefile (others-pie): Add pt_chown.
69846         ($(objpfx)pt_chown): Remove command override.
69847         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
69848         remove command overrides.
69850 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
69852         * libio/tst_putwc.c: Fix error messages.
69854         [BZ #12724]
69855         * libio/fileops.c (_IO_new_file_close_it): Always flush when
69856         currently writing and seek to current position when not.
69857         * libio/Makefile (tests): Add bug-fclose1.
69858         * libio/bug-fclose1.c: New file.
69860 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
69862         [BZ #12511]
69863         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
69864         don't set DF_1_NODELETE here.
69865         (do_lookup_x): When entering new entry test for copy relocation
69866         and if necessary set DF_1_NODELETE flag.
69867         * elf/tst-unique4.cc: New file.
69868         * elf/tst-unique4.h: New file.
69869         * elf/tst-unique4lib.cc: New file.
69870         * elf/Makefile: Add rules to build and run tst-unique4.
69871         Patch by Piotr Bury <pbury@goahead.com>.
69873 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
69875         [BZ #12052]
69876         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
69878         [BZ #12625]
69879         * misc/mntent_r.c (addmntent): Flush the stream after the output
69881         [BZ #12393]
69882         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
69883         (is_trusted_path_normalize): Skip initial colon.  Append slash
69884         to empty buffer.  Duplicate is_trusted_path code but allow
69885         constructed patch to be prefix.
69886         (is_dst): Allow $ORIGIN followed by /.
69887         (_dl_dst_substitute): Correct clearing of check_for_trusted.
69888         Correct testing of result of is_trusted_path_normalize
69889         (decompose_rpath): Fix warning.
69891 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
69893         [BZ #11257]
69894         * grp/initgroups.c (internal_getgrouplist): When we found the service
69895         list through the initgroups entry in nsswitch.conf do not always
69896         continue on a successful lookup.  Don't always use the
69897         __nss_group_database value if it is set.
69898         * nss/nsswitch.conf (initgroups): Change action for successful db
69899         lookup to continue for compatibility.
69901 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
69903         [BZ #11532]
69904         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
69905         and CP774 modules.
69906         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
69907         and CP774 modules.
69908         * iconvdata/tst-tables.sh: Likewise.
69909         * iconvdata/cp770.c: New file.
69910         * iconvdata/cp771.c: New file.
69911         * iconvdata/cp772.c: New file.
69912         * iconvdata/cp773.c: New file.
69913         * iconvdata/cp774.c: New file.
69914         * iconvdata/testdata/CP770: New file.
69915         * iconvdata/testdata/CP770..UTF8: New file.
69916         * iconvdata/testdata/CP771: New file.
69917         * iconvdata/testdata/CP771..UTF8: New file.
69918         * iconvdata/testdata/CP772: New file.
69919         * iconvdata/testdata/CP772..UTF8: New file.
69920         * iconvdata/testdata/CP773: New file.
69921         * iconvdata/testdata/CP773..UTF8: New file.
69922         * iconvdata/testdata/CP774: New file.
69923         * iconvdata/testdata/CP774..UTF8: New file.
69925         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
69926         END CHARMAP line.
69927         * iconvdata/gen-8bit-gap.sh: Likewise.
69928         * iconvdata/gen-8bit.sh: Likewise.
69930         * locale/iso-639.def: Add ary entry.
69932         [BZ #11258]
69933         * locale/C-translit.h.in: Add U20A1 transliteration.
69935         [BZ #12178]
69936         * locale/iso-639.def: Add wae entry.
69937         Patch by Kevin Bortis <bortis@translate-wae.ch>.
69939         [BZ #12545]
69940         * locale/programs/localedef.c (construct_output_path): Use ssize_t
69941         for n.
69943         [BZ #12711]
69944         * locale/C-translit.h.in: Add entry for U20B9.
69945         Patch by pravin.d.s@gmail.com.
69947 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
69949         [BZ #12713]
69950         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
69951         ENAMETOOLONG use generic getcwd.
69952         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
69953         in rtld.  Use *stat64.
69954         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
69955         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
69956         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
69957         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
69958         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
69959         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
69960         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
69961         __fstatat64 macros.
69962         * include/dirent.h: Add libc_hidden_proto for rewinddir.
69963         * dirent/rewinddir.c: Add libc_hidden_def.
69964         * sysdeps/mach/hurd/rewinddir.c: Likewise.
69965         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
69967         * include/dirent.h (__alloc_dir): Add flags parameter.
69968         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
69969         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
69970         __alloc_dir.
69971         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
69972         from fdopendir if O_CLOEXEC is already set.
69974 2011-03-15  Alan Modra  <amodra@gmail.com>
69976         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
69977         l_tls_firstbyte_offset non-zero.  Save padding offset in
69978         l_tls_firstbyte_offset for later use.
69979         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
69980         freeing static tls block.
69982 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
69984         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
69985         where #ifdef was intended.  The intent is to prevent ARG_MAX from
69986         being defined by the kernel headers.
69988 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
69990         [BZ #12734]
69991         * resolv/resolv.h: Define RES_NOTLDQUERY.
69992         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
69993         no-tld-query and set RES_NOTLDQUERY.
69994         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
69995         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
69996         modern BIND to search name as TLD unless forbidden.
69998 2011-05-07  Petr Baudis  <pasky@suse.cz>
69999             Ulrich Drepper  <drepper@gmail.com>
70001         [BZ #12393]
70002         * elf/dl-load.c (fillin_rpath): Move trusted path check...
70003         (is_trusted_path): ...to here.
70004         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
70005         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
70006         using is_trusted_path_normalize() in setuid scripts.
70008 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
70010         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
70011         __BEGIN/__END_DECLS.
70013 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
70015         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
70016         NSS_STATUS_NOTFOUND if no record was found.
70018 2011-05-05  Andreas Schwab  <schwab@redhat.com>
70020         * sunrpc/Makefile (headers): Add rpc/netdb.h.
70021         (headers-not-in-tirpc): Remove rpc/netdb.h
70022         * resolv/netdb.h: Revert last change.
70024 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
70026         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
70027         circular dependency between libgcc.a and libc.a.
70029 2011-05-05  Andreas Schwab  <schwab@redhat.com>
70031         * resolv/netdb.h: Don't include <rpc/netdb.h>.
70032         * nis/Makefile: Don't install rpcsvc/*.
70033         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
70034         instead of <rpc/types.h>.
70035         (MAXHOSTNAMELEN): Define.
70037 2011-05-03  Andreas Schwab  <schwab@redhat.com>
70039         * elf/ldconfig.c (add_dir): Don't crash on empty path.
70041 2011-04-28  Maciej Babinski  <mbabinski@google.com>
70043         [BZ #12714]
70044         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
70045         gethostbyname4_r when IPv6 results are possible.
70047 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
70049         [BZ #12723]
70050         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
70051         _PC_PIPE_BUF handling.
70053 2011-04-30  Bruno Haible  <bruno@clisp.org>
70055         [BZ #12717]
70056         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
70057         * resolv/netdb.h (getnameinfo): Change type of flags parameter
70058         to 'int'.
70059         * inet/getnameinfo.c (getnameinfo): Likewise.
70061 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
70063         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
70064         to groups setting in database lookup.
70065         * nss/nsswitch.conf: Add initgroups entry.
70067 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
70069         [BZ #12685]
70070         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
70071         mode string.
70072         Patch by Eric Blake <eblake@redhat.com>.
70074 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
70076         * sunrpc/Makefile (need-export-routines): Add svc_run.
70077         (routines): Remove svc_run.
70078         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
70079         * sunrpc/clnt_perr.c (clnt_perrno): Export.
70080         * sunrpc/svc_run.c (svc_run): Likewise.
70081         * sunrpc/svc_udp.c (svcudp_create): Likewise.
70083 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
70085         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
70086         problem in reallocation in last patch.
70088 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
70090         * sunrpc/Makefile: Move inclusion of Rules.
70092 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
70094         * nss/nss_files/files-initgroups.c: New file.
70095         * nss/Makefile (libnss_files-routines): Add files-initgroups.
70096         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
70097         _nss_files_initgroups_dyn.
70099 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
70101         * elf/elf.h (R_ARM_IRELATIVE): Define.
70103 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
70105         * po/ru.po: Update from translation team.
70107 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
70109         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
70110         dependencies.
70112 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
70114         [BZ #12653]
70115         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
70116         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
70117         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
70118         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
70119         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
70121 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
70123         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
70124         differing bytes.
70125         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
70126         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
70127         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
70129 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
70131         [BZ #12420]
70132         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
70133         storing it.
70134         * stdlib/bug-getcontext.c: New file.
70135         * stdlib/Makefile: Add rules to build and run bug-getcontext.
70137 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70139         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
70140         instructions into .machine "z9-109".
70141         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
70142         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
70144 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70146         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
70147         between environment variables and auxiliary vector.
70149 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
70151         * Makefile: Add rules to build linkobj/libc.so.
70152         * include/libc-symbols.h: Define libc_hidden_nolink.
70153         * include/rpc/auth.h: Mark functions which are to be hidden.
70154         * include/rpc/auth_des.h: Likewise.
70155         * include/rpc/auth_unix.h: Likewise.
70156         * include/rpc/clnt.h: Likewise.
70157         * include/rpc/des_crypt.h: Likewise.
70158         * include/rpc/key_prot.h: Likewise.
70159         * include/rpc/pmap_clnt.h: Likewise.
70160         * include/rpc/pmap_prot.h: Likewise.
70161         * include/rpc/pmap_rmt.h: Likewise.
70162         * include/rpc/rpc_msg.h: Likewise.
70163         * include/rpc/svc.h: Likewise.
70164         * include/rpc/svc_auth.h: Likewise.
70165         * include/rpc/xdr.h: Likewise.
70166         * nis/Makefile: Link all DSOs against linkobj/libc.so.
70167         * nss/Makefile: Likewise.
70168         * sunrpc/Makefile: Don't install headers.  Build library with normal
70169         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
70170         * sunrpc/auth_des.c: Hide exported symbols by default, export some
70171         for the compat linking library.  Remove use of INTDEF/INTUSE.
70172         * sunrpc/auth_none.c: Likewise.
70173         * sunrpc/auth_unix.c: Likewise.
70174         * sunrpc/authdes_prot.c: Likewise.
70175         * sunrpc/authuxprot.c: Likewise.
70176         * sunrpc/clnt_gen.c: Likewise.
70177         * sunrpc/clnt_perr.c: Likewise.
70178         * sunrpc/clnt_raw.c: Likewise.
70179         * sunrpc/clnt_simp.c: Likewise.
70180         * sunrpc/clnt_tcp.c: Likewise.
70181         * sunrpc/clnt_udp.c: Likewise.
70182         * sunrpc/clnt_unix.c: Likewise.
70183         * sunrpc/des_crypt.c: Likewise.
70184         * sunrpc/des_soft.c: Likewise.
70185         * sunrpc/get_myaddr.c: Likewise.
70186         * sunrpc/key_call.c: Likewise.
70187         * sunrpc/key_prot.c: Likewise.
70188         * sunrpc/netname.c: Likewise.
70189         * sunrpc/pm_getmaps.c: Likewise.
70190         * sunrpc/pm_getport.c: Likewise.
70191         * sunrpc/pmap_clnt.c: Likewise.
70192         * sunrpc/pmap_prot.c: Likewise.
70193         * sunrpc/pmap_prot2.c: Likewise.
70194         * sunrpc/pmap_rmt.c: Likewise.
70195         * sunrpc/publickey.c: Likewise.
70196         * sunrpc/rpc_cmsg.c: Likewise.
70197         * sunrpc/rpc_common.c: Likewise.
70198         * sunrpc/rpc_dtable.c: Likewise.
70199         * sunrpc/rpc_prot.c: Likewise.
70200         * sunrpc/rpc_thread.c: Likewise.
70201         * sunrpc/rtime.c: Likewise.
70202         * sunrpc/svc.c: Likewise.
70203         * sunrpc/svc_auth.c: Likewise.
70204         * sunrpc/svc_authux.c: Likewise.
70205         * sunrpc/svc_raw.c: Likewise.
70206         * sunrpc/svc_run.c: Likewise.
70207         * sunrpc/svc_simple.c: Likewise.
70208         * sunrpc/svc_tcp.c: Likewise.
70209         * sunrpc/svc_udp.c: Likewise.
70210         * sunrpc/svc_unix.c: Likewise.
70211         * sunrpc/svcauth_des.c: Likewise.
70212         * sunrpc/xcrypt.c: Likewise.
70213         * sunrpc/xdr.c: Likewise.
70214         * sunrpc/xdr_array.c: Likewise.
70215         * sunrpc/xdr_float.c: Likewise.
70216         * sunrpc/xdr_intXX_t.c: Likewise.
70217         * sunrpc/xdr_mem.c: Likewise.
70218         * sunrpc/xdr_rec.c: Likewise.
70219         * sunrpc/xdr_ref.c: Likewise.
70220         * sunrpc/xdr_sizeof.c: Likewise.
70221         * sunrpc/xdr_stdio.c: Likewise.
70223 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
70225         [BZ #12650]
70226         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
70227         * sysdeps/ia64/dl-tls.h: Likewise.
70228         * sysdeps/powerpc/dl-tls.h: Likewise.
70229         * sysdeps/s390/dl-tls.h: Likewise.
70230         * sysdeps/sh/dl-tls.h: Likewise.
70231         * sysdeps/sparc/dl-tls.h: Likewise.
70232         * sysdeps/x86_64/dl-tls.h: Likewise.
70233         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
70235 2011-03-14  Andreas Schwab  <schwab@redhat.com>
70237         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
70238         rpath element also skip the following colon.
70239         (expand_dynamic_string_token): Add is_path parameter and pass
70240         down to DL_DST_REQUIRED and _dl_dst_substitute.
70241         (decompose_rpath): Call expand_dynamic_string_token with
70242         non-zero is_path.  Ignore empty rpaths.
70243         (_dl_map_object_from_fd): Call expand_dynamic_string_token
70244         with zero is_path.
70246 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
70248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
70249         Make cancelable.
70251 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
70253         [BZ #12655]
70254         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
70255         Patch by Filipe David Manana <fdmanana@apache.org>.
70257 2011-04-07  Andreas Schwab  <schwab@redhat.com>
70259         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
70260         Maintain aligned stack.
70261         (CHECK_RSP): Remove unused macro.
70263 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
70265         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
70266         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
70268 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
70270         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
70272         * include/features.h: Mention __USE_XOPEN2K8 in comment.
70274 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
70276         [BZ #12518]
70277         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
70278         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
70279         * sysdeps/x86_64/memmove.c: New file.
70280         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
70281         (memcpy): Renamed to ...
70282         (__new_memcpy): This.
70283         (memcpy): Provide GLIBC_2_14 memcpy.
70284         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
70285         (memcpy): Provide GLIBC_2_2_5 memcpy.
70287 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
70289         [BZ #12631]
70290         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
70292 2011-03-30  Andreas Schwab  <schwab@redhat.com>
70294         * misc/syncfs.c: New file.
70295         * misc/Makefile (routines): Add syncfs.
70296         * posix/unistd.h: Declare syncfs.
70297         * sysdeps/unix/syscalls.list: Add syncfs.
70299 2011-04-01  Andreas Schwab  <schwab@redhat.com>
70301         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
70302         open_by_handle_at.
70303         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
70304         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
70305         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70306         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
70307         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
70308         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
70309         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
70311 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
70313         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
70314         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
70315         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
70316         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70317         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
70318         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
70319         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
70321         * io/Makefile: Compile fallocate.c, fallocate64.c, and
70322         sync_file_range.c with -fexceptions.
70323         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
70324         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
70325         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
70326         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
70327         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
70328         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
70329         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
70330         sync_file_range as cancellation point
70331         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
70332         now a wrapper around __call_sync_file_range with cancellation handling.
70333         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
70334         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
70335         function name to __call_sync_file_range.
70336         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
70337         Add call_sync_file_range.
70339 2011-04-01  Andreas Schwab  <schwab@redhat.com>
70341         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70342         bits/timex.h.
70344 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
70346         * iconv/iconv.h: Fix typo in comment.
70347         * io/fcntl.h: Likewise.
70348         * libio/stdio.h: Likewise.
70349         * posix/spawn.h: Likewise.
70350         * posix/unistd.h: Likewise.
70351         * stdlib/stdlib.h: Likewise.
70352         * time/time.h: Likewise.
70353         * wcsmbs/wchar.h: Likewise.
70355         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
70356         open_by_handle): Add.
70357         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
70358         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
70359         Augment a few comments.
70360         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
70361         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70362         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
70363         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
70364         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
70365         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
70366         open_by_handle.
70368         * io/fcntl.h (AT_EMPTY_PATH): Define.
70370 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
70372         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
70373         * sysdeps/unix/sysv/linux/bits/time.h: New file.
70374         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
70375         to...
70376         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
70377         * Versions.def: Add GLIBC_2.14.
70378         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
70379         Export.
70381 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
70383         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
70384         round counter.
70385         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
70387 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
70389         [BZ #12597]
70390         * string/test-strncmp.c (do_page_test): New function.
70391         (check2): Likewise.
70392         (test_main): Call check2.
70393         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
70395 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
70397         [BZ #12587]
70398         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
70399         Handle cache information in CPU leaf 4.
70400         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
70402 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
70404         [BZ #12583]
70405         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
70406         character representation.
70407         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
70409 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
70411         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
70412         END(__isnan) to END(__isnanf) to match function entry point/label
70413         EALIGN(__isnanf,...).
70415 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
70417         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
70419 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
70421         [BZ #12510]
70422         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
70423         copy from the symbol referenced in the relocation to initialize the
70424         used variable.
70425         Patch by Piotr Bury <pbury@goahead.com>.
70426         * elf/Makefile: Add rules to build and tst-unique3.
70427         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
70428         * elf/tst-unique3.cc: New file.
70429         * elf/tst-unique3.h: New file.
70430         * elf/tst-unique3lib.cc: New file.
70431         * elf/tst-unique3lib2.cc: New file.
70433         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
70435 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
70437         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
70438         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
70439         to _start.
70441 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
70443         * elf/dl-load.c (_dl_map_object): If we are looking for the first
70444         to-be-loaded object along a path to loader is ld.so.
70446 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
70447             Ulrich Drepper  <drepper@gmail.com>
70449         * sysdeps/x86_64/memset.S: After aligning destination, code
70450         branches to different locations depending on the value of
70451         misalignment, when multiarch is enabled. Fix this.
70453 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
70455         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
70456         Set _x86_64_preferred_memory_instruction for AMD processsors.
70457         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70458         Set bit_Prefer_SSE_for_memop for AMD processors.
70460 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
70462         * libio/fmemopen.c (fmemopen): Optimize a bit.
70464 2011-03-03  Andreas Schwab  <schwab@redhat.com>
70466         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
70468 2011-03-03  Roland McGrath  <roland@redhat.com>
70470         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
70472 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
70474         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
70475         __bzero_ultra1 instead of __memset_ultra1.
70477 2011-02-23  Andreas Schwab  <schwab@redhat.com>
70478             Ulrich Drepper  <drepper@gmail.com>
70480         [BZ #12509]
70481         * include/link.h (struct link_map): Add l_orig_initfini.
70482         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
70483         returning unsuccessfully.
70484         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
70485         close of a file loaded at startup, restore the original l_initfini
70486         list.
70487         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
70488         list, store the pointer.
70489         * elf/Makefile ($(objpfx)noload-mem): New rule.
70490         (noload-ENV): Define.
70491         (tests): Add $(objpfx)noload-mem.
70492         * elf/noload.c: Include <memcheck.h>.
70493         (main): Call mtrace.  Close all opened handles.
70495 2011-02-17  Andreas Schwab  <schwab@redhat.com>
70497         [BZ #12454]
70498         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
70499         dependencies are missing.
70501 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70503         Fix __if_freereq crash: Unlike the generic version which uses free,
70504         Hurd needs munmap.
70505         * sysdeps/mach/hurd/ifreq.h: New file.
70507 2011-01-27  Petr Baudis  <pasky@suse.cz>
70508             Ulrich Drepper  <drepper@gmail.com>
70510         [BZ 12445]#
70511         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
70512         to extend_alloca().
70513         * stdio-common/bug23.c: New file.
70514         * stdio-common/Makefile (tests): Add bug23.
70516 2010-09-28  Andreas Schwab  <schwab@redhat.com>
70517             Ulrich Drepper  <drepper@gmail.com>
70519         [BZ #12489]
70520         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
70521         before performing relro protection.  At old place add assertion
70522         to make sure nothing changed.
70524 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
70525             Glauber de Oliveira Costa  <glommer@gmail.com>
70527         * elf/elf.h: Add new ARM TLS relocs.
70529 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
70531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
70532         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
70533         cast from r3.
70534         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
70535         'tests' variable.
70536         * sysdeps/wordsize-64/tst-writev.c: New file.
70538 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
70540         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
70541         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
70542         insns in _dl_start to prevent a TOC reference before relocs are
70543         resolved.
70545 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
70547         [BZ #12469]
70548         * Makeconfig: Remove RANLIB definition.
70549         * Makerules: Don't use RANLIB.
70550         * aclocal.m4: Remove ranlib test.
70551         * configure.in: No need to check for ranlib.
70552         * elf/rtld-Rules: Don't use RANLIB.
70554 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70556         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
70557         protection macro.
70558         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
70559         inclusion protection macro.
70561         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
70562         SIGRTMIN and SIGRTMAX and print information in that case only when
70563         SIGRTMIN is defined.
70565 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
70567         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
70568         arginfo fn returning -1.
70570         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
70571         and thousands string is zero terminated.
70573 2011-02-03  Andreas Schwab  <schwab@redhat.com>
70575         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
70576         sysdeps/unix/sysv/linux/bits/socket.h.
70578 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70580         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
70581         (__CPU_COUNT): Remove old macros.
70582         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
70583         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
70584         (__CPU_ALLOC, __CPU_FREE): Add macros.
70585         (__sched_cpualloc, __sched_cpufree): Add declarations.
70587 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
70589         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
70590         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
70591         * nscd/aicache.c (addhstaiX): Return timeout of added value.
70592         (readdhstai): Return value of addhstaiX call.
70593         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
70594         (addgrbyX): Return value returned by cache_addgr.
70595         (readdgrbyname): Return value returned by addgrbyX.
70596         (readdgrbygid): Likewise.
70597         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
70598         (addpwbyX): Return value returned by cache_addpw.
70599         (readdpwbyname): Return value returned by addhstbyX.
70600         (readdpwbyuid): Likewise.
70601         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
70602         (addservbyX): Return value returned by cache_addserv.
70603         (readdservbyname): Return value returned by addservbyX:
70604         (readdservbyport): Likewise.
70605         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
70606         (addhstbyX): Return value returned by cache_addhst.
70607         (readdhstbyname): Return value returned by addhstbyX.
70608         (readdhstbyaddr): Likewise.
70609         (readdhstbynamev6): Likewise.
70610         (readdhstbyaddrv6): Likewise.
70611         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
70612         (readdinitgroups): Return value returned by addinitgroupsX.
70613         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
70614         (prune_cache): Keep track of timeout value of re-added entries.
70615         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
70616         * nscd/nscd.h: Adjust prototypes of readd* functions.
70618 2011-02-04  Roland McGrath  <roland@redhat.com>
70620         * nis/nis_server.c (nis_servstate): Use the right name for 0.
70621         (nis_stats): Likewise.
70622         * nis/nis_modify.c (nis_modify): Likewise.
70623         * nis/nis_remove.c (nis_remove): Likewise.
70624         * nis/nis_add.c (nis_add): Likewise.
70626         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
70628         * posix/fnmatch_loop.c: Add some consts.
70630         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
70632 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
70634         [BZ #12460]
70635         * config.make.in (config-cflags-novzeroupper): Define.
70636         * configure.in: Substitute libc_cv_cc_novzeroupper.
70637         * elf/Makefile (AVX-CFLAGS): Define.
70638         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
70639         (CFLAGS-tst-auditmod4a.c): Likewise.
70640         (CFLAGS-tst-auditmod4b.c): Likewise.
70641         (CFLAGS-tst-auditmod6b.c): Likewise.
70642         (CFLAGS-tst-auditmod6c.c): Likewise.
70643         (CFLAGS-tst-auditmod7b.c): Likewise.
70644         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
70646 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
70648         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
70649         function to the callback.
70650         Patch partly by Jiri Olsa <jolsa@redhat.com>.
70652 2011-02-02  Andreas Schwab  <schwab@redhat.com>
70654         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
70655         of errno.
70657 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
70659         [BZ #11724]
70660         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
70661         of constructors.
70662         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
70663         of destructors.
70664         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
70666         [BZ #11724]
70667         * elf/Makefile: Add rules to build and run new test.
70668         * elf/tst-initorder.c: New file.
70669         * elf/tst-initorder.exp: New file.
70670         * elf/tst-initordera1.c: New file.
70671         * elf/tst-initordera2.c: New file.
70672         * elf/tst-initordera3.c: New file.
70673         * elf/tst-initordera4.c: New file.
70674         * elf/tst-initorderb1.c: New file.
70675         * elf/tst-initorderb2.c: New file.
70676         * elf/tst-order-a1.c: New file.
70677         * elf/tst-order-a2.c: New file.
70678         * elf/tst-order-a3.c: New file.
70679         * elf/tst-order-a4.c: New file.
70680         * elf/tst-order-b1.c: New file.
70681         * elf/tst-order-b2.c: New file.
70682         * elf/tst-order-main.c: New file.
70683         New test case by George Gensure <werkt0@gmail.com>.
70685 2010-10-01  Andreas Schwab  <schwab@redhat.com>
70687         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
70688         decoding ACE if AI_CANONIDN.
70690 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
70692         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
70694 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
70696         * version.h (RELEASE): Bump for 2.13 release.
70697         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
70699         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
70701         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
70702         MADV_NOHUGEPAGE.
70703         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
70704         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
70705         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
70706         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
70707         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
70708         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
70710         * posix/getconf.c: Update copyright year.
70711         * catgets/gencat.c: Likewise.
70712         * csu/version.c: Likewise.
70713         * debug/catchsegv.sh: Likewise.
70714         * debug/xtrace.sh: Likewise.
70715         * elf/ldconfig.c: Likewise.
70716         * elf/ldd.bash.in: Likewise.
70717         * elf/sprof.c (print_version): Likewise.
70718         * iconv/iconv_prog.c: Likewise.
70719         * iconv/iconvconfig.c: Likewise.
70720         * locale/programs/locale.c: Likewise.
70721         * locale/programs/localedef.c: Likewise.
70722         * malloc/memusage.sh: Likewise.
70723         * malloc/mtrace.pl: Likewise.
70724         * nscd/nscd.c (print_version): Likewise.
70725         * nss/getent.c: Likewise.
70727         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
70728         PF_CAIF, and PF_ALG.
70729         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
70731 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
70733         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
70734         (modules-names): Use them.
70735         (ifunc-test-modules, ifunc-pie-tests): Define.
70736         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
70737         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
70738         (test-extras): Likewise.
70739         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
70740         $(compile-command.c).
70741         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
70742         (all-built-dso): Define.
70743         (check-textrel.out, check-execstack.out): Depend on it.
70745         * configure.in: Don't override --enable-multi-arch.
70747 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
70749         [BZ #6812]
70750         * nscd/hstcache.c (tryagain): Define.
70751         (cache_addhst): Return tryagain not notfound for temporary errors.
70752         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
70753         failed.
70755 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
70757         [BZ #10563]
70758         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
70759         to make the syscall.
70760         * sysdeps/unix/sysv/linux/setgroups.c: New file.
70762         [BZ #12378]
70763         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
70764         and fall back to matching as normal character if the string ends before
70765         the matching ']' is found.  This is what POSIX requires.
70766         * posix/testfnm.c: Adjust test result.
70767         * posix/globtest.sh: Adjust test result.  Add new test.
70768         * posix/tst-fnmatch.input: Likewise.
70769         * posix/tst-fnmatch2.c: Add new test.
70771 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
70773         * elf/Makefile (check-execstack): Revert last change.  Depend on
70774         check-execstack.h.
70775         (check-execstack.h): New target.
70776         (generated): Add check-execstack.h.
70777         * elf/check-execstack.c: Include "check-execstack.h".
70778         (main): Revert last change.
70779         (handle_file): Return zero if GNU_STACK is absent and
70780         DEFAULT_STACK_PERMS doesn't include PF_X.
70782 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
70784         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
70785         in child fails because the descriptor is already closed.
70786         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
70787         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
70788         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
70790         [BZ #12397]
70791         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
70792         syscall.
70794         [BZ #10484]
70795         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
70796         temporary buffer used to handle multi lookups locally.
70797         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
70799 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
70801         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
70802         loader is ld.so.
70804 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
70806         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
70807         alignment for SSE2.
70809 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
70811         [BZ #12394]
70812         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
70813         characters.  When rounding increased number of integer digits recompute
70814         number of groups.
70815         * stdio-common/tst-grouping.c: New file.
70816         * stdio-common/Makefile: Add rules to build and run tst-grouping.
70818 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
70820         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
70821         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
70823         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
70824         void.
70825         * bits/select.h: Likewise.
70827 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
70829         * po/ja.po: Update from translation team.
70831 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
70833         [BZ #11155]
70834         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
70835         implementation just like for lxstat, fxstatat, et al.
70837 2010-12-27  Jim Meyering  <meyering@redhat.com>
70839         [BZ #12348]
70840         * posix/regexec.c (build_trtable): Return failure indication upon
70841         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
70843 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
70845         [BZ #12201]
70846         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
70847         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
70848         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
70849         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
70851         [BZ #12207]
70852         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
70854         [BZ #12204]
70855         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
70856         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
70858 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
70860         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
70861         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
70862         script has SORT_BY_INIT_PRIORITY.
70863         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
70864         NO_CTORS_DTORS_SECTIONS is defined.
70865         * elf/soinit.c: Likewise.
70866         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
70867         NO_CTORS_DTORS_SECTIONS is defined.
70868         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
70869         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
70870         * sysdeps/sh/init-first.c: Likewise.
70871         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
70873 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
70875         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
70876         always use the slow path.
70878 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
70880         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
70881         similar rule which adds the sysdep directories to the header search in
70882         order to pick up the correct platform stackinfo.h.
70883         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
70884         perform test if it is, otherwise return successfully without testing.
70885         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
70886         DEFAULT_STACK_PERMS define in stackinfo.h.
70887         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
70888         defined in stackinfo.h.
70889         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
70890         DEFAULT_STACK_PERMS defined in stackinfo.h.
70891         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
70892         * sysdeps/ia64/stackinfo.h: Likewise.
70893         * sysdeps/s390/stackinfo.h: Likewise.
70894         * sysdeps/sh/stackinfo.h: Likewise.
70895         * sysdeps/sparc/stackinfo.h: Likewise.
70896         * sysdeps/x86_64/stackinfo.h: Likewise.
70897         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
70898         PF_X for powerpc64.  Retain PF_X for powerpc32.
70900 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
70902         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
70903         accurately.
70904         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
70905         GETDENTS_64BIT_ALIGNED.
70907 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
70909         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
70911 2010-12-10  Andreas Schwab  <schwab@redhat.com>
70913         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
70914         _GNU_SOURCE.
70916         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
70917         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
70918         Remove __restrict.
70919         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
70920         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
70922 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
70924         [BZ #11655]
70925         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
70926         are initialized.
70928 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
70930         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
70932 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
70934         * po/it.po: Update from translation team.
70936 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
70938         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
70939         unused codes.
70941 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
70943         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
70945 2010-11-24  Andreas Schwab  <schwab@redhat.com>
70947         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
70948         specially.
70949         (gaih_getanswer_slice): Likewise.
70951 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
70953         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
70955 2010-05-31  Petr Baudis  <pasky@suse.cz>
70957         [BZ #11149]
70958         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
70959         silently even in the chroot mode.
70961 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
70963         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
70964         last patch a bit.  Pretty printing
70966 2010-05-31  Petr Baudis <pasky@suse.cz>
70968         [BZ #10085]
70969         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
70970         initialization of skip_initgroups_dyn.
70972 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
70974         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
70975         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
70977 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
70979         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
70981 2010-11-11  Andreas Schwab  <schwab@redhat.com>
70983         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
70984         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
70985         (tst-fnmatch-ENV): Set MALLOC_TRACE.
70986         ($(objpfx)tst-fnmatch-mem): New rule.
70987         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
70988         * posix/tst-fnmatch.c (main): Call mtrace.
70990 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
70992         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70993         Support Intel processor model 6 and model 0x2c.
70995 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
70997         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
70998           signed comparison.
71000 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
71002         [BZ #12205]
71003         * string/test-strncasecmp.c (check_result): New function.
71004         (do_one_test): Use it.
71005         (check1): New function.
71006         (test_main): Use it.
71007         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
71008         Support strcasecmp and strncasecmp.
71010 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
71012         [BZ #12194]
71013         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
71014         * sysdeps/x86_64/bits/byteswap.h: Likewise.
71016 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
71018         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
71019         IFUNC support.
71020         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71021         memset-x86-64.
71022         * sysdeps/x86_64/multiarch/bzero.S: New file.
71023         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
71024         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
71025         * sysdeps/x86_64/multiarch/memset.S: New file.
71026         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
71027         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71028         Set bit_Prefer_SSE_for_memop for Intel processors.
71029         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
71030         Define.
71031         (index_Prefer_SSE_for_memop): Define.
71032         (HAS_PREFER_SSE_FOR_MEMOP): Define.
71034 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
71036         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
71037         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
71039 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
71041         [BZ #12191]
71042         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
71043         (__x86_64_raw_data_cache_size_half): Likewise.
71044         (__x86_64_raw_shared_cache_size): Likewise.
71045         (__x86_64_raw_shared_cache_size_half): Likewise.
71047         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
71048         (__x86_64_raw_data_cache_size_half): Likewise.
71049         (__x86_64_raw_shared_cache_size): Likewise.
71050         (__x86_64_raw_shared_cache_size_half): Likewise.
71051         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
71052         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
71053         and __x86_64_raw_shared_cache_size_half.  Round
71054         __x86_64_data_cache_size_half, __x86_64_data_cache_size
71055         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
71056         to multiple of 256 bytes.
71058 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
71060         [BZ #12167]
71061         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
71062         of inacessible symlinks.  Verify result of symlink before returning it.
71063         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
71064         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
71066 2010-10-28  Erich Ritz  <erichritz@gmail.com>
71068         * math/math.h (isinf): Fix typo in comment.
71070 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
71072         * po/da.po: Update from translation team.
71074 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
71076         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
71077         is added to the list.
71079 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71080             Ulrich Drepper  <drepper@gmail.com>
71082         * elf/dl-object.c (_dl_new_object): Don't append the new object to
71083         the global list here.  Move code to...
71084         (_dl_add_to_namespace_list): ...here.  New function.
71085         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
71086         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
71087         * elf/dl-load.c (lose): Don't remove the element from the list.
71088         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
71089         (_dl_map_object): Likewise.
71091 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
71093         [BZ #12159]
71094         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
71095         into all bytes of SSE register.
71096         Patch by Richard Li <richardpku@gmail.com>.
71098 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
71100         [BZ #12140]
71101         * malloc/malloc.c (_int_free): Fill correct number of bytes when
71102         perturbing.
71104 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
71106         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
71107         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
71108         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
71109         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
71110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
71111         submachine.
71112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
71114 2010-10-22  Andreas Schwab  <schwab@redhat.com>
71116         * include/dlfcn.h (__RTLD_SECURE): Define.
71117         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
71118         mode & __RTLD_SECURE instead.
71119         (open_path): Rename preloaded parameter to secure.
71120         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
71121         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
71122         * elf/dl-deps.c (openaux): Likewise.
71123         * elf/rtld.c (struct map_args): Remove is_preloaded.
71124         (map_doit): Don't use it.
71125         (dl_main): Likewise.
71126         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
71127         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
71129 2010-09-09  Andreas Schwab  <schwab@redhat.com>
71131         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
71132         (sysd-rules-targets): Remove duplicates.
71133         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
71134         rtld-%.$o dependency.
71136 2010-10-18  Andreas Schwab  <schwab@redhat.com>
71138         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
71139         _dl_map_object do it.
71141 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
71143         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
71144         fast fma builtins, define the macros in the C99 standard.
71145         (FP_FAST_FMAF): Likewise.
71146         (FP_FAST_FMAL): Likewise.
71147         * sysdeps/x86_64/bits/mathdef.h: Likewise.
71149         * bits/mathdef.h: Update copyright year.
71150         * sysdeps/powerpc/bits/mathdef.h: Likewise.
71152 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
71154         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
71155         builtins, define the macros in the C99 standard.
71156         (FP_FAST_FMAF): Likewise.
71157         (FP_FAST_FMAL): Likewise.
71158         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
71159         multiply/add.
71160         (FP_FAST_FMAF): Likewise.
71162 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
71164         [BZ #3268]
71165         * math/libm-test.inc (fma_test): Some new testcases.
71166         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
71167         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
71168         y and infinite z.  Do multiplication by C already in long double.
71169         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
71170         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
71171         y and infinite z.  Do bitwise or of inexact bit into u.d.
71172         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
71173         * sysdeps/i386/fpu/s_fmaf.S: Removed.
71174         * sysdeps/i386/fpu/s_fma.S: Removed.
71175         * sysdeps/i386/fpu/s_fmal.S: Removed.
71177 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
71179         [BZ #3268]
71180         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
71181         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
71182         computation is not scheduled after fetestexcept.  Fix value
71183         of minimum denormal long double.
71185 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
71187         [BZ #3268]
71188         * math/libm-test.inc (fma_test): Add some more tests.
71189         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
71190         correctly.
71192 2010-10-15  Andreas Schwab  <schwab@redhat.com>
71194         * scripts/data/localplt-s390-linux-gnu.data: New file.
71195         * scripts/data/localplt-s390x-linux-gnu.data: New file.
71197 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
71199         [BZ #3268]
71200         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
71201         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
71202         instead of dbl-64.
71203         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
71204         inlines.
71205         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
71206         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
71207         if one of x and y is very large and the other is subnormal.
71208         * sysdeps/s390/fpu/s_fmaf.c: New file.
71209         * sysdeps/s390/fpu/s_fma.c: New file.
71210         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
71211         * sysdeps/powerpc/fpu/s_fma.S: New file.
71212         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
71213         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
71214         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
71216 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
71218         [BZ #3268]
71219         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
71220         fma tests.
71221         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
71222         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
71223         * sysdeps/i386/i686/multiarch/s_fma.c: Include
71224         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
71225         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
71226         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
71227         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
71229 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
71231         [BZ #12078]
71232         * posix/regcomp.c (parse_branch): One more memory leak plugged.
71233         * posix/bug-regex31.input: Add test case.
71235 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
71237         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
71238         * posix/bug-regex31.input: New file.
71240         [BZ #12078]
71241         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
71242         (parse_sub_exp): Fix last change, use postorder.
71244         * posix/bug-regex31.c: New file.
71245         * posix/Makefile: Add rules to build and run bug-regex31.
71247         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
71249         [BZ #12078]
71250         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
71252         [BZ #12108]
71253         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
71254         to have entries in sys_siglist.
71256         [BZ #12093]
71257         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
71258         be NULL.
71260 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
71262         [BZ #3268]
71263         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
71264         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
71265         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
71266         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
71267         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
71268         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
71269         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
71270         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
71271         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
71272         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
71273         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
71274         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
71275         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
71276         * math/ftestexcept.c (fetestexcept): Likewise.
71277         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
71278         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
71279         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
71280         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
71281         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
71282         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
71283         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
71285 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
71287         [BZ #12107]
71288         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
71289         newline.
71291 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
71293         * string/bug-strstr1.c: New file.
71294         * string/Makefile: Add rules to build and run bug-strstr1.
71296 2010-10-05  Eric Blake  <eblake@redhat.com>
71298         [BZ #12092]
71299         * string/str-two-way.h (two_way_long_needle): Always clear memory
71300         when skipping input due to the shift table.
71302 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
71304         [BZ #12005]
71305         * malloc/mcheck.c: Handle large requests.
71307         [BZ #12077]
71308         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
71309         for strncmp and strncasecmp.
71310         * string/stratcliff.c: Add tests for strcmp and strncmp.
71311         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
71313 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
71315         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
71316         __set_fpscr.
71318 2010-09-30  Andreas Jaeger  <aj@suse.de>
71320         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
71321         (CGROUP_SUPER_MAGIC): Define.
71322         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
71323         Handle btrfs and cgroup file systems.
71324         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
71325         Likewise.
71327 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
71329         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
71330         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
71332 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71334         [BZ #12067]
71335         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
71336         trying to locate the ELF header.
71338 2010-09-27  Andreas Schwab  <schwab@redhat.com>
71340         [BZ #11611]
71341         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
71342         Mask out sign-bit copies when constructing f_fsid.
71344 2010-09-24  Petr Baudis <pasky@suse.cz>
71346         * debug/stack_chk_fail_local.c: Add missing licence exception.
71347         * debug/warning-nop.c: Likewise.
71349 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
71351         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
71352         implementing getdents64 using getdents syscall, set d_type if
71353         __ASSUME_GETDENTS32_D_TYPE.
71355 2010-09-16  Andreas Schwab  <schwab@redhat.com>
71357         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
71358         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
71360 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
71362         [BZ #12037]
71363         * posix/unistd.h: Undo change of feature selection for ftruncate from
71364         2010-01-11.
71366 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
71368         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
71369         detection.
71371 2010-09-20  Andreas Schwab  <schwab@redhat.com>
71373         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
71374         fanotify_mark.
71375         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
71377 2010-09-14  Andreas Schwab  <schwab@redhat.com>
71379         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
71380         variables after CHECK_SP call.
71381         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
71383 2010-09-13  Andreas Schwab  <schwab@redhat.com>
71384             Ulrich Drepper  <drepper@redhat.com>
71386         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
71387         re-relocationg ld.so.
71388         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
71389         _dl_init_paths call.
71390         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
71391         here anymore.
71393 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
71395         * resolv/res_init.c (__res_vinit): Count the default server we added.
71397 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
71398             Ulrich Drepper  <drepper@redhat.com>
71400         [BZ #11968]
71401         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
71402         (____longjmp_chk): Use %ebx for saving value across system call.
71403         Add unwind info.
71405 2010-09-06  Andreas Schwab  <schwab@redhat.com>
71407         * manual/Makefile: Don't mix pattern rules with normal rules.
71409 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
71411         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
71412         operation.
71413         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
71414         * libio/iofopncook.c (_IO_cookie_init): Likewise.
71415         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
71416         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
71417         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
71418         Likewise.
71420 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
71422         [BZ #11979]
71423         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
71424         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
71426 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
71428         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
71429         * sysdeps/x86_64/addmul_1.S: Likewise.
71430         * sysdeps/x86_64/lshift.S: Likewise.
71431         * sysdeps/x86_64/mul_1.S: Likewise.
71432         * sysdeps/x86_64/rshift.S: Likewise.
71433         * sysdeps/x86_64/sub_n.S: Likewise.
71434         * sysdeps/x86_64/submul_1.S: Likewise.
71436 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71438         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
71439         Define __sched_param instead of SCHED_* and sched_param when
71440         <bits/sched.h> is included with __need_schedparam defined.
71441         * bits/sched.h [__need_schedparam]
71442         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
71443         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
71444         (__defined_schedparam): Define to 1.
71445         (__sched_param): New structure, identical to sched_param.
71446         (__need_schedparam): Undefine.
71448 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
71450         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
71451         (epoll_create1): Declare.
71453         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
71455 2010-08-31  Andreas Schwab  <schwab@redhat.com>
71457         [BZ #7066]
71458         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
71459         shifting retval into place.
71461 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
71463         * nis/rpcsvc/nis.h: Update copyright notice.
71464         * nis/rpcsvc/nis.x: Likewise.
71465         * nis/rpcsvc/nis_callback.h: Likewise.
71466         * nis/rpcsvc/nis_callback.x: Likewise.
71467         * nis/rpcsvc/nis_object.x: Likewise.
71468         * nis/rpcsvc/nis_tags.h: Likewise.
71469         * nis/rpcsvc/yp.h: Likewise.
71470         * nis/rpcsvc/yp.x: Likewise.
71471         * nis/rpcsvc/ypupd.h: Likewise.
71472         * nis/yp_xdr.c: Likewise.
71473         * nis/ypupdate_xdr.c: Likewise.
71475         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
71476         mainly the body of pmap_getport.  Add parameters to specify timeouts.
71477         (pmap_getport): Use __libc_rpc_getport.
71478         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
71479         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
71480         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
71482 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
71484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
71485         fanotify_mark.
71487 2010-08-27  Roland McGrath  <roland@redhat.com>
71489         * sysdeps/i386/i686/multiarch/Makefile
71490         (CFLAGS-varshift.c): New variable.
71492 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
71494         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
71495         * sysdeps/i386/i686/multiarch/varshift.c: New file.
71497         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
71499         * sysdeps/x86_64/strlen.S: Minimal code improvement.
71501 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
71503         * sysdeps/x86_64/strlen.S: Unroll the loop.
71504         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71505         strlen-sse2 strlen-sse2-bsf.
71506         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
71507         __strlen_no_bsf if bit_Slow_BSF is set.
71508         (__strlen_sse42): Removed.
71509         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
71510         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
71512 2010-08-25  Roland McGrath  <roland@redhat.com>
71514         * sysdeps/x86_64/multiarch/varshift.S: File removed.
71515         * sysdeps/x86_64/multiarch/varshift.c: New file.
71516         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
71517         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
71518         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
71519         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
71521 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
71523         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71524         strlen-sse2 strlen-sse2-bsf.
71525         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
71526         __strlen_sse2_bsf if bit_Slow_BSF is unset.
71527         (__strlen_sse2): Removed.
71528         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
71529         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
71530         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
71531         bit_Slow_BSF for Atom.
71532         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
71533         (index_Slow_BSF): Define.
71534         (HAS_SLOW_BSF): Define.
71536 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
71538         [BZ #10851]
71539         * resolv/res_init.c (__res_vinit): When no server address at all
71540         is given default to loopback.
71542 2010-08-24  Roland McGrath  <roland@redhat.com>
71544         * configure.in: Remove config-name.h generation.
71545         * configure: Regenerated.
71546         * config-name.in: File removed.
71547         * scripts/config-uname.sh: New file.
71548         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
71549         ($(objdir)config-name.h): New target.
71551         * sunrpc/rpc_parse.h: Avoid nested comment.
71553 2010-08-24  Richard Henderson  <rth@redhat.com>
71554             Ulrich Drepper  <drepper@redhat.com>
71555             H.J. Lu  <hongjiu.lu@intel.com>
71557         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
71558         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
71559         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
71560         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
71561         _mm_alignr_epi8 with _mm_loadu_si128.
71562         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
71563         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
71564         (__m128i_shift_right): Removed.
71565         * sysdeps/i386/i686/multiarch/varshift.h: New file.
71566         * sysdeps/i386/i686/multiarch/varshift.S: New file.
71567         * sysdeps/x86_64/multiarch/varshift.h: New file.
71568         * sysdeps/x86_64/multiarch/varshift.S: New file.
71570 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
71572         * configure.in: Move assembler checks to before sysdep dir checking.
71574 2010-08-20  Petr Baudis  <pasky@suse.cz>
71576         * LICENSES: Sync the sunrpc license.
71578 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
71580         * sunrpc/auth_des.c: Update copyright notice once again.
71581         * sunrpc/auth_none.c: Likewise.
71582         * sunrpc/auth_unix.c: Likewise.
71583         * sunrpc/authdes_prot.c: Likewise.
71584         * sunrpc/authuxprot.c: Likewise.
71585         * sunrpc/bindrsvprt.c: Likewise.
71586         * sunrpc/clnt_gen.c: Likewise.
71587         * sunrpc/clnt_perr.c: Likewise.
71588         * sunrpc/clnt_raw.c: Likewise.
71589         * sunrpc/clnt_simp.c: Likewise.
71590         * sunrpc/clnt_tcp.c: Likewise.
71591         * sunrpc/clnt_udp.c: Likewise.
71592         * sunrpc/clnt_unix.c: Likewise.
71593         * sunrpc/des_crypt.c: Likewise.
71594         * sunrpc/des_soft.c: Likewise.
71595         * sunrpc/get_myaddr.c: Likewise.
71596         * sunrpc/getrpcport.c: Likewise.
71597         * sunrpc/key_call.c: Likewise.
71598         * sunrpc/key_prot.c: Likewise.
71599         * sunrpc/openchild.c: Likewise.
71600         * sunrpc/pm_getmaps.c: Likewise.
71601         * sunrpc/pm_getport.c: Likewise.
71602         * sunrpc/pmap_clnt.c: Likewise.
71603         * sunrpc/pmap_prot.c: Likewise.
71604         * sunrpc/pmap_prot2.c: Likewise.
71605         * sunrpc/pmap_rmt.c: Likewise.
71606         * sunrpc/rpc/auth.h: Likewise.
71607         * sunrpc/rpc/auth_unix.h: Likewise.
71608         * sunrpc/rpc/clnt.h: Likewise.
71609         * sunrpc/rpc/des_crypt.h: Likewise.
71610         * sunrpc/rpc/key_prot.h: Likewise.
71611         * sunrpc/rpc/netdb.h: Likewise.
71612         * sunrpc/rpc/pmap_clnt.h: Likewise.
71613         * sunrpc/rpc/pmap_prot.h: Likewise.
71614         * sunrpc/rpc/pmap_rmt.h: Likewise.
71615         * sunrpc/rpc/rpc.h: Likewise.
71616         * sunrpc/rpc/rpc_des.h: Likewise.
71617         * sunrpc/rpc/rpc_msg.h: Likewise.
71618         * sunrpc/rpc/svc.h: Likewise.
71619         * sunrpc/rpc/svc_auth.h: Likewise.
71620         * sunrpc/rpc/types.h: Likewise.
71621         * sunrpc/rpc/xdr.h: Likewise.
71622         * sunrpc/rpc_clntout.c: Likewise.
71623         * sunrpc/rpc_cmsg.c: Likewise.
71624         * sunrpc/rpc_common.c: Likewise.
71625         * sunrpc/rpc_cout.c: Likewise.
71626         * sunrpc/rpc_dtable.c: Likewise.
71627         * sunrpc/rpc_hout.c: Likewise.
71628         * sunrpc/rpc_main.c: Likewise.
71629         * sunrpc/rpc_parse.c: Likewise.
71630         * sunrpc/rpc_parse.h: Likewise.
71631         * sunrpc/rpc_prot.c: Likewise.
71632         * sunrpc/rpc_sample.c: Likewise.
71633         * sunrpc/rpc_scan.c: Likewise.
71634         * sunrpc/rpc_scan.h: Likewise.
71635         * sunrpc/rpc_svcout.c: Likewise.
71636         * sunrpc/rpc_tblout.c: Likewise.
71637         * sunrpc/rpc_util.c: Likewise.
71638         * sunrpc/rpc_util.h: Likewise.
71639         * sunrpc/rpcinfo.c: Likewise.
71640         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
71641         * sunrpc/rpcsvc/key_prot.x: Likewise.
71642         * sunrpc/rpcsvc/klm_prot.x: Likewise.
71643         * sunrpc/rpcsvc/mount.x: Likewise.
71644         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
71645         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
71646         * sunrpc/rpcsvc/rex.x: Likewise.
71647         * sunrpc/rpcsvc/rstat.x: Likewise.
71648         * sunrpc/rpcsvc/rusers.x: Likewise.
71649         * sunrpc/rpcsvc/sm_inter.x: Likewise.
71650         * sunrpc/rpcsvc/spray.x: Likewise.
71651         * sunrpc/rpcsvc/yppasswd.x: Likewise.
71652         * sunrpc/rtime.c: Likewise.
71653         * sunrpc/svc.c: Likewise.
71654         * sunrpc/svc_auth.c: Likewise.
71655         * sunrpc/svc_authux.c: Likewise.
71656         * sunrpc/svc_raw.c: Likewise.
71657         * sunrpc/svc_run.c: Likewise.
71658         * sunrpc/svc_simple.c: Likewise.
71659         * sunrpc/svc_tcp.c: Likewise.
71660         * sunrpc/svc_udp.c: Likewise.
71661         * sunrpc/svc_unix.c: Likewise.
71662         * sunrpc/svcauth_des.c: Likewise.
71663         * sunrpc/xcrypt.c: Likewise.
71664         * sunrpc/xdr.c: Likewise.
71665         * sunrpc/xdr_array.c: Likewise.
71666         * sunrpc/xdr_float.c: Likewise.
71667         * sunrpc/xdr_mem.c: Likewise.
71668         * sunrpc/xdr_rec.c: Likewise.
71669         * sunrpc/xdr_ref.c: Likewise.
71670         * sunrpc/xdr_sizeof.c: Likewise.
71671         * sunrpc/xdr_stdio.c: Likewise.
71673         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
71674         handling.
71676 2010-08-19  Andreas Schwab  <schwab@redhat.com>
71678         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
71680 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
71682         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
71683         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
71684         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
71685         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
71686         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
71687         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
71688         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
71689         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
71690         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
71691         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
71692         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
71693         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
71694         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
71695         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
71697 2010-07-26  Anton Blanchard  <anton@samba.org>
71699         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
71700         * malloc/arena.c (heap_trim): Likewise.
71702 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
71704         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
71705         here.  Not...
71706         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
71707         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
71709 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
71711         * sysdeps/i386/elf/Makefile: New file.
71713 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
71715         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
71716         from fanotify_init.
71717         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
71718         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
71720 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
71722         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
71723         of strncasecmp_l.
71724         * sysdeps/multiarch/strcmp.S: Likewise.
71726 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
71728         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
71729         strncase_l-nonascii.
71730         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
71731         Add strncase_l-ssse3.
71732         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
71733         * sysdeps/x86_64/strcmp.S: Likewise.
71734         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
71735         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
71736         * sysdeps/x86_64/strncase.S: New file.
71737         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
71738         * sysdeps/x86_64/strncase_l.S: New file.
71739         * string/Makefile (strop-tests): Add strncasecmp.
71740         * string/test-strncasecmp.c: New file.
71742         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
71743         warning.
71745         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
71746         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
71748 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
71750         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
71752 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
71754         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
71755         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
71756         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
71758 2010-05-01  Alan Modra  <amodra@gmail.com>
71760         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
71761         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
71762         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
71763         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
71764         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
71765         tidying.  Don't tail-call __sigjmp_save for static lib.
71766         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
71767         save location.
71768         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
71769         (CALL_MCOUNT): Add eh info, and nop after bl.
71770         (TAIL_CALL_SYSCALL_ERROR): New macro.
71771         (PSEUDO_RET): Use it.
71772         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
71773         Correct save location of integer regs and cr.
71774         (_dl_profile_resolve): Correct cr save location.  Delete nops
71775         after bl when SHARED.  Reduce cfi size a little by better
71776         placement of cfi directives.
71777         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
71778         make a stack frame.  Instead use parm save area as a temp.
71779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
71780         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
71781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
71782         Don't make a stack frame for parent, use parm save area.
71783         Increase child stack frame to 112 bytes.  Don't save unused reg,
71784         and adjust reg usage.  Set up cfi on error recovery and
71785         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
71786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
71787         (__makecontext): Add dummy nop after jump to exit.
71788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
71789         Use correct parm save area and cr save, reduce stack frame.
71790         Correct cfi for possible PSEUDO_RET frame setup.
71791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
71792         Branch to local label emitted by PSEUDO_RET rather than
71793         __syscall_error.
71795 2010-08-12  Andreas Schwab  <schwab@redhat.com>
71797         [BZ #11904]
71798         * locale/programs/locale.c (print_assignment): New function.
71799         (show_locale_vars): Use it.
71801 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
71803         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
71804         field.
71805         (struct statfs64): Likewise.
71806         (_STATFS_F_FLAGS): Define.
71807         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
71808         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
71809         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
71810         (ST_VALID): Define locally.
71811         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
71812         __statvfs_getflags, use the provided value.
71813         * sysdeps/unix/sysv/linux/kernel-features.h: Define
71814         __ASSUME_STATFS_F_FLAGS.
71816         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
71818         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
71819         Add sys/fanotify.h.
71820         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
71821         fanotify_mask for GLIBC_2.13.
71822         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
71823         fanotify_init and fanotify_mark.
71824         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
71825         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
71827         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
71828         Add prlimit.
71829         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
71830         prlimit64 for GLIBC_2.13.
71831         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
71832         prlimit64.
71833         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
71834         syscall.
71835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
71836         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
71837         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
71838         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
71839         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
71840         add prlimit alias.
71841         * sysdeps/unix/sysv/linux/prlimit.c: New file.
71843         [BZ #11903]
71844         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
71845         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
71847         * nss/Makefile: Add rules to build and run tst-nss-test1.
71848         * shlib-versions: Add entry for libnss_test1.
71849         * nss/nss_test1.c: New file.
71850         * nss/tst-nss-test1.c: New file.
71852         * nss/nsswitch.c (__nss_database_custom): Define new variable.
71853         (__nss_configure_lookup): Set appropriate entry in
71854         __nss_configure_lookup to true.
71855         * nss/nsswitch.h: Define enum with indeces of databases in
71856         databases and __nss_database_custom arrays.  Declare
71857         __nss_database_custom.
71858         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
71859         to avoid using nscd when custom rules are installed.
71860         * nss/getXXbyYY_r.c: Likewise.
71861         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
71863         * nss/nss_files/files-parse.c: Whitespace fixes.
71865 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
71867         [BZ #11883]
71868         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
71869         * posix/fnmatch_loop.c: Likewise.
71871 2010-07-17  Andi Kleen  <ak@linux.intel.com>
71873         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
71874         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
71875         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
71876         * Versions.def [GLIBC_2.13]: Add.
71878 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
71880         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
71881         Also fail if tpwd after pwuid call is NULL.
71883 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71885         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
71886         when converting to ms.
71888 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71890         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
71891         EOPNOTSUPP errors with ENOTTY.
71892         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
71893         EOPNOTSUPP errors with ENOTTY.
71895 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
71897         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
71898         Add strcasecmp_l-ssse3.
71899         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
71900         strcasecmp.
71901         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
71902         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
71903         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
71905 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
71907         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
71909         * string/Makefile (strop-tests): Add strcasecmp.
71910         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
71911         strcasecmp_l-nonascii.
71912         (gen-as-const-headers): Add locale-defines.sym.
71913         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
71914         * sysdeps/x86_64/strcasecmp.S: New file.
71915         * sysdeps/x86_64/strcasecmp_l.S: New file.
71916         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
71917         * sysdeps/x86_64/locale-defines.sym: New file.
71918         * string/test-strcasecmp.c: New file.
71920         * string/test-strcasestr.c: Test both ends of the range of characters.
71921         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
71923 2010-07-29  Roland McGrath  <roland@redhat.com>
71925         [BZ #11856]
71926         * manual/locale.texi (Yes-or-No Questions): Fix example code.
71928 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
71930         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
71931         for ld.so.
71933 2010-07-27  Andreas Schwab  <schwab@redhat.com>
71935         * manual/memory.texi (Malloc Tunable Parameters): Document
71936         M_PERTURB.
71938 2010-07-26  Roland McGrath  <roland@redhat.com>
71940         [BZ #11840]
71941         * configure.in (-fgnu89-inline check): Set and substitute
71942         gnu89_inline, not libc_cv_gnu89_inline.
71943         * configure: Regenerated.
71944         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
71946 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
71948         * string/test-strnlen.c: New file.
71949         * string/Makefile (strop-tests): Add strnlen.
71950         * string/tester.c (test_strnlen): Add a few more test cases.
71951         * string/tst-strlen.c: Better error reporting.
71953         * sysdeps/x86_64/strnlen.S: New file.
71955 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
71957         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
71958         lower-latency instructions.
71960 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
71962         * string/test-strcasestr.c: New file.
71963         * string/test-strstr.c: New file.
71964         * string/Makefile (strop-tests): Add strstr and strcasestr.
71965         * string/str-two-way.h: Don't undefine MAX.
71966         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
71968 2010-07-21  Andreas Schwab  <schwab@redhat.com>
71970         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71971         strcasestr-nonascii.
71972         (CFLAGS-strcasestr-nonascii.c): Define.
71973         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
71974         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
71975         Remove unused attribute.
71977 2010-07-20  Roland McGrath  <roland@redhat.com>
71979         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
71980         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
71981         ld.so.cache was broken.  With it, there is no way to disable dsocaps
71982         like LD_HWCAP_MASK can disable hwcaps.
71984 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
71986         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
71988 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
71990         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
71991         call in strcasestr.
71992         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
71993         __strcasestr_sse42_nonascii.
71994         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
71995         strcasestr-nonascii.c.
71996         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
71998 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
72000         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
72001         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
72002         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
72003         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
72005 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
72007         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
72008         fcntl.
72010 2010-07-06  Andreas Schwab  <schwab@redhat.com>
72012         [BZ #11577]
72013         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
72014         dl_signal_cerror.
72016 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
72018         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
72019         _PC_PIPE_BUF using F_GETPIPE_SZ.
72021 2010-07-05  Roland McGrath  <roland@redhat.com>
72023         * manual/arith.texi (Rounding Functions): Fix rint description
72024         implicit in round description.
72026 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
72028         * elf/Makefile: Fix linking for a few tests to make recent linker
72029         happy.
72031 2010-06-30  Andreas Schwab  <schwab@redhat.com>
72033         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
72034         $(common-objpfx)libc_nonshared.a.
72036 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
72038         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
72039         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
72040         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
72041         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
72042         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
72043         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
72044         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
72045         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
72046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
72047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
72048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
72049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
72050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
72051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
72052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
72053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
72054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
72055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
72056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
72057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
72058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
72059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
72060         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
72061         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
72062         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
72063         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
72064         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
72065         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
72066         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
72067         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
72068         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
72069         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
72070         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
72071         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
72072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
72073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
72074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
72075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
72076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
72077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
72078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
72079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
72080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
72081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
72082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
72083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
72084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
72085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
72087 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
72089         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
72090         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
72091         * string/memmove.c (memmove): Renamed to ...
72092         (MEMMOVE): ...this.  Default to memmove.
72093         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
72094         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
72095         (END_CHK): Define.
72096         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72097         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
72098         mempcpy-ssse3-back memmove-ssse3-back.
72099         * sysdeps/x86_64/multiarch/bcopy.S: New file .
72100         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
72101         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
72102         * sysdeps/x86_64/multiarch/memcpy.S: New file.
72103         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
72104         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
72105         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
72106         * sysdeps/x86_64/multiarch/memmove.c: New file.
72107         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
72108         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
72109         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
72110         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
72111         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
72112         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
72113         Define.
72114         (index_Fast_Copy_Backward): Define.
72115         (HAS_ARCH_FEATURE): Define.
72116         (HAS_FAST_REP_STRING): Define.
72117         (HAS_FAST_COPY_BACKWARD): Define.
72119 2010-06-21  Andreas Schwab  <schwab@redhat.com>
72121         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
72122         Restore proper fallback handling.
72124 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
72126         [BZ #11701]
72127         * posix/group_member.c (__group_member): Correct checking loop.
72129         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
72130         OOM in getpwuid_r correctly.  Return error number when the caller
72131         should return, otherwise -1.
72132         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
72133         call returning > 0 value.
72134         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
72136 2010-06-07  Andreas Schwab  <schwab@redhat.com>
72138         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
72139         libc_nonshared.a from targets in modules-names.
72141 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
72143         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
72144         requires it.
72146 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
72148         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
72149         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
72150         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
72151         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
72153 2010-06-02  Andreas Schwab  <schwab@redhat.com>
72155         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
72157 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
72159         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
72160         and F_GETPIPE_SZ.
72161         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
72162         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
72163         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
72164         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
72165         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
72166         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
72168 2010-06-14  Roland McGrath  <roland@redhat.com>
72170         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
72172 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
72174         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
72175         __REDIRECT followed by __THROW.
72176         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
72177         * posix/getopt.h (getopt): Likewise.
72179 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
72181         * hurd/lookup-at.c (__file_name_lookup_at): Accept
72182         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
72183         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
72184         in AT_FLAGS.
72185         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
72186         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
72188 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
72190         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
72192 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
72194         [BZ #11640]
72195         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72196         Properly check family and model.
72198 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
72200         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
72202 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
72204         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
72206 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
72208         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
72209         symbol reference.
72211 2010-05-19  Andreas Schwab  <schwab@redhat.com>
72213         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
72214         symbol reference.
72216 2010-05-21  Andreas Schwab  <schwab@redhat.com>
72218         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
72219         and internal_recvmmsg.
72220         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
72221         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
72222         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
72223         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
72225         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
72226         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
72227         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
72229 2010-05-20  Andreas Schwab  <schwab@redhat.com>
72231         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
72233 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
72235         POWER7 optimizations.
72236         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
72237         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
72239 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
72241         * version.h: Update for 2.13 development version.
72243 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
72245         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
72246         exceptions.  Return 0.
72248 2010-05-07  Roland McGrath  <roland@redhat.com>
72250         * elf/ldconfig.c (main): Add a const.
72252 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
72254         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
72255         (args_options): Add no-idn option.
72256         (ahosts_keys_int): Add idn_flags to ai_flags.
72257         (parse_option): Handle 'i' option to clear idn_flags.
72259         * malloc/malloc.c (_int_free): Possible race in the most recently
72260         added check.  Only act on the data if no current modification
72261         happened.
72263 See ChangeLog.17 for earlier changes.