Update nios2 localplt.data.
[glibc.git] / ChangeLog
blob27f4417f2bc12b48675913568120f2ed57edb4ca
1 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
3         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
4         for libc.so.
6 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
9         ptw-lseek64.
10         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
11         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
12         Likewise.
13         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
14         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
15         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
16         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
17         * sysdeps/unix/sysv/linux/lseek.c: New file.
18         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
19         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
20         __libc_lseek64 from auto-generation.
21         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
24 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
26         * nptl/tst-basic1.c (tf, do_test): Use write_message.
27         * nptl/tst-cleanup1.c (do_test): Likewise.
28         * nptl/tst-cleanup3.c (do_test): Likewise.
29         * nptl/tst-key1.c (do_test): Likewise.
30         * nptl/tst-key2.c (tf, do_test): Likewise.
31         * nptl/tst-key3.c (tf, do_test): Likewise.
32         * nptl/tst-stdio1.c (do_test): Likewise.
33         * nptl/tst-stdio2.c (do_test): Likewise.
35         * nptl/tst-kill3.c (handler): Use write_message in place of write.
36         * nptl/tst-kill6.c (handler): Likewise.
37         * nptl/tst-tls2.c (CB): Likewise.
38         * nptl/tst-tls3.c (CB): Likewise.
40 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
42         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
44 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
45             Steve Ellcey  <sellcey@caviumnetworks.com>
47         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
48           __ASSUME_ST_INO_64_BIT as 0
49         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
50         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
51           over the code where __ASSUME_ST_INO_64_BIT is used.
52         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
53         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
54         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
56 2016-11-07  Florian Weimer  <fweimer@redhat.com>
58         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
59         Document ABI exposure of the __kind offset.
60         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
61         Mention reason for the __kind offset exposure in the ABI.
62         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
63         Likewise.
64         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
65         Likewise.
66         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
67         Likewise.
68         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
69         (struct __pthread_mutex_s): Likewise.
70         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
71         Likewise.
72         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
73         Likewise.
74         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
75         Likewise.
76         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
77         Likewise.
78         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
79         Likewise.
80         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
81         Likewise.
82         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
83         (struct __pthread_mutex_s): Likewise.
84         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
85         (struct __pthread_mutex_s): Likewise.
86         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
87         Likewise.
89 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
91         * test-skeleton.c: Document do_test usage.
93 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
95         * iconv/gconv.h (__gconv_info): Define __data element using a
96         zero-length array.
98 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
100         * math/test-tgmath2.c: Split up test function.
102 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
104         * Rules (tests-expected): New variable, depending on
105         $(run-built-tests).
106         (tests): Pass $(tests-expected) to merge-test-results.sh, not
107         $(tests).
109         * Rules [$(run-built-tests) = no] (tests): Do not depend on
110         $(tests-unsupported).
112 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
114         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
115         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
117 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
119         [BZ #20768]
120         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
121         __fegetenv instead of fegetenv.
123         [BZ #14139]
124         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
125         (find_files): Obtain platform name from libm-test-ulps-name and
126         store in %pplatforms.
127         (canonicalize_platform): Remove.
128         (print_platforms): Use $pplatforms directly.
129         (by_platforms): Do not allow for platforms missing from
130         %pplatforms.
131         * sysdeps/aarch64/libm-test-ulps-name: New file.
132         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
133         * sysdeps/arm/libm-test-ulps-name: Likewise.
134         * sysdeps/generic/libm-test-ulps-name: Likewise.
135         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
136         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
137         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
138         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
139         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
140         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
141         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
142         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
143         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
144         * sysdeps/nios2/libm-test-ulps-name: Likewise.
145         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
146         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
147         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
148         * sysdeps/sh/libm-test-ulps-name: Likewise.
149         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
150         * sysdeps/tile/libm-test-ulps-name: Likewise.
151         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
153         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
155         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
156         (test-xfail-check-execstack): New variable.
158         * sysdeps/mips/localplt.data: New file.
160 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
161             Steve Ellcey  <sellcey@caviumnetworks.com>
163         * bits/wordsize.h: Add documentation.
164         * sysdeps/aarch64/bits/wordsize.h : New file
165         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
166         definitions.
167         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
168         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
169         with #if instead of #ifdef.
170         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
171         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
172         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
173         Add or change defines.
174         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
175         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
176         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
177         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
178         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
179         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
180         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
181         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
182         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
183         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
184         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
185         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
186         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
187         * sysdeps/x86/bits/wordsize.h: Likewise.
189 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
190             Kevin Petit  <kevin.petit@arm.com>
192         * sysdeps/aarch64/memchr.S (__memchr): New file.
194 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
196         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
198 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
200         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
201         $(linknamespace-symlists-tests).
203 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
205         * time/tst-strptime2.c: Ignore -Wformat-length warning.
207 2016-11-02  Florian Weimer  <fweimer@redhat.com>
208             Carlos O'Donell  <carlos@redhat.com>
210         [Bug #20729]
211         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
212         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
213         for -Os related change.
215 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
217         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
219 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
221         [BZ #19673]
222         * manual/math.texi (Exponents and Logarithms): Correct description
223         of clog10.
225 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
227         [Bz #20729]
228         * locale/weight.h: Include libc-internal.h.
229         * locale/weightwc.h: Likewise.
230         * nptl/nptl_dbP.h: Likewise.
232 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
234         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
235         when it is MACH_PORT_NULL.
237 2016-10-31  Andreas Schwab  <schwab@suse.de>
239         [BZ #20707]
240         * posix/glob.c (glob): Initialize pglob before checking for
241         GLOB_BRACE.  Don't call glob recursively if pattern contains no
242         valid brace expression despite GLOB_BRACE.
243         * posix/globtest.sh: Test it.
245 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
247         [BZ #20729]
248         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
249         Define.
250         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
251         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
252         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
253         for seq2.back_us and seq1.back_us only for -Os compiles.
254         * locale/weightwc.h (findix): Likewise.
255         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
256         DB_GET_FIELD_ADDRESS only for -Os compiles.
257         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
258         for slen only for -Os compiles.
259         * string/strcoll_l.c (get_next_seq): Ignore
260         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
261         for -Os compiles.
263         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
264         * include/crypt.h: New file.
266 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
268         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
269         from test-skeleton.c.
270         (statclass): Replace calls to write with calls to write_message.
272 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
274         * math/math.h
275         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
276         New macro.
277         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
278         Likewise.
279         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
280         Likewise.
281         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
282         SNANL.
283         * math/test-double.h (snan_value_MACRO): New macro.
284         * math/test-float.h (snan_value_MACRO): Likewise.
285         * math/test-ldouble.h (snan_value_MACRO): Likewise.
286         * math/libm-test.inc (issignaling_test_data): Add tests of
287         snan_value_MACRO.
289 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
291         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
292         behavior when eliding a lock not held by the current thread.
293         * sysdeps/powerpc/nptl/elide.h: Likewise.
295 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
297         [BZ #20728]
298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
299         branch to _exit() by a function call.
301 2016-10-28  Florian Weimer  <fweimer@redhat.com>
303         * malloc/malloc.c: Update chunk layout comments.
304         (chunk_main_arena): Update comment.
306 2016-10-28  Florian Weimer  <fweimer@redhat.com>
308         * crypt/sha256.c, crypt/sha256-block.c,
309         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
310         sha256_process_block to __sha256_process_block.
311         * crypt/sha512.c, crypt/sha512-block.c,
312         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
313         sha512_process_block to __sha512_process_block.
315 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
317         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
319         * math/test-nan-overflow.c: Include stdlib.h for malloc.
321 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
323         [BZ #20019]
324         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
325         definition in unrelocated shared library.
326         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
328 2016-10-28  Florian Weimer  <fweimer@redhat.com>
330         [BZ #20729]
331         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
332         * sysdeps/unix/sysv/linux/i386/Makefile
333         (uses-6-syscall-arguments): Define.
334         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
335         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
336         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
337         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
338         Likewise.
339         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
340         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
341         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
342         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
343         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
344         (CFLAGS-fallocate64.os): Likewise.
345         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
346         (CFLAGS-pthread_rwlock_timedrdlock.os)
347         (CFLAGS-pthread_rwlock_timedwrlock.o)
348         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
349         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
350         (CFLAGS-sem_timedwait.os): Likewise.
352 2016-10-28  Florian Weimer  <fweimer@redhat.com>
354         * elf/tst-linkall-static.c: New file.
355         * elf/Makefile (tests-static): Add tst-linkall-static.
356         (tst-linkall-static): Link against static libraries.
358 2016-10-27  Florian Weimer  <fweimer@redhat.com>
360         * malloc/malloc.c (sysmalloc): Initialize previous size field of
361         mmaped chunks.
363 2016-10-28  Florian Weimer  <fweimer@redhat.com>
365         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
366         members to mchunk_prev_size, mchunk_size.
367         (chunk_main_arena): Reverse sense and rename from
368         chunk_non_main_arena.
369         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
370         mchunk_size instead of size.
371         (set_non_main_arena): Define.
372         (chunksize): Use chunksize_nomask instead of direct member access.
373         (chunksize_nomask): Define.
374         (next_chunk): Use chunksize instead of direct member access.
375         (prev_size, set_prev_size): Define.
376         (prev_chunk): Use prev_size instead of direct member access.
377         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
378         (inuse_bit_at_offset, set_inuse_bit_at_offset)
379         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
380         (mchunk_prev_size, mchunk_size): Poison tokens.
381         (unlink): Use chunksize_nomask, prev_size accessors.
382         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
383         (do_check_free_chunk): Use prev_size accessor.
384         (sysmalloc): Use set_prev_size, set_head accessors.
385         (munmap_chunk, mremap_chunk): Use prev_size accessor.
386         (__libc_free): Use chunksize_nomask accessor.
387         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
388         chunk_main_arena accessors.
389         (_int_free): Use chunksize_nomask, prev_size accessors.
390         (malloc_consolidate): Use chunksize, prev_size accessors.
391         (_int_realloc): Use chunksize_nomask accessor.
392         (_int_memalign): Use set_prev_size accessor.
393         (__malloc_info): Use chunksize_nomask accessor.
394         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
395         accessors.
396         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
397         (heap_trim): Use chunksize_nomask, prev_size accessors.
399 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
401         [BZ #19380]
402         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
403         for inexact results.
404         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
405         of inexact result where mpfr_subnormalize is the only inexact
406         step.
407         * stdlib/tst-strtod-round-data.h: Regenerated.
408         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
409         Define to 0.
410         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
412 2016-10-27  David S. Miller  <davem@davemloft.net>
414         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
416 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
418         * malloc/malloc.c (do_set_mallopt_check): New function.
419         (do_set_mmap_threshold): Likewise.
420         (do_set_mmaps_max): Likewise.
421         (do_set_top_pad): Likewise.
422         (do_set_perturb_byte): Likewise.
423         (do_set_trim_threshold): Likewise.
424         (do_set_arena_max): Likewise.
425         (do_set_arena_test): Likewise.
426         (__libc_mallopt): Use them.
428 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
430         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
431         (canonicalize): New declaration.
432         * math/Versions (canonicalize): New libm symbol at version
433         GLIBC_2.25.
434         (canonicalizef): Likewise.
435         (canonicalizel): Likewise.
436         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
437         * math/s_canonicalize_template.c: New file.
438         * math/libm-test.inc: Update comment on functions tested and
439         testing of NaN payloads.
440         (TEST_NAN_PAYLOAD): New macro.
441         (NO_TEST_INLINE): Update value.
442         (XFAIL_TEST): Likewise.
443         (ERRNO_UNCHANGED): Likewise.
444         (ERRNO_EDOM): Likewise.
445         (ERRNO_ERANGE): Likewise.
446         (IGNORE_RESULT): Likewise.
447         (NON_FINITE): Likewise.
448         (TEST_SNAN): Likewise.
449         (NO_TEST_MATHVEC): Likewise.
450         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
451         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
452         (struct test_Ffp_b1_data): New type.
453         (RUN_TEST_Ffp_b1): New macro.
454         (RUN_TEST_LOOP_Ffp_b1): Likewise.
455         (canonicalize_test_data): New array.
456         (canonicalize_test): New function.
457         (main): Call canonicalize_test.
458         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
459         canonicalizef and canonicalizel.
460         * manual/libm-err-tab.pl: Update comment on interfaces without
461         ulps tabulated.
462         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
463         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
464         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
465         canonicalize.
466         (CFLAGS-nldbl-canonicalize.c): New variable.
467         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
468         to ...
469         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
470         ... here.
471         (do_test): Also test canonicalizel.
472         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
473         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
474         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
475         file.
476         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
477         Use libm_hidden_def.
478         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
479         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
480         (do_test): Also test canonicalizel.
481         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
482         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
483         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
484         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
485         libm_hidden_def.
486         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
487         macro.
488         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
489         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
490         * sysdeps/nacl/libm.abilist: Update.
491         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
492         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
493         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
494         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
495         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
496         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
497         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
498         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
499         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
500         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
501         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
502         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
504         Likewise.
505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
506         Likewise.
507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
508         Likewise.
509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
510         Likewise.
511         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
512         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
513         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
514         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
515         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
516         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
517         Likewise.
518         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
519         Likewise.
520         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
521         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
522         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
524         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
525         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
526         getpayload.
527         (CFLAGS-nldbl-getpayload.c): New variable.
529 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
531         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
532         integer from the format string.
534 2016-10-26  Florian Weimer  <fweimer@redhat.com>
536         [BZ #19473]
537         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
538         declarations.
539         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
540         weak aliases.
541         * malloc/hooks.c (__malloc_get_state): Remove definition.
542         (malloc_get_state): New stub implementation as
543         compatibility symbol.
544         (malloc_set_state): Rename from __malloc_set_state.  Turn into
545         compat symbol.
546         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
547         malloc_set_state.
548         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
550 2016-10-26  Florian Weimer  <fweimer@redhat.com>
552         * iconvdata/iso646.c (enum variant): Drop illegal_var.
553         (names): Turn into concatenation of strings.
554         (gconv_init): Adapt iteration over names.
556 2016-10-26  Florian Weimer  <fweimer@redhat.com>
558         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
559         make const.
560         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
561         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
562         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
563         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
564         character in sbconv.
565         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
566         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
567         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
569 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
571         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
573         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
574         (M_TRIM_THRESHOLD): Likewise.
576         * manual/memory.texi (M_ARENA_TEST): Add documentation.
577         (M_ARENA_MAX): Likewise.
578         * malloc/malloc.c: Remove obsolete comment.
580         * manual/memory.texi: Add environment variable alternatives to
581         setting mallopt parameters.
583 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
585         * include/atomic.h
586         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
587         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
589 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
591         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
592         * stdlib/tst-strfrom.h: New file.
593         * stdlib/tst-strfrom.c: New file.
594         * stdlib/tst-strfrom-locale.c: New file.
596         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
597         * stdlib/bug-strtod2.c: Likewise.
598         * stdlib/tst-strtod-round-skeleton.c: Likewise.
599         * stdlib/tst-strtod6.c: Likewise.
600         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
602 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
604         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
605         * manual/arith.texi: Document strfromd, strfromf, strfroml.
606         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
607         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
608         * stdlib/stdlib.h (strfromd): New declaration.
609         (strfromf): Likewise.
610         (strfroml): Likewise.
611         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
612         strfrom.
613         * stdlib/strfromd.c: New file.
614         * stdlib/strfromf.c: Likewise.
615         * stdlib/strfroml.c: Likewise.
616         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
617         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
618         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
619         * sysdeps/arm/nacl/libc.abilist: Update.
620         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
621         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
622         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
623         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
624         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
625         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
626         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
627         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
628         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
629         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
630         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
631         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
632         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
633         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
638         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
639         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
640         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
641         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
642         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
643         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
644         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
645         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
646         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
647         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
649 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
651         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
652         instead of cmpli.
653         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
654         instead of cmpli.
656 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
658         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
659         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
660         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
661         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
662         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
663         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
665 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
667         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
668         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
669         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
670         SYSCALL_LL64_PRW.
671         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
672         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
673         __ASSUME_PRW_DUMMY_ARG.
674         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
675         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
676         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
677         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
678         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
679         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
681 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
683         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
685 2016-10-22  Florian Weimer  <fweimer@redhat.com>
687         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
688         "C++", to override a potential extern "C" directive around the
689         header file inclusion.
691 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
693         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
695 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
697         * sysdeps/powerpc/fpu/fenv_private.h:
698         (_FPU_MASK_ALL): Rename to...
699         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
700         XE FPSCR bits.
702         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
704         (_FPU_MASK_ROUNDING): Rename to...
705         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
706         NI bits.
708         (_FPU_MASK_EXCEPT_ROUND): Rename to...
709         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
710         bits and rounding bits.
712         (__libc_feholdbits_ppc): New inline function to mask, set,
713         and pontentially clear FSPCR bits, and change MSR[FE] bits.
714         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
715         (libc_feholdexcept_setround_ppc): Likewise.
717         (__libc_femergeenv_ppc): New function to dynamically mask both
718         old and new FP environments and merge.
719         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
720         (libc_feresetround_ppc): Likewise.
721         (libc_feupdateenv_test_ppc): Likewise.
722         (libc_feupdateenv_ppc): Likewise.
724         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
725         of ISA RN bits, and update macro names.
726         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
727         effectively the same as the previously mentioned function.
729         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
730         usage with fe_resetround_ppc.
732         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
733         to be used.
734         (libc_feholdexcept_setround_ctxf): Likewise.
735         (libc_feholdexcept_setround_ctxl): Likewise.
737 2016-10-21  Florian Weimer  <fweimer@redhat.com>
739         [BZ #20715]
740         * math/math.h [__cplusplus] (iszero): Define as function template.
741         * math/Makefile [CXX] (tests): Add test-math-iszero.
742         (CFLAGS-test-math-iszero.cc): Set.
743         * math/test-math-iszero.cc: New file.
745 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
747         [BZ #20660]
748         * sysdeps/arm/e_sqrt.c: New file.
749         * sysdeps/arm/e_sqrtf.c: Likewise.
751 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
753         [BZ #20718]
754         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
755         not use floating-point comparisons to test sign.
756         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
757         Likewise.
759         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
760         (getpayload): New declaration.
761         * math/Versions (getpayload): New libm symbol at version
762         GLIBC_2.25.
763         (getpayloadf): Likewise.
764         (getpayloadl): Likewise.
765         * math/Makefile (libm-calls): Add s_getpayloadF.
766         * math/libm-test.inc: Include <nan-high-order-bit.h>.
767         (struct test_f_f_data): Add comment.
768         (RUN_TEST_fp_f): New macro.
769         (RUN_TEST_LOOP_fp_f): Likewise.
770         (getpayload_test_data): New array.
771         (getpayload_test): New function.
772         (main): Call getpayload_test.
773         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
774         descriptor.
775         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
776         getpayloadf and getpayloadl.
777         * manual/libm-err-tab.pl: Update comment on interfaces without
778         ulps tabulated.
779         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
780         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
781         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
782         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
783         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
784         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
785         * sysdeps/nacl/libm.abilist: Update.
786         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
787         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
788         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
789         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
790         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
791         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
792         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
793         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
794         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
795         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
796         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
797         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
799         Likewise.
800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
801         Likewise.
802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
803         Likewise.
804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
805         Likewise.
806         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
807         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
808         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
809         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
810         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
811         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
812         Likewise.
813         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
814         Likewise.
815         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
816         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
817         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
819 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
821         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
822         tst-fallocate{64}.
823         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
824         on syscall return.
826 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
828         [BZ #20689]
829         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
830         usable.
832 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
834         * sysdeps/generic/nan-high-order-bit.h: New file.
835         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
836         * sysdeps/mips/nan-high-order-bit.h: Likewise.
837         * sysdeps/hppa/math_private.h: Remove file.
838         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
839         not define here.
840         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
841         <nan-high-order-bit.h>.
842         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
843         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
844         <nan-high-order-bit.h>.
845         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
846         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
847         <nan-high-order-bit.h>.
848         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
849         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
850         <nan-high-order-bit.h>.
851         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
852         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
853         <nan-high-order-bit.h>.
854         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
855         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
856         <nan-high-order-bit.h>.
857         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
858         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
859         <nan-high-order-bit.h>.
860         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
861         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
862         <nan-high-order-bit.h>.
863         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
864         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
865         <nan-high-order-bit.h>.
866         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
867         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
868         <nan-high-order-bit.h>.
869         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
870         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
871         <nan-high-order-bit.h>.
872         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
873         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
874         <nan-high-order-bit.h>.
875         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
876         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
877         <nan-high-order-bit.h>.
878         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
879         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
880         <nan-high-order-bit.h>.
881         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
882         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
883         <nan-high-order-bit.h>.
884         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
885         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
886         <nan-high-order-bit.h>.
887         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
888         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
889         <nan-high-order-bit.h>.
890         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
891         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
892         <nan-high-order-bit.h>.
893         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
895 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
897         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
899 2016-09-22  John David Anglin  <dave.anglin@bell.net>
901         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
902         abort-instr.h.
903         (EFAULT): Remove conditional define.
904         (ENOSYS): Likewise.
905         (atomic_compare_and_exchange_val_acq): Use instruction nullification
906         instead of conditional branch instructions.
908 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
910         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
911         (totalordermag): New declaration.
912         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
913         New macro.
914         * math/Versions (totalordermag): New libm symbol at version
915         GLIBC_2.25.
916         (totalordermagf): Likewise.
917         (totalordermagl): Likewise.
918         * math/Makefile (libm-calls): Add s_totalordermagF.
919         * math/libm-test.inc (totalordermag_test_data): New array.
920         (totalordermag_test): New function.
921         (main): Call totalordermag_test.
922         * math/test-tgmath.c (NCALLS): Increase to 125.
923         (F(compile_test)): Call totalordermag.
924         (F(totalordermag)): New function.
925         * manual/arith.texi (FP Comparison Functions): Document
926         totalordermag, totalordermagf and totalordermagl.
927         * manual/libm-err-tab.pl: Update comment on interfaces without
928         ulps tabulated.
929         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
930         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
931         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
932         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
933         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
934         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
935         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
936         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
937         totalordermag.
938         (CFLAGS-nldbl-totalordermag.c): New variable.
939         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
940         (do_test): Also test totalordermagl.
941         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
942         Likewise.
943         * sysdeps/nacl/libm.abilist: Update.
944         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
945         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
946         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
947         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
948         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
949         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
950         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
951         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
952         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
953         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
954         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
955         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
957         Likewise.
958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
959         Likewise.
960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
961         Likewise.
962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
963         Likewise.
964         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
965         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
966         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
967         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
968         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
969         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
970         Likewise.
971         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
972         Likewise.
973         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
974         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
975         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
977 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
979         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
980         boolean.
982 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
984         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
985         raising FE_INVALID with feraisexcept in case where part of
986         argument is infinite, subtract that part of argument from itself.
987         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
988         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
989         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
991 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
993         * math/libm-test.inc (totalorder_test_data): Add more tests.
995 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
997         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
998         Undefine weak_alias and add a comment why mips64 require
999         versioning.
1001 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
1003         [BZ #20647]
1004         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
1005         maximum CPUID level is less than 2.
1007 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
1009         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1010         (totalorder): New declaration.
1011         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
1012         New macro.
1013         * math/Versions (totalorder): New libm symbol at version
1014         GLIBC_2.25.
1015         (totalorderf): Likewise.
1016         (totalorderl): Likewise.
1017         * math/Makefile (libm-calls): Add s_totalorderF.
1018         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
1019         string.
1020         * math/libm-test.inc (PAYLOAD_DIG): New macro.
1021         (qnan_value_pl): Likewise.
1022         (snan_value_pl): Likewise.
1023         (qnan_value): Define using qnan_value_pl.
1024         (snan_value): Define using snan_value_pl.
1025         (struct test_ff_i_data): Add comment about which tests use this
1026         structure.
1027         (RUN_TEST_ff_b): New macro.
1028         (RUN_TEST_LOOP_ff_b): Likewise.
1029         (totalorder_test_data): New array.
1030         (totalorder_test): New function.
1031         (main): Call totalorder_test.
1032         * math/test-tgmath.c (NCALLS): Increase to 122.
1033         (F(compile_test)): Call totalorder.
1034         (F(totalorder)): New function.
1035         * manual/arith.texi (FP Comparison Functions): Document
1036         totalorder, totalorderf and totalorderl.
1037         * manual/libm-err-tab.pl: Update comment on interfaces without
1038         ulps tabulated.
1039         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
1040         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
1041         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
1042         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
1043         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
1044         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
1045         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
1046         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1047         totalorder.
1048         (CFLAGS-nldbl-totalorder.c): New variable.
1049         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
1050         file.
1051         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
1052         Add test-totalorderl-ldbl-128ibm.
1053         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
1054         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
1055         test-totalorderl-ldbl-96.
1056         * sysdeps/nacl/libm.abilist: Update.
1057         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1058         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1059         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1060         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1061         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1062         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1063         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1064         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1065         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1066         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1067         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1068         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1070         Likewise.
1071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1072         Likewise.
1073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1074         Likewise.
1075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1076         Likewise.
1077         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1078         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1079         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1080         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1081         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1082         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1083         Likewise.
1084         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1085         Likewise.
1086         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1087         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1088         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1090 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1092         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
1093         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
1094         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
1095         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
1096         remove ENOSYS implementation.
1097         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
1098         Consolidate all Linux implementations.
1100 2016-10-11  Florian Weimer  <fweimer@redhat.com>
1102         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
1103         * resolv/herror.c (herror): Cast away const-ness.
1104         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
1105         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
1107 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
1109         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
1110         instead of M_NAN + M_NAN.
1111         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
1113 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1115         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
1116         unused variable 'p'.
1118 2016-10-09  Alan Modra  <amodra@gmail.com>
1119             Andreas Schwab  <schwab@linux-m68k.org>
1121         [BZ #20554]
1122         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
1123         [PIC && !SHARED]: Set up PIC register for PLT call.
1125 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
1127         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
1128         conditional on value of [__FLT_EVAL_METHOD__].
1129         * math/test-iseqsig-excess-precision.c: New file.
1130         * math/Makefile (tests): Add test-iseqsig-excess-precision.
1132 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1134         * math/s_iseqsig_template.c: Include math-private.h.
1136         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
1137         * posix/tst-posix_fadvise.c: New file.
1138         * posix/tst-posix_fadvise64.c: Likewise.
1139         * posix/tst-posix_fadvise-common.c: Likewise.
1140         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1141         (__ASSUME_FADVISE64_64_6ARG): Define.
1142         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1143         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
1144         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1145         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
1146         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
1147         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
1148         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
1149         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
1150         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
1151         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
1152         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
1153         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
1154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
1155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
1156         Likewise.
1157         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
1158         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
1159         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
1160         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
1161         Alias to __posix_fadvise64_l32.
1162         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
1163         Add compat definition to posix_fadvise64.
1164         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
1165         Add versioned definition to posix_fadvise64.
1166         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
1167         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
1168         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
1169         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
1170         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
1172         * io/Makefile (tests): Add tst-posix_fallocate and
1173         tst-posix_fallocate64.
1174         * io/tst-posix_fallocate-common.c: New file.
1175         * io/tst-posix_fallocate.c: Likewise.
1176         * io/tst-posix_fallocate64.c: Likewise.
1177         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
1178         file.
1179         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
1180         Likewise.
1181         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
1182         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
1183         Likewise.
1184         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
1185         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
1186         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
1187         SYSCALL_LL to pass both offset and len arguments.
1188         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
1189         Likewise.
1190         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
1191         __libc_pwrite64 alias used by posix_fallocate64.
1193         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
1194         tst-fallocate64.
1195         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
1196         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
1197         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
1198         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
1199         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
1200         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
1201         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
1202         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
1203         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
1204         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
1205         macro on offset argument.
1206         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
1207         SYSCALL_LL64 on offset argument.
1209         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
1210         tst-fallocate64.
1211         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
1212         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
1213         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
1214         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
1215         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
1216         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
1217         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
1218         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
1219         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
1220         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
1221         macro on offset argument.
1222         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
1223         SYSCALL_LL64 on offset argument.
1224         * test-skeleton.c (FAIL_RET): Add macro.
1225         (FAIL_EXIT): Likewise.
1226         (FAIL_EXIT1): Likewise.
1227         (_FAIL): Likewise.
1229 2016-10-07  Florian Weimer  <fweimer@redhat.com>
1231         [BZ #20629]
1232         resolv: Remove RES_USEBSTRING and its implementation.
1233         * resolv/resolv.h (RES_USEBSTRING): Remove.
1234         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
1235         (digitvalue, encode_bitstring, decode_bitstring): Remove.
1236         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
1237         (labellen): Remove extended label types support.
1238         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
1239         * resolv/res_init.c (res_setoptions): Likewise.
1240         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
1242 2016-10-07  Florian Weimer  <fweimer@redhat.com>
1244         resolv: Remove RES_NOIP6DOTINT and its implementation.
1245         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
1246         (RES_NOIP6DOTINT): Remove.
1247         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
1248         handling.
1249         * resolv/res_debug.c (p_option): Likewise.
1250         * resolv/res_init.c (res_setoptions): Likewise.
1251         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
1253 2016-10-07  Florian Weimer  <fweimer@redhat.com>
1255         resolv: Deprecate unimplemented flags.
1256         * misc/sys/cdefs.h (__glibc_macro_warning1)
1257         (__glibc_macro_warning): Define.
1258         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
1259         (RES_KEEPTSIG): Mark as deprecated.
1260         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
1261         RES_NOCHECKNAME, RES_KEEPTSIG.
1262         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
1264 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1266         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
1267         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
1268         Use strong_alias to create symbols for glibc verison 2.19.
1270 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1272         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
1274 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1276         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
1278 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1280         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
1282 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1284         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1285         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
1286         in header for using it as type for ifunc function because __GI_* symbols
1287         for ppc32 do not target the ifunc symbols.
1288         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
1290 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1292         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
1293         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
1294         libc_ifunc_hidden_def.
1295         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
1296         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
1297         Redirect ifunced function in header for using it as type of ifunc'ed
1298         function. Redefine libc_hidden_def to use fallback non ifunc'ed
1299         function for __GI_* symbol.
1300         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
1301         * include/libc-symbols.h
1302         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
1304 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1306         [BZ #20478]
1307         * sysdeps/s390/multiarch/ifunc-resolve.h
1308         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
1309         to create ifunc symbols.
1310         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
1311         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
1312         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
1313         for using it as type for ifunc function.
1314         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
1315         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
1316         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
1317         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
1318         * sysdeps/s390/multiarch/strcat.c: Likewise.
1319         * sysdeps/s390/multiarch/strchr.c: Likewise.
1320         * sysdeps/s390/multiarch/strcmp.c: Likewise.
1321         * sysdeps/s390/multiarch/strcpy.c: Likewise.
1322         * sysdeps/s390/multiarch/strcspn.c: Likewise.
1323         * sysdeps/s390/multiarch/strlen.c: Likewise.
1324         * sysdeps/s390/multiarch/strncmp.c: Likewise.
1325         * sysdeps/s390/multiarch/strncpy.c: Likewise.
1326         * sysdeps/s390/multiarch/strnlen.c: Likewise.
1327         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
1328         * sysdeps/s390/multiarch/strrchr.c: Likewise.
1329         * sysdeps/s390/multiarch/strspn.c: Likewise.
1330         * sysdeps/s390/multiarch/wcschr.c: Likewise.
1331         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
1332         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
1333         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
1334         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
1335         * sysdeps/s390/multiarch/wmemset.c: Likewise.
1336         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
1337         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
1338         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
1339         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
1340         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
1341         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
1343 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1345         * include/libc-symbols.h (__ifunc_resolver):
1346         New macro is used by __ifunc* macros.
1347         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
1348         depending on HAVE_GCC_IFUNC.
1349         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
1350         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
1351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
1352         Redirect ifunced function in header for using as type for ifunc function.
1353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
1354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
1355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
1356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
1357         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
1358         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
1359         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
1360         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
1361         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
1362         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
1363         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
1364         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
1365         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
1366         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
1367         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
1368         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
1369         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
1370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
1371         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
1372         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
1373         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
1374         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
1375         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
1376         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
1377         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
1378         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
1379         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
1380         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
1381         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
1382         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
1383         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
1384         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
1385         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1386         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
1387         Add libc_hidden_def() and use libc_ifunc_hidden() macro
1388         instead of libc_ifunc() macro.
1389         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
1390         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
1392 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1394         * config.h.in (HAVE_GCC_IFUNC): New undef.
1395         * configure.ac: Add check if gcc supports attribute ifunc feature.
1396         * configure: Regenerated.
1397         * manual/install.texi: Add recommendation for gcc with
1398         indirect-function support.
1399         * INSTALL: Regenerated.
1401 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
1403         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
1404         macro.
1405         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1406         (__iseqsig): New declaration.
1407         * math/s_iseqsig_template.c: New file.
1408         * math/Versions (__iseqsigf): New libm symbol at version
1409         GLIBC_2.25.
1410         (__iseqsig): Likewise.
1411         (__iseqsigl): Likewise.
1412         * math/libm-test.inc (iseqsig_test_data): New array.
1413         (iseqsig_test): New function.
1414         (main): Call iseqsig_test.
1415         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
1416         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
1417         * manual/libm-err-tab.pl: Update comment on interfaces without
1418         ulps tabulated.
1419         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
1420         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
1421         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
1422         * sysdeps/nacl/libm.abilist: Update.
1423         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1424         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1425         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1426         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1427         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1428         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1429         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1430         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1431         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1432         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1433         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1434         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1436         Likewise.
1437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1438         Likewise.
1439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1440         Likewise.
1441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1442         Likewise.
1443         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1444         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1445         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1446         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1447         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1448         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1449         Likewise.
1450         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1451         Likewise.
1452         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1453         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1454         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1456 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1458         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
1459         do_sincos_2, sloww, sloww1): Update comments.
1461         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
1462         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
1464         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
1465         K boolean and rename it.
1466         (__sin): Adjust.
1467         (__cos): Adjust.
1469 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
1470             Siddhesh Poyarekar  <siddhesh@sourceware.org>
1472         * manual/nss.texi: Fix typos in the manual.
1474 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
1476         * manual/contrib.texi: Fix typos in the manual.
1478         * manual/maint.texi: Fix typos in the manual.
1480         * manual/install.texi: Fix typos in the manual.
1481         * INSTALL: Regenerated.
1483         * manual/lang.texi: Fix typos in the manual.
1485         * manual/probes.texi: Fix typos in the manual.
1487         * manual/threads.texi: Fix typos in the manual.
1489         * manual/debug.texi: Fix typos in the manual.
1491         * manual/crypt.texi: Fix typos in the manual.
1493         * manual/conf.texi: Fix typos in the manual.
1495         * manual/sysinfo.texi: Fix typos in the manual.
1497         * manual/users.texi: Fix typos in the manual.
1499         * manual/job.texi: Fix typos in the manual.
1501         * manual/process.texi: Fix typos in the manual.
1503         * manual/argp.texi: Fix typos in the manual.
1504         * manual/getopt.texi: Likewise.
1505         * manual/startup.texi: Likewise.
1507         * manual/signal.texi: Fix typos in the manual.
1509         * manual/setjmp.texi: Fix typos in the manual.
1511         * manual/resource.texi: Fix typos in the manual.
1513         * manual/time.texi: Fix typos in the manual.
1515         * manual/arith.texi: Fix typos in the manual.
1517         * manual/math.texi: Fix typos in the manual.
1519         * manual/syslog.texi: Fix typos in the manual.
1521         * manual/terminal.texi: Fix typos in the manual.
1523         * manual/socket.texi: Fix typos in the manual.
1525         * manual/filesys.texi: Fix typos in the manual.
1527         * manual/llio.texi: Fix typos in the manual.
1529         * manual/stdio.text: Fix typos in the manual.
1531 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1533         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
1534         instead of K1.
1536         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
1537         SHIFT_QUADRANT and make it bool.
1538         (do_sincos_2): Likewise.
1539         (sloww): Likewise.
1540         (sloww1): Likewise.
1541         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
1542         (__cos): Likewise.
1544 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1546         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1548 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
1550         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
1551         Define to __WORDSIZE, not conditional on [LONG_MAX ==
1552         0x7fffffffL].
1553         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
1555 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1557         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
1558         inline by __inline__.
1559         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
1560         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
1561         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
1562         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
1563         sigset_t from signal.h.
1564         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
1565         which is already required.
1567 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
1569         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1571 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
1573         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
1574         (struct tcp_repair_window): New type.
1576 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1578         * libio/tst-memstream3.c: Include string.h.
1580 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1582         [BZ #18241]
1583         [BZ #20181]
1584         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
1585         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
1586         write position is at the end the buffer.
1587         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
1588         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
1589         (_IO_str_seekoff): Set correct offset from negative displacement and
1590         set EINVAL for invalid ones.
1591         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
1592         buffer length.
1593         (_IO_wstr_switch_to_get_mode): New function.
1594         (_IO_wstr_seekoff): Set correct offset from negative displacement and
1595         set EINVAL for invalid ones.
1596         * libio/tst-memstream3.c: New file.
1597         * libio/tst-wmemstream3.c: Likewise.
1598         * manual/examples/memstrm.c: Remove warning when priting size_t.
1600 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
1602         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
1603         macro to use __builtin_fma.
1604         * sysdeps/x86_64/fpu/dla.h: Remove file.
1606         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
1607         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
1608         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
1610 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
1612         [BZ #20292]
1613         * elf/Makefile (routines): Add dl-addr-obj.
1614         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
1615         tst-_dl_addr_inside_object.
1616         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
1617         [ifeq (yesyes,$(have-fpie)$(build-shared))]
1618         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
1619         [ifeq (yesyes,$(have-fpie)$(build-shared))]
1620         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
1621         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
1622         * elf/dl-open.c: Likewise.
1623         * elf/dl-addr-obj.c: New file.
1624         * elf/tst-_dl_addr_inside_object.c: New file.
1626 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
1628         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
1629         <bits/iscanonical.h>.
1630         * bits/iscanonical.h: New file.
1631         * math/s_iscanonicall.c: Likewise.
1632         * math/Versions (__iscanonicall): New libm symbol at version
1633         GLIBC_2.25.
1634         * math/libm-test.inc (iscanonical_test_data): New array.
1635         (iscanonical_test): New function.
1636         (main): Call iscanonical_test.
1637         * math/Makefile (headers): Add bits/iscanonical.h.
1638         (type-ldouble-routines): Add s_iscanonicall.
1639         * manual/arith.texi (Floating Point Classes): Document
1640         iscanonical.
1641         * manual/libm-err-tab.pl: Update comment on interfaces without
1642         ulps tabulated.
1643         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
1644         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
1645         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
1646         Likewise.
1647         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
1648         test-iscanonical-ldbl-128ibm.
1649         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
1650         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
1651         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
1652         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
1653         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
1654         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1655         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1657         Likewise.
1658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1659         Likewise.
1660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1661         Likewise.
1662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1663         Likewise.
1664         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1665         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1667 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1669         * string/bits/string3.h: Remove C++ style comments.
1671 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1673         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
1674         instead of ternary condition.
1675         (do_sincos_2): Likewise.
1676         (__sin): Likewise.
1677         (__cos): Likewise.
1678         (slow): Likewise.
1679         (sloww): Likewise.
1680         (sloww1): Likewise.
1681         (bsloww): Likewise.
1682         (bsloww1): Likewise.
1684         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
1685         instead of ternary condition.
1686         (do_sin_slow): Likewise.
1687         (do_sincos_1): Likewise.
1688         (do_sincos_2): Likewise.
1689         (__cos): Likewise.
1690         (sloww): Likewise.
1691         (sloww1): Likewise.
1692         (sloww2): Likewise.
1693         (bsloww): Likewise.
1694         (bsloww1): Likewise.
1695         (bsloww2): Likewise.
1697         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
1698         check from here...
1699         (slow2): ... and here...
1700         (__sin): ... to here.
1702 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
1704         * math/math.h
1705         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
1706         Cast argument to its own type.
1707         * math/test-iszero-excess-precision.c: New file.
1708         * math/Makefile (tests): Add test-iszero-excess-precision.
1709         (CFLAGS-test-iszero-excess-precision.c): New variable.
1711 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
1713         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
1714         field, add err field.
1715         (__spawni_child): Report error through err member instead of pipe.
1716         (__spawnix): Likewise.
1718 2016-09-28  Zack Weinberg  <zackw@panix.com>
1720         * scripts/check-installed-headers.sh: Generalize treatment of
1721         sys/elf.h to all target architectures.
1723         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
1724         deleted typedef ucontext_t.
1726 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1728         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
1729         (__INTERNAL_SYSCALL1): Likewise.
1730         (__INTERNAL_SYSCALL2): Likewise.
1731         (__INTERNAL_SYSCALL3): Likewise.
1732         (__INTERNAL_SYSCALL4): Likewise.
1733         (__INTERNAL_SYSCALL5): Likewise.
1734         (__INTERNAL_SYSCALL6): Likewise.
1735         (__INTERNAL_SYSCALL7): Likewise.
1736         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
1737         (__INTERNAL_SYSCALL_NARGS): Likewise.
1738         (__INTERNAL_SYSCALL_DISP): Likewise.
1739         (INTERNAL_SYSCALL_CALL): Likewise.
1740         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
1741         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
1742         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
1743         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
1744         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
1745         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
1746         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
1747         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
1748         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
1749         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
1750         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
1751         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
1752         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
1754 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
1756         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
1757         macro.
1758         * math/libm-test.inc (iszero_test_data): New array.
1759         (iszero_test): New function.
1760         (main): Call iszero_test.
1761         * manual/arith.texi (Floating Point Classes): Document iszero.
1762         * manual/libm-err-tab.pl: Update comment on interfaces without
1763         ulps tabulated.
1765 2016-09-23  Zack Weinberg  <zackw@panix.com>
1767         * scripts/check-installed-headers.sh: New script.
1768         * Rules: In each directory that defines header files to be installed,
1769         run check-installed-headers.sh on them as a special test.
1770         * Makefile: Likewise for the headers installed at top level.
1772         * include/aliases.h, include/alloca.h, include/argz.h
1773         * include/arpa/nameser.h, include/arpa/nameser_compat.h
1774         * include/elf.h, include/envz.h, include/err.h
1775         * include/execinfo.h, include/fpu_control.h, include/getopt.h
1776         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
1777         * include/link.h, include/malloc.h, include/mcheck.h
1778         * include/mntent.h, include/netinet/ether.h
1779         * include/nss.h, include/obstack.h, include/printf.h
1780         * include/pty.h, include/resolv.h, include/rpc/auth.h
1781         * include/rpc/auth_des.h, include/rpc/auth_unix.h
1782         * include/rpc/clnt.h, include/rpc/des_crypt.h
1783         * include/rpc/key_prot.h, include/rpc/netdb.h
1784         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
1785         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
1786         * include/rpc/rpc_msg.h, include/rpc/svc.h
1787         * include/rpc/svc_auth.h, include/rpc/xdr.h
1788         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
1789         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
1790         * include/rpcsvc/ypupd.h, include/shadow.h
1791         * include/stdio_ext.h, include/sys/epoll.h
1792         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
1793         * include/sys/prctl.h, include/sys/profil.h
1794         * include/sys/statfs.h, include/sys/sysctl.h
1795         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
1796         * sysdeps/arm/nacl/include/bits/setjmp.h
1797         * sysdeps/mips/include/sys/asm.h
1798         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
1799         * sysdeps/unix/sysv/linux/include/sys/timex.h
1800         * sysdeps/x86/fpu/include/bits/fenv.h:
1801         Add #ifndef _ISOMAC guard around internal declarations.
1802         Add multiple-inclusion guard if not already present.
1804 2016-09-23  Zack Weinberg  <zackw@panix.com>
1806         * sysdeps/generic/sys/ucontext.h
1807         * sysdeps/arm/sys/ucontext.h
1808         * sysdeps/i386/sys/ucontext.h
1809         * sysdeps/m68k/sys/ucontext.h
1810         * sysdeps/mips/sys/ucontext.h
1811         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
1812         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
1813         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
1814         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
1815         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
1816         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
1817         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
1818         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
1819         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
1820         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
1821         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
1822         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
1823         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
1824         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
1825         Include both bits/sigcontext.h and bits/sigstack.h.
1826         Fix grammar error in comment, if present.
1828         * bits/sigstack.h
1829         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
1830         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
1831         * sysdeps/unix/sysv/linux/bits/sigstack.h
1832         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
1833         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
1834         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
1835         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
1836         * bits/sigcontext.h
1837         * sysdeps/mach/hurd/i386/bits/sigcontext.h
1838         * sysdeps/unix/sysv/linux/bits/sigcontext.h
1839         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
1840         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
1841         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
1842         as well as signal.h, if this was not already allowed.  Request
1843         definition of size_t if necessary.  Minimize semantically-null
1844         differences across files.
1846 2016-09-23  Zack Weinberg  <zackw@panix.com>
1848         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
1849         Remove all logic conditional on __need macros.  Move all the
1850         conditionally defined types to their own headers...
1851         * time/bits/types/clock_t.h: Define clock_t here.
1852         * time/bits/types/clockid_t.h: Define clockid_t here.
1853         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
1854         * time/bits/types/struct_timespec.h: Define struct timespec here.
1855         * time/bits/types/struct_timeval.h: Define struct timeval here.
1856         * time/bits/types/struct_tm.h: Define struct tm here.
1857         * time/bits/types/time_t.h: Define time_t here.
1858         * time/bits/types/timer_t.h: Define timer_t here.
1859         * time/Makefile: Install the new headers.
1861         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
1862         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
1863         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
1864         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
1865         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
1866         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
1867         * sysdeps/unix/sysv/linux/bits/resource.h
1868         * sysdeps/unix/sysv/linux/bits/timex.h
1869         * sysdeps/unix/sysv/linux/mips/bits/resource.h
1870         * sysdeps/unix/sysv/linux/net/ppp_defs.h
1871         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
1872         * sysdeps/unix/sysv/linux/sys/acct.h
1873         * sysdeps/unix/sysv/linux/sys/timerfd.h
1874         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
1875         * time/sys/time.h, time/sys/timeb.h
1876         Use the new bits/types headers.
1878         * include/time.h: Remove __need logic.
1879         * include/bits/time.h
1880         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
1881         * include/bits/types/time_t.h, include/bits/types/timer_t.h
1882         * include/bits/types/struct_itimerspec.h
1883         * include/bits/types/struct_timespec.h
1884         * include/bits/types/struct_timeval.h
1885         * include/bits/types/struct_tm.h:
1886         New wrapper headers.
1888 2016-09-23  Zack Weinberg  <zackw@panix.com>
1890         * sysdeps/mach/hurd/net/if_ppp.h
1891         * sysdeps/unix/sysv/linux/net/if_ppp.h:
1892         Only define struct ifpppstatsreq and struct ifpppcstatsreq
1893         if __USE_MISC is defined, to ensure struct ifreq is declared.
1895         * inet/netinet/ether.h: Condition all function prototypes
1896         on __USE_MISC, to ensure struct ether_addr is declared.
1898         * socket/bits/types/struct_osockaddr.h: New header.
1899         * include/bits/types/struct_osockaddr.h: New wrapper.
1900         * socket/Makefile: Install the new header.
1901         * socket/sys/socket.h, inet/protocols/talkd.h:
1902         Refer to bits/types/struct_osockaddr.h for the definition of
1903         struct osockaddr.
1905 2016-09-23  Zack Weinberg  <zackw@panix.com>
1907         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
1908         * inet/protocols/routed.h, inet/protocols/talkd.h
1909         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
1910         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
1911         * sysdeps/generic/netinet/if_ether.h
1912         * sysdeps/generic/netinet/in_systm.h
1913         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
1914         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
1915         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
1916         * sysdeps/mach/hurd/net/if_arp.h
1917         * sysdeps/mach/hurd/net/if_ppp.h
1918         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
1919         * sysdeps/unix/sysv/linux/bits/in.h
1920         * sysdeps/unix/sysv/linux/net/ethernet.h
1921         * sysdeps/unix/sysv/linux/net/if_arp.h
1922         * sysdeps/unix/sysv/linux/net/if_ppp.h
1923         * sysdeps/unix/sysv/linux/net/if_shaper.h
1924         * sysdeps/unix/sysv/linux/net/route.h
1925         * sysdeps/unix/sysv/linux/netinet/if_ether.h
1926         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
1927         * sysdeps/unix/sysv/linux/netinet/if_tr.h
1928         * sysdeps/unix/sysv/linux/netipx/ipx.h
1929         * sysdeps/unix/sysv/linux/sys/acct.h
1930         * include/arpa/nameser.h, include/resolv.h:
1931         Change all uses of u_char to unsigned char,
1932         u_short and ushort to unsigned short, u_int and uint to unsigned int,
1933         u_long and ulong to unsigned long, u_int8_t to uint8_t,
1934         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
1935         and u_int64_t and u_quad_t to uint64_t.
1937         * mach/sys/reboot.h: Remove two casts of integer literals
1938         to the types they already have.
1940         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
1941         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
1942         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
1943         from referring to 'unsigned char' to 'uint8_t' for consistency with
1944         the macro definition below.
1946         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
1947         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
1948         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
1949         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
1950         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
1951         * sysdeps/unix/sysv/linux/sys/acct.h
1952         * include/arpa/nameser.h, include/resolv.h:
1953         Fix indentation disrupted by mechanical edits.
1955         * inet/protocols/talkd.h, resolv/arpa/nameser.h
1956         * sysdeps/generic/netinet/in_systm.h
1957         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
1958         * sysdeps/gnu/netinet/udp.h
1959         * sysdeps/unix/sysv/linux/net/ethernet.h
1960         * sysdeps/unix/sysv/linux/net/if_arp.h
1961         * sysdeps/unix/sysv/linux/net/if_ppp.h
1962         * sysdeps/unix/sysv/linux/net/if_shaper.h
1963         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
1964         * sysdeps/unix/sysv/linux/netinet/if_tr.h
1965         * sysdeps/unix/sysv/linux/netipx/ipx.h
1966         * sysdeps/unix/sysv/linux/sys/acct.h
1967         Include stdint.h for uintNN_t definitions.
1968         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
1970 2016-09-23  Zack Weinberg  <zackw@panix.com>
1972         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
1973         * sysdeps/unix/sysv/linux/netrose/rose.h:
1974         Include sys/socket.h and netax25/ax25.h.
1976         * inet/netinet/icmp6.h, inet/netinet/ip6.h
1977         * resolv/arpa/nameser_compat.h:
1978         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
1980         * sysdeps/unix/sysv/linux/sys/quota.h:
1981         Use __caddr_t instead of caddr_t.
1982         * sysdeps/unix/sysv/linux/sys/timerfd.h:
1983         Use __clockid_t instead of clockid_t.
1985         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
1987         * argp/argp.h: Check whether _LIBC is defined before expanding it.
1988         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
1989         expanding it.
1991         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
1992         Define __glibc_c99_flexarr_available to 1 when the compiler
1993         supports C99-compatible flexible array members, 0 otherwise.
1994         * sysdeps/unix/sysv/linux/bits/socket.h
1995         * sysdeps/mach/hurd/bits/socket.h
1996         * bits/socket.h: Use __glibc_c99_flexarr_available in
1997         definitions of struct cmsghdr and CMSG_DATA.
1999 2016-09-23  Florian Weimer  <fweimer@redhat.com>
2001         * manual/nss.texi (NSS Modules Interface): Adjust function return
2002         type to enum nss_status.  Document errnop argument.  Clarify
2003         h_errnop semantics.  Fix cross-reference formatting.
2004         (NSS Module Function Internals): Mention that *errnop needs to be
2005         set on failure, but not to zero.
2007 2016-09-23  Florian Weimer  <fweimer@redhat.com>
2009         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
2010         (get_random_name): New functions.
2011         (check_wrapper_flags_mode): Use linkat to give the new file a name
2012         determined by get_random_name.
2013         (do_test): Add calls to test open64 and openat64.
2015 2016-09-23  Florian Weimer  <fweimer@redhat.com>
2017         * test-skeleton.c: Remove #include <stdarg.h>.
2019 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
2021         [BZ #19826]
2022         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
2023         initialization of static TLS entries.
2024         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
2025         * nptl/allocatestack.c (init_one_static_tls): Likewise.
2027 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2029         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
2030         _hurd_malloc_fork_prepare.
2031         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
2032         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
2033         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
2034         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
2035         (_hurd_fork_child_hook): Drop malloc_fork_child.
2036         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
2037         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
2038         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
2039         after locking locks (notably hurd_dtable_lock). Call
2040         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
2041         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
2042         __malloc_fork_unlock_child.
2043         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
2045 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
2047         * soft-fp/extendhftf2.c: New.
2048         * soft-fp/fixhfti.c: Likewise.
2049         * soft-fp/fixunshfti.c: Likewise.
2050         * soft-fp/floattihf.c: Likewise.
2051         * soft-fp/floatuntihf.c: Likewise.
2052         * soft-fp/half.h: Likewise.
2053         * soft-fp/trunctfhf2.c: Likewise.
2055 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
2057         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
2058         macro.
2059         * math/libm-test.inc (issubnormal_test_data): New array.
2060         (issubnormal_test): New function.
2061         * manual/arith.texi (Floating Point Classes): Document
2062         issubnormal.
2063         * manual/libm-err-tab.pl: Update comment on interfaces without
2064         ulps tabulated.
2066         * sysdeps/generic/stdint.h: Define
2067         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2068         <bits/libc-header-start.h> instead of including <features.h>.
2069         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
2070         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
2071         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
2072         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
2073         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
2074         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
2075         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
2076         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
2077         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
2078         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
2079         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
2080         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
2081         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
2082         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
2083         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
2084         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
2085         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
2086         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
2087         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
2088         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
2089         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
2090         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
2091         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
2092         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
2093         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
2094         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
2095         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
2096         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
2097         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
2098         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
2099         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
2100         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
2101         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
2102         * manual/arith.texi (Integers): Document these macros for types
2103         specified by width properties.
2104         * manual/lang.texi (Width of Type): Document these macros for
2105         other standard typedefs.
2106         * stdlib/tst-width-stdint.c: New file.
2107         * stdlib/Makefile (tests): Add tst-width-stdint.
2109 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2111         [BZ #20016]
2112         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
2113         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
2114         Move ...
2115         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
2116         ... here, as compatibility symbols in a new file.
2117         * resolv/Makefile (libresolv-routines): Add compat-hooks.
2118         * resolv/res_init.c (__res_vinit): Adjust member names.
2119         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
2120         * resolv/resolv.h (res_sendhookact, res_send_qhook)
2121         (res_send_rhook): Remove.
2122         (struct __res_state): Rename qhook, rhook members.
2124 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2126         malloc: Use __libc_lock wrappers.
2127         * malloc/arena.c (list_lock, free_list_lock): Define using
2128         __libc_lock_define_initialized.
2129         (arena_lock): Adjust formatting.
2130         * malloc/malloc.c (struct malloc_state): Define mutex using
2131         __libc_lock_define.
2132         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
2133         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
2134         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
2135         (mutex_unlock, mutex_trylock): Remove.
2136         (__pthread_initialize): Remove unused macro.
2137         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
2138         (mutex_unlock, mutex_trylock): Remove.
2140 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2142         [BZ #20592]
2143         Remove RR type classification macros.
2144         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
2145         (ns_t_udp_p, ns_t_xfr_p): Remove.
2147 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2149         Remove misleading version information.
2150         * resolv/arpa/nameser.h (__NAMESER): Remove.
2151         * resolv/arpa/nameser_compat.h (__BIND): Remove.
2153 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2155         Remove the always-defined BIND_4_COMPAT macro.
2156         * resolv/arpa/nameser.h: Unconditionally include
2157         <arpa/nameser_compat.h>.
2158         (BIND_4_COMPAT): Remove.
2159         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
2161 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2163         [BZ #20591]
2164         Remove obsolete DNSSEC support.
2165         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
2166         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
2167         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
2168         (ns_verify_tcp, ns_verify_tcp_init): Remove.
2169         (ns_cert_types): Add comment.
2170         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
2171         separately.
2172         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
2173         (dst_s_dns_key_id): Remove.
2174         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
2175         variables.
2177 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2179         [BZ #20524]
2180         * manual/string.texi (String/Array Comparison): Clarify the
2181         strverscmp behavior.
2183 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2185         * test-skeleton.c (xasprintf): Add function.
2186         * io/tst-open-tmpfile.c: New test.
2187         * io/Makefile (tests): Add it.
2189 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2191         Avoid running $(CXX) during build to obtain header file paths.
2192         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
2193         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
2194         * Makerules (cstdlib, cmath): Remove variables.  Use
2195         $(c++-cstdlib-header), $(c++-cmath-header) instead.
2196         * configure: Regenerate.
2198 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2200         * Makeconfig (all-object-suffixes): Include .op only if
2201         $(build-profile).
2203 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2205         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
2206         conditionals.  Do not define PATH_MAX.
2208 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2210         * posix/Makefile (tests): Add tst-spawn3.
2211         * posix/tst-spawn3.c: New file.
2212         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
2213         if it is already opened for open action.
2215         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
2216         all signals when executing the clone vfork child.
2217         (SIGALL_SET): Remove macro.
2219         * nptl/Makefile (tests): Add tst-exec5.
2220         * nptl/tst-exec5.c: New file.
2221         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
2222         asynchronous cancellation.
2224 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2226         * hurd/exc2signal.c: #include <hurd/signal.h>
2227         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
2228         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
2229         accordingly.
2230         * mach/mach_error.c (mach_error): Fix old-style function definition.
2231         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
2233 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2235         * math/Makefile (libm-calls): Remove s_nanF.
2236         (gen-libm-calls): Add s_nanF.
2238         * math/s_nan.c: Refactor into ...
2239         * math/s_nan_template.c: New file.
2241         * math/s_nanf.c: Removed.
2242         * math/s_nanl.c: Removed.
2243         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
2244         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
2246         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
2247         (LDOUBLE_nanl_libm_version): New macro.
2249         * sysdeps/generic/math-type-macros-double.h:
2250         (M_STRTO_NAN): New macro.
2251         * sysdeps/generic/math-type-macros-float.h: Likewise.
2252         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
2254         * sysdeps/generic/math-type-macros.h: Document
2255         M_STRTO_NAN.
2257 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2259         * math/s_nanf.c: Remove __nanf undef.
2260         * math/s_nan.c: Remove __nan undef.
2261         * math/s_nanl.c: Remove __nanl undef.
2263         * sysdeps/generic/math_private.h (__nan): Remove macro
2264         override.
2265         (__nanf): Likewise.
2266         (__nanl): Likewise.
2268 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2270         * math/Makefile (gen-all-calls): New variable.
2271         (generated): Replace gen-libm-calls with gen-all-calls.
2272         (gen-libm-templates.stmp): Likewise.  Also, ensure
2273         the output directory exists or is created and add
2274         dependency on the Makefile.
2275         (calls): Move s_ldexpF into gen-calls.
2276         (gen-calls): New variable.
2278         * math/s_ldexpf.c: Removed.
2279         * math/s_ldexpl.c: Removed.
2280         * math/s_ldexp.c: Refactored into ...
2281         * math/s_ldexp_template.c: New file.
2283         * sysdeps/generic/math-type-macros-double.h: Remove
2284         redundant fall-through definition of declare_mgen_alias.
2285         (declare_mgen_alias_2): New macro.
2287         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
2288         New macro for function aliased to two exported symbols.
2290         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
2291         new template file.
2292         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
2294 2016-09-20  Florian Weimer  <fweimer@redhat.com>
2296         * Makeconfig (all-object-suffixes): Remove .og.
2297         * Makerules (elide-routines.og): Remove.
2298         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
2299         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
2300         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
2302 2016-09-20  Florian Weimer  <fweimer@redhat.com>
2304         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
2305         .os objects.
2307 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2309         [BZ #20615]
2310         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
2311         fpu directory by non-fpu.
2312         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
2313         on non-fpu directory from a fpu directory.
2315 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
2317         * include/limits.h: Define
2318         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2319         <bits/libc-header-start.h> instead of including <features.h>.
2320         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
2321         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
2322         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
2323         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
2324         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
2325         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
2326         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
2327         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
2328         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
2329         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
2330         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
2331         * manual/lang.texi (Width of Type): Document these macros.
2332         * stdlib/tst-width.c: New file.
2333         * stdlib/Makefile (tests): Add tst-width.
2335 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2337         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
2338         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
2340 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2342         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
2343         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
2344         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
2346 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2348         [BZ #18243]
2349         * rt/Makefile (test): Add tst-shm-cancel.
2350         * rt/tst-shm-cancel.c: New file.
2351         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
2353         [BZ #18243]
2354         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
2355         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
2356         definition.
2357         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
2358         uncontended case.
2359         * nptl/sem_wait.c (__new_sem_wait): Likewise.
2360         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
2361         (tf): Fix check for uncontended case.
2362         (do_test): Likewise.
2363         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
2364         (tf): Fix check for uncontended case.
2365         (do_test): Likewise.
2366         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
2367         (tf): Fix check for uncontended case.
2368         (do_test): Likewise.
2369         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
2370         (tf): Fix check for uncontended case.
2371         (do_test): Likewise.
2373         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
2374         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
2376         [BZ #15765]
2377         * nptl/Makefile (tests): Add tst-sem16.
2378         * nptl/tst-sem16.c: New file.
2379         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
2381         * nptl/sem_open.c (sem_open): Init pad value to 0.
2382         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
2383         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
2385 2016-09-15  Florian Weimer  <fweimer@redhat.com>
2387         [BZ #20611]
2388         * inet/Makefile (routines): Add inet6_scopeid_pton.
2389         (tests): Add tst-inet6_scopeid_pton.
2390         * inet/inet6_scopeid_pton.c: New file.
2391         * inet/net-internal.h: Likewise.
2392         * inet/tst-inet6_scopeid_pton.c: New test.
2393         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
2394         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
2395         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2397 2016-09-14  Florian Weimer  <fweimer@redhat.com>
2399         Remove support for compiling wrappers with PTW.
2400         * sysdeps/nptl/Makeconfig: Drop ptw- support.
2401         * nptl/Makefile (pthread-compat-wrappers): Define.
2402         (libpthread-routines): Use pthread-compat-wrappers.
2403         * sysdeps/unix/sysv/linux/alpha/Makefile
2404         (libpthread-routines, libpthread-shared-only-routines): Remove
2405         ptw- prefix.
2406         * sysdeps/s390/nptl/Makefile
2407         (libpthread-routines, libpthread-shared-only-routines): Likewise.
2408         * sysdeps/ia64/nptl/Makefile
2409         (libpthread-routines, libpthread-shared-only-routines): Likewise.
2410         * sysdeps/nacl/Makefile (libpthread-routines): Use
2411         pthread-compat-wrappers to filter the routines list instead of the
2412         ptw- prefix.
2414 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2416         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
2417         with L() and remove explicit suffix, convert real literals
2418         which can be equivalentally substituted with integers, and
2419         transform -L(x) to L(-x).
2421         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2422         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2423         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2424         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2425         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2426         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2427         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2428         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
2429         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2430         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2431         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2432         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2433         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2434         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2435         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2436         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2437         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2438         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2439         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2440         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2441         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2442         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2443         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2444         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2445         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
2446         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2447         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2448         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2449         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2450         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2451         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2452         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
2453         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2454         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2455         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2456         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2457         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2458         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2459         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2460         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2461         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2462         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2463         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2464         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2465         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2466         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2467         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2468         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
2469         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2470         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2472 2016-09-13  Florian Weimer  <fweimer@redhat.com>
2474         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
2476 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2478         * malloc/Makefile (tests): Remove individual static test names
2479         and just add all of tests-static.
2481         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
2483 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
2485         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
2486         file.
2488         * sysdeps/sparc/fpu/fegetmode.c: New file.
2489         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
2491         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
2492         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
2494         * sysdeps/s390/fpu/fegetmode.c: New file.
2495         * sysdeps/s390/fpu/fesetmode.c: Likewise.
2497         * sysdeps/powerpc/fpu/fegetmode.c: New file.
2498         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
2499         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
2500         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
2501         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
2502         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
2504         * sysdeps/mips/fpu/fegetmode.c: New file.
2505         * sysdeps/mips/fpu/fesetmode.c: Likewise.
2507         * sysdeps/m68k/fpu/fegetmode.c: New file.
2508         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
2510         * sysdeps/ia64/fpu/fegetmode.c: New file.
2511         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
2513         * sysdeps/hppa/fpu/fegetmode.c: New file.
2514         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
2516         * sysdeps/arm/fegetmode.c: New file.
2517         * sysdeps/arm/fesetmode.c: Likewise.
2519         * sysdeps/alpha/fpu/fegetmode.c: New file.
2520         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
2522         * sysdeps/aarch64/fpu/fegetmode.c: New file.
2523         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
2525         * math/fegetmode.c: New file.
2526         * math/fesetmode.c: Likewise.
2527         * sysdeps/i386/fpu/fegetmode.c: Likewise.
2528         * sysdeps/i386/fpu/fesetmode.c: Likewise.
2529         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
2530         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
2531         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
2532         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
2533         declaration.
2534         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
2535         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
2536         typedef.
2537         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2538         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2539         (femode_t): New typedef.
2540         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2541         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2542         (femode_t): New typedef.
2543         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2544         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2545         (femode_t): New typedef.
2546         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2547         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2548         (femode_t): New typedef.
2549         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2550         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2551         (femode_t): New typedef.
2552         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2553         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2554         (femode_t): New typedef.
2555         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2556         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2557         (femode_t): New typedef.
2558         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2559         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2560         (femode_t): New typedef.
2561         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2562         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2563         (femode_t): New typedef.
2564         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2565         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2566         (femode_t): New typedef.
2567         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
2568         declaration.
2569         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2570         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2571         (femode_t): New typedef.
2572         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2573         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2574         (femode_t): New typedef.
2575         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2576         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2577         (femode_t): New typedef.
2578         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2579         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2580         (femode_t): New typedef.
2581         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2582         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2583         (femode_t): New typedef.
2584         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2585         * manual/arith.texi (FE_DFL_MODE): Document macro.
2586         (fegetmode): Document function.
2587         (fesetmode): Likewise.
2588         * math/Versions (fegetmode): New libm symbol at version
2589         GLIBC_2.25.
2590         (fesetmode): Likewise.
2591         * math/Makefile (libm-support): Add fegetmode and fesetmode.
2592         (tests): Add test-femode and test-femode-traps.
2593         * math/test-femode-traps.c: New file.
2594         * math/test-femode.c: Likewise.
2595         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
2596         alias for __fe_dfl_env.
2597         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
2598         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
2599         (__fe_dfl_mode): Likewise.
2600         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
2601         version GLIBC_2.25.
2602         * sysdeps/nacl/libm.abilist: Update.
2603         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2604         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2605         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2606         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2607         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2608         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2609         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2610         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2611         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2612         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2613         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2614         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2616         Likewise.
2617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2618         Likewise.
2619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2620         Likewise.
2621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2622         Likewise.
2623         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2624         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2625         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2626         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2627         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2628         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2629         Likewise.
2630         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2631         Likewise.
2632         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2633         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2634         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2636 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
2638         [BZ #20495]
2639         [BZ #20508]
2640         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
2641         processors, set Use_dl_runtime_resolve_slow and set
2642         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
2643         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
2644         New.
2645         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
2646         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
2647         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
2648         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
2649         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
2650         if Use_dl_runtime_resolve_opt is set.  Use
2651         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
2652         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
2653         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
2654         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
2655         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
2656         New.
2657         (_dl_runtime_resolve_opt): Likewise.
2658         (_dl_runtime_profile): Define only if _dl_runtime_profile is
2659         defined.
2661 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2663         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
2664         __libc_memalign with "+ RELA R_390_GLOB_DAT".
2666 2016-09-06  Florian Weimer  <fweimer@redhat.com>
2668         Convert malloc to __libc_lock.  Automated part, using this Perl
2669         s/// command:
2670           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
2671             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
2672         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
2673         conversion.
2675 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
2677         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
2678         (linknamespace-symlists-tests): Likewise.
2679         (linknamespace-header-tests): Likewise.
2681 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
2683         [BZ #19810]
2684         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
2685         * elf/tst-noload.c: New test case.
2686         * elf/Makefile (tests): Add tst-noload.
2688 2016-09-02  Roland McGrath  <roland@hack.frob.com>
2690         * sysdeps/nacl/dup.c: Add libc_hidden_def.
2692         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
2693         not any more.
2695         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
2697 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2699         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
2700         (do_cos_slow): Likewise.
2701         (do_sin): Likewise.
2702         (do_sin_slow): Likewise.
2703         (slow): Likewise.
2704         (slow1): Likewise.
2705         (slow2): Likewise.
2706         (sloww): Likewise.
2707         (sloww1): Likewise.
2708         (sloww2): Likewise.
2709         (bsloww): Likewise.
2710         (bsloww1): Likewise.
2711         (bsloww2): Likewise.
2712         (cslow2): Likewise.
2714         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
2716         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
2717         arguments.  Consolidate input partitioning from callers here.
2718         (do_cos_slow): Likewise.
2719         (do_sin): Likewise.
2720         (do_sin_slow): Likewise.
2721         (do_sincos_1): Remove the no longer necessary input partitioning.
2722         (do_sincos_2): Likewise.
2723         (__sin): Likewise.
2724         (__cos): Likewise.
2725         (slow1): Likewise.
2726         (slow2): Likewise.
2727         (sloww1): Likewise.
2728         (sloww2): Likewise.
2729         (bsloww1): Likewise.
2730         (bsloww2): Likewise.
2731         (cslow2): Likewise.
2733 2016-09-02  Florian Weimer  <fweimer@redhat.com>
2735         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
2736         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
2737         outside of allocated array.
2739 2016-09-02  Florian Weimer  <fweimer@redhat.com>
2741         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
2742         instead of MB_CUR_MAX to avoid variable-length array.
2744 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2746         * math/Makefile (libm-calls): Remove k_rem_pio2F.
2747         (type-double-routines): Add k_rem_pio2.
2748         (type-float-routines): Add k_rem_pio2f.
2750         * sysdeps/generic/math_private.h:
2751         (__kernel_rem_pio2l): Removed.
2753         * math/k_rem_pio2l.c: Removed.
2754         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
2755         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
2756         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
2757         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
2759 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2761         * math/Makefile (gen-libm-calls): Add s_fmin
2762         (libm-calls): Remove above.
2764         * math/s_fmin.c: Refactor into ...
2765         * math/s_fmin_template.c: New file.
2767         * math/s_fminf.c: Removed.
2768         * math/s_fminl.c: Removed.
2769         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
2770         (LDOUBLE_fmin_libm_version): New macro.
2772         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
2773         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
2775 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2777         * math/Makefile: (gen-libm-calls): Add s_fmax.
2778         (libm-calls): Remove above.
2780         * math/s_fmax.c: Refactor into ...
2781         * math/s_fmax_template.c: New file.
2782         * math/s_fmaxf.c: Removed.
2783         * math/s_fmaxl.c: Removed.
2785         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
2786         (LDOUBLE_fmaxl_libm_version): New macro.
2788         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
2789         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
2791         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
2792         s_fmin.c to pick the aarch64 version of the file.
2793         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
2794         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
2796 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2798         * math/Makefile: (gen-libm-calls): Add s_nextdown.
2799         (libm-calls): Remove above.
2801         * math/s_nextdown.c: Refactor into ...
2802         * math/s_nextdown_template.c: New file.
2803         * math/s_nextdownf.c: Removed.
2804         * math/s_nextdownl.c: Removed.
2806         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
2808 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2810         * math/Makefile (gen-libm-calls): Add s_fdim.
2811         (libm-calls): Move to above.
2813         * math/s_fdim.c: Renamed and refactored into to ...
2814         * math/s_fdim_template.c: New file.
2815         * math/s_fdiml.c: Removed.
2816         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
2817         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
2819         * sysdeps/generic/math-type-macros-double.h:
2820         (declare_mgen_alias): Don't declare if already declared.
2821         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
2822         Likewise.
2824         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
2825         (declare_mgen_alias): Don't declare if already declared.
2826         (M_LIBM_NEED_COMPAT): Likewise.
2827         (declare_mgen_libm_compat): Likewise.
2828         (LDOUBLE_fdiml_libm_version): New macro.
2830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
2831         Include math/s_fdim.c now that ldbl-opt version is not needed.
2832         (declare_mgen_alias): New macro to disable aliasing.
2834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
2835         (declare_mgen_alias): Likewise.
2836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
2837         (declare_mgen_alias): Likewise.
2838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
2839         (declare_mgen_alias): Likewise.
2840         (M_LIBM_NEED_COMPAT): Likewise.
2842 2016-09-01  Florian Weimer  <fweimer@redhat.com>
2844         [BZ #20525]
2845         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
2846         Include <linux/quota.h>.
2847         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
2848         and btodb.
2849         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
2850         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
2851         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
2852         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
2853         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
2854         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
2855         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
2856         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
2857         types.
2858         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
2859         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
2861 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2863         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
2864         (gammal_positive): Fix spacing.
2865         (__ieee754_gammal_r): Likewise.
2867 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2869         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
2870         (_Float128): Define as long double, always.
2871         (L): Apply long double type suffix, always.
2873         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
2874         _Float128, excepting comments.
2876         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2877         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2878         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2879         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2880         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2881         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2882         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2883         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
2884         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2885         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
2886         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2887         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2888         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2889         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2890         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2891         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2892         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2893         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2894         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2895         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2896         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2897         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
2898         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2899         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2900         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2901         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2902         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
2903         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
2904         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2905         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2906         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2907         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2908         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2909         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2910         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2911         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2912         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2913         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2914         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2915         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
2916         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2917         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2918         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2919         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2920         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
2921         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2922         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2923         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2924         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2925         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2926         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2927         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2928         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2929         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2930         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
2931         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2932         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2933         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2934         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2935         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2936         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2937         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2938         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2939         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2940         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2941         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
2942         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2943         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2945         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
2946         _Float128, and include math_private.h.
2947         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2949         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
2950         long double semantics.
2951         (_Float128): Likewise.
2952         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
2953         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
2954         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
2955         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
2957 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
2959         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
2960         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
2961         * sysdeps/s390/configure: Regenerated.
2962         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
2963         instruction for raising over-/underflow if z196 zarch is supported
2964         by default.
2965         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
2967 2016-08-30  Svante Signell  <svante.signell@gmail.com>
2969         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
2970         it point to a dumb buffer for RPC to fill it.
2972 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2974         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
2975         instead of if/else.
2976         (do_sin_slow): Likewise.
2977         (do_sincos_1): Use fabs instead of if/else.
2978         (do_sincos_2): Likewise.
2979         (__sin): Likewise.
2980         (__cos): Likewise.
2981         (slow2): Likewise.
2982         (sloww): Likewise.
2983         (sloww1): Likewise.  Drop argument M.
2984         (sloww2): Use fabs instead of if/else.
2985         (bsloww): Likewise.
2986         (bsloww1): Likewise.
2987         (bsloww2): Likewise.
2989         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
2990         fall through comment.
2991         (do_sincos_1): Likewise.
2993         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
2994         Consolidate switch cases 0 and 2.
2996 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2998         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
2999         (libm-calls): Remove the above.
3001         * math/s_cexp_template.c: Update using type-generic macros.
3002         * math/s_clog10_template.c: Likewise.
3003         * math/s_cpow_template.c: Likewise.
3004         * math/s_clog_template.c: Likewise.
3005         * math/s_cproj_template.c: Likewise.
3006         * math/s_csqrt_template.c: Likewise.
3008         * math/s_cexp.c: Removed.
3009         * math/s_cexpf.c: Removed.
3010         * math/s_cexpl.c: Removed.
3011         * math/s_clog10.c: Removed.
3012         * math/s_clog10f.c: Removed.
3013         * math/s_clog10l.c: Removed.
3014         * math/s_cpow.c: Removed.
3015         * math/s_cpowf.c: Removed.
3016         * math/s_cpowl.c: Removed.
3017         * math/s_clog.c: Removed.
3018         * math/s_clogf.c: Removed.
3019         * math/s_clogl.c: Removed.
3020         * math/s_cproj.c: Removed.
3021         * math/s_cprojf.c: Removed.
3022         * math/s_cprojl.c: Removed.
3023         * math/s_csqrt.c: Removed.
3024         * math/s_csqrtf.c: Removed.
3025         * math/s_csqrtl.c: Removed.
3027         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
3028         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
3029         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
3030         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
3031         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
3032         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
3034         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
3035         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
3036         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
3037         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
3038         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
3039         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
3040         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
3041         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
3042         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
3043         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
3044         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
3046         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
3047         version.
3049         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
3050         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
3051         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
3052         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
3054 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3056         * s_cexp_template.c: Copy of s_cexp.c.
3057         * s_clog_template.c: Copy of s_clog.c.
3058         * s_clog10_template.c: Copy of s_clog10.c.
3059         * s_cpow_template.c: Copy of s_cpow.c.
3060         * s_cproj_template.c: Copy of s_cproj.c.
3061         * s_csqrt_template.c: Copy of s_csqrt.c.
3063 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3065         [BZ #20517]
3066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
3067         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
3068         exported.
3070 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
3072         * math/fetestexceptflag.c: New file.
3073         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
3074         Stefan Liebler.
3075         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3076         (fetestexceptflag): New function declaration.
3077         * manual/arith.texi (fetestexceptflag): Document function.
3078         * math/Versions (fetestexceptflag): New libm symbol at version
3079         GLIBC_2.25.
3080         * math/Makefile (libm-support): Add fetestexceptflag.
3081         (tests): Add test-fetestexceptflag.
3082         * math/test-fetestexceptflag.c: New file.
3083         * sysdeps/nacl/libm.abilist: Update.
3084         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3085         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3086         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3087         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3088         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3089         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3090         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3091         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3092         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3093         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3094         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3095         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3097         Likewise.
3098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3099         Likewise.
3100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3101         Likewise.
3102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3103         Likewise.
3104         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3105         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3106         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3107         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3108         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3109         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3110         Likewise.
3111         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3112         Likewise.
3113         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3114         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3115         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3117 2016-08-26  Florian Weimer  <fweimer@redhat.com>
3119         [BZ #20432]
3120         Avoid strong references to malloc-internal symbols when linking
3121         statically, to support statically interposed mallocs.
3122         * include/libc-symbols.h (call_function_static_weak): New macro.
3123         * malloc/Makefile (tests): Add tst-interpose-nothread,
3124         tst-interpose-thread, tst-interpose-static-nothread,
3125         tst-interpose-static-thread.
3126         (tests-static): Add tst-interpose-static-nothread,
3127         tst-interpose-static-thread.
3128         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
3129         tst-interpose-aux-thread.o.
3130         (test-extras): Add tst-interpose-aux-nothread,
3131         tst-interpose-aux-thread.
3132         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
3133         tst-interpose-aux-nothread.o.
3134         (tst-interpose-thread, tst-interpose-static-thread): Link with
3135         tst-interpose-aux-thread.o and libthread.
3136         * malloc/tst-interpose-aux-nothread.c: New file.
3137         * malloc/tst-interpose-aux-thread.c: Likewise.
3138         * malloc/tst-interpose-aux.c: Likewise.
3139         * malloc/tst-interpose-aux.h: Likewise.
3140         * malloc/tst-interpose-nothread.c: Likewise.
3141         * malloc/tst-interpose-skeleton.c: Likewise.
3142         * malloc/tst-interpose-static-nothread.c: Likewise.
3143         * malloc/tst-interpose-static-thread.c: Likewise.
3144         * malloc/tst-interpose-thread.c: Likewise.
3145         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
3146         * sysdeps/mach/hurd/fork.c (__fork): Only call
3147         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
3148         __malloc_fork_unlock_child if defined.
3149         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
3151 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3153         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
3154         timespec C99 designated initialization.
3156 2016-08-26  Florian Weimer  <fweimer@redhat.com>
3158         [BZ #19946]
3159         Avoid expected SIGALRM signals.
3160         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
3161         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
3162         (xpthread_create, xpthread_detach, xpthread_join)
3163         (delayed_exit_thread, delayed_exit): New functions.
3164         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
3165         (tf): Use xpthread_cond_wait.
3166         (do_test): Likewise.  Replace alarm with delayed_exit.
3167         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
3168         (do_test): Call delayed_exit.  Report failure.
3169         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
3170         (do_test): Call delayed_exit.
3171         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
3172         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
3173         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
3174         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
3175         error.
3176         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
3177         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
3178         error.
3179         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
3180         (do_test): Call delayed_exit.
3181         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
3182         (do_test): Call delayed_exit.
3183         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
3184         (do_test): Call delayed_exit instead of alarm.  Use
3185         xpthread_mutex_lock.
3186         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
3187         (do_test): Call delayed_exit instead of alarm.  Use
3188         xpthread_mutex_lock.
3189         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
3190         (do_test): Call delayed_exit instead of alarm.
3191         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
3192         (do_test): Call delayed_exit instead of alarm.  Use
3193         xpthread_spin_lock.
3194         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
3195         (do_test): Call delayed_exit instead of alarm.  Use
3196         xpthread_join.
3198 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
3200         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
3201         adjust CFA when allocating register save area on re-aligned
3202         stack.
3204 2016-08-26  Florian Weimer  <fweimer@redhat.com>
3206         * string/tst-cmp.c: New test.
3207         * string/Makefile (tests): Add it.
3209 2016-08-25  Mark Wielaard  <mark@klomp.org>
3211         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
3212         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
3213         (check_tree_recurse): Use newly defined accessors.
3214         (check_tree): Likewise.
3215         (maybe_split_for_insert): Likewise.
3216         (__tfind): Likewise.
3217         (__tdelete): Likewise.
3218         (trecurse): Likewise.
3219         (tdestroy_recurse): Likewise.
3220         (__tsearch): Likewise. And add asserts for malloc alignment.
3221         (__twalk): Cast root to node in case CHECK_TREE is defined.
3223 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3225         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
3227 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3229         * math/Makefile (libm-gen-calls): Add
3230         catan, catanh, ctan, ctanh.
3231         (libm-calls): Remove the above.
3233         * math/s_catan_template.c: Update using type-generic macros.
3234         * math/s_catanh_template.c: Likewise.
3235         * math/s_ctan_template.c: Likewise.
3236         * math/s_ctanh_template.c: Likewise.
3238         * math/s_catanf.c: Removed.
3239         * math/s_catan.c: Removed.
3240         * math/s_catanl.c: Removed.
3241         * math/s_catanhf.c: Removed.
3242         * math/s_catanh.c: Removed.
3243         * math/s_catanhl.c: Removed.
3244         * math/s_ctanf.c: Removed.
3245         * math/s_ctan.c: Removed.
3246         * math/s_ctanl.c: Removed.
3247         * math/s_ctanhf.c: Removed.
3248         * math/s_ctanh.c: Removed.
3249         * math/s_ctanhl.c: Removed.
3251         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
3252         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
3253         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
3254         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
3255         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
3256         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
3258         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
3259         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
3260         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
3261         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
3263 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3265         * s_catan_template.c: Copy of s_catan.c.
3266         * s_catanh_template.c: Copy of s_catanh.c.
3267         * s_ctan_template.c: Copy of s_ctan.c.
3268         * s_ctanh_template.c: Copy of s_ctanh.c.
3270 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3272         * math/Makefile (gen-libm-calls): Move
3273         casin, casinh, csin, csinh here.
3274         (libm-calls): Remove the above.
3276         * math/s_casin_template.c: Update using type-generic macros.
3277         * math/s_casinh_template.c: Likewise.
3278         * math/s_csin_template.c: Likewise.
3279         * math/s_csinh_template.c: Likewise.
3280         * math/k_casinh_template.c: Likewise.
3282         * math/s_casinf.c: Removed.
3283         * math/s_casin.c: Removed.
3284         * math/s_casinl.c: Removed.
3285         * math/s_casinh.c: Removed.
3286         * math/s_casinhf.c: Removed.
3287         * math/s_casinhl.c: Removed.
3288         * math/s_csin.c: Removed.
3289         * math/s_csinf.c: Removed.
3290         * math/s_csinl.c: Removed.
3291         * math/s_csinh.c: Removed.
3292         * math/s_csinhf.c: Removed.
3293         * math/s_csinhl.c: Removed.
3294         * math/k_casinh.c: Removed.
3295         * math/k_casinhf.c: Removed.
3296         * math/k_casinhl.c: Removed.
3298         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
3299         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
3300         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
3301         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
3303         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
3304         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
3305         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
3306         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
3307         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
3308         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
3309         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
3310         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
3312         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
3313         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
3314         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
3315         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
3317         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
3318         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
3319         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
3320         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
3322 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3324         * s_casin_template.c: Copy of s_casin.c.
3325         * s_casinh_template.c: Copy of s_casinh.c.
3326         * s_csin_template.c: Copy of s_csin.c.
3327         * s_csinh_template.c: Copy of s_csinh.c.
3328         * k_casinh_template.c: Copy of k_casinh.c.
3330 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
3332         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
3334 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3336         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
3337         (mul_split) Remove, rename as mul_splitl, remove
3338         redundant float.h include, and include via mul_splitl.h
3340         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
3341         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3342         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3343         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
3344         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
3346         * math/mul_splitl.h: New file.
3348         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
3349         Move into mul_split.h, and remove redundant float.h include.
3351         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
3352         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
3353         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
3354         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
3356         * math/mul_split.h: New file.
3358 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3360         * math/Makefile (libm-gen-calls): Move
3361         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
3362         (libm-calls): Remove above.
3364         * math/s_cacos_template.c: Update using type-generic macros.
3365         * math/s_cacosh_template.c: Likewise.
3366         * math/s_ccos_template.c: Likewise.
3367         * math/s_ccosh_template.c: Likwise.
3369         * math/s_cacosf.c: Removed.
3370         * math/s_cacos.c: Removed.
3371         * math/s_cacosl.c: Removed.
3372         * math/s_cacoshf.c: Removed.
3373         * math/s_cacosh.c: Removed.
3374         * math/s_cacoshl.c: Removed.
3375         * math/s_ccosf.c: Removed.
3376         * math/s_ccos.c: Removed.
3377         * math/s_ccosl.c: Removed.
3378         * math/s_ccoshf.c: Removed.
3379         * math/s_ccosh.c: Removed.
3380         * math/s_ccoshl.c: Removed.
3382         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
3383         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
3384         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
3385         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
3386         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
3387         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
3389         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
3390         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
3391         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
3392         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
3394         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
3395         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
3396         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
3397         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
3399 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3401         * s_cacos_template.c: Copy of s_cacos.c.
3402         * s_cacosh_template.c: Copy of s_cacosh.c.
3403         * s_ccos_template.c: Copy of s_ccos.c.
3404         * s_ccosh_template.c: Copy of s_ccosh.c.
3406 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3408         * stdlib/tst-strtod-round-skeleton.c:
3409         Refactored from tst-strtod-round.c.
3411         (L_): New macro to apply literal modifier.
3412         (FNPFX): New macro to select str or wcs prefix.
3413         (CHAR): New macro to choose wchar_t or char.
3414         (STRM): New macro to choose printf for tested character type.
3416         (STRTO): New macro to choose appropriate string -> real function.
3417         (FNPFXS): Stringitized version of FNPFX.
3418         (STR): Support for above macro.
3419         (STRX): Likewise.
3421         (TEST): Update with above macros.
3422         (test): Likewise.
3423         (GEN_ONE_TEST): Likewise.
3424         (test_in_one_mode): Likewise.
3426         * stdlib/tst-strtod-round.c: New file.
3427         * wcsmbs/tst-wcstod-round.c: New file.
3429         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
3430         (tst-wcstod-round): Add libm depencency for fesetround.
3432 2016-08-19  Zack Weinberg  <zackw@panix.com>
3434         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
3436 2016-08-18  Torvald Riegel  <triegel@redhat.com>
3438         [BZ #20477]
3439         * resolv/res_hconf.c (do_init): Use atomic access.
3440         * resolv/res_hconf.h: Add comments.
3441         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
3442         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
3443         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3445 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
3447         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
3448         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
3449         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
3450         Likewise.
3452 2016-08-18  Florian Weimer  <fweimer@redhat.com>
3454         [BZ #16907]
3455         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
3456         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
3457         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
3458         (__attribute__): Remove definition.
3460 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3462         * sysdeps/ieee754/ldbl-128/e_asinl.c:
3463         Remove unused sqrtl declaration.
3465 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3467         * math/Makefile: (gen-libm-templates.stmp): New rule.
3468         (libm-calls): Move carg conj cimag and cabs into ...
3469         (gen-libm-calls): New variable.
3470         (generated): Inform Make objects from gen-libm-calls
3471         may be generated.
3473         * sysdeps/generic/math-type-macros.h: New file.
3474         * sysdeps/generic/math-type-macros-float.h: Likewise.
3475         * sysdeps/generic/math-type-macros-double.h: Likewise.
3476         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
3477         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
3478         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
3480         * math/cabs.c: Refactor into
3481         * math/cabs_template.c: new file.
3482         * math/cabsf.c: Removed.
3483         * math/cabsl.c: Removed.
3484         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
3485         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
3487         * math/carg.c: Refactor into
3488         * math/carg_template.c: new file.
3489         * math/cargf.c: Removed.
3490         * math/cargl.c: Removed.
3491         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
3492         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
3494         * math/conj.c: Refactor into
3495         * math/conj_template.c: new file.
3496         * math/conjf.c: Removed.
3497         * math/conjl.c: Removed.
3498         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
3499         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
3501         * math/cimag.c: Refactor into
3502         * math/cimag_template.c: new file.
3503         * math/cimagf.c: Removed.
3504         * math/cimagl.c: Removed.
3505         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
3506         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
3508         * math/cimag.c: Refactor into
3509         * math/cimag_template.c: new file.
3510         * math/cimagf.c: Removed.
3511         * math/cimagl.c: Removed.
3512         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
3513         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
3515 2016-08-17  Florian Weimer  <fweimer@redhat.com>
3517         Reduce time to expected nptl/tst-once5 failure.
3518         * nptl/tst-once5.cc (TIMEOUT): Define.
3520 2016-08-17  Florian Weimer  <fweimer@redhat.com>
3522         [BZ #20452]
3523         Avoid additional copies of objects in libc.a in static libraries.
3524         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
3525         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
3526         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
3527         rt-sysdep.
3528         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
3529         Add nptl-sysdep.
3530         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
3531         Add ptw-sysdep.
3532         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
3533         rt-sysdep.
3534         * sysdeps/unix/sysv/linux/alpha/Makefile
3535         (libpthread-shared-only-routines): Add ptw-sysdep,
3536         ptw-sigprocmask, ptw-rt_sigaction.
3537         * sysdeps/unix/sysv/linux/ia64/Makefile
3538         (librt-shared-only-routines): Add rt-sysdep.
3539         * sysdeps/unix/sysv/linux/i386/Makefile
3540         (libpthread-shared-only-routines): Add libc-do-syscall.
3541         * sysdeps/unix/sysv/linux/microblaze/Makefile
3542         (libpthread-shared-only-routines): Add sysdep.
3543         * sysdeps/unix/sysv/linux/powerpc/Makefile
3544         (librt-shared-only-routines): Add rt-sysdep.
3545         (libpthread-shared-only-routines): Add sysdep.
3546         * sysdeps/unix/sysv/linux/s390/Makefile
3547         (librt-shared-only-routines): Add rt-sysdep.
3548         * sysdeps/unix/sysv/linux/sparc/Makefile
3549         (librt-shared-only-routines): Add rt-sysdep.
3550         (libpthread-shared-only-routines): Add sysdep.
3551         * sysdeps/unix/sysv/linux/tile/Makefile
3552         (libpthread-shared-only-routines): Likewise.
3554 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
3556         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
3557         Mask implicit bit out of unpacked value.
3558         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
3559         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
3560         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
3562         * sysdeps/sparc/fpu/fesetexcept.c: New file.
3564         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
3566         * sysdeps/s390/fpu/fesetexcept.c: New file.
3568         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
3569         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
3570         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
3572         * sysdeps/mips/fpu/fesetexcept.c: New file.
3574         * sysdeps/m68k/fpu/fesetexcept.c: New file.
3576         * sysdeps/ia64/fpu/fesetexcept.c: New file.
3578         * sysdeps/hppa/fpu/fesetexcept.c: New file.
3580         * sysdeps/arm/fesetexcept.c: New file.
3582         * sysdeps/alpha/fpu/fesetexcept.c: New file.
3584         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
3586         * math/fesetexcept.c: New file.
3587         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
3588         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
3589         * math/fenv.h: Define
3590         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3591         <bits/libc-header-start.h> instead of including <features.h>.
3592         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
3593         declaration.
3594         * manual/arith.texi (fesetexcept): Document function.
3595         * math/Versions (fesetexcept): New libm symbol at version
3596         GLIBC_2.25.
3597         * math/Makefile (libm-support): Add fesetexcept.
3598         (tests): Add test-fesetexcept and test-fesetexcept-traps.
3599         * math/test-fesetexcept.c: New file.
3600         * math/test-fesetexcept-traps.c: Likewise.
3601         * sysdeps/nacl/libm.abilist: Update.
3602         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3603         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3604         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3605         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3606         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3607         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3608         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3609         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3610         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3611         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3612         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3613         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3615         Likewise.
3616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3617         Likewise.
3618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3619         Likewise.
3620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3621         Likewise.
3622         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3623         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3624         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3625         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3626         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3627         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3628         Likewise.
3629         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3630         Likewise.
3631         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3632         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3633         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3635 2016-08-16  Florian Weimer  <fweimer@redhat.com>
3637         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
3638         New.
3639         (do_test): Apply default_stack_size_in_mb if not set.
3640         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
3642 2016-08-15  Andreas Schwab  <schwab@suse.de>
3644         [BZ #20435]
3645         CVE-2016-6323
3646         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
3647         as .cantunwind.
3649 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
3651         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
3652         comment from fraiseexcpt.c.
3654         * math/test-fexcept.c (feraiseexcept_exact): New function.
3655         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
3656         (test_except): Likewise.
3658 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
3660         [BZ #20455]
3661         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
3662         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
3663         to be restored.
3665         * math/test-fexcept-traps.c: New file.
3666         * math/test-fexcept.c: Likewise.
3667         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
3668         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
3669         macro.
3670         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
3671         (EXCEPTION_SET_FORCES_TRAP): Likewise.
3673 2016-08-09  Torvald Riegel  <triegel@redhat.com>
3675         * include/atomic.h (atomic_fetch_and_relaxed,
3676         atomic_fetch_and_release, atomic_fetch_or_release,
3677         atomic_fetch_xor_release): New.
3679 2016-08-06  Christian Seiler  <christian@iwakd.de>
3681         [BZ #20444]
3682         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
3683         MACH_PORT_NULL.
3685 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
3687         * math/s_fdim.c: Avoid alias renamed.
3688         * math/s_fdimf.c: Likewise.
3689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3690         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
3691         Add s_fdimf-vis3, s_fdim-vis3.
3692         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
3693         (CFLAGS-s_fdim-vis3.c): Likewise.
3694         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
3695         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
3697 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
3699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3700         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
3701         Remove s_fdimf-vis3, s_fdim-vis3.
3702         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
3703         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
3704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
3705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
3706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
3707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
3708         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
3709         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
3710         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
3711         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
3713 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
3715         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
3716         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
3717         -Wa,-Av9a -mvis.
3719 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3721         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
3722         LIT() to individual constants in simple expressions
3723         after splitting on spaces.
3724         (_apply_lit): Rename replaced version, and use it to
3725         apply to what appears to be a token.
3727         * math/libm-test.inc: Fix many, many issues with
3728         spacing.
3730 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
3732         * math/math.h: Move comment about <bits/mathdef.h> definitions
3733         above inclusion of <bits/mathdef.h>.  Do not mention
3734         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
3736 2016-08-05  Torvald Riegel  <triegel@redhat.com>
3738         * include/atomic.h (atomic_exchange_relaxed): New.
3740 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
3742         * math/e_scalb.c: Do not include <fenv.h>.
3743         (invalid_fn): Do calculation resulting in NaN instead of raising
3744         FE_INVALID and returning a NaN explicitly.
3745         * math/e_scalbf.c: Do not include <fenv.h>.
3746         (invalid_fn): Do calculation resulting in NaN instead of raising
3747         FE_INVALID and returning a NaN explicitly.
3748         * math/e_scalbl.c: Do not include <fenv.h>.
3749         (invalid_fn): Do calculation resulting in NaN instead of raising
3750         FE_INVALID and returning a NaN explicitly.
3752 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
3754         * po/de.po: Updated from Translation Project.
3755         * po/fi.po: Likewise.
3756         * po/sv.po: Likewise.
3758 2016-08-04  Florian Weimer  <fweimer@redhat.com>
3760         [BZ #20452]
3761         Use sysdep.o from libc.a in static libraries.
3762         * sysdeps/unix/sysv/linux/i386/Makefile
3763         (libpthread-shared-only-routines): Add sysdep.
3764         (librt-shared-only-routines): Likewise.
3766 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
3768         * math/tgmath.h (nextdown): Define if
3769         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
3770         (nextup): Likewise.
3772         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
3773         macro.
3774         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
3775         Document.
3776         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
3777         Document macro.
3778         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
3779         (exp10f): Likewise.
3780         (exp10l): Likewise.
3781         * math/bits/mathcalls.h (exp10): Declare if
3782         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
3784         * manual/arith.texi (nextup): Fix typo in last change.
3786 2016-08-03  Zack Weinberg  <zackw@panix.com>
3788         [BZ #19239]
3789         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
3790         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
3791         define major, minor, and makedev to issue deprecation warnings on use.
3792         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
3793         previously-activated deprecation warnings for these macros and prevent
3794         subsequent inclusions of this header from having any effect.
3795         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
3796         including <sys/sysmacros.h>, and undefine it again afterward.
3798 2016-08-03  Zack Weinberg  <zackw@panix.com>
3800         * sysdeps/generic/sys/sysmacros.h: Delete file.
3801         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
3802         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
3803         * bits/sysmacros.h: ... here; this encoding is now the generic
3804         encoding.  Now defines only the following macros:
3805         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
3806         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
3807         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
3809         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
3810         bits/sysmacros.h and the above new macros to generate the
3811         public implementations of major, minor, and makedev.
3812         * misc/tst-makedev.c: New test.
3813         * include/sys/sysmacros.h: New wrapper.
3815         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
3816         (routines): Add makedev.
3817         (tests): Add tst-makedev.
3818         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
3819         gnu_dev_makedev.
3820         * posix/Makefile (headers): Remove sys/sysmacros.h.
3821         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
3823         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
3824         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
3825         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
3826         * sysdeps/unix/sysv/linux/alpha/libc.abilist
3827         * sysdeps/unix/sysv/linux/arm/libc.abilist
3828         * sysdeps/unix/sysv/linux/hppa/libc.abilist
3829         * sysdeps/unix/sysv/linux/i386/libc.abilist
3830         * sysdeps/unix/sysv/linux/ia64/libc.abilist
3831         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
3832         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
3833         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
3834         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3835         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3836         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3837         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3838         * sysdeps/unix/sysv/linux/nios2/libc.abilist
3839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3843         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
3844         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
3845         * sysdeps/unix/sysv/linux/sh/libc.abilist
3846         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
3847         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
3848         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
3849         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
3850         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
3851         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
3852         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
3853         Add GLIBC_2.25.
3855         * include/features.h (__glibc_clang_prereq): New macro.
3856         * misc/sys/cdefs.h (__glibc_clang_has_extension)
3857         (__attribute_deprecated_msg__): New macros.
3859 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
3861         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
3862         macro.
3863         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
3864         * manual/arith.texi (issignaling): Document as ISO from TS
3865         18661-1:2014.
3866         (nextup): Likewise.
3867         (nextupf): Likewise.
3868         (nextupl): Likewise.
3869         (nextdown): Likewise.
3870         (nextdownf): Likewise.
3871         (nextdownl): Likewise.
3872         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
3873         macro.
3874         * math/math.h: Define
3875         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3876         <bits/libc-header-start.h> instead of including <features.h>.
3877         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
3878         [__USE_GNU].
3879         * math/bits/mathcalls.h (nextdown): Declare if
3880         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
3881         (nextup): Likewise.
3882         (__issignaling): Likewise.
3884 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3886         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
3887         check, and remove __glibc_likely hint
3888         from FP_INFINITE check.
3889         * s_csinhf.c (__csinhf): Likewise.
3891         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
3892         hint from FP_INFINITE check.
3893         * s_csinhl.c (__csinhl): Likewise.
3895 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3897         * math/Makefile (libm-calls): Insert F placeholder into
3898         object names.  Move w_lgamma_compat* routines into
3899         (libm-compat-calls): New variable.
3900         (libm-compat-calls-ldouble-yes): New variable.
3901         (calls): Insert F placeholder.
3902         (generated): Redefine using new type-foreach macro call.
3903         (routines): Likewise.
3905         (types): New variable to hold a list of symbolic names
3906         for each type supported by the target machine.
3907         (libm-routines): Redefine using new types variable.
3908         (type-foreach): macro to replace fooF with the
3909         appropriately suffixed foo for each types.
3911         (type-ldouble-suffix): New variable.
3912         (type-ldouble-routines): Likewise.
3913         (type-ldouble-yes): Likewise.
3914         (type-double-suffix): Likewise.
3915         (type-double-routines): Likewise.
3916         (type-float-suffix): Likewise.
3917         (type-float-routines): Likewise.
3919         (dbl-only-routines): Remove.
3920         (long-c-yes): Likewise.
3921         (long-m-routines): Likewise.
3922         (long-m-support): Likewise.
3923         (long-m-yes): Likewise.
3924         (test-longdouble-yes): Likewise.
3926         (test-float.o): Simplify by increasing the scope of the
3927         recipe which adds libm-test.stmp to the vector types.
3928         (test-ifloat.o): Likewise.
3929         (test-float-finite.o): Likewise.
3930         (test-double.o): Likewise
3931         (test-idouble.o): Likewise.
3932         (test-double-finite.o): Likewise.
3933         (test-ldouble.o): Likewise
3934         (test-ildoubl.o): Likewise.
3935         (test-ldouble-finite.o): Likewise.
3937         (libm-tests): Redefine type tests using foreach and the
3938         list of types in types.
3940         (CPPFLAGS-test-ildoubl.c): Rename to
3941         (CPPFLAGS-test-ildouble.c): New variable
3943         * math/test-ildoubl.c: Rename to
3944         * math/test-ildouble.c: New file.
3946 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3948         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
3949         Use fabsl instead of fabs.
3950         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
3951         Likewise.
3952         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
3953         Add long double suffix to constant to ensure proper
3954         promotion to long double.
3956 2016-08-03  Tom Tromey  <tom@tromey.com>
3958         [BZ #20311]
3959         * nptl_db/Makefile (headers): Add proc_service.h.
3960         * nptl_db/proc_service.h: Add include guard.  Use
3961         __BEGIN/__END_DECLS.
3962         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
3963         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
3964         arguments.
3967 2016-08-03  Florian Weimer  <fweimer@redhat.com>
3969         [BZ #17730]
3970         Avoid using memalign for TCB allocations.
3971         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
3972         (_dl_allocate_tls_storage): Use malloc and manual alignment.
3973         Avoid alignment gap in the TLS_DTV_AT_TP case.
3974         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
3975         determine the pointer to free.
3976         * nptl/tst-tls3-malloc.c: New test.
3977         * nptl/Makefile (tests): Add it.
3978         (tst-tls3-malloc): Link with libdl, libpthread.
3979         (LDFLAGS-tst-tls3-malloc): Set.
3980         (tst-tls3-malloc.out): Depend on DSO used in test.
3982 2016-08-03  Florian Weimer  <fweimer@redhat.com>
3984         [BZ #17730]
3985         Avoid using memalign for TLS allocations.
3986         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
3987         is_static member with to_free member.
3988         (union dtv): Use struct dtv_pointer.
3989         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
3990         dtv_pointer instead of is_static.
3991         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
3992         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
3993         instead of val.
3994         (allocate_dtv_entry): New function.
3995         (allocate_and_init): Return struct dtv_pointer.  Call
3996         allocate_dtv_entry instead of __libc_memalign.
3997         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
3998         instead of val.
3999         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
4000         instead of is_static.  Adjust call to allocate_and_init.
4001         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
4002         struct dtv_pointer instead of val.
4004 2016-08-03  Florian Weimer  <fweimer@redhat.com>
4006         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
4007         (MALLOC_ALIGN_MASK): Move ...
4008         * malloc/malloc-internal.h: ... to here.
4009         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
4011 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
4013         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
4014         (UDP_ENCAP_GTP1U): Likewise.
4016         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
4017         (PF_MAX): Update value.
4018         (AF_QIPCRTR): New macro.
4020 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
4022         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
4023         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4024         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4025         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
4026         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
4027         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
4028         s_truncf-vis3, s_trunc-vis3.
4029         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
4030         (CFLAGS-s_ceil-vis3.c): Likewise.
4031         (CFLAGS-s_floorf-vis3.c): Likewise.
4032         (CFLAGS-s_floor-vis3.c): Likewise.
4033         (CFLAGS-s_truncf-vis3.c): Likewise.
4034         (CFLAGS-s_trunc-vis3.c): Likewise.
4035         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
4036         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
4037         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
4038         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
4039         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
4040         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
4041         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
4042         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
4043         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
4044         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
4045         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
4046         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
4048 2016-08-02  David S. Miller  <davem@davemloft.net>
4050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
4051         (__nearbyint_vis3): Don't check for sNaN before float register is
4052         loaded with the incoming argument.
4053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
4054         (__nearbyintf_vis3): Likewise.
4055         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
4056         Likewise.
4057         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
4058         Likewise.
4060         * string/test-strncmp.c (do_test_limit): Make sure the test data
4061         stream is aligned as required for the type "CHAR".
4062         (do_test): Likewise.
4064 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
4066         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
4067         by beq instructions jumping to the end of the function.
4068         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
4069         clobber list. Use "i" constraint instead of "X".
4070         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
4071         of "X".
4073 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
4075         * bits/libc-header-start.h: New file.
4076         * Makefile (headers): Add bits/libc-header-start.h.
4077         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
4078         (__GLIBC_USE): New macro.
4079         * libio/stdio.h: Define
4080         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4081         <bits/libc-header-start.h> instead of including <features.h>.
4082         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
4083         (open_memstream): Likewise.
4084         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
4085         (__asprintf): Likewise.
4086         (asprintf): Likewise.
4087         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
4088         (getdelim): Likewise.
4089         (getline): Likewise.
4090         * string/string.h: Define
4091         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4092         <bits/libc-header-start.h> instead of including <features.h>.
4093         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
4094         (strndup): Likewise.
4095         * wcsmbs/wchar.h: Define
4096         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4097         <bits/libc-header-start.h> instead of including <features.h>.
4098         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
4099         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
4101 2016-08-02  Florian Weimer  <fweimer@redhat.com>
4103         Support linking against compatibility symbols, for use in tests.
4104         * include/libc-symbols.h (symbol_version_reference): New macro.
4105         (symbol_version): Use it.
4106         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
4107         (compat_symbol): Use compat_symbol_reference.
4108         (compat_symbol_1, compat_symbol_2): Remove.
4109         (compat_symbol_reference, compat_symbol_reference_1)
4110         (compat_symbol_reference_2): New macro.  Use
4111         symbol_version_reference.
4113 2016-08-02  Florian Weimer  <fweimer@redhat.com>
4115         [BZ #19469]
4116         * malloc/Makefile (CPPFLAGS): Compile tests with
4117         -DTEST_NO_MALLOPT.
4118         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
4120 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
4122         [BZ #20033]
4123         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
4124         finite version.
4125         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
4126         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
4127         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
4128         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
4129         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
4130         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
4131         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
4132         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
4133         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
4134         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
4135         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
4136         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
4137         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
4138         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
4139         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
4140         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
4141         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
4142         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
4143         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
4144         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
4145         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
4146         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
4147         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
4148         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
4149         in zero power.
4151 2016-08-02  Florian Weimer  <fweimer@redhat.com>
4153         [BZ #20370]
4154         * malloc/arena.c (get_free_list): Update comment.  Assert that
4155         arenas on the free list have no attached threads.
4156         (remove_from_free_list): New function.
4157         (reused_arena): Call it.
4159 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
4161         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
4162         when it is a NaN.
4163         [_IEEE_FP_INEXACT] Remove.
4164         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
4165         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
4166         when it is a NaN.
4167         [_IEEE_FP_INEXACT] Remove.
4168         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
4169         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
4170         when it is a NaN.
4171         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
4172         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
4173         when its absolute value is greater than 0x1.0p52.
4174         [_IEEE_FP_INEXACT] Remove.
4175         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
4176         when its absolute value is greater than 0x1.0p23.
4177         [_IEEE_FP_INEXACT] Remove.
4179 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
4181         * version.h (RELEASE): Set to "development"
4182         (VERSION): Set to 2.24.90.
4183         * NEWS: Add 2.25 section.
4185         * version.h (RELEASE): Set to "stable"
4186         (VERSION): Set to 2.24.
4187         * include/features.h (__GLIBC_MINOR__): Set to 24.
4189         * NEWS: Add 2.24 fixed bugs.
4190         * po/libc.pot: Regenerate.
4192 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
4194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
4195         [$(subdir) = math] (libm-sysdep_routines): Remove.
4196         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
4197         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
4198         s_truncf-vis3, s_trunc-vis3.
4199         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
4201         file.
4202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
4203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
4204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
4205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
4208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
4209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
4211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
4212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
4213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
4214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
4215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
4216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
4217         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4218         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4219         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4220         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
4221         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
4222         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
4223         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
4224         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
4225         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4226         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
4227         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4228         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4229         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
4230         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
4231         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4232         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
4233         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
4234         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4235         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
4236         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
4237         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
4238         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
4239         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4240         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4241         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
4242         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
4243         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
4244         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
4246 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
4248         [BZ #20384]
4249         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
4250         test-double-libmvec-sincos-avx-main.o,
4251         test-double-libmvec-sincos-avx2-main.o,
4252         test-double-libmvec-sincos-main.o,
4253         test-float-libmvec-sincosf-avx-main.o,
4254         test-float-libmvec-sincosf-avx2-main.o and
4255         test-float-libmvec-sincosf-main.o.
4256         test-float-libmvec-sincosf-avx512-main.o.
4257         ($(objpfx)test-double-libmvec-sincos): Also link with
4258         $(objpfx)test-double-libmvec-sincos-main.o.
4259         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
4260         $(objpfx)test-double-libmvec-sincos-avx-main.o.
4261         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
4262         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
4263         ($(objpfx)test-float-libmvec-sincosf): Also link with
4264         $(objpfx)test-float-libmvec-sincosf-main.o.
4265         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
4266         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
4267         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
4268         test-double-libmvec-sincos-avx512-main.o and
4269         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
4270         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
4271         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
4272         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
4273         (CFLAGS-test-double-libmvec-sincos.c): Removed.
4274         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
4275         (CFLAGS-test-double-libmvec-sincos-main.c): New.
4276         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
4277         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
4278         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
4279         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
4280         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
4281         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
4282         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
4283         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
4284         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
4285         -DREQUIRE_AVX2.
4286         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
4287         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
4288         -DREQUIRE_AVX512F.
4289         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
4290         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
4291         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
4292         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
4293         file.
4294         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
4295         Likewise.
4296         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
4297         Likewise.
4298         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
4299         Likewise.
4300         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
4301         Likewise.
4302         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
4303         Likewise.
4304         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
4305         Likewise.
4306         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
4307         Likewise.
4309 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
4311         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
4313 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
4315         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
4316         and typo in a comment about AT_HWCAP entry.
4318 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4320         * sysdeps/aarch64/libm-test-ulps: Updated.
4322 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4324         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
4325         of r13 as it is not restored in mvcle case.
4327 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
4329         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
4330         Rename "ret" to "__ret".
4331         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
4332         inline_syscall5, inline_syscall6): Likewise.
4334 2016-07-19   Will Newton  <will.newton@gmail.com>
4336         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
4337         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
4338         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
4339         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
4340         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
4342 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
4344         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
4345         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
4346         -mfpmath=387 with $(rtld-CFLAGS).
4347         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
4348         $(rtld-CFLAGS).
4350 2016-07-18   Ross Burton  <ross.burton@intel.com>
4351              Khem Raj  <raj.khem@gmail.com>
4353         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
4354         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
4355         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
4356         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
4357         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
4358         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
4359         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
4360         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
4361         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
4362         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
4363         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
4364         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
4365         R_METAG_TLS_DTPOFF): New.
4367 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4368             Matt Clay  <mclay@lycos.com>
4370         [BZ #20357]
4371         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
4372         to call __mpsin/__mpcos and to negate values.
4373         * math/auto-libm-test-in: Add test.
4374         * math/auto-libm-test-out: Regenerate.
4376 2016-07-18  Zack Weinberg  <zackw@panix.com>
4378         * grp/Makefile: Don't install the internal header grp-merge.h.
4380 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4382         * sysdeps/aarch64/libm-test-ulps: Regenerated.
4384 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4386         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
4388 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4390         [BZ #15368]
4391         * sysdeps/unix/sysv/linux/nptl-signals.h
4392         (__nptl_clear_internal_signals): New function.
4393         (__libc_signal_block_all): Likewise.
4394         (__libc_signal_block_app): Likewise.
4395         (__libc_signal_restore_set): Likewise.
4396         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
4397         implementation.
4398         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
4399         the cached pid/tid value in pthread structure.
4401 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
4403         [BZ #20347]
4404         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
4406 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
4408         [BZ #20348]
4409         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
4410         preadv64, pwrite64 and pwritev64.
4412 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
4414         [BZ #20350]
4415         * posix/tst-preadwrite.c: Renamed to ...
4416         * posix/tst-preadwrite-common.c: This.
4417         (PREAD): Removed.
4418         (PWRITE): Likewise.
4419         (STRINGIFY): Likewise.
4420         (STRINGIFY2): Likewise.
4421         (do_prepare): Make it static and remove function arguments.
4422         (do_test): Likewise.
4423         (PREPARE): Updated.
4424         (TEST_FUNCTION): New.
4425         (name): Make it static.
4426         (fd): Likewise.
4427         (do_prepare): Use create_temp_file.
4428         (do_test): Renamed to ...
4429         (do_test_with_offset): This.  Make it static and accept offset.
4430         Properly check return value of PWRITE and PREAD.  Return bytes
4431         read.  Don't close fd nor unlink name.
4432         * posix/tst-preadwrite.c: Rewrite.
4433         * posix/tst-preadwrite64.c: Likewise.
4435 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
4437         [BZ #20309]
4438         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
4439         -mtls-dialect=gnu2 works.
4440         * configure: Regenerated.
4441         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
4442         (tests): Add tst-gnu2-tls1.
4443         (modules-names): Add tst-gnu2-tls1mod.
4444         ($(objpfx)tst-gnu2-tls1): New.
4445         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
4446         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
4447         * elf/tst-gnu2-tls1.c: New file.
4448         * elf/tst-gnu2-tls1mod.c: Likewise.
4449         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
4450         bytes for push in the PLT entry to align the stack.
4452 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
4454         [BZ #20349]
4455         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
4457 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4459         [BZ #18707]
4460         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
4461         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
4463 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4465         * sysdeps/unix/sysv/linux/sysdep.h
4466         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
4467         guards.
4468         * misc/tst-preadvwritev-common.c: New file.
4469         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
4470         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
4471         a check for files larger than 2GB.
4473         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4474         (__ASSUME_OFF_DIFF_OFF64): Remove define.
4475         * sysdeps/unix/sysv/linux/pread.c
4476         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
4477         __OFF_T_MATCHES_OFF64_T.
4478         * sysdeps/unix/sysv/linux/pread64.c
4479         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
4480         * sysdeps/unix/sysv/linux/preadv.c
4481         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
4482         * sysdeps/unix/sysv/linux/preadv64.c
4483         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
4484         * sysdeps/unix/sysv/linux/pwrite.c
4485         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
4486         * sysdeps/unix/sysv/linux/pwrite64.c
4487         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
4488         * sysdeps/unix/sysv/linux/pwritev.c
4489         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
4490         * sysdeps/unix/sysv/linux/pwritev64.c
4491         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
4493 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
4495         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4496         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
4498 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
4500         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
4502 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
4504         [BZ #20240]
4505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
4506         (CFLAGS-s_modf-ppc32.c): New variable.
4507         (CFLAGS-s_modff-ppc32.c): Likewise.
4508         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4509         (CFLAGS-s_modf-ppc64.c): Likewise.
4510         (CFLAGS-s_modff-ppc64.c): Likewise.
4512 2016-07-07  Andreas Schwab  <schwab@suse.de>
4514         [BZ #20263]
4515         * nptl/tst-robust10.c: New test.
4516         * nptl/Makefile (tests): Add tst-robust10.
4518 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
4520         [BZ #20263]
4521         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
4523 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
4525         * sysdeps/s390/linkmap.h (struct link_map_machine):
4526         Remove member gotplt and add member jmprel.
4527         * sysdeps/s390/s390-32/dl-machine.h
4528         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
4529         instead of gotplt with &got[3].
4530         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
4531         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4533 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
4535         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
4537 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4539         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
4540         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
4541         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
4542         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
4543         * libio/vtables.c (_IO_vtable_check)
4544         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
4545         * libio/libioP.h (IO_set_accept_foreign_vtables)
4546         [!PTR_MANGLE]: Do not call PTR_MANGLE.
4548 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
4550         [BZ #20314]
4551         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
4552         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
4553         $(common-objpfx)cmath.
4554         ($(common-objpfx)cstdlib): New target.
4555         ($(common-objpfx)cmath): Likewise.
4557 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
4559         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
4561 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4563         [BZ #20327]
4564         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
4565         are not part of the string.
4567 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4569         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
4570         * nptl/tst-cancel4-common.h (fifoname): New variable.
4571         (fifofd): Likewise.
4572         (cl_fifo): New function.
4573         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
4574         SIGINT.
4575         (tf_open): Add early cancel test.
4577 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
4579         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
4581 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
4583         * sysdeps/generic/ldsodefs.h
4584         (dl_symbol_visibility_binds_local_p): New inline function.
4585         * elf/dl-addr.c (determine_info): Treat hidden and internal
4586         symbols as local.
4587         * elf/dl-lookup.c (do_lookup_x): Likewise.
4588         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
4590 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
4592         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
4593         invalid exception for a sNaN input.
4594         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
4595         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
4596         (__nearbyint_vis3): Likewise
4597         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
4598         (__nearbyintf_vis3): Likewise
4599         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
4600         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
4601         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
4602         Likewise.
4603         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
4604         Likewise.
4606 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
4608         [BZ #20139]
4609         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
4610         (HAVE_AVX512DQ_ASM_SUPPORT): This.
4611         * sysdeps/x86_64/configure.ac: Require assembler from binutils
4612         2.24 or above.
4613         (HAVE_AVX512_ASM_SUPPORT): Removed.
4614         (HAVE_AVX512DQ_ASM_SUPPORT): New.
4615         * sysdeps/x86_64/configure: Regenerated.
4616         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
4617         check unconditional.
4618         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
4619         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4620         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4621         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
4622         Likewise.
4623         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
4624         Likewise.
4625         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
4626         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
4627         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4628         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4629         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
4630         Likewise.
4631         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
4632         Likewise.
4633         * sysdeps/x86_64/multiarch/memset.S: Likewise.
4634         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4635         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
4636         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
4637         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
4638         Likewise.
4639         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
4640         Likewise.
4641         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
4642         Likewise.
4643         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
4644         Likewise.
4645         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
4646         Likewise.
4647         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
4648         Likewise.
4649         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
4650         Likewise.
4651         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
4652         Likewise.
4653         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
4654         Likewise.
4655         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
4656         Likewise.
4657         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
4658         Likewise.
4660 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
4662         [BZ #20024]
4663         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
4664         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
4665         of this implementation of vector function.
4666         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
4667         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
4668         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
4669         Likewise.
4670         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
4671         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
4672         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
4673         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
4674         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
4675         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
4676         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
4677         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
4678         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
4679         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
4680         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
4681         for testing vector sincos with fixed ABI.
4682         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4683         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4684         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4685         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
4686         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4687         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4688         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4689         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
4690         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
4691         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
4692         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
4693         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
4694         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
4695         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
4696         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
4697         * sysdeps/x86_64/fpu/Makefile: Added new tests.
4699 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
4701         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
4703 2016-06-30  Anton Blanchard  <anton@samba.org>
4705         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4706         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
4707         s_sinf-ppc64.
4708         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
4709         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
4710         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
4711         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
4713 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4715         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4716         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4717         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
4718         e_expf-ppc64.
4719         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
4720         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
4721         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
4722         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
4724 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
4726         [BZ #20277]
4727         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
4728         when SHARED is defined.
4730 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
4732         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
4733         (index_arch_Prefer_ERMS): Likewise.
4734         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
4735         __memcpy_erms for Prefer_ERMS.
4736         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
4737         (__memmove_erms): Enabled for libc.a.
4738         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
4739         __memmove_erms or Prefer_ERMS.
4740         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
4741         __mempcpy_erms for Prefer_ERMS.
4742         * sysdeps/x86_64/multiarch/memset.S (memset): Return
4743         __memset_erms for Prefer_ERMS.
4745 2016-06-30  Andreas Schwab  <schwab@suse.de>
4747         [BZ #20262]
4748         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
4749         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
4750         of memory.
4752 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
4754         [BZ #18645]
4755         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
4756         (test-extras): Add tst-cleanupx4aux.
4757         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
4758         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
4759         tst-cleanupx4aux.o.
4760         * nptl/tst-cleanupx4aux.c: New file.
4762 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
4764         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
4766 2016-06-29  Andreas Schwab  <schwab@suse.de>
4768         [BZ #20260]
4769         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
4770         address before the beginning of the string as an integer to avoid
4771         array-bounds warning.
4773 2016-06-28  Richard Henderson  <rth@redhat.com>
4775         * elf/elf.h (EM_BPF): New.
4776         (EM_NUM): Update.
4777         (R_BPF_NONE, R_BPF_MAP_FD): New.
4779         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
4780         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
4781         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
4782         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
4783         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
4784         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
4785         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
4786         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
4787         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
4788         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
4789         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
4790         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
4791         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
4792         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
4793         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
4794         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
4795         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
4796         (EM_NUM): Update.
4798 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
4800         [BZ #18960]
4801         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
4802         Set _nl_current_LC_CATEGORY_used to two instead of one.
4804 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
4806         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
4807         (do_test): ... this.
4808         (TEST_FUNCTION): New macro.
4809          Include test-skeleton.c.
4810         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
4811         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
4813 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
4815         [BZ #15479]
4816         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
4817         floating-point environment rather than just control word.
4818         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
4819         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
4820         floating-point environment, with "invalid" exceptions merged in,
4821         rather than just control word.
4822         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
4823         * math/libm-test.inc (trunc_test_data): Do not allow spurious
4824         "inexact" exceptions.
4826         [BZ #15479]
4827         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
4828         floating-point environment rather than just control word.
4829         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
4830         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
4831         floating-point environment, with "invalid" exceptions merged in,
4832         rather than just control word.
4833         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
4834         * math/libm-test.inc (floor_test_data): Do not allow spurious
4835         "inexact" exceptions.
4837         [BZ #15479]
4838         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
4839         floating-point environment rather than just control word.
4840         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
4841         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
4842         floating-point environment, with "invalid" exceptions merged in,
4843         rather than just control word.
4844         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
4845         * math/libm-test.inc (ceil_test_data): Do not allow spurious
4846         "inexact" exceptions.
4848 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
4850         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
4851         __libc_vfork.
4852         (__vfork) [IS_IN (libc)]: Remove alias.
4853         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
4854         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
4855         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
4857 2016-06-24  Torvald Riegel  <triegel@redhat.com>
4859         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
4860         of atomic_compare_and_exchange_bool_rel.
4861         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4862         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
4863         catomic_compare_and_exchange_bool_rel): Remove.
4864         * sysdeps/aarch64/atomic-machine.h
4865         (atomic_compare_and_exchange_bool_rel): Likewise.
4866         * sysdeps/alpha/atomic-machine.h
4867         (atomic_compare_and_exchange_bool_rel): Likewise.
4868         * sysdeps/arm/atomic-machine.h
4869         (atomic_compare_and_exchange_bool_rel): Likewise.
4870         * sysdeps/mips/atomic-machine.h
4871         (atomic_compare_and_exchange_bool_rel): Likewise.
4872         * sysdeps/microblaze/atomic-machine.h
4873         ( __arch_compare_and_exchange_bool_8_rel,
4874         __arch_compare_and_exchange_bool_16_rel): Likewise.
4875         * sysdeps/powerpc/atomic-machine.h
4876         ( __arch_compare_and_exchange_bool_8_rel,
4877         __arch_compare_and_exchange_bool_16_rel): Likewise.
4878         * sysdeps/powerpc/powerpc32/atomic-machine.h
4879         ( __arch_compare_and_exchange_bool_32_rel,
4880         __arch_compare_and_exchange_bool_64_rel): Likewise.
4881         * sysdeps/powerpc/powerpc64/atomic-machine.h
4882         ( __arch_compare_and_exchange_bool_32_rel,
4883         __arch_compare_and_exchange_bool_64_rel): Likewise.
4884         * sysdeps/tile/atomic-machine.h
4885         (atomic_compare_and_exchange_bool_rel): Likewise.
4887 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
4889         [BZ #20296]
4890         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
4891         when either argument is a NaN.
4892         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4893         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
4895         * math/libm-test.inc (snan_value_ld): New macro.
4896         (isgreater_test_data): Add sNaN tests.
4897         (isgreaterequal_test_data): Likewise.
4898         (isless_test_data): Likewise.
4899         (islessequal_test_data): Likewise.
4900         (islessgreater_test_data): Likewise.
4901         (isunordered_test_data): Likewise.
4902         (nextafter_test_data): Likewise.
4903         (nexttoward_test_data): Likewise.
4904         (remainder_test_data): Likewise.
4905         (remquo_test_data): Likewise.
4906         (significand_test_data): Likewise.
4907         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
4909 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4911         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
4912         environment macros are defined.
4913         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
4915 2016-06-23  Florian Weimer  <fweimer@redhat.com>
4917         [BZ #20191]
4918         Implement vtable verification in libio.
4919         * Makerules (shlib.lds): Place __libc_IO_vtables section.
4920         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
4921         * debug/vdprintf_chk.c (__vdprintf_chk): Call
4922         _IO_new_file_init_internal instead of _IO_file_init.
4923         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
4924         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
4925         * libio/Makefile (routines): Add vtables.
4926         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
4927         (_IO_init): Remove, not for internal use.
4928         (_IO_init_internal): Declare, internal replacement for _IO_init.
4929         (_IO_file_init): Remove, not for internal use.
4930         (_IO_new_file_init): Remove, not for internal use.
4931         (_IO_new_file_init_internal): Declare, internal replacement for
4932         _IO_new_file_init.
4933         (_IO_old_file_init): Remove, not for internal use.
4934         (_IO_old_file_init_internal): Declare, internal replacement for
4935         _IO_old_file_init.
4936         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
4937         internal use.
4938         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
4939         Declare.
4940         (libio_vtable): New macro.
4941         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
4942         functions.
4943         * libio/fileops.c (_IO_new_file_init_internal): Rename from
4944         _IO_new_file_init.
4945         (_IO_new_file_init): New externally visible wrapper which disables
4946         vtable verification.
4947         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
4948         Define as vtables.
4949         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
4950         (_IO_init): New externally visible wrapper which disables
4951         vtable verification.
4952         * libio/iofdopen.c (_IO_new_fdopen): Call
4953         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
4954         comment.
4955         * libio/iofopen.c (__fopen_internal): Call
4956         _IO_new_file_init_internal instead of _IO_file_init.
4957         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
4958         Define as vtables.
4959         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
4960         _IO_new_file_init_internal instead of _IO_file_init.
4961         * libio/iopopen.c (_IO_new_popen): Likewise.
4962         (_IO_proc_jumps): Define as vtable.
4963         * libio/iovdprintf.c (_IO_vdprintf): Call
4964         _IO_new_file_init_internal instead of _IO_file_init.
4965         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
4966         (__open_memstream): Call _IO_init_internal instead of _IO_init.
4967         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
4968         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
4969         _IO_old_file_init.
4970         (_IO_old_file_init): New externally visible wrapper which disables
4971         vtable verification.
4972         (_IO_old_file_jumps): Define as vtable.
4973         * libio/oldiofdopen.c (_IO_old_fdopen): Call
4974         _IO_old_file_init_internal instead of _IO_old_file_init.
4975         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
4976         * libio/oldiopopen.c (_IO_old_popen): Likewise.
4977         (_IO_old_proc_jumps): Define as vtable.
4978         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
4979         Define as vtables.
4980         * libio/vtables.c: New file.
4981         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
4982         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
4983         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
4984         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
4985         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
4986         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
4987         instead of _IO_init.
4989 2016-06-23  Florian Weimer  <fweimer@redhat.com>
4991         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
4993 2016-06-23  Florian Weimer  <fweimer@redhat.com>
4995         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
4996         potentially unused.
4998 2016-06-22  Florian Weimer  <fweimer@redhat.com>
5000         * test-skeleton.c (write_message): New function.
5001         * malloc/tst-mallocfork2.c (write_message): Remove.
5002         * debug/tst-longjmp_chk2.c (write_indented): New function.
5003         (write_message): Remove.
5004         (stackoverflow_handler): Call write_indented.
5006 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
5008         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
5009         "inexact" exceptions after fnstenv.
5010         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
5011         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
5012         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
5014 2015-06-22  Zack Weinberg  <zackw@panix.com>
5016         * sysdeps/generic/bits/hwcap.h: Moved to ...
5017         * bits/hwcap.h: Here.
5019 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
5021         * sysdeps/aarch64/memcpy.S (memcpy):
5022         Further tuning for performance.
5024 2016-06-21  Florian Weimer  <fweimer@redhat.com>
5026         [BZ #20284]
5027         * malloc/arena.c (reused_arena): Do not return NULL if we start
5028         out with a non-corrupted arena.
5030 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5032         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
5033         * misc/tst-preadvwritev.c: New file.
5034         * misc/tst-preadvwritev64.c: Likewise.
5035         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
5036         usage.
5037         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
5038         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
5039         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
5040         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
5042 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
5044         [BZ #19654]
5045         * sysdeps/x86_64/fpu/Makefile: Added new tests.
5046         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
5047         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
5048         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
5049         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
5050         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
5051         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
5052         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
5053         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
5054         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
5055         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
5056         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
5057         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
5058         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
5059         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
5060         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
5061         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
5062         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
5063         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
5064         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
5065         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
5066         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
5067         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
5068         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
5069         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
5070         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
5072 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
5074         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
5075         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
5077 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
5079         * sysdeps/aarch64/memcpy.S (memcpy):
5080         Rewrite of optimized memcpy and memmove.
5081         * sysdeps/aarch64/memmove.S (memmove): Remove
5082         memmove code (merged into memcpy.S).
5084 2016-06-20  Florian Weimer  <fweimer@redhat.com>
5086         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
5087         * sysdeps/generic/dl-dtv.h: New file.
5088         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5089         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
5090         (dtv_t): Remove.
5091         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5092         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
5093         (dtv_t): Remove.
5094         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5095         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
5096         (dtv_t): Remove.
5097         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5098         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
5099         (dtv_t): Remove.
5100         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5101         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
5102         (dtv_t): Remove.
5103         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5104         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
5105         (dtv_t): Remove.
5106         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5107         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
5108         (dtv_t): Remove.
5109         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
5110         (dtv_t): Remove.
5111         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5112         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
5113         (dtv_t): Remove.
5114         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5115         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
5116         (dtv_t): Remove.
5117         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5118         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
5119         (dtv_t): Remove.
5120         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5121         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
5122         (dtv_t): Remove.
5123         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5124         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
5125         (dtv_t): Remove.
5126         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5127         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
5128         (dtv_t): Remove.
5129         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5130         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
5131         (dtv_t): Remove.
5132         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5133         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
5134         (dtv_t): Remove.
5136 2016-06-20  Florian Weimer  <fweimer@redhat.com>
5138         Revert symbol poisoning of  __malloc_initialize_hook.
5139         * include/stdc-predef.h (__malloc_initialize_hook): Remove
5140         poisoning.
5141         * malloc/Makefile: Remove un-poisoning.
5142         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
5143         instead of old__malloc_initialize_hook.
5144         * malloc/malloc-hooks.h: Likewise.
5145         * malloc/malloc.c: Likewise.
5146         * malloc/mcheck-init.c: Likewise.
5148 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
5150         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
5152 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
5154         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
5155         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
5156         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
5157         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
5159 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5161         * NEWS: Mention addition of nextup and nextdown.
5162         * manual/arith.texi: Document nextup and nextdown.
5163         * manual/libm-err-tab.pl: Add nextup and nextdown.
5164         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
5165         * math/Versions (libm): Add GLIBC_2.24.
5166         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
5167         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
5168         Add new test.
5169         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
5170         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
5171         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
5172         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
5173         (nextup_test_data): Likewise.
5174         (nextdown_test_data): Likewise.
5175         * math/s_nextdown.c: New file.
5176         * math/s_nextdownf.c: Likewise.
5177         * math/s_nextdownl.c: Likewise.
5178         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
5179         F(nextup): New function.
5180         F(nextdown): Likewise.
5181         * math/tgmath.h: Add nextup and nextdown.
5182         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
5183         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
5184         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
5185         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
5186         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
5187         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
5188         Add nextup and nextdown.
5189         (CFLAGS-nldbl-nextup.c): New variable.
5190         (CFLAGS-nldbl-nextdown.c): Likewise.
5191         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
5192         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
5193         * sysdeps/nacl/libm.abilist: Update.
5194         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5195         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5196         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5197         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5198         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5199         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5200         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5201         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5202         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5203         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5204         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5205         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
5207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5208         Likewise.
5209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
5210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
5211         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5212         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5213         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5214         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5215         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5216         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
5217         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
5218         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5219         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5220         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
5221         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5223 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5225         * manual/pattern.texi: Fix typos & grammar errors.
5227 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5229         * manual/search.texi: Fix typos & grammar errors.
5231 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5233         * manual/message.texi: Fix typos & grammar errors.
5235 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
5237         * manual/contrib.texi: Fix spelling typos.
5238         * manual/crypt.texi: Likewise.
5239         * manual/filesys.texi: Likewise.
5240         * manual/locale.texi: Likewise.
5241         * manual/message.texi: Likewise.
5242         * manual/nss.texi: Likewise.
5243         * manual/string.texi: Likewise.
5245 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5247         * manual/locale.texi: Fix typos & grammar errors.
5249 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5251         * manual/charset.texi: Fix typos & grammar errors.
5253 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5255         * manual/string.texi: Fix typos.
5257 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5259         * manual/ctype.texi: Fix typos.
5261 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5263         * manual/memory.texi: Fix various typos & grammar errors.
5265 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
5267         [BZ #20255]
5268         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
5269         * math/libm-test.inc (fdim_test_data): Add another test.
5271         [BZ #6796]
5272         [BZ #20255]
5273         [BZ #20256]
5274         * math/s_fdim.c: Include <math_private.h>.
5275         (__fdim): Use math_narrow_eval on result.
5276         * math/s_fdimf.c: Include <math_private.h>.
5277         (__fdimf): Use math_narrow_eval on result.
5278         * sysdeps/i386/fpu/s_fdim.S: Remove file.
5279         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
5280         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
5281         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
5282         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
5283         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
5284         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
5285         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
5286         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
5287         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
5288         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
5289         * math/libm-test.inc (fdim_test_data): Expect errno setting on
5290         overflow.  Add sNaN tests.
5292         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
5293         fpclassify.
5294         * math/s_fdimf.c (__fdimf): Likewise.
5295         * math/s_fdiml.c (__fdiml): Likewise.
5297 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5299         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5300         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
5301         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5302         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
5303         ifunc'ed strcasecmp/strncasecmp.
5304         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
5305         [EALIGN]: Removed.
5306         [END]: Likewise.
5307         [__strcasecmp]: Define instead of the above to control symbol name.
5308         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
5309         for __strcasecmp_power8.
5310         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
5311         for __strncasecmp_power8.
5312         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
5313         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
5314         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
5315         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
5316         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
5317         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
5319 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
5321         [BZ #20252]
5322         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
5323         arguments when second argument is a NaN.
5324         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
5325         qNaN tests.
5327         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
5328         (conj_test_data): Likewise.
5329         (copysign_test_data): Likewise.
5330         (creal_test_data): Likewise.
5331         (fma_test_data): Likewise.
5332         (fmod_test_data): Likewise.
5334         [BZ #20250]
5335         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
5336         itself.
5337         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
5338         zero input to itself.
5339         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
5340         Likewise.
5341         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
5342         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
5343         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
5344         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
5345         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
5347 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5349         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
5350         * nptl/tst-cancel4-common.c: New file.
5351         * nptl/tst-cancel4-common.h: Likewise.
5352         * nptl/tst-cancel4.c: Move common definitions to
5353         tst-cancel4-common.{c,h} file.
5354         * nptl/tst-cancel4_1.c: New test.
5355         * nptl/tst-cancel4_2.c: New test.
5357 2016-06-13  Florian Weimer  <fweimer@redhat.com>
5359         [BZ #20248]
5360         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
5361         (write_message): New function.
5362         (stackoverflow_handler): Call it instead of printf, to avoid
5363         excessive stack usage by printf.
5364         (do_test): Restore SIGSEGV, SIGBUS default handlers.
5366 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5368         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
5369         (prio_inherit_missing): Remove define.
5370         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5371         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5372         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
5373         Likewise.
5374         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5375         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5376         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5377         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5378         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5379         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5381 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
5383         [BZ #19670]
5384         [BZ #19672]
5386         * io/test-lfs.c (do_prepare): Use xmalloc.
5387         * io/tst-fcntl.c (do_prepare): Likewise.
5388         * libio/tst-fopenloc.c (do_bz17916): Likewise.
5389         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
5390         * login/tst-utmp.c (do_prepare): Likewise.
5391         * posix/tst-exec.c (do_prepare): Likewise.
5392         * posix/tst-pathconf.c (prepare): Likewise.
5393         * posix/tst-spawn.c (do_prepare): Likewise.
5394         * posix/tst-truncate.c (do_prepare): Likewise.
5395         * rt/tst-aio.c (do_prepare): Likewise.
5396         * rt/tst-aio64.c (do_prepare): Likewise.
5398 2016-06-11  Florian Weimer  <fweimer@redhat.com>
5400         [BZ #20237]
5401         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
5402         (get*ent): Set entidx to NULL during initialization.  If entidx is
5403         NULL, start iteration from the beginning.
5405 2016-06-11  Florian Weimer  <fweimer@redhat.com>
5407         * malloc/malloc.c (musable): Return correct size for dumped fake
5408         mmapped chunk.
5410 2016-06-11  Florian Weimer  <fweimer@redhat.com>
5412         [BZ #20222]
5413         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
5414         (_IO_cookie_write): Likewise.
5415         (_IO_cookie_seek): Likewise.
5416         (_IO_cookie_close): Likewise.
5417         (_IO_old_cookie_seek): Likewise.
5418         (set_callbacks): New function.
5419         (_IO_cookie_init): Call set_callbacks to copy callbacks.
5421 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
5423         * locale/programs/localedef.c (oldstyle_tables): Remove.
5424         * locale/programs/localedef.h (oldstyle_tables): Likewise.
5426 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
5428         [BZ #20240]
5429         * math/Makefile (CFLAGS-s_modf.c): New variable.
5430         (CFLAGS-s_modff.c): Likewise.
5431         (CFLAGS-s_modfl.c): Likewise.
5432         * math/libm-test.inc (modf_test_data): Add sNaN tests.
5434 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
5436         [BZ #20215]
5437         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
5438         [!__GNUC_PREREQ (3,2)]: Likewise.
5440 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
5442         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
5443         (msghdr.msg_controllen): Likewise.
5444         (cmsghdr.cmsg_len): Likewise.
5445         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
5446         ptw-oldsendmsg.
5447         (CFLAGS-oldrecvmsg.c): Remove rule.
5448         (CFLAGS-oldsendmsg.c): Likewise.
5449         (CFLAGS-recvmsg.c): Add rule.
5450         (CFLAGS-sendmsg.c): Likewise.
5451         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
5452         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
5453         (CFLAGS-recvmsg.c): Remove rule.
5454         (CFLAGS-sendmsg.c): Likewise.
5455         (CFLAGS-oldrecvmsg.c): Likewise.
5456         (CFLAGS-oldsendmsg.c): Likewise.
5457         (CFLAGS-recvmmsg.c): Likewise.
5458         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
5459         to kernel defined interfaces.
5460         (msghdr.msg_controllen): Likewise.
5461         (cmsghdr.cmsg_len): Likewise.
5462         (msghdr.__glibc_reserved1): Remove member.
5463         (msghdr.__glibc_reserved2): Likewise.
5464         (cmsghdr.__glibc_reserved1): Likewise.
5465         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
5466         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
5467         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
5468         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
5469         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
5470         version.
5471         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
5472         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
5473         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
5474         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
5475         Remove recvmsg and sendmsg.
5476         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
5477         Likewise.
5478         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
5479         Likewise.
5480         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
5481         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
5482         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
5483         Likewise.
5484         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
5485         Likewise.
5486         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
5487         [libc] (GLIBC_2.24): Likewise.
5488         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
5489         Likewise.
5490         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
5491         Likewise.
5492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
5493         [libc] (GLIBC_2.24): Likewise.
5494         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
5495         Likewise.
5496         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
5497         Likewise.
5498         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
5499         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
5500         Likewise.
5501         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
5502         Likewise.
5503         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
5504         Likewise.
5505         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
5506         Likewise.
5507         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
5508         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
5509         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
5510         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
5511         version for {recv,send,recm,sendm}msg.
5512         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5513         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5514         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5515         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5516         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5517         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5518         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5519         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5520         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5521         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
5522         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5523         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5525         Likewise.
5526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5527         Likewise.
5528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5530         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5531         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5532         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5533         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5534         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5535         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5536         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
5537         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
5538         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5539         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5540         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5542 2016-06-10  Florian Weimer  <fweimer@redhat.com>
5544         [BZ #19564]
5545         Remove __malloc_initialize_hook from the API.
5546         * malloc/malloc.h (__malloc_initialize_hook): Remove.
5547         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
5548         #pragma GCC poison.
5549         * malloc/malloc-hooks.h: New file.
5550         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
5551         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
5552         (old__malloc_initialize_hook): Rename from
5553         __malloc_initialize_hook to evade poisoning.  Turn into compat
5554         symbol.
5555         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
5556         __malloc_initialize_hook.
5557         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
5558         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
5559         * manual/memory.texi (Hooks for Malloc): Remove
5560         __malloc_initialize_hook.  Adjust hook example.
5562 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
5564         [BZ #20235]
5565         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
5566         itself.
5567         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
5568         * math/libm-test.inc (log2_test_data): Add sNaN tests.
5570         [BZ #20234]
5571         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
5572         infinity or NaN input to itself.
5574         [BZ #20233]
5575         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
5576         to itself.
5578         [BZ #20232]
5579         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
5580         itself.
5582 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
5584         * sysdeps/x86_64/start.S (_start): Always indirect branch to
5585         __libc_start_main via GOT.
5587 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
5589         * sysdeps/x86_64/memcopy.h: New file.
5590         * sysdeps/x86_64/wordcopy.c: Likewise.
5592 2016-06-09  Florian Weimer  <fweimer@redhat.com>
5594         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
5595         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
5596         <cstdlib>.
5597         (optimization_barrier): New.
5598         (do_test): Use it.  Call quick_exit in the global namespace.
5599         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
5600         instead of <cstdlib>, <thread>.
5601         (optimization_barrier): New.
5602         (non_main_thread): Adjust declaration.  Call optimization_barrier.
5603         Call quick_exit in the global namespace.
5604         (do_test): Call optimization_barrier.  Use pthread_create,
5605         pthread_join instead of std::thread.
5607 2016-06-09  Andreas Schwab  <schwab@suse.de>
5609         [BZ #19755]
5610         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
5611         new entries in auto-propagate mode.
5612         * nscd/grpcache.c (cache_addgr): Likewise.
5614 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5616         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
5617         New functions.
5618         (add_temp_file): Use them.
5620 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
5622         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
5624 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
5626         [BZ #20229]
5627         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
5628         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
5629         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
5631         [BZ #20228]
5632         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
5633         itself.
5634         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5635         * math/libm-test.inc (log10_test_data): Add sNaN tests.
5637         [BZ #20227]
5638         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
5639         itself.
5640         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5641         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
5642         * math/libm-test.inc (log_test_data): Add sNaN tests.
5644         [BZ #20226]
5645         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
5646         itself.
5647         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5648         * math/libm-test.inc (exp_test_data): Add sNaN tests.
5649         (exp10_test_data): Likewise.
5650         (expm1_test_data): Likewise.
5652         [BZ #20225]
5653         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
5654         itself.
5655         * math/s_ldexpf.c (__ldexpf): Likewise.
5656         * math/s_ldexpl.c (__ldexpl): Likewise.
5657         * math/w_scalbln.c (__w_scalbln): Likewise.
5658         * math/w_scalblnf.c (__w_scalblnf): Likewise.
5659         * math/w_scalblnl.c (__w_scalblnl): Likewise.
5660         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
5661         (scalbln_test_data): Likewise.
5663         [BZ #20224]
5664         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
5665         argument to itself.
5666         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
5668 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
5670         [BZ #19776]
5671         * sysdeps/x86_64/memcpy.S: Make it dummy.
5672         * sysdeps/x86_64/mempcpy.S: Likewise.
5673         * sysdeps/x86_64/memmove.S: New file.
5674         * sysdeps/x86_64/memmove_chk.S: Likewise.
5675         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
5676         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
5677         * sysdeps/x86_64/memmove.c: Removed.
5678         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
5679         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
5680         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
5681         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
5682         Likewise.
5683         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5684         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5685         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5686         memcpy-sse2-unaligned, memmove-avx-unaligned,
5687         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
5688         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5689         (__libc_ifunc_impl_list): Replace
5690         __memmove_chk_avx512_unaligned_2 with
5691         __memmove_chk_avx512_unaligned.  Remove
5692         __memmove_chk_avx_unaligned_2.  Replace
5693         __memmove_chk_sse2_unaligned_2 with
5694         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
5695         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
5696         with __memmove_avx512_unaligned.  Replace
5697         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
5698         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
5699         with __memcpy_chk_avx512_unaligned.  Remove
5700         __memcpy_chk_avx_unaligned_2.  Replace
5701         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
5702         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
5703         Replace __memcpy_avx512_unaligned_2 with
5704         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
5705         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
5706         with __mempcpy_chk_avx512_unaligned.  Remove
5707         __mempcpy_chk_avx_unaligned_2.  Replace
5708         __mempcpy_chk_sse2_unaligned_2 with
5709         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
5710         Replace __mempcpy_avx512_unaligned_2 with
5711         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
5712         Replace __mempcpy_sse2_unaligned_2 with
5713         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
5714         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
5715         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
5716         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
5717         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
5718         (ENTRY): Removed.
5719         (END): Likewise.
5720         (ENTRY_CHK): Likewise.
5721         (libc_hidden_builtin_def): Likewise.
5722         Don't include ../memcpy.S.
5723         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
5724         __memcpy_chk_avx512_unaligned_erms and
5725         __memcpy_chk_avx512_unaligned.  Use
5726         __memcpy_chk_avx_unaligned_erms and
5727         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
5728         Default to __memcpy_chk_sse2_unaligned.
5729         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
5730         Change function suffix from unaligned_2 to unaligned.
5731         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
5732         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
5733         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
5734         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
5735         (ENTRY): Removed.
5736         (END): Likewise.
5737         (ENTRY_CHK): Likewise.
5738         (libc_hidden_builtin_def): Likewise.
5739         Don't include ../mempcpy.S.
5740         (mempcpy): New.  Add a weak alias.
5741         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
5742         __mempcpy_chk_avx512_unaligned_erms and
5743         __mempcpy_chk_avx512_unaligned.  Use
5744         __mempcpy_chk_avx_unaligned_erms and
5745         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
5746         Default to __mempcpy_chk_sse2_unaligned.
5748 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
5750         [BZ #19881]
5751         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
5752         into ...
5753         * sysdeps/x86_64/memset.S: This.
5754         (__bzero): Removed.
5755         (__memset_tail): Likewise.
5756         (__memset_chk): Likewise.
5757         (memset): Likewise.
5758         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
5759         defined.
5760         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
5761         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
5762         (__memset_zero_constant_len_parameter): Check SHARED instead of
5763         PIC.
5764         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5765         memset-avx2 and memset-sse2-unaligned-erms.
5766         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5767         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
5768         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
5769         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
5770         (__bzero): Enabled.
5771         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
5772         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
5773         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
5774         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
5775         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
5776         (memset): Removed.
5777         (__memset_chk): Likewise.
5778         (MEMSET_SYMBOL): New.
5779         (libc_hidden_builtin_def): Replace __memset_sse2 with
5780         __memset_sse2_unaligned.
5781         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
5782         __memset_chk_sse2 and __memset_chk_avx2 with
5783         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
5784         Use __memset_chk_sse2_unaligned_erms or
5785         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
5786         __memset_chk_avx512_unaligned_erms and
5787         __memset_chk_avx512_unaligned.
5789 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5791         * math/gen-auto-libm-test.c (fp_format_desc): remove
5792         suffix member.
5793         (output_generic_value): Remove usage of suffix member,
5794         and the resulting unuse of the fp_format argument.
5795         (output_for_one_input_case): Remove unused fp_format
5796         parameter.
5798         * math/auto-libm-test-out: Regenerate.
5800         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
5801         usage with TEST_COND_ibm128.
5802         (TEST_COND_flt_32): Remove.
5803         (TEST_COND_dbl_64): Remove.
5804         (TEST_COND_ldbl_96_intel): Remove.
5805         (TEST_COND_ldbl_96_m68k): Remove.
5806         (TEST_COND_ldbl_128): Remove.
5808 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5810         * auto-libm-test-in:
5811         Replace flt-32 usage with binary32.
5812         Replace dbl-64 usage with binary64.
5813         Replace ldbl-intel-96 usage with intel96.
5814         Replace ldbl-m68k-96 usage with m68k96.
5815         Replace ldbl-128ibm usage with ibm128.
5816         Replace ldbl-128 usage with binary128.
5818         * auto-libm-test-out: Regenerate.
5820 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5822         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
5823         (parse_ulps): Dynamically generate type name matching
5824         string from all_floats.
5825         (get_ulps): Generate the ulps as an array instead.
5826         (output_ulps): Dynamically compose the type based
5827         on the number of supported formats, and print
5828         the indices as type specific helper macros.
5830         * math/libm-test.inc: Remove comment about CHOOSE.
5831         (ulp_data): Generate the type in libm-test-ulps.h.
5832         (ULP_IDX): New macro.
5833         (find_ulps): Update usage of max_ulp.
5835         * math/test-double-vlen2.h (CHOOSE): Remove.
5836         * math/test-double-vlen4.h (CHOOSE): Likewise.
5837         * math/test-double-vlen8.h (CHOOSE): Likewise.
5838         * math/test-float.c (CHOOSE): Likewise.
5839         * math/test-float-finite.c (CHOOSE): Likewise.
5840         * math/test-double.c (CHOOSE): Likewise.
5841         * math/test-double-finite.c (CHOOSE): Likewise.
5842         * math/test-idouble.c (CHOOSE): Likewise.
5843         * math/test-ifloat.c (CHOOSE): Likewise.
5844         * math/test-ildoubl.c (CHOOSE): Likewise.
5845         * math/test-ldouble-finite.c (CHOOSE): Likewise.
5846         * math/test-ldouble.c (CHOOSE): Likewise.
5848         * math/test-float.h (TEST_FLOAT): Remove.
5849         * math/test-double.h (TEST_DOUBLE): Likewise.
5850         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
5852 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5854         * math/gen-libm-test.pl: (apply_lit): New subroutine.
5855         (parse_args): Strip C suffix from floating point literals
5856         typed with 'f' and wrap them with LIT().
5858         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
5859         (test_ff_f_data_nexttoward): Rename to
5860         (test_fj_f_data): New struct.
5861         (nexttoward_test_data): Relabel tests as
5862         TEST_fj_f instead of TEST_ff_f.
5864 2016-06-08  Florian Weimer  <fweimer@redhat.com>
5866         Emacs bug 23726.
5867         * malloc/malloc.c (dumped_main_arena_start): Update comment.
5868         (__libc_realloc): Correct size computation for dumped fake mmapped
5869         chunks.
5871 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
5873         [BZ #20219]
5874         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
5875         to itself.
5876         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
5878         [BZ #20218]
5879         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
5880         to itself.
5881         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
5883 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
5885         [BZ #20195]
5886         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
5887         check to ...
5888         (init_cpu_features): Here.
5890 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
5892         [BZ #20214]
5893         * sysdeps/unix/sysv/linux/bits/in.h
5894         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
5895          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
5896         Define to 1.
5897         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
5898          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
5899         Define to 0.
5900         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
5901         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
5903 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
5905         [BZ #20198]
5906         * stdlib/Makefile (tests): Add tst-quick_exit, and
5907         tst-thread-quick_exit.
5908         [ifeq ($(have-cxx-thread_local),yes)]
5909         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
5910         (CFLAGS-tst-thread-quick_exit.o): Likewise.
5911         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
5912         (LDLIBS-tst-thread-quick_exit): Likewise.
5913         [ifneq ($(have-cxx-thread_local),yes)]
5914         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
5915         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
5916         If run_dtors is true call __call_tls_dtors.
5917         (exit): Call __run_exit_handlers with run_dtors set to true.
5918         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
5919         definition.
5920         * stdlib/quick_exit.c (quick_exit): Remove function.
5921         (__new_quick_exit): New function.
5922         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
5923         function.
5924         * stdlib/tst-quick_exit.cc: New file.
5925         * stdlib/tst-thread-quick_exit.cc: New file.
5926         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
5927         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
5928         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
5929         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
5930         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
5931         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
5932         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
5933         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
5934         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
5935         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
5936         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
5937         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
5938         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
5939         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
5940         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
5941         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
5942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
5943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
5944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
5945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
5946         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
5947         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
5948         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
5949         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
5950         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
5951         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
5952         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
5953         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
5954         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
5955         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
5957 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
5959         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
5960         a typo in comments.
5962 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
5964         [BZ #20213]
5965         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
5966         argument to itself.
5967         * math/libm-test.inc (asin_test_data): Add sNaN tests.
5969 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5971         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
5972         required flags.
5973         (CFLAGS-pwritev64.c): Likewise.
5974         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
5975         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
5976         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
5977         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
5978         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
5979         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
5980         syscall from auto-generation.
5981         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
5982         [WORDSIZE == 64] (pwritev64): Remove macro.
5983         [!PWRITEV] (PWRITEV): Likewise.
5984         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
5985         [!PWRITEV] (PWRITE): Likewise.
5986         [!PWRITEV] (OFF_T): Likewise.
5987         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
5988         (LO_HI_LONG): Remove macro.
5989         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
5990         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
5991         (PWRITEV): Remove macro.
5992         (PWRITEV_REPLACEMENTE): Likewise.
5993         (PWRITE): Likewise.
5994         (OFF_T): Likewise.
5995         (pwritev64): New function.
5996         * nptl/tst-cancel4.c (tf_writev): Add test.
5998         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
5999         required flags.
6000         (CFLAGS-preadv64.c): Likewise.
6001         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
6002         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
6003         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
6004         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
6005         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
6006         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
6007         syscall from auto-generation.
6008         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
6009         [WORDSIZE == 64] (preadv64): Remove macro.
6010         [!PREADV] (PREADV): Likewise.
6011         [!PREADV] (PREADV_REPLACEMENT): Likewise.
6012         [!PREADV] (PREAD): Likewise.
6013         [!PREADV] (OFF_T): Likewise.
6014         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
6015         (LO_HI_LONG): Remove macro.
6016         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
6017         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
6018         (PREADV): Remove macro.
6019         (PREADV_REPLACEMENTE): Likewise.
6020         (PREAD): Likewise.
6021         (OFF_T): Likewise.
6022         (preadv64): New function.
6023         * nptl/tst-cancel4.c (tf_preadv): Add test.
6025 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
6027         [BZ #20212]
6028         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
6029         argument to itself.
6030         * math/libm-test.inc (acos_test_data): Add sNaN tests.
6032 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6034         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
6035         New symbol defined as libc_hidden_def.
6036         (strcasestr): Became a weak alias to __strcasestr.
6037         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
6038         according to multi-arch support.  Move __stpncpy hidden
6039         definition from here to...
6040         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
6041         symbol stpncpy.
6042         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
6043         libc_hidden_builtin_def.
6044         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
6045         memset symbol to use when multi-arch support is available.
6047 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
6049         * dlfcn/tst-rec-dlopen.c: Include string.h.
6051 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
6053         * manual/install.texi: Remove mention of --without-tls
6054         * INSTALL: Regenerate.
6056 2016-06-05  Florian Weimer  <fweimer@redhat.com>
6058         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
6059         Remove.
6060         (call_function, interposed_malloc_called): New variables.
6061         (malloc): New function.
6062         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
6063         and clear call_function as needed.
6065 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
6067         * include/wchar.h (__wmemset): Use __typeof.
6069 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
6071         * include/wchar.h (__wmemset): Declare function without typeof.
6073 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
6075         [BZ #20205]
6076         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
6077         exponent when incrementing negative subnormal with low mantissa
6078         word zero.
6079         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
6080         Add another test.
6082 2016-06-03  Florian Weimer  <fweimer@redhat.com>
6084         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
6085         __wmemset instead of wmemset.
6087 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
6089         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
6090         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
6091         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
6092         __USE_KERNEL_IPV6_DEFS to 0.
6093         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
6094         Update comment.
6096 2016-06-01  Florian Weimer  <fweimer@redhat.com>
6098         [BZ #19861]
6099         Do not use IFUNC resolver with potentially unrelocated symbol.
6100         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
6101         (DEFINE_FORK): Remove macro and inline definition.
6102         (fork_alias): Renamed from fork_ifunc.
6103         (__fork_alias): Renamed from __fork_ifunc.
6105 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
6107         [BZ 19653]
6108         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
6109         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
6111 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6113         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
6114         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
6115         i386-linux-gnu).
6116         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
6117         Set to no.
6118         * sysdeps/mach/hurd/configure: Refresh.
6120 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6122         [BZ #20178]
6123         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
6124         on failure instead of exit.
6126 2016-05-30  Roland McGrath  <roland@hack.frob.com>
6128         [BZ #3629]
6129         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
6130         of POSIX.1-2008.
6132 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6134         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
6135           Use PLT entry for calling _hurd_self_sigstate.
6137 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
6139         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
6140         available logical processors with SMT level type sharing L2
6141         cache for Intel processors.
6143 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
6145         [BZ #20160]
6146         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
6147         argument to itself before returning the result.
6148         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
6149         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
6150         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
6151         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
6152         Likewise.
6153         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
6154         Likewise.
6155         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
6156         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
6157         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
6158         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
6159         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
6160         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
6162         [BZ #20160]
6163         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
6164         argument to itself before returning the result.
6165         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
6166         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
6167         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
6168         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
6169         Likewise.
6170         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6171         Likewise.
6172         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
6173         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
6174         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
6175         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
6176         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
6177         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
6179 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6181         * libm-test.inc: Replace usage of M_El with
6182         (lit_e): New macro.
6184 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6186         * libm-test.inc: Replace usage of M_PI_4l with
6187         (lit_pi_4_d): New macro.
6189 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6191         * libm-test.inc: Replace usage of M_PIl with
6192         (lit_pi): New macro.
6194 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6196         * libm-test.inc: Replace usage of M_PI2l with
6197         (lit_pi_2_d): New macro.
6199         * math/test-double.h (LITM): New macro.
6200         * math/test-float.h (LITM): Likewise.
6201         * math/test-ldouble.h (LITM): Likewise.
6203 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6205         * libm-test.inc (M_PI_34l): Rename to
6206         (lit_pi_3_m_4_d): New Macro.
6207         (M_PI_34_LOG10El): Rename to
6208         (lit_pi_3_m_4_ln10_m_d): New Macro.
6209         (M_PI2_LOG10El): Rename to
6210         (lit_pi_2_ln10_m_d):  New Macro.
6211         (M_PI4_LOG10El): Rename to
6212         (lit_pi_4_ln10_m_d):  New Macro.
6213         (M_PI_LOG10El): Rename to
6214         (lit_pi_ln10_d):  New Macro.
6216 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
6218         [BZ #20157]
6219         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
6220         determine whether to negate low half if [_ARCH_PPCGR], and integer
6221         comparison otherwise.
6222         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
6223         determine whether to negate low half.
6225         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
6226         (NO_TEST_INLINE_DOUBLE): Likewise.
6227         (TEST_COND_x86_64): Likewise.
6228         (TEST_COND_x86): Likewise.
6229         (M_PI_6l): Likewise.
6231 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6233         * math/libm-test.inc:
6234         (TEST_FLOAT): Change usage to TEST_COND_binary32.
6235         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
6236         (TEST_LDOUBLE): Update usage to evaluate as true if
6237         the guarded tests match the property being tested.
6238         (LDBL_MAX_EXP): Change to MAX_EXP.
6239         (LDBL_MIN_EXP): Change to MIN_EXP.
6240         (LDBL_MANT_DIG): Change to MANT_DIG, except for
6241         nexttoward tests.
6243 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6245         * math/libm-test.inc:
6246         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
6247         (TYPE_MIN): Likewise.
6248         (TYPE_TRUE_MIN): Likewise.
6249         (TYPE_MAX): Likewise.
6250         (MIN_EXP): Likewise.
6251         (MAX_EXP): Likewise.
6252         (MANT_DIG): Likewise.
6254         (FSTR_MAX): New macro.
6255         (__CONCATX): Likewise.
6256         (QTYPE_STR): Likewise.
6257         (TEST_COND_binary32): Likewise.
6258         (TEST_COND_binary64): Likewise.
6259         (TEST_COND_binary128): Likewise.
6260         (TEST_COND_ibm128): Likewise.
6261         (TEST_COND_intel96): Likewise.
6262         (TEST_COND_m68k96): Likewise.
6264         (TEST_COND_flt_32): Redefine as equivalent format test macro.
6265         (TEST_COND_dbl_64): Likewise.
6266         (TEST_COND_ldbl_96_intel): Likewise.
6267         (TEST_COND_ldbl_96_m68k): Likewise.
6268         (TEST_COND_ldbl_128): Likewise.
6269         (TEST_COND_ldbl_128ibm): Likewise.
6271         (plus_zero): Redefine using LIT macro.
6272         (minus_zero): Likewise.
6273         (plus_infty): Redefine as (INF).
6274         (minux_infty): Redefine as (-INF).
6275         (max_value): Redefine as TYPE_MAX.
6276         (min_value): Redefine as TYPE_MIN.
6277         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
6279         (print_float): Refactor to use snprintf to convert FLOAT values
6280         to string. This brings it closer to dropin replacement of strtof
6281         for the TS 18661 defined types.
6282         (update_stats): Likewise.
6283         (print_complex_function_ulps): Likewise.
6284         (print_max_error): Likewise.
6285         (print_complex_max_error): Likewise.
6286         (check_float_internal): Likewise.
6288         * math/test-float.h (PREFIX): New macro.
6289         (LIT): Likewise.
6290         (TYPE_STR): Likewise.
6291         (FTOSTR): Likewise.
6293         * math/test-double.h (PREFIX): New macro.
6294         (LIT): Likewise.
6295         (TYPE_STR): Likewise.
6296         (FTOSTR): Likewise.
6298         * math/test-ldouble.h (PREFIX): New macro.
6299         (LIT): Likewise.
6300         (TYPE_STR): Likewise.
6301         (FTOSTR): Likewise.
6303 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
6305         [BZ #20156]
6306         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
6307         to itself when zero or not finite.
6308         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
6309         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
6310         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
6311         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
6313 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
6315         [BZ #20153]
6316         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
6317         x * x + x for infinities and NaNs.
6319         [BZ #20151]
6320         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
6321         argument to itself before returning result.
6322         (__ieee754_y0l): Likewise.
6323         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
6324         (__ieee754_y1l).
6326         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
6327         (atan_test_data): Likewise.
6328         (ceil_test_data): Likewise.
6329         (cos_test_data): Likewise.
6330         (cosh_test_data): Likewise.
6331         (erf_test_data): Likewise.
6332         (exp2_test_data): Likewise.
6333         (fabs_test_data): Likewise.
6334         (floor_test_data): Likewise.
6335         (ilogb_test_data): Likewise.
6336         (j0_test_data): Likewise.
6337         (j1_test_data): Likewise.
6338         (jn_test_data): Likewise.
6339         (lgamma_test_data): Likewise.
6340         (lrint_test_data): Likewise.
6341         (llrint_test_data): Likewise.
6342         (logb_test_data): Likewise.
6343         (lround_test_data): Likewise.
6344         (llround_test_data): Likewise.
6345         (nearbyint_test_data): Likewise.
6346         (rint_test_data): Likewise.
6347         (round_test_data): Likewise.
6348         (sin_test_data): Likewise.
6349         (sincos_test_data): Likewise.
6350         (sinh_test_data): Likewise.
6351         (sqrt_test_data): Likewise.
6352         (tan_test_data): Likewise.
6353         (tanh_test_data): Likewise.
6354         (tgamma_test_data): Likewise.
6355         (trunc_test_data): Likewise.
6356         (y0_test_data): Likewise.
6357         (y1_test_data): Likewise.
6358         (yn_test_data): Likewise.
6360         * math/libm-test.inc: Update comment about NaN testing.
6361         (TEST_SNAN): New macro.
6362         (snan_value): Likewise.
6363         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
6364         (fpclassify_test_data): Add sNaN tests.
6365         (isfinite_test_data): Likewise.
6366         (isinf_test_data): Likewise.
6367         (isnan_test_data): Likewise.
6368         (isnormal_test_data): Likewise.
6369         (issignaling_test_data): Likewise.
6370         (signbit_test_data): Likewise.
6371         * math/gen-libm-test.pl (%beautify): Add snan_value.
6372         (show_exceptions): Add argument $test_snan.
6373         (parse_args): Handle snan_value as non-finite.  Update call to
6374         show_exceptions.
6375         * math/Makefile (libm-test-no-inline-cflags): Add
6376         -fsignaling-nans.
6378 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6380         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
6381         (CFLAGS-oldsendmsg.c): Add rule.
6382         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
6383         Correct recvmsg symbol name.
6384         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
6385         Likewise.
6387 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6389         * sysdeps/unix/sysv/linux/Makefile
6390         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
6391         oldsendmmsg.
6392         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
6393         sendmmsg.
6394         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6395         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6396         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6397         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
6398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6399         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6400         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6401         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
6402         Likewise.
6403         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6404         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
6405         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
6406         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
6407         iovlen and controllen fields to adjust to POSIX specification.
6408         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
6410         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
6411         and change to correct expected type.
6412         (msghdr.msg_controllen): Likewise.
6413         (cmsghdr.cmsg_len): Likewise.
6414         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
6415         expected POSIX assumption about the size.
6416         (msghdr.msg_controllen): Likewise.
6417         (msghdr.__glibc_reserved1): Likewise.
6418         (msghdr.__glibc_reserved2): Likewise.
6419         (cmsghdr.cmsg_len): Likewise.
6420         (cmsghdr.__glibc_reserved1): Likewise.
6421         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
6422         Add ptw-oldrecvmsg and ptw-oldsendmsg.
6423         (CFLAGS-sendmsg.c): Remove rule.
6424         (CFLAGS-recvmsg.c): Likewise.
6425         (CFLAGS-oldsendmsg.c): Add rule.
6426         (CFLAGS-oldrecvmsg.c): Likewise.
6427         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
6428         recvmsg and sendmsg.
6429         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
6430         Likewise.
6431         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
6432         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
6433         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
6434         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
6435         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
6436         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
6437         Likewise.
6438         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
6439         Likewise.
6440         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
6441         Likewise.
6442         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
6443         Likewise.
6444         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
6445         Likewise.
6446         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
6447         Likewise.
6448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
6449         (GLIBC_2.24): Likewise.
6450         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
6451         Likewise.
6452         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
6453         Likewise.
6454         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
6455         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
6456         Likewise.
6457         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
6458         Likewise.
6459         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
6460         Likewise.
6461         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
6462         (GLIBC_2.24): Likewise.
6463         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
6464         Likewise.
6465         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
6466         Likewise.
6467         * sysdeps/unix/sysv/linux/Makefile
6468         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
6469         (CFLAGS-sendmsg.c): Add rule.
6470         (CFLAGS-recvmsg.c): Likewise.
6471         (CFLAGS-oldsendmsg.c): Likewise.
6472         (CFLAGS-oldrecvmsg.c): Likewise.
6473         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
6474         initialization.
6475         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
6476         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
6477         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
6478         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
6479         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
6480         iovlen and controllen fields to adjust to POSIX specification.
6481         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
6482         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
6483         added recvmsg and sendmsg.
6484         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6485         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6486         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6487         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6488         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6489         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6490         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6491         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6492         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
6493         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6494         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6495         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
6496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6497         Likewise.
6498         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
6499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
6500         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6501         Likewise.
6502         Likewise.
6503         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6504         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6505         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6506         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6507         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6508         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6509         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
6510         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6511         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
6512         Likewise.
6513         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6514         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6516         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
6517         from auto-generation.
6518         (sendmsg): Likewise.
6519         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
6520         (sendmsg): Likewise.
6521         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
6522         (sendmsg): Likewise.
6523         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
6524         (sendmsg): Likewise.
6525         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
6526         (sendmsg): Likewise.
6527         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
6528         (sendmsg): Likewise.
6529         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
6530         Likewise.
6531         (sendmsg): Likewise.
6532         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
6533         (sendmsg): Likewise.
6534         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6535         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6536         Remove.
6537         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6538         Likewise.
6539         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6540         Undefine.
6541         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6542         Likewise.
6543         * sysdeps/unix/sysv/linux/kernel-features.h
6544         (__ASSUME_SENDMSG_SYSCALL): Define.
6545         (__ASSUME_RECVMSG_SYSCALL): Likewise.
6546         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6547         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6548         Remove.
6549         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6550         Likewise.
6551         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6552         Undefine.
6553         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6554         Likewise.
6555         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6556         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6557         Remove.
6558         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6559         Likewise.
6560         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6561         Undefine.
6562         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6563         Likewise.
6564         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6565         (__ASSUME_SENDMSG_SYSCALL): Undefine.
6566         (__ASSUME_RECVMSG_SYSCALL): Likewise.
6567         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6568         (__ASSUME_SENDMSG_SYSCALL): Likewise.
6569         (__ASSUME_RECVMSG_SYSCALL): Likewise.
6570         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6571         (__ASSUME_SENDMSG_SYSCALL): Likewise.
6572         (__ASSUME_RECVMSG_SYSCALL): Likewise.
6574 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6576         * stdlib/gen-tst-strtod-round.c: Add backslash to
6577         compile command in comment.
6578         (printfp): Remove the literal suffix, and define an infinite
6579         value as INF to avoid expansion clash with INFINITY.
6580         (round_str): Remove the literal suffix.
6581         (round_for_all): Likewise, remove the now duplicate ldbl-64
6582         entry, and remove some magic constants.
6584         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
6585         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
6586         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
6587         (_CONCAT): New macro.
6588         (CONCAT): Likewise.
6589         (CHOOSE_ld): Likewise.
6590         (CHOOSE_f): Likewise.
6591         (CHOOSE_d): Likewise.
6592         (FTYPE_MEMBER): Likewise.
6593         (BOOL_MEMBER): Likewise.
6594         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
6595         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
6596         (_XNTRY): Likewise.
6597         (XNTRY): Likewise.
6598         (_ENTRY): Likewise.
6599         (ENTRY): Likewise.
6600         (test_exactness): Generate members via macro.
6601         (test_results): Likewise.
6602         (test): Update members.
6603         (TEST): Redefine using new macros.
6604         (INF): New macro.
6605         (fetestmodes): New structure.
6606         (do_test): Refactor to be type generic.
6607         (test_in_one_mode): Refactor duplicate code into
6608         (GEN_ONE_TEST): New macro.
6610         * stdlib/tst-strtod-round-data.h: Regenerate.
6612         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
6613         Extend to pass additional arbitrary parameters to
6614         generators.
6616 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
6618         [BZ #15479]
6619         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
6620         floating-point state after first floating-point operation on
6621         input.  Restore full floating-point state instead of just rounding
6622         mode.
6623         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
6624         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
6625         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
6626         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
6627         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
6629         [BZ #15479]
6630         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
6631         floating-point state after first floating-point operation on
6632         input.  Restore full floating-point state instead of just rounding
6633         mode.
6634         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
6635         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
6636         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
6637         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
6638         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
6640 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6642         [BZ #19727]
6643         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
6644         valid high surrogate.
6645         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
6646         of an utf16 surrogate.
6647         * iconv/gconv_simple.c (BODY): Likewise.
6648         * iconvdata/bug-iconv12.c: New file.
6649         * iconvdata/Makefile (tests): Add bug-iconv12.
6651 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6653         [BZ #19726]
6654         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
6655         outptrp in case of an illegal input.
6656         * iconv/tst-iconv6.c: New file.
6657         * iconv/Makefile (tests): Add tst-iconv6.
6659 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6661         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
6662         an error in case of a value in range of an utf16 low surrogate.
6664 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6666         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
6667         an error in case of a value in range of an utf16 low surrogate.
6669 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6671         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
6672         Move to ...
6673         * sysdeps/s390/Makefile: ... here.
6674         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
6675         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
6676         (BRANCH_ON_COUNT): New define.
6677         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
6678         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
6679         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
6680         run on s390-32, too.
6681         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
6682         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
6683         run on s390-32, too.
6684         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
6685         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
6686         run on s390-32, too.
6688 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6690         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
6691         etf3eh or new vector loop-variant.
6693 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6695         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
6696         etf3eh or new vector loop-variant.
6698 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6700         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
6701         or new vector loop-variant.
6703 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6705         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
6706         Rename to TR_LOOP and usage of tr instead of troo instruction.
6708 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6710         * sysdeps/s390/multiarch/gconv_simple.c: New File.
6711         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
6713 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6715         * sysdeps/s390/multiarch/8bit-generic.c: New File.
6716         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
6717         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
6718         New override define.
6719         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
6721 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6723         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
6724         * sysdeps/s390/configure.ac: Add test for S390 vector register
6725         support in gcc.
6726         * sysdeps/s390/configure: Regenerated.
6728 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6730         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
6731         Install file from $(objpfx)gconv-modules.
6732         ($(objpfx)gconv-modules): Concatenate architecture specific file
6733         in variable sysdeps-gconv-modules and gconv-modules in src dir.
6734         * sysdeps/s390/gconv-modules: New file.
6735         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
6736         Deleted.
6737         ($(objpfx)gconv-modules-s390): Deleted.
6738         (sysdeps-gconv-modules): New variable.
6740 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
6742         [BZ #15479]
6743         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
6744         of immediate operand to rounding instruction.
6745         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
6746         Likewise.
6747         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
6748         Likewise.
6749         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
6750         Likewise.
6752 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6754         * math/libm-test.inc (MIN_EXP): Directly define as
6755         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
6757 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6759         * math/libm-test.inc (MANT_DIG): Directly define as
6760         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
6762 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6764         * stdlib/gen-tst-strtod-round.c (main):
6765           Change usage to more closely match the generated
6766           output.  Add usage and compilation instructions.
6767           (string_to_fp): Add and use FILE* parameter as
6768           output target.
6769           (print_fp): Likewise.
6770           (round_str): Likewise.
6771           (round_for_all): Likewise.
6772         * stdlib/tst-strtod-round.c (tests): Move into
6773         * stdlib/tst-strtod-round-data.h: New file.
6775 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
6777         [BZ #15479]
6778         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
6779         (__round): Do not force "inexact" exception.
6780         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
6781         variable.
6782         (__round): Do not force "inexact" exception.
6783         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
6784         (__roundf): Do not force "inexact" exception.
6785         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
6786         (__roundl): Do not force "inexact" exception.
6787         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
6788         (__roundl): Do not force "inexact" exception.
6789         * math/libm-test.inc (round_test_data): Do not allow spurious
6790         "inexact" exceptions.
6792         [BZ #15479]
6793         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
6794         exception in comment.
6795         (huge): Remove variable.
6796         (__floor): Do not force "inexact" exception.
6797         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
6798         "inexact" exception in comment.
6799         (huge): Remove variable.
6800         (__floor): Do not force "inexact" exception.
6801         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
6802         exception in comment.
6803         (huge): Remove variable.
6804         (__floorf): Do not force "inexact" exception.
6805         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
6806         exception in comment.
6807         (huge): Remove variable.
6808         (__floorl): Do not force "inexact" exception.
6810         [BZ #15479]
6811         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
6812         exception in comment.
6813         (huge): Remove variable.
6814         (__ceil): Do not force "inexact" exception.
6815         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
6816         "inexact" exception in comment.
6817         (huge): Remove variable.
6818         (__ceil): Do not force "inexact" exception.
6819         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
6820         (__ceilf): Do not force "inexact" exception.
6821         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
6822         exception in comment.
6823         (huge): Remove variable.
6824         (__ceill): Do not force "inexact" exception.
6826 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
6828         * config.h.in (BIND_NOW): New.
6829         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
6830         * configure: Regenerated.
6831         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
6832         indirect branch via the GOT slot.
6834 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6836         [BZ #19765]
6837         * sysdeps/s390/mempcpy.S: New File.
6838         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
6839         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
6840         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6841         Add mempcpy variants.
6842         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
6843         (memcpy): Adjust to be usable from mempcpy entry point.
6844         (__memcpy_mvcle): Likewise.
6845         * sysdeps/s390/s390-64/memcpy.S: Likewise.
6846         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
6847         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
6848         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
6849         (__memcpy_z10): Likewise.
6850         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
6852 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6854         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
6855         Remove __GI_ symbol.
6856         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
6857         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
6858         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
6859         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
6860         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
6861         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
6863 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6865         * sysdeps/s390/s390-64/memcpy.S (memcpy):
6866         Use cghi instead of chi to compare 64bit value.
6868 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6870         * sysdeps/s390/s390-32/memcpy.S (memcpy):
6871         Jump to 1MB check before executing mvc-loop.
6873 2016-05-24  Florian Weimer  <fweimer@redhat.com>
6875         [BZ #6527]
6876         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
6877         unconditionally.
6878         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
6880 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6882         * stdlib/tst-strtod6.c (do_test): Use new type generic
6883         invocation of the test function.
6884         (test): Refactor into ...
6885         (TEST_STRTOD): New macro base function.
6887 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6889         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
6890         (TEST_STRTOD): New macro.
6891         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
6893 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6895         * stdlib/tst-strtod6.c (do_test): Use new type generic
6896         invocation of the test function.
6897         (test): Refactor into ...
6898         (TEST_STRTOD): New macro base function.
6900 2016-05-23  Florian Weimer  <fweimer@redhat.com>
6902         CVE-2016-4429
6903         [BZ #20112]
6904         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
6905         payload.
6907 2016-05-23  Florian Weimer  <fweimer@redhat.com>
6909         [BZ #20111]
6910         * bits/sockaddr.h (_SS_SIZE): Define.
6911         * bits/socket.h (_SS_SIZE): Remove.
6912         (_SS_PADSIZE): Adjust to account for all padding.
6913         (struct sockaddr_storage): Update comment.  Avoid implicit
6914         padding.
6915         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
6916         (_SS_PADSIZE): Adjust to account for all padding.
6917         (struct sockaddr_storage): Update comment.  Avoid implicit
6918         padding.
6919         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
6920         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
6921         (_SS_PADSIZE): Adjust to account for all padding.
6922         (struct sockaddr_storage): Update comment.  Avoid implicit
6923         padding.
6924         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
6925         __SS_SIZE is 126 in this version.
6926         * inet/tst-sockaddr.c: New file.
6927         * inet/Makefile (tests): Add tst-sockaddr.c
6928         (tst-sockaddr.c): Compile with non-strict aliasing.
6930 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
6932         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
6933         [XPG3 || XPG4].
6934         (NL_ARGMAX): Also expect for [XPG3].
6935         (NL_LANGMAX): Likewise.
6936         (NL_MSGMAX): Likewise.
6937         (NL_NMAX): Likewise.
6938         (NL_SETMAX): Likewise.
6939         (NL_TEXTMAX): Likewise.
6940         (NZERO): Likewise.
6941         (TMP_MAX): Likewise.
6942         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
6943         variable.
6945         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
6946         (PF_MAX): Update value.
6947         (AF_KCM): New macro.
6948         (SOL_NETBEUI): Likewise.
6949         (SOL_LLC): Likewise.
6950         (SOL_DCCP): Likewise.
6951         (SOL_NETLINK): Likewise.
6952         (SOL_TIPC): Likewise.
6953         (SOL_RXRPC): Likewise.
6954         (SOL_PPPOL2TP): Likewise.
6955         (SOL_BLUETOOTH): Likewise.
6956         (SOL_PNPIPE): Likewise.
6957         (SOL_RDS): Likewise.
6958         (SOL_IUCV): Likewise.
6959         (SOL_CAIF): Likewise.
6960         (SOL_ALG): Likewise.
6961         (SOL_NFC): Likewise.
6962         (SOL_KCM): Likewise.
6963         (MSG_BATCH): New enum value and macro.
6965 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
6967         [BZ #18185]
6968         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
6969         sharing L2 cache to 2 for Knights Landing.
6971 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
6973         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
6974         (FTW_DP): Do not expect for [XPG3 || XPG4].
6975         (FTW_SL): Do not expect for [XPG3].
6976         (FTW_SLN): Likewise.
6977         (FTW_PHYS): Likewise.
6978         (FTW_MOUNT): Likewise.
6979         (FTW_DEPTH): Likewise.
6980         (FTW_CHDIR): Likewise.
6981         (nftw): Likewise.
6982         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
6983         variable.
6985 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
6987         * manual/errno.texi: Fix various typos & grammar errors.
6989 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
6991         * manual/intro.texi: Fix duplicated typo.
6993 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
6995         [BZ #13304]
6996         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
6997         <float.h>, <math_private.h> and <stdlib.h>.
6998         (add_split): New function.
6999         (mul_split): Likewise.
7000         (ext_val): New typedef.
7001         (store_ext_val): New function.
7002         (mul_ext_val): New function.
7003         (compare): New function.
7004         (add_split_ext): New function.
7005         (__fmal): After checking for Inf, NaN and zero, compute result as
7006         an exact sum of scaled double values in round-to-nearest before
7007         adding those up and adjusting for other rounding modes.
7008         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
7009         tests of fma.
7010         * math/auto-libm-test-out: Regenerated.
7012 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
7014         [BZ #20119]
7015         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
7016         processor level type mask for CPUID with EAX == 11.
7018 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
7020         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
7021         logical threads if the HTT bit is 0.
7022         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
7023         (index_cpu_HTT): Likewise.
7024         (reg_HTT): Likewise.
7026 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
7028         [BZ #20115]
7029         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
7030         Remove alignments on jump targets.
7032 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
7034         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
7035         (getpwent): Likewise.
7036         (setpwent): Likewise.
7037         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
7038         variable.
7040         * conform/data/search.h-data (insque): Do not expect for [XPG3].
7041         (remque): Likewise.
7042         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
7043         variable.
7045 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
7047         * math/libm-test.inc: Update comment not to refer to signs of NaNs
7048         not being tested.
7050 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
7052         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
7053         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
7054         call.
7055         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
7056         (__condvar_cleanup1): Likewise.
7058 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
7060         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
7061         New
7062         (__pthread_unwind): Renamed to ...
7063         (PTHREAD_UNWIND): This.
7064         (__pthread_enable_asynccancel): Replace
7065         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
7067 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
7069         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
7070         (CLONE_NEWCGROUP): New macro.
7072         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
7073         (Q_GETNEXTQUOTA): New macro.
7075 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
7077         [BZ #19907]
7078         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
7079         buffer updated by the previous run.
7080         * string/test-memcpy.c (do_one_test): Likewise.
7081         * benchtests/bench-memmove.c (do_one_test): Add a comment.
7082         * string/test-memmove.c (do_one_test): Likewise.
7084 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
7086         [BZ #20094]
7087         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
7088         not [__USE_XOPEN].
7089         (unlockpt): Likewise.
7090         (ptsname): Likewise.
7091         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
7092         variable.
7094         [BZ #20076]
7095         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
7096         instead of [__USE_UNIX98].
7097         (S_ISSOCK): Likewise.
7098         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
7099         variable.
7101         [BZ #20074]
7102         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
7103         [__USE_POSIX].
7104         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
7105         variable.
7107         [BZ #20051]
7108         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
7109         (ttyslot): Do not declare.
7110         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
7111         (ttyslot): New prototype.
7112         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
7113         variable.
7114         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7116 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7118         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
7120 2016-05-13  Florian Weimer  <fweimer@redhat.com>
7122         Fix race condition in tst-mallocfork2, use fewer resources.
7123         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
7124         to current process group.
7125         (signal_sender): Yield in the non-sleeping case.
7127 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
7129         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
7130         (ecvt): Likewise.
7131         (fcvt): Likewise.
7132         (gcvt): Likewise.
7133         (getsubopt): Likewise.
7134         (grantpt): Likewise.
7135         (initstate): Likewise.
7136         (l64a): Likewise.
7137         (mktemp): Likewise.
7138         (mkstemp): Likewise.
7139         (ptsname): Likewise.
7140         (random): Likewise.
7141         (realpath): Likewise.
7142         (setstate): Likewise.
7143         (srandom): Likewise.
7144         (ttyslot): Likewise.
7145         (unlockpt): Likewise.
7146         (valloc): Likewise.
7148         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
7149         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
7150         variable.
7152 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
7154         [BZ #20072]
7155         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
7156         init_cpu_features only if SHARED is defined.
7157         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
7159 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
7161         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
7162         non-inclusive caches on Intel processors.
7164 2016-05-13  Florian Weimer  <fweimer@redhat.com>
7166         * malloc/malloc.c (dumped_main_arena_start)
7167         (dumped_main_arena_end): New variables.
7168         (DUMPED_MAIN_ARENA_CHUNK): New macro.
7169         (do_check_chunk): Skip dumped fake mmapped chunks.
7170         (munmap_chunk): Likewise.
7171         (__libc_free): Do not adjust statistics for fake mmapped chunks.
7172         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
7173         mmapped chunks.
7174         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
7175         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
7176         and dumped_main_arena_end to cover the dumped heap.
7178 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
7180         * conform/data/time.h-data (getdate_err): Do not expect for
7181         [XPG3].
7182         (getdate): Likewise.
7183         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
7184         variable.
7186         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
7187         (F_ULOCK): Likewise.
7188         (F_TEST): Likewise.
7189         (F_TLOCK): Likewise.
7190         (useconds_t): Likewise.
7191         (intptr_t): Do not expect for [XPG3] or [XPG4].
7192         (brk): Do not expect for [XPG3]
7193         (fchown): Likewise.
7194         (fchdir): Likewise.
7195         (ftruncate): Likewise.
7196         (getdtablesize): Likewise.
7197         (gethostid): Likewise.
7198         (getpagesize): Likewise.
7199         (getpgid): Likewise.
7200         (getsid): Likewise.
7201         (getwd): Likewise.
7202         (lchown): Likewise.
7203         (lockf): Likewise.
7204         (readlink): Likewise.
7205         (sbrk): Likewise.
7206         (setpgrp): Likewise.
7207         (setregid): Likewise.
7208         (setreuid): Likewise.
7209         (symlink): Likewise.
7210         (sync): Likewise.
7211         (truncate): Likewise.
7212         (ualarm): Likewise.
7213         (usleep): Likewise.
7214         (vfork): Likewise.
7215         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
7216         variable.
7218         [BZ #20054]
7219         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
7220         not [__USE_UNIX98].
7221         * conform/data/unistd.h-data (gethostname): Do not expect for
7222         [XPG3].
7224         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
7225         [!POSIX] (S_IFBLK): Likewise.
7226         [!POSIX] (S_IFCHR): Likewise.
7227         [!POSIX] (S_IFIFO): Likewise.
7228         [!POSIX] (S_IFREG): Likewise.
7229         [!POSIX] (S_IFDIR): Likewise.
7230         [!POSIX] (S_IFLNK): Likewise.
7231         [!POSIX] (S_IFSOCK): Likewise.
7232         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
7233         variable.
7234         (test-xfail-XPG4/fcntl.h/conform): Likewise.
7236 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
7238         * sysdeps/aarch64/memset.S (__memset):
7239         Rewrite of optimized memset.
7241 2016-05-12  Florian Weimer  <fweimer@redhat.com>
7243         [BZ #19703]
7244         Partially async-signal-safe fork for single-threaded processes.
7245         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
7246         variable.  Do not acquire and reset/release malloc and libio locks
7247         in single-threaded processes.
7248         * malloc/tst-mallocfork2.c: New file.
7249         * malloc/Makefile (tests): Add it.
7251 2016-05-12  Florian Weimer  <fweimer@redhat.com>
7253         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
7254         argument.  Use scratch buffer instead of extend_alloca.
7255         (gethosts): Use scratch buffer instead of extend_alloca.
7256         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
7257         extend_alloca.
7258         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
7260 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
7262         [BZ #20055]
7263         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
7264         instead of [__USE_UNIX98].
7265         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
7266         [__USE_UNIX98].
7267         * conform/data/termios.h-data (tcgetsid): Do not expect for
7268         [XPG3].
7269         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
7270         variable.
7271         (test-xfail-XPG4/termios.h/conform): Likewise.
7273 2016-05-11  Florian Weimer  <fweimer@redhat.com>
7275         Do not use mcheck in localedef.
7276         * locale/programs/localedef.c (turn_on_mcheck)
7277         (__malloc_initialize_hook): Remove.
7279 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7281         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
7282         * sysdeps/s390/s390-64/Makefile: Likewise.
7284 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
7286         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
7287         Remove ifunc-defines.sym.
7288         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
7289         Likewise.
7290         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
7291         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
7292         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
7293         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
7294         rtld-global-offsets.sym.
7295         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
7296         * sysdeps/x86/cpu-features-offsets.sym: This.
7297         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
7298         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
7300 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
7302         [BZ #20073]
7303         * io/sys/stat.h (fchmod): Declare for
7304         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
7305         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
7306         variable.
7308         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
7309         [XPG3] (S_IFSOCK): Likewise.
7310         [XPG3] (S_ISVTX): Likewise.
7311         [XPG3] (S_ISLNK): Likewise.
7312         [XPG3] (S_ISSOCK): Likewise.
7313         [XPG3] (fchmod): Likewise.
7314         [XPG3] (lstat): Likewise.
7315         [XPG3] (mknod): Likewise.
7317         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
7318         [XPG3].  Expect type long and XFAIL for [XPG4].
7319         (st_blocks): Likewise.
7321         [BZ #20044]
7322         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
7323         (pthread_atfork): New prototype.
7324         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
7325         variable.
7327         [BZ #20043]
7328         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
7329         prototype.
7331 2016-05-10  Florian Weimer  <fweimer@redhat.com>
7333         [BZ #20017]
7334         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
7335         gmtime.
7337 2016-05-10  Florian Weimer  <fweimer@redhat.com>
7339         [BZ #19994]
7340         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
7341         flag in _res.options.
7343 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
7345         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
7346         [XPG3 || XPG4].
7347         (blksize_t): Likewise.
7348         (clockid_t): Likewise.
7349         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
7350         variable.
7351         (test-xfail-XPG4/sys/types.h/conform): Likewise.
7353 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
7355         * sysdeps/unix/sysv/linux/s390/init-first.c:
7356         Add VDSO_SYMBOL(getcpu).
7357         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
7358         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
7359         Add VDSO_SYMBOL(getcpu).
7360         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
7361         New define HAVE_GETCPU_VSYSCALL.
7362         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7364 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
7366         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
7367         instead of <sysdeps/x86_64/cacheinfo.c>.
7368         * sysdeps/x86_64/cacheinfo.c: Moved to ...
7369         * sysdeps/x86/cacheinfo.c: Here.
7371 2016-05-04  Florian Weimer  <fweimer@redhat.com>
7373         * malloc/malloc-internal.h: Adjust header file guard.
7375 2016-05-04  Florian Weimer  <fweimer@redhat.com>
7377         [BZ #19787]
7378         * inet/getnameinfo.c (check_sprintf_result): New function.
7379         (CHECKED_SNPRINTF): New macro.
7380         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
7381         to the host buffer.
7382         (gni_host_local): Use checked_copy to copy the host name.
7383         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
7384         (gni_serv_local): Use checked_copy to copy the service name.
7385         (getnameinfo): Remove unnecessary truncation of result buffers.
7387 2016-05-04  Florian Weimer  <fweimer@redhat.com>
7389         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
7390         in case of inet_ntop failure.
7392 2016-05-04  Florian Weimer  <fweimer@redhat.com>
7394         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
7395         avoid long lines.
7396         (gni_host_inet_numeric): Likewise.  Reduce scope of local
7397         variables.
7398         (gni_host_inet, gni_host_local): Add comment.
7399         (gni_host): Add comment.  Use temporary to avoid long lines.
7401 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7403         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
7404         registers specifiers where general purpose registers specifiers should
7405         have been used.
7407 2016-05-04  Florian Weimer  <fweimer@redhat.com>
7409         [BZ #19779]
7410         CVE-2016-1234
7411         Avoid copying names of directory entries.
7412         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
7413         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
7414         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
7415         (struct readdir_result): New type.
7416         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
7417         (GL_READDIR): New macros.
7418         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
7419         (convert_dirent, convert_dirent64): New functions.
7420         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
7421         convert_dirent64.  Adjust references to the readdir result.
7422         * sysdeps/unix/sysv/linux/i386/glob64.c:
7423         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
7424         * posix/bug-glob2.c (LONG_NAME): Define.
7425         (filesystem): Add LONG_NAME.
7426         (my_DIR): Increase the size of room_for_dirent.
7428 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
7430         [BZ #20041]
7431         * misc/sys/select.h (__need_timespec): Only define if
7432         [__USE_XOPEN2K].
7433         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
7434         variable.
7435         (test-xfail-XPG4/utmpx.h/conform): Likewise.
7436         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7437         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7439 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7440             Segher Boessenkool  <segher@gcc.gnu.org>
7442         [BZ #20004]
7443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
7444         (__novec_swapcontext): Add missing load.
7446 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
7448         [BZ #20023]
7449         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
7450         <time.h>.
7451         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
7452         variable.
7453         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7455 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
7458         flags CLONE_VM compare.
7460 2016-05-02  Florian Weimer  <fweimer@redhat.com>
7462         [BZ #20031]
7463         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
7464         completely empty.
7466 2016-05-02  Florian Weimer  <fweimer@redhat.com>
7468         [BZ #19573]
7469         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
7470         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
7471         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
7472         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
7473         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
7474         (hesiod_free_list): Mark as hidden.
7475         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
7476         res_set, res_get.
7477         * hesiod/hesiod.c: Remove unnecessary forward declarations.
7478         (init, __hesiod_res_get, __hesiod_res_set): Remove.
7479         (hesiod_init): Remove obsolete res_ninit call.
7480         (hesiod_end): Do not free resolver state.  Do not invoke callback.
7481         (hesiod_bind): Do not call init.
7482         (get_txt_records): Use res_mkquery, res_send instead of
7483         res_nmkquery, res_nsend.
7484         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
7485         instead of _nss_hesiod_init.
7486         (_nss_hesiod_initgroups_dyn): Likewise.
7487         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
7488         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
7489         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
7491 2016-05-02  Florian Weimer  <fweimer@redhat.com>
7493         * hesiod/hesiod_p.h (DEF_RHS): Remove.
7494         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
7496 2016-05-02  Florian Weimer  <fweimer@redhat.com>
7498         * hesiod/hesiod.h: Remove RCS keyword.
7499         * hesiod/hesiod_p.h: Likewise.
7501         * hesiod/hesiod.c: Likewise.
7503 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
7505         [BZ #12450]
7506         * locale/iso-639.def: Add Samogitian/sgs.
7508 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
7510         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
7512         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
7514 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
7515             Carlos O'Donell  <carlos@redhat.com>
7517         [BZ #19072]
7518         * grp/Makefile (headers): Add grp-merge.h
7519         (routines): Add grp-merge.
7520         * grp/getgrgid_r.c: Include grp-merge.h.
7521         (DEEPCOPY_FN): Define.
7522         (MERGE_FN): Define.
7523         * grp/getgrname_r.c: Include grp-merge.h.
7524         (DEEPCOPY_FN): Define.
7525         (MERGE_FN): Define.
7526         * grp/grp-merge.c: New file.
7527         * grp/grp-merge.h: New file.
7528         * include/grp-merge.h: New file.
7529         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
7530         __copy_grp@GLIBC_PRIVATE.
7531         * manual/nss.texi (Actions in the NSS configuration): Describe
7532         return, continue, and merge.
7533         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
7534         (DEEPCOPY_FN): Define.
7535         (MERGE_FN): Define.
7536         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
7537         (DEEPCOPY_FN): Define.
7538         (MERGE_FN): Define.
7539         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
7540         [!MERGE_FN]: Define __merge_einval.
7541         (CHECK_MERGE): Define.
7542         (REENTRANT_NAME): Process merge if do_merge is true.
7543         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
7544         (__nss_getent_r): Likewise.
7545         * nss/nsswitch.c (nss_parse_service_list): Likewise.
7546         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
7548 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7550         [BZ #20012]
7551         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
7552         length to calculate the buffer to read.
7553         (fmemopen_write): Set the buffer position based on bytes written.
7554         (fmemopen_seek): Return EINVAL for invalid whence modes.
7556         [BZ #19957]
7557         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
7558         tst-getpid2.
7559         (test): Add tst-clone2.
7560         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
7561         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
7562         pid/tid fields for CLONE_VM.
7563         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
7564         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
7565         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
7566         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
7567         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
7568         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
7569         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
7570         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
7571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
7572         Likewise.
7573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7574         Likewise.
7575         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
7576         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
7577         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
7578         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
7579         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
7580         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
7581         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
7582         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
7584 2016-04-29  Florian Weimer  <fweimer@redhat.com>
7586         [BZ #19642]
7587         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
7588         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
7589         (gni_serv_local, gni_serv): New functions extracted from
7590         getnameinfo.
7591         (getnameinfo): Call gni_host and gni_serv to perform the
7592         processing.  Always free scratch buffer.
7594 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7596         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
7597         remaining bytes in the dest string, with zeros.
7599 2016-04-29  Florian Weimer  <fweimer@redhat.com>
7601         [BZ #20010]
7602         CVE-2016-3706
7603         * sysdeps/posix/getaddrinfo.c
7604         (convert_hostent_to_gaih_addrtuple): New function.
7605         (gethosts): Call convert_hostent_to_gaih_addrtuple.
7606         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
7607         AF_INET data.
7609 2016-04-29  Florian Weimer  <fweimer@redhat.com>
7611         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
7612         callback function gl_readdir.
7613         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
7614         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
7615         (glob_in_dir): Remove len.  Use strdup instead of malloc and
7616         memcpy to copy the name.
7617         * manual/pattern.texi (Calling Glob): Document requirements for
7618         implementations of the gl_readdir callback function.
7619         * manual/examples/mkdirent.c: New example.
7620         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
7621         per the manual guidance.
7622         * posix/tst-gnuglob.c (my_readdir): Likewise.
7624 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
7626         [BZ #20014]
7627         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
7628         not [__USE_POSIX].
7629         (getchar_unlocked): Likewise.
7630         (putc_unlocked): Likewise.
7631         (putchar_unlocked): Likewise.
7632         (flockfile): Likewise.
7633         (ftrylockfile): Likewise.
7634         (funlockfile): Likewise.
7635         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
7636         variable.
7637         (test-xfail-XPG4/stdio.h/conform): Likewise.
7639         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
7640         Expect constant.
7641         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
7642         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
7643         variable.
7644         (test-xfail-XPG4/langinfo.h/conform): Likewise.
7645         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7647         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
7648         [__USE_LARGEFILE64] (off64_t): Likewise.
7649         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
7650         variable.
7652 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7654         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
7656 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7658         * resolv/inet_addr.c: Reindent preprocessor conditionals.
7659         * resolv/res_init.c: Likewise.
7660         * resolv/res_mkquery.c: Likewise.
7662 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7664         * resolv/res_init.c (isascii): Do not define.  Use definition in
7665         <ctype.h>.
7666         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
7667         (LOG_AUTH): Remove.
7668         (SPRINTF): Remove, adjust caller.
7669         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
7671 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7673         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
7674         SUNSECURITY conditional.
7675         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
7677 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7679         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
7680         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
7681         Remove BSD-related preprocessor conditionals.
7682         * conf/portability.h: Remove.
7684 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7686         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
7687         * resolv/res_data.c: Likewise.
7689 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7691         * resolv/res_comp.c: Remove code conditional on __ultrix__.
7692         * resolv/res_data.c: Remove code conditional on ultrix.
7694 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7696         * resolv/res_init.c (RFC1535): Do not define.  Remove
7697         RFC1535 preprocessor conditionals.
7698         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
7699         because there configuration options which make the resolver
7700         behavior different.
7702 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7704         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
7705         RESOLVSORT preprocessor conditionals.
7706         * resolv/nss_dns/dns-host.c: Likewise.
7707         * resolv/res_init.c: Likewise.
7709 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7711         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
7712         is never defined.
7714 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7716         * inet/inet_lnaof.c: Remove SCSS keyword.
7717         * inet/inet_mkadr.c: Likewise.
7718         * inet/inet_net.c: Likewise.
7719         * inet/inet_netof.c: Likewise.
7720         * inet/rcmd.c: Likewise.
7721         * inet/rexec.c: Likewise.
7722         * inet/ruserpass.c: Likewise.
7724 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7726         * resolv/inet_addr.c: Remove _LIBC conditionals.
7727         * resolv/res_data.c: Likewise.
7728         * resolv/res_init.c: Likewise.
7729         * resolv/res_mkquery.c: Likewise.
7730         * resolv/res_libc.c: Update comment.
7731         * resolv/README: Update.
7733 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7735         * resolv/gethnamaddr.c: Remove SCSS keyword.
7736         * resolv/herror.c: Likewise.
7737         * resolv/inet_addr.c: Likewise.
7738         * resolv/inet_net_ntop.c: Likewise.
7739         * resolv/inet_net_pton.c: Likewise.
7740         * resolv/inet_neta.c: Likewise.
7741         * resolv/inet_ntop.c: Likewise.
7742         * resolv/inet_pton.c: Likewise.
7743         * resolv/ns_date.c: Remove RCS keyword.
7744         * resolv/ns_name.c: Likewise.
7745         * resolv/ns_netint.c: Likewise.
7746         * resolv/ns_parse.c: Likewise.
7747         * resolv/ns_print.c: Likewise.
7748         * resolv/ns_samedomain.c: Likewise.
7749         * resolv/ns_ttl.c: Likewise.
7750         * resolv/nsap_addr.c: Likewise.
7751         * resolv/res_comp.c: Remove SCSS and RCS keyword.
7752         * resolv/res_data.c: Remove RCS keyword.
7753         * resolv/res_debug.c: Remove SCSS and RCS keyword.
7754         * resolv/res_init.c: Likewise.
7755         * resolv/res_mkquery.c: Likewise.
7756         * resolv/res_query.c: Likewise.
7757         * resolv/res_send.c: Likewise.
7759 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
7761         * conform/data/stdio.h-data (fdopen): Expect also for
7762         [XPG3 || XPG4].
7764         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
7765         (fseeko): Likewise.
7766         (ftello): Likewise.
7767         (ftrylockfile): Likewise.
7768         (funlockfile): Likewise.
7769         (getc_unlocked): Likewise.
7770         (getchar_unlocked): Likewise.
7771         (putc_unlocked): Likewise.
7772         (putchar_unlocked): Likewise.
7774 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7776         [BZ #19868]
7777         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
7778         DNS packet syntax checks (which were not needed before).  Skip
7779         over non-PTR records.
7781 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7783         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
7784         definition.  Include <stddef.h> instead.
7786 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7788         [BZ #19831]
7789         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
7790         function.
7791         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
7792         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
7794 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7796         [BZ #19862]
7797         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
7798         (getanswer_r): Do not call syslog.
7799         (gaih_getanswer_slice): Likewise.
7800         * resolv/gethnamaddr.c (AskedForGot): Remove.
7801         (getanswer): Do not call syslog.
7802         (gethostbyaddr): Likewise.
7804 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
7806         * conform/data/signal.h-data (union sigval): Expect also if
7807         [XOPEN2K].
7808         (struct sigevent): Likewise.
7809         (SIGEV_NONE): Likewise.
7810         (SIGEV_SIGNAL): Likewise.
7811         (SIGEV_THREAD): Likewise.
7812         (SIGRTMIN): Likewise.
7813         (SIGRTMAX): Likewise.
7814         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
7815         variable.
7816         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7818 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7820         [BZ #19830]
7821         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
7822         (gaih_getanswer_slice): Likewise.
7823         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
7824         Also check for availability of RR metadata.
7826 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7828         [BZ #19825]
7829         * resolv/res_send.c (send_vc): Remove early *resplen2
7830         initialization.  Set *resplen2 on socket error.  Call
7831         close_and_return_error for other errors.
7833 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
7835         * sysdeps/unix/sysv/linux/netiucv/iucv.h
7836         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
7837         (SCM_IUCV_TRGCLS): New define.
7839 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7841         [BZ #20005]
7842         * libio/fmemopen.c (fmemopen_write): Update internal position after
7843         write.
7844         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
7845         * stdio-common/tst-fmemopen4.c: New file..
7847 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
7849         [BZ #19996]
7850         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
7851         not [__USE_XOPEN2K].
7852         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
7853         variable.
7855         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
7856         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
7857         variable.
7859         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
7860         [__USE_XOPEN2K8].
7861         [__USE_LARGEFILE64] (off64_t): Likewise.
7862         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
7863         variable.
7865 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
7867         [BZ #19989]
7868         * libio/stdio.h (cuserid): Do not declare if
7869         [__USE_XOPEN2K && !__USE_GNU].
7870         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
7871         variable.
7873 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7875         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7876         (sysdep_routines): Add P8 and PPC64 strcspn targets.
7877         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7878         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
7879         ifunc'ed strcspn.
7880         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
7881         [EALIGN]: Removed.
7882         [END]: Likewise
7883         [STRSPN]: Define instead of the above to control symbol name.
7884         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
7885         New file.
7886         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
7887         Likewise.
7888         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
7889         Likewise.
7890         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
7891         Likewise.
7892         * sysdeps/powerpc/powerpc64/power8/strspn.S:
7893         [INITIAL_MASK]: New macro.
7894         [STRCSPN]: Likewise.
7895         [UPDATE_MASK]: Likewise.
7896         [USE_AS_STRCSPN]: Lisewise.
7898 2016-04-25  Florian Weimer  <fweimer@redhat.com>
7900         [BZ #19931]
7901         * stdio-common/tst-vfprintf-width-prec.c: New file.
7902         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
7903         (tests-special): Add tst-vfprintf-width-prec-mem.out.
7904         (generated): Add mtrace-related files.
7905         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
7906         (tst-%-mem.out): New pattern rule, replaces
7907         tst-printf-bz18872-mem.out.
7908         * stdio-common/vfprintf.c (vfprintf): When handling a precision
7909         specifier, deallocate any previously allocated work buffer.
7911 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
7913         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
7914         Add nop before __startcontext, add explaining comments.
7916 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
7918         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
7919         any more. Notably since IPV6_PKTINFO has been reintroduced with a
7920         completely different API.
7922         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
7923         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
7924         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
7925         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
7926         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
7927         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
7928         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
7929         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
7930         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
7931         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
7933 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
7935         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
7937 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
7939         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
7940         when it is the default of 0.
7942 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7944         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
7945         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7946         (sysdep_routines): Add new strcasestr targets.
7947         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7948         (__libc_ifunc_impl_list): Likewise.
7949         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
7950         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
7951         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
7952         * sysdeps/powerpc/powerpc64/power8/Makefile:
7953         New file to add strcasestr-ppc64 to sysdep_routines.
7954         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
7955         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
7957 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
7959         * benchtests/Makefile (wcsmbs-benchset): Include only for
7960         native builds and runs.
7961         (LOCALES): Likewise.
7962         (bench-build): Build timing-type here instead of the bench
7963         target.  Generate locale only for native builds.
7964         * benchtests/README: Add note for cross-building.
7966         * benchtests/Makefile (bench-clean): Clean up extra-objs.
7968         * benchtests/README: Update README to include instructions on
7969         using bench-build.
7971         * Makefile.in (bench-build): New target.
7972         * Rules (PHONY): Add bench-build target.
7973         * benchtests/Makefile (bench): Depend on bench-build.
7974         (bench-build): New target.
7976 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7978         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
7979         profil_reply_port.
7980         (profile_waiter): Do not initialize profil_reply_port.
7981         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
7982         frequency instead of tick length in us.
7984 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
7986         [BZ #18712]
7987         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
7988         (__old_mempcpy_small): Likewise.
7989         (__old_strcpy_small): Likewise.
7990         (__old_stpcpy_small): Likewise.
7991         (__old_strpbrk_c2): Fix compat symbol name.
7992         (__old_strpbrk_c3): Likewise.
7993         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
7994         (__mempcpy_small): Remove.
7995         (__strcpy_small): Remove.
7996         (__stpcpy_small): Remove.
7998 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
8000         [BZ #19400]
8001         * locale/iso-639.def: Add the Talossan/tzl language.
8003 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
8005         [BZ #16983]
8006         * locale/programs/ld-address.c (address_finish): Update postal_fmt
8007         comment.  Add "ln" to strchr check on postal_fmt.
8009 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
8011         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
8012         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
8013         tel_dom_fmt.
8015 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8017         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
8018         (sysdep_routines): Added __strlen_power8.
8019         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
8020         __strlen_power8 entry.
8021         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
8022         Implementation for POWER8.
8023         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
8024         for __strlen_power8.
8025         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
8026         Implementation for POWER8.
8028 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
8030         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
8032 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
8034         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
8035         Goldmont and Airmont processors.
8037 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
8039         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
8040         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
8041         (__STRING2_SMALL_GET32): Remove.
8042         (memset): Remove.
8043         (__memset_1): Remove.
8044         (__memset_gc): Remove.
8045         (__mempcpy): Remove.
8046         (mempcpy): Remove.
8047         (__mempcpy_args): Remove.
8048         (strchr): Remove.
8049         (strcpy): Remove.
8050         (strcpy_args): Remove.
8051         (__stpcpy_args): Remove.
8052         (__strcmp_cc): Remove.
8053         (__strcmp_gc): Remove.
8054         (strstr): Remove.
8056 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
8058         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
8059         * nis/nis_call.c (nis_server_cache_add): Likewise.
8061 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8063         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
8065 2016-04-14  Florian Weimer  <fweimer@redhat.com>
8067         * malloc/arena.c (__malloc_fork_lock_parent)
8068         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
8069         internal_function attribute.
8071 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
8073         * stdio-common/printf_fp.c (__printf_fp_l):
8074         Rename ___printf_fp_l to __printf_fp_l and
8075         remove strong alias. Use libc_hidden_def instead
8076         of ldbl_hidden_def macro.
8078 2016-04-14  Florian Weimer  <fweimer@redhat.com>
8080         Remove malloc hooks from fork handler.  They are no longer needed
8081         because malloc runs right before fork, and no malloc calls from
8082         other fork handlers are not possible anymore.
8083         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
8084         declarations.
8085         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
8086         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
8087         (atfork_recursive_cntr): Remove.
8088         (__malloc_fork_lock_parent): Do not override malloc hooks and
8089         thread_arena.
8090         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
8091         thread_arena.
8092         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
8093         thread_arena instead of save_arena.
8095 2016-04-14  Florian Weimer  <fweimer@redhat.com>
8097         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
8098         (thread_atfork, thread_atfork_static): Remove.
8099         * sysdeps/mach/hurd/malloc-machine.h:
8100         (thread_atfork, thread_atfork_static): Remove.
8102 2016-04-14  Florian Weimer  <fweimer@redhat.com>
8104         [BZ #19431]
8105         Run the malloc fork handler as late as possible to avoid deadlocks.
8106         * malloc/malloc-internal.h: New file.
8107         * malloc/malloc.c: Include it.
8108         * malloc/arena.c (ATFORK_MEM): Remove.
8109         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
8110         Update comment.
8111         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
8112         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
8113         Remove outdated comment.
8114         (ptmalloc_init): Do not call thread_atfork.  Remove
8115         thread_atfork_static.
8116         * malloc/tst-malloc-fork-deadlock.c: New file.
8117         * Makefile (tests): Add tst-malloc-fork-deadlock.
8118         (tst-malloc-fork-deadlock): Link against libpthread.
8119         * manual/memory.texi (Aligned Memory Blocks): Update safety
8120         annotation comments.
8121         * sysdeps/nptl/fork.c (__libc_fork): Call
8122         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
8123         __malloc_fork_unlock_child.
8124         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
8126 2016-04-14  Florian Weimer  <fweimer@redhat.com>
8128         [BZ #19613]
8129         Remove union wait.
8130         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
8131         (w_stopsig, w_stopval): Remove.
8132         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
8133         stat_loc argument.
8134         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
8135         (__WAIT_STATUS_DEFN): Remove.
8136         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
8137         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
8138         (wait, wait3, wait4): Use int * for the stat_loc argument.
8139         * posix/wait.c (__wait): Likewise.
8140         * posix/wait3.c (__wait3): Likewise.
8141         * posix/wait4.c (__wait4): Likewise.
8142         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
8143         (__WAIT_STATUS_DEFN): Remove.
8144         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
8145         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
8146         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
8147         argument.
8148         * sysdeps/posix/wait.c (__libc_wait): Likewise.
8149         * sysdeps/posix/wait3.c (__wait3): Likewise.
8150         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
8151         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
8152         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
8153         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
8154         stat_loc argument.
8155         * manual/process.texi (BSD Wait Functions): Remove union wait.
8157 2016-04-13  Andreas Schwab  <schwab@suse.de>
8159         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
8160         (test-extras): Add tst-tlsalign-vars.
8161         * math/Makefile: Wrap long lines.
8162         (libm-vec-test-wrappers): Define.
8163         (test-extras): Add $(libm-vec-test-wrappers).
8164         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
8165         * nss/Makefile (extra-test-objs): Add nss_test1.os.
8166         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
8167         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
8168         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
8169         (extra-test-objs): Add corresponding objects.
8171 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
8173         [BZ #19928]
8174         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
8175         New.
8176         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
8177         times of shared cache size.
8178         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
8179         (VMOVNT): New.
8180         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
8181         (VMOVNT): Likewise.
8182         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
8183         (VMOVNT): Likewise.
8184         (VMOVU): Changed to movups for smaller code sizes.
8185         (VMOVA): Changed to movaps for smaller code sizes.
8186         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
8187         comments.
8188         (PREFETCH): New.
8189         (PREFETCH_SIZE): Likewise.
8190         (PREFETCHED_LOAD_SIZE): Likewise.
8191         (PREFETCH_ONE_SET): Likewise.
8192         Rewrite to use forward and backward loops, which move 4 vector
8193         registers at a time, to support overlapping addresses and use
8194         non temporal store if size is above the threshold and there is
8195         no overlap between destination and source.
8197 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
8199         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
8200         Include dl-vdso.
8201         * sysdeps/unix/sysv/linux/mips/Versions: Add
8202         __vdso_clock_gettime.
8203         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
8204         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
8205         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
8206         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
8207         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
8208         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
8209         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
8210         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
8211         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
8213 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8215         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
8216         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
8217         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
8218         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
8219         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
8220         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
8221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
8222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
8223         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
8224         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
8225         syscalls generation.
8226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8227         [__NR_pwrite64] (__NR_write): Remove define.
8228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8229         [__NR_pwrite64] (__NR_write): Remove define.
8230         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
8231         Remove define.
8232         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
8233         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
8234         Remove define.
8235         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
8236         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
8237         Linux implementation as base.
8238         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
8240         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
8241         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
8242         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
8243         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
8244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
8245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
8246         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
8247         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
8248         syscall generation.
8249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8250         [__NR_pread64] (__NR_pread): Remove define.
8251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8252         [__NR_pread64] (__NR_pread): Likewise.
8253         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
8254         define.
8255         (__libc_pread): Use SYSCALL_LL macro on offset argument.
8256         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
8257         Remove define.
8258         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
8259         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
8260         Linux implementation as base.
8261         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
8262         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
8263         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
8265         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
8266         definition.
8267         (__ALIGNMENT_COUNT): Likewise.
8268         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
8269         (__ALIGNMENT_COUNT): Likewise.
8270         (SYSCALL_LL): New define.
8271         (SYSCALL_LL64): Likewise.
8272         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
8273         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
8274         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
8275         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
8277         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8278         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
8279         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8280         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
8281         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8282         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
8284 2016-04-11  Florian Weimer  <fweimer@redhat.com>
8286         [BZ #19865]
8287         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
8288         original buffer before retry.
8290 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8292         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
8293         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
8294         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
8295         GLRO(dl_auxv) list.
8296         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
8297         including <ldsodefs.h>.
8298         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
8300 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
8302         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
8303         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
8304         $(CPPFLAGS).
8306 2016-04-09  Khem Raj  <raj.khem@gmail.com>
8308         [BZ #17950]
8309         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
8310         Add -mfpmath=387.
8312 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
8314         * sysdeps/i386/configure.ac: Change == to = when calling test.
8315         * sysdeps/x86_64/configure.ac: Likewise.
8316         * sysdeps/i386/configure: Regenerated.
8317         * sysdeps/x86_64/configure: Likewise.
8319 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
8321         [BZ #16137]
8322         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
8323         * benchtests/bench-strcoll.c (input_files): Likewise.
8324         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
8325         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
8326         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
8328 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
8330         [BZ #19929]
8331         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
8332         [__USE_XOPEN2K8 && !__USE_GNU].
8333         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
8334         variable.
8336         [BZ #19925]
8337         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
8338         define if [!__USE_MISC && __USE_XOPEN2K].
8339         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
8340         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
8341         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
8342         Likewise.
8343         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
8344         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
8345         variable.
8346         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8348 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8350         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
8351         (sysdep_routines): Add new strspn targets.
8352         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8353         (__libc_ifunc_impl_list): Add strspn.
8354         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
8355         New file.
8356         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
8357         Likewise.
8358         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
8359         Likewise.
8360         * sysdeps/powerpc/powerpc64/power8/strspn.S:
8361         Likewise.
8363 2016-04-07  Florian Weimer  <fweimer@redhat.com>
8365         * misc/hsearch_r.c: Include <limits.h>.
8367 2016-04-07  Florian Weimer  <fweimer@redhat.com>
8369         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
8371 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
8373         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
8374         (MEMCPY_SYMBOL): New.
8375         (MEMPCPY_SYMBOL): Likewise.
8376         (MEMMOVE_CHK_SYMBOL): Likewise.
8377         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
8378         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
8379         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
8380         Provide alias for memcpy in libc.a and ld.so.
8382 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
8384         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
8385         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
8386         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
8387         Disabled fro now.
8388         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
8389         symbols.  Properly check USE_MULTIARCH on __memset symbols.
8391 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
8393         * benchtests/Makefile (string-benchset): Add memcpy-large,
8394         memmove-large and memset-large.
8395         * benchtests/bench-memcpy-large.c: New file.
8396         * benchtests/bench-memmove-large.c: Likewise.
8397         * benchtests/bench-memmove-large.c: Likewise.
8398         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
8400 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
8402         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
8403         32-bit displacement to avoid long nop between instructions.
8405 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
8407         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
8408         a comment on VMOVU and VMOVA.
8410 2016-04-04  Florian Weimer  <fweimer@redhat.com>
8412         [BZ #19633]
8413         Use specified locale for number formatting in strfmon_l.
8414         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
8415         (__nl_lookup_word): New inline functions.
8416         * include/printf.h (__print_fp_l): Declare.
8417         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
8418         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
8419         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
8420         (___printf_fp): New function.
8421         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
8422         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
8423         * stdlib/tst-strfmon_l.c (do_test): New test.
8424         * stdlib/Makefile (tests): Add kt.
8425         (LOCALES): Build additional locales.
8426         (tst-strfmon_l.out): Require locales.
8428 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
8430         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
8431         if not in libc.
8432         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
8433         Likewise.
8434         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
8435         Likewise.
8436         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
8437         Likewise.
8439 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
8441         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
8442         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
8443         with unaligned_erms.
8444         (__memmove_erms): Skip if source == destination.
8445         (__memmove_unaligned_erms): Don't check source == destination
8446         first.
8448 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
8450         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
8451         bit_arch_Fast_Copy_Backward for Intel Core proessors.
8453 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8455         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
8456         * string/strspn.c (strspn): Likewise.
8458 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
8460         * benchtests/bench-memset.c (do_test): Support 64-byte
8461         alignment.
8462         (test_main): Test 64-byte alignment.
8464 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
8466         * benchtests/bench-memmove.c (test_main): Test 64-byte
8467         alignment.
8469 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
8471         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
8473 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8475         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
8476         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
8477         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
8479         * string/strpbrk.c (strpbrk): Rewrite function.
8480         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
8481         (__strpbrk_c2): Likewise.
8482         (__strpbrk_c3): Likewise.
8483         * string/string-inlines.c
8484         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
8485         Likewise.
8486         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
8487         Likewise.
8489         * string/strspn.c (strcspn): Rewrite function.
8490         * string/bits/string2.h (strspn): Use __builtin_strcspn.
8491         (__strspn_c1): Remove inline function.
8492         (__strspn_c2): Likewise.
8493         (__strspn_c3): Likewise.
8494         * string/string-inlines.c
8495         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
8496         compatibility symbol.
8497         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
8498         Likewise.
8499         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
8500         Likewise.
8501         * string/string-inlines.c: Include generic version.
8503 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
8504             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8506         * string/Version (libc): Add GLIBC_2.24.
8507         * string/strcspn.c (strcspn): Rewrite function.
8508         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
8509         (__strcspn_c1): Remove inline function.
8510         (__strcspn_c2): Likewise.
8511         (__strcspn_c3): Likewise.
8512         * string/string-inline.c
8513         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
8514         compatibility symbol.
8515         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
8516         Likewise.
8517         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
8518         Likewise.
8519         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
8521 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
8523         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
8524         Use ahi instead of aghi to adjust stack pointer.
8526 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8528         [BZ #19853]
8529         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
8530         TEST to take significant digits as second parameter.
8531         [TEST]: Redefine in terms of TEST_N taking 30
8532         significant digits.
8533         (do_test): Add test case to demonstrate precision
8534         failure in the ldbl-128ibm printf.
8535         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
8536         (__mpn_extract_long_double): Carry 7 extra intermediate
8537         bits of precision to aide computing difference when
8538         signs differ.
8540 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
8542         [BZ #19881]
8543         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8544         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
8545         memset-avx512-unaligned-erms.
8546         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
8547         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
8548         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
8549         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
8550         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
8551         __memset_sse2_unaligned_erms, __memset_erms,
8552         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
8553         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
8554         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
8555         file.
8556         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
8557         Likewise.
8558         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
8559         Likewise.
8560         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
8561         Likewise.
8563 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
8565         [BZ #19776]
8566         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8567         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
8568         memmove-avx512-unaligned-erms.
8569         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
8570         (__libc_ifunc_impl_list): Test
8571         __memmove_chk_avx512_unaligned_2,
8572         __memmove_chk_avx512_unaligned_erms,
8573         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
8574         __memmove_chk_sse2_unaligned_2,
8575         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
8576         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
8577         __memmove_avx512_unaligned_erms, __memmove_erms,
8578         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
8579         __memcpy_chk_avx512_unaligned_2,
8580         __memcpy_chk_avx512_unaligned_erms,
8581         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
8582         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
8583         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
8584         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
8585         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
8586         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
8587         __mempcpy_chk_avx512_unaligned_erms,
8588         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
8589         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
8590         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
8591         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
8592         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
8593         __mempcpy_erms.
8594         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
8595         file.
8596         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
8597         Likwise.
8598         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
8599         Likwise.
8600         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
8601         Likwise.
8603 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
8605         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
8606         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
8607         (La_s390_64_regs): Likewise.
8608         (La_s390_32_retval): Append vector register lrv_v24.
8609         (La_s390_64_retval): Likeweise.
8610         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
8611         Handle extended structs La_s390_32_regs and La_s390_32_retval.
8612         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
8613         Handle extended structs La_s390_64_regs and La_s390_64_retval.
8615 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
8617         [BZ #19916]
8618         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
8619         to create a non-vector/vector version for _dl_runtime_resolve and
8620         _dl_runtime_profile. Move implementation to ...
8621         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
8622         (_dl_runtime_resolve) Save and restore fpr/vrs.
8623         (_dl_runtime_profile) Save and restore vrs and fix some issues
8624         if _dl_call_pltexit is called.
8625         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
8626         Choose the correct resolver function if running on a machine with vx.
8627         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
8628         to create a non-vector/vector version for _dl_runtime_resolve and
8629         _dl_runtime_profile. Move implementation to ...
8630         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
8631         (_dl_runtime_resolve) Save and restore fpr/vrs.
8632         (_dl_runtime_profile) Save and restore vrs and fix some issues
8633         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
8634         Choose the correct resolver function if running on a machine with vx.
8636 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8638         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
8640 2016-03-31  Florian Weimer  <fweimer@redhat.com>
8642         [BZ #19509]
8643         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
8644         skip_map != NULL.
8645         * elf/tst-dlsym-error.c: New file.
8646         * elf/Makefile (tests): Add tst-dlsym-error.
8647         (tst-dlsym-error): Link against libdl.
8649 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
8651         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8652         (__ASSUME_FUTIMESAT): Remove macro.
8653         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
8655 2016-03-29  Florian Weimer  <fweimer@redhat.com>
8657         [BZ #19879]
8658         CVE-2016-3075
8659         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
8660         copy name.
8662 2016-03-29  Florian Weimer  <fweimer@redhat.com>
8664         [BZ #19837]
8665         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
8666         error if parse_line fails.
8668 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
8670         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
8671         (index_cpu_ERMS): Likewise.
8672         (reg_ERMS): Likewise.
8674 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
8676         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
8677         PER_LINUX_FDPIC): Add.
8679 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
8681         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8682         memcpy-avx512-no-vzeroupper.
8683         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
8684         to ...
8685         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
8686         (MEMCPY): Don't define.
8687         (MEMCPY_CHK): Likewise.
8688         (MEMPCPY): Likewise.
8689         (MEMPCPY_CHK): Likewise.
8690         (MEMPCPY_CHK): Renamed to ...
8691         (__mempcpy_chk_avx512_no_vzeroupper): This.
8692         (MEMPCPY_CHK): Renamed to ...
8693         (__mempcpy_chk_avx512_no_vzeroupper): This.
8694         (MEMCPY_CHK): Renamed to ...
8695         (__memmove_chk_avx512_no_vzeroupper): This.
8696         (MEMCPY): Renamed to ...
8697         (__memmove_avx512_no_vzeroupper): This.
8698         (__memcpy_avx512_no_vzeroupper): New alias.
8699         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
8701 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
8703         [BZ #18858]
8704         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8705         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
8706         and mempcpy-avx512-no-vzeroupper.
8707         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
8708         New.
8709         (MEMPCPY): Likewise.
8710         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
8711         (MEMPCPY_CHK): New.
8712         (MEMPCPY): Likewise.
8713         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
8714         (MEMPCPY): Likewise.
8715         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
8716         (MEMPCPY): Likewise.
8717         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
8718         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
8719         Likewise.
8720         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
8721         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
8723 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
8724              Amit Pawar  <Amit.Pawar@amd.com>
8726         [BZ #19583]
8727         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
8728         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
8729         processors.  Set Fast_Copy_Backward for AMD Excavator
8730         processors.
8731         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
8732         New.
8733         (index_arch_Fast_Unaligned_Copy): Likewise.
8734         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
8735         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
8737 2016-03-25  Florian Weimer  <fweimer@redhat.com>
8739         [BZ #19791]
8740         * resolv/res_send.c (close_and_return_error): New function.
8741         (send_dg): Initialize *resplen2 after reopen failure.  Call
8742         close_and_return_error for error returns.  On error paths without
8743         __res_iclose, initialze *resplen2 explicitly.  Update comment for
8744         successful return.
8746 2016-03-25  Florian Weimer  <fweimer@redhat.com>
8748         [BZ# 19860]
8749         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
8750         zero if the compiler does not provide the AVX512F bit.
8752 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
8754         [BZ #19848]
8755         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
8756         from 8 to 4.
8757         (__ieee754_powl): Compare integer exponent against 4 not 8.
8758         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
8759         from 8 to 4.
8760         (__ieee754_powl): Compare integer exponent against 4 not 8.
8761         * math/auto-libm-test-in: Add more tests of pow.
8762         * math/auto-libm-test-out: Regenerated.
8763         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
8764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8766 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
8768         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
8769         Make code unconditional.
8770         [!__NR_utimensat]: Remove conditional code.
8771         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
8772         Make code unconditional.
8773         [!__NR_utimensat]: Remove conditional code.
8774         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
8775         Make code unconditional.
8776         [!__NR_utimensat]: Remove conditional code.
8778 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
8780         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
8781         Make code unconditional.
8783 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
8785         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
8786         call-clobbered %eax on retry path.
8787         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
8789 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
8791         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
8792         Don't set %rcx twice before "rep movsb".
8794 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
8796         [BZ #19583]
8797         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
8798         inline.  Check family before setting family, model and
8799         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
8800         bits here.
8801         (init_cpu_features): Replace HAS_CPU_FEATURE and
8802         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
8803         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
8804         for Intel processors with usable AVX2.  Call get_common_indeces
8805         for other processors with family == NULL.
8806         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
8807         (CPU_FEATURES_ARCH_P): Likewise.
8808         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
8809         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
8811 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8813         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
8814         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
8815         $(shared-thread-library) instead of hardcoding the path to libpthread.
8817 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
8819         * sysdeps/unix/sysv/linux/kernel-features.h
8820         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
8821         * sysdeps/unix/sysv/linux/getdents.c
8822         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
8823         [!have_no_getdents64_defined]: Likewise.
8824         (__GETDENTS): Remove __have_no_getdents64 conditional.
8826 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
8828         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
8829         Remove macro.
8830         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
8831         <kernel-features.h>.
8832         (signalfd) [__NR_signalfd4]: Make code unconditional.
8833         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
8835 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8837         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
8838         style.
8840 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
8842         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
8843         (__pthread_enable_asynccancel): Use JUMPTARGET to call
8844         __pthread_unwind.
8845         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
8846         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
8847         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
8848         (__condvar_cleanup1): Likewise.
8850 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
8852         [BZ #19822]
8853         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
8854         move it to the final $@ location.
8856 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8858         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
8859         access where posix_spawn success and pid argument is null.
8860         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
8861         success case.
8863 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
8865         * sysdeps/mach/hurd/i386/c++-types.data: New file.
8867         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
8869         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
8870         and __fcntl.
8871         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
8872         __fcntl only.
8873         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
8874         adding attribute_hidden to __open and __fcntl.
8876         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
8877         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
8878         depend on libc-modules.h,
8879         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
8881 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
8883         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
8884         Remove macro.
8885         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
8886         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
8887         entry.
8889         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
8890         Remove macro.
8891         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
8892         include <kernel-features.h>.
8893         [!__ASSUME_FALLOCATE]: Remove conditional code.
8894         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
8896 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
8898         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
8899         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
8900         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
8901         (_ZGVdN4v_cos_avx2): Likewise.
8902         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
8903         (_ZGVdN4v_cos): Likewise.
8904         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
8905         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
8906         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
8907         (_ZGVdN4v_exp_avx2): Likewise.
8908         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
8909         (_ZGVdN4v_exp): Likewise.
8910         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
8911         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
8912         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
8913         (_ZGVdN4v_log_avx2): Likewise.
8914         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
8915         (_ZGVdN4v_log): Likewise.
8916         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
8917         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
8918         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
8919         (_ZGVdN4vv_pow_avx2): Likewise.
8920         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
8921         (_ZGVdN4vv_pow): Likewise.
8922         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
8923         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
8924         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
8925         (_ZGVdN4v_sin_avx2): Likewise.
8926         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
8927         (_ZGVdN4v_sin): Likewise.
8928         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
8929         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
8930         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
8931         (_ZGVdN4vvv_sincos_avx2): Likewise.
8932         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
8933         (_ZGVdN4vvv_sincos): Likewise.
8934         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
8935         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
8936         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
8937         (_ZGVbN4v_cosf_sse4): Likewise.
8938         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
8939         (_ZGVdN8v_cosf_avx2): Likewise.
8940         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
8941         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
8942         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
8943         (_ZGVbN4v_expf_sse4): Likewise.
8944         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
8945         (_ZGVdN8v_expf_avx2): Likewise.
8946         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
8947         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
8948         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
8949         (_ZGVbN4v_logf_sse4): Likewise.
8950         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
8951         (_ZGVdN8v_logf_avx2): Likewise.
8952         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
8953         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
8954         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
8955         (_ZGVbN4vv_powf_sse4): Likewise.
8956         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
8957         (_ZGVdN8vv_powf_avx2): Likewise.
8958         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
8959         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
8960         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
8961         (_ZGVbN4vvv_sincosf_sse4): Likewise.
8962         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
8963         (_ZGVdN8vvv_sincosf_avx2): Likewise.
8964         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
8965         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
8966         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
8967         (_ZGVbN4v_sinf_sse4): Likewise.
8968         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
8969         (_ZGVdN8v_sinf_avx2): Likewise.
8970         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
8971         Use JUMPTARGET to call callee.
8972         (WRAPPER_IMPL_SSE2_ff): Likewise.
8973         (WRAPPER_IMPL_SSE2_fFF): Likewise.
8974         (WRAPPER_IMPL_AVX): Likewise.
8975         (WRAPPER_IMPL_AVX_ff): Likewise.
8976         (WRAPPER_IMPL_AVX_fFF): Likewise.
8977         (WRAPPER_IMPL_AVX512): Likewise.
8978         (WRAPPER_IMPL_AVX512_ff): Likewise.
8979         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
8980         Likewise.
8981         (WRAPPER_IMPL_SSE2_ff): Likewise.
8982         (WRAPPER_IMPL_SSE2_fFF): Likewise.
8983         (WRAPPER_IMPL_AVX): Likewise.
8984         (WRAPPER_IMPL_AVX_ff): Likewise.
8985         (WRAPPER_IMPL_AVX_fFF): Likewise.
8986         (WRAPPER_IMPL_AVX512): Likewise.
8987         (WRAPPER_IMPL_AVX512_ff): Likewise.
8988         (WRAPPER_IMPL_AVX512_fFF): Likewise.
8990 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8992         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
8993         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
8994         qualifier.
8995         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
8996         internal_function qualifiers.
8998 2016-03-15  Carlos O'Donell <carlos@redhat.com>
9000         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
9001         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
9002         * math/atest-exp.c (exp_mpn): Mark chk unused.
9003         * math/atest-exp2.c (exp_mpn): Likwise.
9004         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
9005         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
9007 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
9009         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
9010         Remove macro.
9011         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
9012         <kernel-features.h>.
9013         [__NR_ppoll]: Make code unconditional.
9014         [!__ASSUME_PPOLL]: Remove conditional code.
9016         * sysdeps/unix/sysv/linux/kernel-features.h
9017         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
9018         (__ASSUME_ACCEPT4): Likewise.
9019         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9020         Define.
9021         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
9022         Likewise.
9023         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9024         Likewise.
9025         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
9026         Likewise.
9027         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
9028         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
9029         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9030         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
9031         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9032         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9033         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9034         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9035         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9036         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9037         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9038         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9039         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9040         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9041         * sysdeps/unix/sysv/linux/i386/kernel-features.h
9042         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9043         Likewise.
9044         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9045         Likewise.
9046         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
9047         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
9048         0x040300].
9049         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9050         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
9051         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9052         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
9053         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
9054         0x030300].
9055         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
9056         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9057         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
9058         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
9059         0x040300].
9060         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9061         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9062         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9063         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9064         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9065         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
9066         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
9067         0x030300].
9068         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9069         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9070         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9071         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9072         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9073         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9074         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9075         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9076         * sysdeps/unix/sysv/linux/s390/kernel-features.h
9077         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
9078         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
9079         0x040300].
9080         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9081         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9082         * sysdeps/unix/sysv/linux/sh/kernel-features.h
9083         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9084         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9085         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9086         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9087         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9088         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9089         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9090         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9091         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9092         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9093         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9094         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
9095         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9096         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9097         Likewise.
9098         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9099         Likewise.
9101 2016-03-15  Andreas Schwab  <schwab@suse.de>
9103         [BZ #19257]
9104         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
9105         statp->_u._ext.nscount as loop count.
9107 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
9109         * math/test-signgam-finite-c99.c: Also #undef
9110         __LIBC_INTERNAL_MATH_INLINES.
9111         * math/test-signgam-main.c: Likewise.
9113 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
9115         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
9116         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
9117         (MADV_FREE): Likewise.
9118         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
9119         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
9120         EPOLLEXCLUSIVE.
9122 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
9124         * timezone/README: Remove mention of checktab.awk. Mention wiki
9125         SharedSourceFiles.
9127 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
9129         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
9130         WUNTRACED.
9132 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9134         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
9135         order to match the type of p when calling atomic_exchange_acq().
9137 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9139         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
9140         cfi_offset calls.
9141         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
9142         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
9143         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
9144         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
9145         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
9147 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
9149         * timezone/checktab.awk: Removed.
9151 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
9153         * manual/math.texi (Errors in Math Functions): Document relaxed
9154         accuracy goals for IBM long double.
9155         * math/libm-test.inc (test_exceptions): Always allow spurious
9156         "underflow" and "inexact" exceptions for IBM long double.
9158 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
9160         [BZ #19762]
9161         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
9162         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
9163         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
9164         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
9165         (bit_arch_*): This for feature array.
9166         (bit_*): Renamed to ...
9167         (bit_cpu_*): This for cpu array.
9168         (index_*): Renamed to ...
9169         (index_arch_*): This for feature array.
9170         (index_*): Renamed to ...
9171         (index_cpu_*): This for cpu array.
9172         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
9173         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
9174         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
9175         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
9176         bit_##name with index_cpu_##name and bit_cpu_##name.
9177         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
9178         bit_##name with index_arch_##name and bit_arch_##name.
9180 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
9182         [BZ #19792]
9183         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
9184         Terminate FDE before return label.
9186 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
9188         [BZ #19790]
9189         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
9190         (rintl): Define as macro.
9191         [USE_AS_NEARBYINTL] (__rintl): Likewise.
9192         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
9193         of fesetround.  Ensure results are evaluated before end of scope.
9194         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
9195         USE_AS_NEARBYINTL and include s_rintl.c.
9196         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
9197         Disable exception traps in new environment.
9198         (libc_feholdsetround_ppc_ctx): Likewise.
9200 2016-03-08  Roland McGrath  <roland@hack.frob.com>
9202         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
9203         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
9204         (tst_audit10_aux) [__AVX512F__]: ... here.
9206 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
9208         * include/sys/auxv.h: New file.
9210 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
9212         [BZ #19759]
9213         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
9215 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9217         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
9218         operand modifier.
9219         (feclearexcept): Likewise.
9221 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9223         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
9224         to reflect the entire 32-bit HWCAP.
9225         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
9226         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
9228 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
9230         [BZ #19783]
9231         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
9232         $(test-via-rtld-prefix).
9233         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
9235 2016-03-08  Florian Weimer  <fweimer@redhat.com>
9237         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
9238         union wait.  Report any non-zero exit status as error.
9240 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9242         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
9243         configured with --enable-hardcoded-path-in-tests.
9245 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
9247         [BZ #19677]
9248         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
9249         (__ieee754_remainderl): Put zero low parts in canonical form.
9250         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
9251         file.  Based on
9252         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
9253         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
9254         with wrapper round test-fmodrem-ldbl-128ibm.c.
9255         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
9256         file.
9257         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
9258         Likewise.
9259         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
9260         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
9262 2016-03-07  Florian Weimer  <fweimer@redhat.com>
9264         [BZ #19610]
9265         * elf/ldconfig.c (opt_link): Update comment.
9266         (options): Update help string for option -X.
9267         (search_dir): Unlink stale symbolic link only if updating symbolic
9268         links.
9269         * elf/tst-ldconfig-X.sh: New file.
9270         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
9271         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
9273 2016-03-07  Andreas Schwab  <schwab@suse.de>
9275         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
9276         needed arguments.
9278 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
9280         [BZ #15333]
9281         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
9282         to lstat64.
9284 2016-03-07  Florian Weimer  <fweimer@redhat.com>
9286         * libio/filedoalloc.c (isatty): Remove.
9287         (local_isatty): Add comment.  Call __isatty directly.
9288         (_IO_file_doallocate): Update comment.  Assume _LIBC.
9289         * libio/wfiledoalloc.c (isatty): Remove.
9290         (_IO_wfile_doallocate): Update comment.
9292 2016-03-07  Florian Weimer  <fweimer@redhat.com>
9294         [BZ #19269]
9295         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
9296         tst-audit4-aux.o.
9297         (tst-audit10): Depend on tst-audit10-aux.o.
9298         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
9299         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
9300         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
9301         instead of inline AVX code.
9302         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
9303         instead of inline AVX512 code.
9304         * sysdeps/x86_64/tst-audit4-aux.c: New file
9305         * sysdeps/x86_64/tst-audit10-aux.c: New file
9307         [BZ #19648]
9308         * test-skeleton.c (main): Do not set RLIMIT_DATA.
9310 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9312         [BZ #14750]
9313         [BZ #10354]
9314         [BZ #18433]
9315         * include/sched.h (__clone): Add hidden prototype.
9316         (__clone2): Likewise.
9317         * include/unistd.h (__dup): Likewise.
9318         * posix/Makefile (tests): Add tst-spawn2.
9319         * posix/tst-spawn2.c: New file.
9320         * sysdeps/posix/dup.c (__dup): Add hidden definition.
9321         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
9322         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
9323         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
9324         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
9325         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
9326         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
9327         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
9328         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
9329         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
9330         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
9331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
9332         Likewise.
9333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9334         Likewise.
9335         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
9336         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
9337         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
9338         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
9339         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
9340         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
9341         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
9342         * sysdeps/unix/sysv/linux/nptl-signals.h
9343         (____nptl_is_internal_signal): New function.
9344         * sysdeps/unix/sysv/linux/spawni.c: New file.
9346         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
9347         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
9348         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
9349         * posix/tst-execvp2.c (do_test): Likewise.
9350         * posix/tst-execvp3.c (do_test): Likewise.
9351         * posix/tst-execvp4.c (do_test): Likewise.
9352         * posix/tst-execvpe1.c: New file.
9353         * posix/tst-execvpe2.c: Likewise.
9354         * posix/tst-execvpe3.c: Likewise.
9355         * posix/tst-execvpe4.c: Likewise.
9356         * posix/tst-execvpe5.c: Likewise.
9357         * posix/tst-execvpe6.c: Likewise.
9359         [BZ #19534]
9360         * posix/execl.c (execl): Remove dynamic memory allocation.
9361         * posix/execle.c (execle): Likewise.
9362         * posix/execlp.c (execlp): Likewise.
9364 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
9366         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
9367         Replace .text with .text.avx512.
9368         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
9369         Likewise.
9371 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
9373         * sysdeps/generic/libnsl.abilist: New file.
9374         * sysdeps/generic/libutil.abilist: New file.
9376 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
9378         [BZ #19762]
9379         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
9380         HAS_ARCH_FEATURE with Fast_Rep_String.
9381         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
9382         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
9383         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
9384         Likewise.
9385         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
9386         Likewise.
9387         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
9388         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
9389         Likewise.
9390         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
9391         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
9392         Likewise.
9394 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
9396         [BZ #19745]
9397         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
9398         with *%rax in call.
9400 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
9402         [BZ #19745]
9403         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
9404         with *__libc_start_main@GOTPCREL(%rip) in call.
9406 2016-03-04  Roland McGrath  <roland@hack.frob.com>
9408         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
9409         inside conditional for nonempty $(CXX).
9411         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
9412         nonempty.
9414         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
9415         to test for empty $(CXX) rather than $(CXX) of "no".
9417 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
9419         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
9421 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
9422             H.J. Lu  <hongjiu.lu@intel.com>
9424         [BZ #18880]
9425         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
9426         instead of Slow_BSF, and also check for Fast_Copy_Backward to
9427         enable __memcpy_ssse3_back.
9429 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
9431         [BZ #19758]
9432         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
9433         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
9435 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
9437         [BZ #19490]
9438         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
9439         (__fentry__): Likewise.
9441 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
9443         * gmon/Makefile (noprof): Add $(sysdep_noprof).
9444         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
9446 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
9448         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
9449         __mcount_internal directly.
9450         (C_LABEL(__fentry__)): Likewise.
9451         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
9452         directly.
9454 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
9456         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9457         (__start_context): Call __setcontext directly.
9459 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
9461         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9462         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
9463         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
9464         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
9465         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9466         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
9467         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
9468         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
9469         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9470         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
9471         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
9472         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
9473         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9474         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
9475         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
9476         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9477         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
9478         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9479         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
9480         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
9481         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
9482         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9483         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
9484         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
9485         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
9486         Remove conditional code.
9487         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9488         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
9489         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
9490         * sysdeps/unix/sysv/linux/sh/kernel-features.h
9491         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
9492         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
9493         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
9494         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9495         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
9496         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
9497         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9498         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
9500 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
9502         * NEWS (2.23): Fix typo in bug 19048 text.
9504 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
9506         [BZ #14259]
9507         * Makeconfig: Rename msgcatdir to localedir.
9508         Rename inst_msgcatdir to inst_localedir.
9509         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
9510         * config.make.in: Add localedir.
9511         * elf/Makefile ($(objpfx)sotruss): Use localedir.
9512         (ldd-rewrite): Likewise.
9513         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
9514         (install-others): Use inst_localedir.
9515         (CPPFLAGS): Use localedir.
9516         * locale/Makefile (locale-CPPFLAGS): Likewise.
9517         * po/Makefile (mo-installed): Use inst_localedir.
9519         [BZ #19575]
9520         * localedata/charmaps/GB18030: Update comments regarding PAU to
9521         non-PUA mappings.
9523 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
9525         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
9526         test for header.
9527         * sysdeps/unix/sysv/linux/configure: Regenerated.
9528         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
9529         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
9530         Remove conditional code.
9531         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
9533         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
9534         Define to 3.2.0.
9535         (arch_minimum_kernel): Likewise.
9536         * sysdeps/unix/sysv/linux/configure: Regenerated.
9537         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
9538         Define to 2.6.32.
9539         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
9540         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
9541         (arch_minimum_kernel): Define to 2.6.32.
9542         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
9543         * README: Document Linux 3.2 requirement.
9544         * manual/install.texi (Linux): Document Linux 3.2 headers
9545         requirement.
9546         * INSTALL: Regenerated.
9548 2016-02-24  Andreas Schwab  <schwab@suse.de>
9550         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
9551         if !NO_LONG_DOUBLE.
9553 2016-02-22  Roland McGrath  <roland@hack.frob.com>
9555         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
9556         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
9558 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
9560         [BZ #19512]
9561         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
9563 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
9565         * posix/tst-dir.c: Include libc-internal.h.
9567 2016-02-20  Florian Weimer  <fweimer@redhat.com>
9569         [BZ #19056]
9570         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
9571         * manual/filesys.texi (Reading/Closing Directory): Mention
9572         deprecaion.
9573         * posix/tst-dir.c (main): Disable deprecation warning in test.
9575 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
9577         [BZ #19679]
9578         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
9579         Renamed to ...
9580         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
9581         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
9582         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
9583         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
9584         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
9585         * sysdeps/x86_64/dl-trampoline.h
9586         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
9587         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
9589 2016-02-19  Mark Wielaard  <mjw@redhat.com>
9591         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
9593 2016-02-19  Mark Wielaard  <mjw@redhat.com>
9595         * elf/elf.h (R_386_GOT32X): New.
9596         (R_386_NUM): Update.
9597         (R_X86_64_GOTPCRELX: New.
9598         (R_X86_64_REX_GOTPCRELX): New.
9599         (R_X86_64_NUM): Update.
9601 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
9603         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
9605 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
9607         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
9608         assign attr->stackaddr to it, and adjust it down when
9609         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
9610         [_STACK_GROWS_UP]: Delete assert.
9611         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
9612         Implement stack grows up logic.
9613         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
9614         stack grows up logic.
9616 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9618         * NEWS: Update with 2.24 template.
9620 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
9622         [BZ #19678]
9623         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
9624         Ensure +0.0 is returned when taking the next value below the least
9625         positive value.
9627 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9629         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
9630         available.  Do not define NO_THREADS.
9631         * malloc/malloc.c: Do not check NO_THREADS.
9632         * malloc/arena.c: Likewise.
9634 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9636         * malloc/malloc.c (__libc_mallinfo): Update comment.
9637         (struct malloc_par): Remove max_total_mem member, it was always 0.
9638         (int_mallinfo): Store 0 into usmblks (no functional change).
9639         * malloc/hooks.c (struct malloc_state): Document that
9640         max_total_mem is always 0.
9641         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
9642         always 0.
9643         * manual/memory.texi (Statistics of Malloc): Likewise.
9645 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9647         * malloc/malloc.c (sysmalloc): Do not update arena_max.
9648         * malloc/arena.c (arena_max): Remove.
9649         (heap_trim, _int_new_arena): Do not update arena_max.
9651 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9653         * resolv/res_init.c (res_ninit): Update comment.
9655 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9657         [BZ #19505]
9658         * posix/spawn_int.h: Add headers and include guard.
9659         (__spawn_valid_fd): New function.
9660         * posix/spawn_faction_addopen.c
9661         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
9662         * posix/spawn_faction_addclose.c
9663         (posix_spawn_file_actions_addclose): Likewise.
9664         * posix/spawn_faction_adddup2.c
9665         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
9666         second file descriptor.
9667         * posix/spawn_valid_fd.c: New file.
9668         * posix/tst-posix_spawn-fd.c: New file.
9669         * posix/Makefile (routines): Add spawn_valid_fd.
9670         (tests): Add tst-posix_spawn-fd.
9672 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9674         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
9675         (do_test): Limit the number of arenas, so that we can use fewer
9676         outer threads.  Limit timeout to 3 seconds, in preparation for a
9677         larger TIMEOUT value.
9679 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
9681         [BZ #19674]
9682         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
9683         sign in overflowing and underflowing results when overflow or
9684         underflow is detected early.  Include sign in result before rather
9685         than after scaling.
9687         [BZ #19603]
9688         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
9689         (__ieee754_remainderl): Adjust sign of integer version of low part
9690         when taking absolute value of high part.
9691         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9692         * math/libm-test.inc (remainder_test_data): Add another test.
9693         (remquo_test_data): Likewise.
9695 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
9697         [BZ #19602]
9698         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
9699         equal high parts and both low parts zero specially.
9700         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
9701         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
9702         Add test-fmodl-ldbl-128ibm.
9704         [BZ #19595]
9705         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
9706         common logic for all cases of shifting subnormal results.  Do not
9707         insert sign bit in shifted mantissa.  Always pass -1023 as biased
9708         exponent to ldbl_insert_mantissa in subnormal case.
9710         [BZ #19594]
9711         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
9712         on high and low parts then adjust result and use
9713         ldbl_canonicalize_int if needed.
9715         [BZ #19593]
9716         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
9717         on high part and __floor or __ceil on low part then use
9718         ldbl_canonicalize_int if needed.
9720         [BZ #19592]
9721         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
9722         high and low parts then use ldbl_canonicalize_int if needed.
9724         [BZ #17899]
9725         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
9726         New function.
9727         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
9728         on high and low parts then use ldbl_canonicalize_int if needed.
9730 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9732         * configure: Regenerated.
9734         * po/libc.pot: Regenerated.
9736         * po/be.po: Updated translation.
9737         * po/bg.po: Likewise.
9738         * po/ca.po: Likewise.
9739         * po/cs.po: Likewise.
9740         * po/da.po: Likewise.
9741         * po/el.po: Likewise.
9742         * po/eo.po: Likewise.
9743         * po/es.po: Likewise.
9744         * po/fi.po: Likewise.
9745         * po/fr.po: Likewise.
9746         * po/gl.po: Likewise.
9747         * po/hr.po: Likewise.
9748         * po/hu.po: Likewise.
9749         * po/ia.po: Likewise.
9750         * po/id.po: Likewise.
9751         * po/it.po: Likewise.
9752         * po/ja.po: Likewise.
9753         * po/lt.po: Likewise.
9754         * po/nb.po: Likewise.
9755         * po/nl.po: Likewise.
9756         * po/pt_BR.po: Likewise.
9757         * po/rw.po: Likewise.
9758         * po/sk.po: Likewise.
9759         * po/sl.po: Likewise.
9760         * po/sv.po: Likewise.
9761         * po/tr.po: Likewise.
9762         * po/zh_CN.po: Likewise.
9763         * po/zh_TW.po: Likewise.
9765         * version.h (RELEAES): Set to "development".
9766         (VERSION): Set to 2.23.90.
9768         * version.h (RELEASE): Set to "stable".
9769         (VERSION): Set to 2.23.
9770         * include/feature.h (__GLIBC_MINOR__): Set to 23.
9772         * NEWS: Updated fixed bugs.
9774 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
9775             Wilco Dijkstra  <wdijkstr@arm.com>
9777         [BZ #19462]
9778         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
9779         (_STRING_INLINE_unaligned): This.
9780         * include/string.h: Include <string_private.h>.
9781         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
9782         _STRING_INLINE_unaligned.
9783         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
9784         (_STRING_INLINE_unaligned): New.
9785         * sysdeps/aarch64/string_private.h: New file.
9786         * sysdeps/generic/string_private.h: Likewise.
9787         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
9788         * sysdeps/s390/string_private.h: Likewise.
9789         * sysdeps/x86/string_private.h: Likewise.
9790         * sysdeps/m68k/m680x0/m68020/bits/string.h
9791         (_STRING_ARCH_unaligned): Renamed to ...
9792         (_STRING_INLINE_unaligned): This.
9793         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
9794         to ...
9795         (_STRING_INLINE_unaligned): This.
9796         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
9797         to ...
9798         (_STRING_INLINE_unaligned): This.
9799         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
9800         to ...
9801         (_STRING_INLINE_unaligned): This.
9803 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
9804             H.J. Lu  <hongjiu.lu@intel.com>
9806         [BZ #19590]
9807         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
9808         relocation.
9810 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
9812         [BZ #18665]
9813         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
9814         *herrno_p.
9815         (gaih_getanswer): Document functional behviour. Return tryagain
9816         if any result is tryagain.
9817         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
9818         when freed.
9819         * resolv/res_send.c: Add copyright text.
9820         (__libc_res_nsend): Document that MAXPACKET is expected.
9821         (send_vc): Document. Remove buffer reuse.
9822         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
9823         size of the buffer. Add Dprint for truncated UDP buffer.
9825 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
9827         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
9828         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
9829         * INSTALL: Regenerate.
9831 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
9832             Jonathan Wakely  <jwakely@redhat.com>
9833             Carlos O'Donell  <carlos@redhat.com>
9835         [BZ 19439]
9836         * math/Makefile (tests): Add test-math-isinff.
9837         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
9838         * math/bits/mathcalls.h [__USE_MISC]: Use
9839         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
9840         functions not in C++11 and which don't conflict e.g. isinff,
9841         isinfl etc.
9842         * math/test-math-isinff.cc: New file.
9844 2016-02-12  Florian Weimer  <fweimer@redhat.com>
9846         * misc/bug18240.c (do_test): Set RLIMIT_AS.
9848 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9850         [BZ #19529]
9851         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
9853 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9855         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
9857 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
9859         [BZ #19550]
9860         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
9861         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
9862         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
9863         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
9864         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
9865         New syscall entry.
9866         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
9867         New syscall entry.
9868         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
9869         syscall entry.
9871 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
9873         [BZ #18240]
9874         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
9875         unsigned int wraparound.
9877 2016-01-27  Florian Weimer  <fweimer@redhat.com>
9879         [BZ #18240]
9880         * misc/bug18240.c: New test.
9881         * misc/Makefile (tests): Add it.
9883 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
9884             Joseph Myers  <joseph@codesourcery.com>
9886         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
9887         load in branch delay slot when less than a word of input left.
9889 2016-01-27  Andreas Schwab  <schwab@suse.de>
9891         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
9892         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
9893         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
9894         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
9896 2016-01-26  David S. Miller  <davem@davemloft.net>
9898         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
9900 2016-01-25  David S. Miller  <davem@davemloft.net>
9902         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
9903         __sqrtl_finite.
9904         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
9905         instead using versioned_symbol.
9906         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
9907         of entries.
9909         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
9910         __sqrtl_finite to GLIBC_2.23
9912 2016-01-25  Ricchard Henderson  <rth@redhat.com>
9914         * sysdeps/alpha/fpu/libm-test-ulps: Update.
9916 2016-01-25  Andreas Schwab  <schwab@suse.de>
9918         [BZ #17514]
9919         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
9920         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
9921         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
9922         * nptl/tst-mutex-errorcheck.c: New file.
9924 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9926         [BZ #18560]
9927         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
9928         (IPCOP_semop): Likewise.
9929         (IPCOP_semget): Likewise.
9930         (IPCOP_semctl): Likewise.
9931         (IPCOP_msgsnd): Likewise.
9932         (IPCOP_msgrcv): Likewise.
9933         (IPCOP_msgget): Likewise.
9934         (IPCOP_msgctl): Likewise.
9935         (IPCOP_shmat): Likewise.
9936         (IPCOP_shmdt): Likewise.
9937         (IPCOP_shmget): Likewise.
9938         (IPCOP_shmctl): Likewise.
9940 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
9942         * string/tst-endian.c: Include <libc-internal.h>.
9943         (do_test): Ignore tautological-compare warnings around
9944         "htobeXX (beXXtoh (i)) != i" and
9945         "htoleXX (leXXtoh (i)) != i" if-statements.
9947 2016-01-24  David S. Miller  <davem@davemloft.net>
9949         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
9950         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
9951         alias.
9952         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
9953         __sqrtl_finite.
9955         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9957 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
9959         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
9960         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
9961         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9963 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9965         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
9966         (thread_func): Use new function to simplify barrier check.
9967         (do_test): Use new function to simplify checking barrier exit
9968         code, and actually join the child thread.
9970 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9972         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
9973         semicolon.
9974         (__libc_tend): Likewise.
9975         (__libc_tabort): Likewise.
9977 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
9979         * sysdeps/nios2/libm-test-ulps: Update.
9980         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
9981         (__gtsf2): Likewise.
9982         (__unorddf2): Likewise.
9983         (__unordsf2): Likewise.
9984         (__ledf2): Likewise.
9986 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
9988         * nis/nis_table.c (__follow_path): Disable diagnostic for
9989         uninitialized variable that is a false positive for gcc 4.7.
9990         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
9992 2016-01-20  Roland McGrath  <roland@hack.frob.com>
9994         * sysdeps/nacl/lowlevellock-futex.h
9995         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
9996         Always evaluate PRIVATE argument.
9998 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
10000         [BZ #19490]
10001         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
10002         (pthread_cond_broadcast): Use ENTRY/END
10003         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
10004         (pthread_cond_signal): Likewise.
10005         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
10006         Likewise.
10007         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
10008         Likewise.
10009         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
10010         Likewise.
10012 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
10014         * sysdeps/ieee754/dbl-64/s_finite.c
10015         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
10016         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
10017         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
10018         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
10019         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
10021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
10022         (__gtsf2): Add as optional for libc.so.
10023         (__unordsf2): Likewise.
10024         (__signbit): Remove for libc.so.
10025         (__signbitl): Likewise.
10027 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
10029         * iconvdata/bug-iconv11.c (test_ibm93x):
10030         Use %zu printf format specifier for size_t argument.
10032 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
10034         * math/gen-libm-test.pl (parse_ulps): Do not reduce
10035         already-recorded ulps.
10036         * sysdeps/arm/libm-test-ulps: Regenerated.
10037         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
10038         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10039         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
10041 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
10042             Paul Pluzhnikov  <ppluzhnikov@google.com>
10044         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
10045         assembler not supporting AVX-512.
10047 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
10049         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10051 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
10053         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
10054         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10056         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10058         * sysdeps/arm/libm-test-ulps: Regenerated.
10060 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
10062         [BZ #19451]
10063         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
10065 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
10067         [BZ #19486]
10068         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
10069         * sysdeps/generic/fix-fp-int-convert-overflow.h
10070         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
10071         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
10072         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
10073         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
10074         Likewise.
10075         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
10076         Avoid conversions to long int where inexact exceptions
10077         could be raised.
10078         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
10079         Likewise.
10080         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
10081         Avoid conversions to long long int where inexact exceptions
10082         could be raised.
10083         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
10084         Likewise.
10086 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
10088         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
10089         * configure: Regenerated.
10091 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
10093         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
10095 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
10097         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
10098         outside of comment.
10100 2016-01-15  Torvald Riegel  <triegel@redhat.com>
10102         * nptl/tst-barrier1.c: Add description on first line.
10103         * nptl/tst-barrier2.c: Likewise.
10104         * nptl/tst-barrier3.c: Likewise.
10105         * nptl/tst-barrier4.c: Likewise.
10106         * nptl/tst-barrier5.c: Likewise.
10108 2016-01-15  Torvald Riegel  <triegel@redhat.com>
10110         [BZ #18868]
10111         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
10113 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
10115         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
10116         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
10117         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
10118         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
10119         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
10120         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
10121         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10122         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10123         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10124         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10125         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10127 2016-01-15  Torvald Riegel  <triegel@redhat.com>
10129         [BZ #13065]
10130         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
10131         new implementation.
10132         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
10133         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
10134         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
10135         (BARRIER_IN_THRESHOLD): New macro.
10136         * nptl/pthread_barrierattr_setpshared.c
10137         (pthread_barrierattr_setpshared): Clean up.
10138         * nptl/tst-barrier4.c: Correct comment.
10139         * nptl/tst-barrier5.c: New file.
10140         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
10141         (gen-as-const-headers): Remove lowlevelbarrier.sym.
10142         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
10143         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
10144         * nptl/lowlevelbarrier.sym: Remove.
10145         * nptl/DESIGN-barrier.txt: Remove.
10146         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
10147         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
10148         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
10149         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
10150         error.
10151         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
10152         implementation.
10154 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10156         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
10157         (do_child): Mask SIGRTMIN while thr is running.
10159 2016-01-15  Martin Sebor  <msebor@redhat.com>
10161         [BZ #19432]
10162         * iconvdata/Makefile: Add bug-iconv11.
10163         * iconvdata/bug-iconv11.c: New test.
10164         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
10165         * iconvdata/ibm933.c: Same.
10166         * iconvdata/ibm935.c: Same.
10167         * iconvdata/ibm937.c: Same.
10168         * iconvdata/ibm939.c: Same.
10170 2016-01-15  Martin Sebor  <msebor@redhat.com>
10172         [BZ #19443]
10173         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
10174         [DEBUG] (_ufc_set_bits): Declare used.
10175         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
10176         [DEBUG] (print_all): Declare used.
10177         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
10178         operands of the ternary ?: expression to target type.
10179         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
10180         calling the undeclared abort.
10181         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
10183 2016-01-15  Martin Sebor  <msebor@redhat.com>
10185         [BZ #18755]
10186         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
10187         warnings.
10188         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
10189         (__gai_create_helper_thread): Same.
10190         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
10191         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
10192         to suppress -Wmaybe-uninitialized warnings.
10194 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
10196         [BZ #19465]
10197         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
10198         inside if.
10199         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10200         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10201         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10203 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
10205         [BZ #19466]
10206         * time/tst-mktime2.c (time_t_max): Removed.
10207         (time_t_min): Likewise.
10208         (TYPE_SIGNED): New.
10209         (TYPE_MINIMUM): Likewise.
10210         (TYPE_MAXIMUM): Likewise.
10211         (TIME_T_MIN): Likewise.
10212         (TIME_T_MAX): Likewise.
10213         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
10214         and TIME_T_MIN.
10215         (do_test): Likewise.
10217 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
10219         [BZ #19467]
10220         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
10221         index_Fast_Unaligned_Load flag for Excavator family CPUs.
10223 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
10225         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
10227 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
10229         * benchtests/Makefile (PYTHON): Define.
10230         (bench-func): Use $(PYTHON) to run python scripts.
10231         ($(objpfx)bench-%.c): Likewise.
10233 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
10235         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
10236         leading slash when `file_name' is "/".
10238 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
10240         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
10241         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
10242         Likewise.
10243         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
10244         Likewise.
10245         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
10246         Likewise.
10247         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
10248         enum constant and macro.
10249         (PTRACE_SETSIGMASK): Likewise.
10250         (PTRACE_SECCOMP_GET_FILTER): Likewise.
10251         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
10252         (PTRACE_GETSIGMASK): Likewise.
10253         (PTRACE_SETSIGMASK): Likewise.
10254         (PTRACE_SECCOMP_GET_FILTER): Likewise.
10255         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
10256         Likewise.
10257         (PTRACE_SETSIGMASK): Likewise.
10258         (PTRACE_SECCOMP_GET_FILTER): Likewise.
10259         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
10260         (PTRACE_GETSIGMASK): Likewise.
10261         (PTRACE_SETSIGMASK): Likewise.
10262         (PTRACE_SECCOMP_GET_FILTER): Likewise.
10263         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
10264         Likewise.
10265         (PTRACE_SETSIGMASK): Likewise.
10266         (PTRACE_SECCOMP_GET_FILTER): Likewise.
10267         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
10268         Likewise.
10269         (PTRACE_SETSIGMASK): Likewise.
10270         (PTRACE_SECCOMP_GET_FILTER): Likewise.
10271         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
10272         Likewise.
10273         (PTRACE_SETSIGMASK): Likewise.
10274         (PTRACE_SECCOMP_GET_FILTER): Likewise.
10276 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
10277             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10279         [BZ #19439]
10280         * math/bits/mathcalls.h
10281         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
10282         prototype.
10283         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
10285 2016-01-11  Andreas Schwab  <schwab@suse.de>
10287         [BZ #19253]
10288         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
10289         cache when TZDEFRULES was used.
10290         * time/tst-tzname.c: New file.
10291         * time/Makefile (test): Add tst-tzname.
10292         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
10293         * timezone/Makefile (test-zones): Add $(posixrules-file).
10294         ($(testdata)/$(posixrules-file)): New rule.
10296 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
10298         Fix doc quoting problems with Texinfo 5
10299         Without this change, in the info file output, Texinfo 5 quotes code
10300         in text with undirected single quotes 'like this' and generates
10301         code examples that with many PDF readers cannot be cut out of PDFs
10302         and pasted into code.
10303         * manual/libc.texinfo: Configure the libc manual like the GNU
10304         Emacs manual, by using @documentencoding and setting
10305         txicodequoteundirected and txicodequotebacktick.  This way,
10306         Texinfo 5 quotes code in text with directed single quotes ‘like
10307         this’ and produces examples that can be cut out of PDFs.  This
10308         change causes Texinfo 5 to generate info files that contain UTF-8
10309         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
10310         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
10312 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10314         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
10315         __libc_tabort, __libc_tend): New wrappers that enforce compiler
10316         barriers to their respective compiler built-ins.
10317         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
10318         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
10319         * sysdeps/powerpc/sysdep.h: Likewise.
10320         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
10321         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
10322         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
10324 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
10326         * scripts/config.guess: Revert previous shebang change.
10327         * scripts/config.sub: Likewise.
10328         * scripts/mkinstalldirs: Likewise.
10330 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10332         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
10333         PPC_FEATURE2_HAS_IEEE128.
10334         * sysdeps/powerpc/dl-procinfo.c:
10335         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
10337 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
10339         [BZ #19415]
10340         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
10341         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
10342         (_dl_lookup_address): Rewrite using function resolver trampoline.
10343         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
10344         two bits in address.
10346 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
10348         * longlong.h: Change !__SHMEDIA__ to
10349         (!defined (__SHMEDIA__) || !__SHMEDIA__).
10350         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
10352 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
10353             Joseph Myers  <joseph@codesourcery.com>
10354             Mark Shinwell  <shinwell@codesourcery.com>
10355             Andrew Stubbs  <ams@codesourcery.com>
10356             Rich Felker <dalias@libc.org>
10358         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
10360 2016-01-07  Richard Henderson  <rth@redhat.com>
10362         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
10364 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
10366         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
10367         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
10368         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10369         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
10370         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
10372 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
10373             Joseph Myers  <joseph@codesourcery.com>
10375         * timezone/private.h: Update from tzcode 2015g.
10376         * timezone/tzfile.h: Likewise.
10377         * timezone/tzselect.ksh: Likewise.
10378         * timezone/zdump.c: Likewise.
10379         * timezone/zic.c: Likewise.
10380         * timezone/ialloc.c: Remove file.
10381         * timezone/scheck.c: Likewise.
10382         * timezone/Makefile (extra-objs): Remove variable.
10383         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
10384         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
10385         -Wno-maybe-uninitialized.
10386         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
10387         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
10388         (CFLAGS-ialloc.c): Remove variable.
10389         (CFLAGS-scheck.c): Likewise.
10390         * timezone/README: Update list of files from tzcode.
10392 2016-01-07  Khem Raj  <raj.khem@gmail.com>
10394         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
10395         instead of __fxprintf when _LIBC is undefined.
10397 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
10399         * catgets/test-gencat.sh: Remove space after shebang.
10400         * conform/GlibcConform.pm: Likewise.
10401         * conform/check-header-lists.sh: Likewise.
10402         * conform/conformtest.pl: Likewise.
10403         * conform/linknamespace.pl: Likewise.
10404         * conform/list-header-symbols.pl: Likewise.
10405         * debug/catchsegv.sh: Likewise.
10406         * elf/genrtldtbl.awk: Likewise.
10407         * elf/tst-pathopt.sh: Likewise.
10408         * elf/tst-rtld-load-self.sh: Likewise.
10409         * grp/tst_fgetgrent.sh: Likewise.
10410         * iconvdata/gen-8bit-gap-1.sh: Likewise.
10411         * iconvdata/gen-8bit-gap.sh: Likewise.
10412         * iconvdata/gen-8bit.sh: Likewise.
10413         * iconvdata/run-iconv-test.sh: Likewise.
10414         * intl/tst-gettext.sh: Likewise.
10415         * intl/tst-gettext2.sh: Likewise.
10416         * intl/tst-gettext4.sh: Likewise.
10417         * intl/tst-gettext6.sh: Likewise.
10418         * intl/tst-translit.sh: Likewise.
10419         * io/ftwtest-sh: Likewise.
10420         * libio/test-freopen.sh: Likewise.
10421         * locale/gen-translit.pl: Likewise.
10422         * malloc/tst-mtrace.sh: Likewise.
10423         * manual/check-safety.sh: Likewise.
10424         * manual/libc-texinfo.sh: Likewise.
10425         * manual/tsort.awk: Likewise.
10426         * manual/xtract-typefun.awk: Likewise.
10427         * nptl/tst-cancel-wrappers.sh: Likewise.
10428         * nptl/tst-tls6.sh: Likewise.
10429         * posix/globtest.sh: Likewise.
10430         * posix/tst-getconf.sh: Likewise.
10431         * posix/wordexp-tst.sh: Likewise.
10432         * scripts/check-c++-types.sh: Likewise.
10433         * scripts/check-local-headers.sh: Likewise.
10434         * scripts/config.guess: Likewise.
10435         * scripts/config.sub: Likewise.
10436         * scripts/cpp: Likewise.
10437         * scripts/cross-test-ssh.sh: Likewise.
10438         * scripts/documented.sh: Likewise.
10439         * scripts/evaluate-test.sh: Likewise.
10440         * scripts/gen-libc-abis: Likewise.
10441         * scripts/gen-sorted.awk: Likewise.
10442         * scripts/list-fixed-bugs.py: Likewise.
10443         * scripts/merge-test-results.sh: Likewise.
10444         * scripts/mkinstalldirs: Likewise.
10445         * scripts/rellns-sh: Likewise.
10446         * scripts/test-installation.pl: Likewise.
10447         * scripts/update-copyrights: Likewise.
10448         * stdio-common/tst-printf.sh: Likewise.
10449         * stdio-common/tst-unbputc.sh: Likewise.
10450         * stdlib/tst-fmtmsg.sh: Likewise.
10451         * stdlib/tst-setcontext3.sh: Likewise.
10452         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
10453         * sysdeps/unix/make-syscalls.sh: Likewise.
10455 2016-01-06  John David Anglin  <dave.anglin@bell.net>
10457         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
10458         asm stw with atomic_exchange_rel.  Add explanatory comment.
10459         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
10460         Likewise.
10462 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
10464         [BZ #19122]
10465         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
10466         * sysdeps/generic/dl-unistd.h: New file.
10467         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
10469 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
10471          [BZ #19122]
10472          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
10473          * sysdeps/generic/dl-mman.h: New file.
10474          * sysdeps/mach/hurd/dl-mman.h: Likewise.
10476 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
10478         * manual/texinfo.tex: Update to version 2016-01-04.21 with
10479         trailing whitespace removed.
10480         * scripts/config.guess: Update to version 2016-01-01.
10481         * scripts/config.sub: Update to version 2016-01-01.
10482         * scripts/move-if-change: Update from gnulib.
10484 2016-01-04  Anton Blanchard  <anton@samba.org>
10486         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
10487         for array indices.
10488         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
10490 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
10492         * NEWS: Update copyright dates.
10493         * catgets/gencat.c (print_version): Likewise.
10494         * csu/version.c (banner): Likewise.
10495         * debug/catchsegv.sh: Likewise.
10496         * debug/pcprofiledump.c (print_version): Likewise.
10497         * debug/xtrace.sh (do_version): Likewise.
10498         * elf/ldconfig.c (print_version): Likewise.
10499         * elf/ldd.bash.in: Likewise.
10500         * elf/pldd.c (print_version): Likewise.
10501         * elf/sotruss.sh: Likewise.
10502         * elf/sprof.c (print_version): Likewise.
10503         * iconv/iconv_prog.c (print_version): Likewise.
10504         * iconv/iconvconfig.c (print_version): Likewise.
10505         * locale/programs/locale.c (print_version): Likewise.
10506         * locale/programs/localedef.c (print_version): Likewise.
10507         * login/programs/pt_chown.c (print_version): Likewise.
10508         * malloc/memusage.sh (do_version): Likewise.
10509         * malloc/memusagestat.c (print_version): Likewise.
10510         * malloc/mtrace.pl: Likewise.
10511         * manual/libc.texinfo: Likewise.
10512         * nptl/version.c (banner): Likewise.
10513         * nscd/nscd.c (print_version): Likewise.
10514         * nss/getent.c (print_version): Likewise.
10515         * nss/makedb.c (print_version): Likewise.
10516         * posix/getconf.c (main): Likewise.
10517         * scripts/test-installation.pl: Likewise.
10518         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
10520         * All files with FSF copyright notices: Update copyright dates
10521         using scripts/update-copyrights.
10522         * intl/plural.c: Regenerated.
10523         * locale/programs/charmap-kw.h: Likewise.
10524         * locale/programs/locfile-kw.h: Likewise.
10526 2016-01-02  Helge Deller  <deller@gmx.de>
10528         [BZ #19285]
10529         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
10530         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
10531         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
10532         (MADV_xxK_PAGES): Remove.
10534 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
10536         [BZ #15421]
10537         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
10538         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
10539         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
10540         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
10542 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
10544         [BZ #19408]
10545         * sysdeps/unix/sysv/linux/personality.c: New file.
10546         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
10547         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
10548         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
10549         (sysdep_routines): Add personality.
10550         (tests): Add tst-personality.
10551         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
10552         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
10553         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
10554         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
10555         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
10556         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
10557         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
10558         Likewise.
10559         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
10560         Likewise.
10561         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
10562         Likewise.
10563         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
10564         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
10565         Likewise.
10567 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
10569         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
10570         (PATH_ARM_SYSTYPE): Remove.
10571         (PATH_CPUINFO): Likewise.
10572         (IO_BASE_FOOTBRIDGE): Likewise.
10573         (IO_SHIFT_FOOTBRIDGE): Likewise.
10574         (struct platform): Likewise.
10575         (init_iosys): Remove compatibility code for 2.4 kernels.
10576         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
10578 2015-12-29  Florian Weimer  <fweimer@redhat.com>
10580         * malloc/tst-malloc-thread-fail.c: New file.
10581         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
10582         (tst-malloc-thread-fail): Link against libpthread.
10584 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
10586         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
10587         (get_parser): New function.
10588         (main): New function.
10590 2015-12-29  Rob Wu  <rob@robwu.nl>
10592         [BZ #19369]
10593         * resolv/res_init.c (__res_vinit): Reset defdname before use.
10595 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
10597         [BZ #19270]
10598         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
10600 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
10602         [BZ #15421]
10603         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
10605 2015-12-23  Torvald Riegel  <triegel@redhat.com>
10607         [BZ #13690]
10608         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
10609         after releasing it.
10610         (__lll_robust_unlock): Likewise.
10611         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10612         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
10613         (lll_robust_unlock): Likewise.
10614         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
10615         Prevent warnings in callers.
10617 2015-12-23  Florian Weimer  <fweimer@redhat.com>
10619         * malloc/arena.c (list_lock): Update comment.
10621 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10623         * sysdeps/powerpc/hwcapinfo.c: Export symbol
10624         __parse_hwcap_and_convert_at_platform to libc.a.
10626 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10628         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
10629         platform and feature support for POWER9.
10630         * sysdeps/powerpc/dl-procinfo.h: Likewise.
10631         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
10632         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
10633         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
10634         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
10635         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
10636         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
10637         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
10639 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10641         Harmonize generic stdio-lock support with nptl
10643         This fixes build when _IO_funlockfile is a macro, fixes build where
10644         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
10645         stack unwind.
10647         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
10648         _IO_release_lock ): Use cleanup attribute on new
10649         _IO_acquire_lock_file variable instead of assuming that
10650         _IO_release_lock will be called.
10651         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
10652         _IO_acquire_lock_needs_exceptions_enabled.
10653         (_IO_acquire_lock_clear_flags2): New macro.
10655 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10657         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
10659 2015-12-21  Florian Weimer  <fweimer@redhat.com>
10661         [BZ #19182]
10662         * malloc/arena.c (list_lock): Document lock ordering requirements.
10663         (free_list_lock): New lock.
10664         (ptmalloc_lock_all): Comment on free_list_lock.
10665         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
10666         (detach_arena): Update comment.  free_list_lock is now needed.
10667         (_int_new_arena): Use free_list_lock around detach_arena call.
10668         Acquire arena lock after list_lock.  Add comment, including FIXME
10669         about incorrect synchronization.
10670         (get_free_list): Switch to free_list_lock.
10671         (reused_arena): Acquire free_list_lock around detach_arena call
10672         and attached threads counter update.  Add two FIXMEs about
10673         incorrect synchronization.
10674         (arena_thread_freeres): Switch to free_list_lock.
10675         * malloc/malloc.c (struct malloc_state): Update comments to
10676         mention free_list_lock.
10678 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
10680         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
10681         Remove functions.
10682         (sloww, sloww1): Accept argument to offset quadrant.
10683         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
10684         quadrant.
10685         (__sin, __cos): Consolidate common code into new functions.
10686         (reduce_sincos_1, do_sincos_1): New functions.
10687         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
10689         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
10690         code to new functions.
10691         (reduce_sincos_2, do_sincos_2): New functions.
10692         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
10694         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
10695         common code for sincos.
10696         (__cos) [!IN_SINCOS]: Likewise.
10697         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
10698         New function.
10699         (__sincos): Use it.
10701 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
10703         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
10704         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
10705         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10707 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
10709         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
10710         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
10711         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
10712         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
10713         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10714         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
10715         index_Prefer_No_VZEROUPPER): New feature.
10716         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
10717         Prefer_No_VZEROUPPER for Knights Landing.
10719 015-12-18  Torvald Riegel  <triegel@redhat.com>
10721         * math/atest-exp2.c (mp_exp_m1): Remove.
10723 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10725         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
10726         syscalls.
10727         (__SYSCALL0): New macro.
10728         (__SYSCALL1): Likewise.
10729         (__SYSCALL2): Likewise.
10730         (__SYSCALL3): Likewise.
10731         (__SYSCALL4): Likewise.
10732         (__SYSCALL5): Likewise.
10733         (__SYSCALL6): Likewise.
10734         (__SYSCALL_CONCAT_X): Likewise.
10735         (__SYSCALL_CONCAT): Likewise.
10736         (__SYSCALL_DIST): Likewise.
10737         (__SYSCALL_CALL): Likewise.
10739 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
10741         [BZ #19363]
10742         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
10744 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10746         [BZ #19375]
10747         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
10748         negative subnormals.
10750 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
10752         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
10753         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
10754         (INTERNAL_SYSCALL_NCS): Use it.
10755         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
10757 2015-12-16  Florian Weimer  <fweimer@redhat.com>
10759         [BZ #19243]
10760         * malloc/arena.c (get_free_list): Remove assert and adjust
10761         reference count handling.  Add comment about reused_arena
10762         interaction.
10763         (reused_arena): Add comments abount get_free_list interaction.
10764         * malloc/tst-malloc-thread-exit.c: New file.
10765         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
10766         (tst-malloc-thread-exit): Link against libpthread.
10768 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
10770         [BZ #19367]
10771         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
10772         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
10773         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
10774         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
10775         (index_Prefer_MAP_32BIT_EXEC): Likewise.
10777 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
10779         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
10780         Silvermont optimizations for Knights Landing.
10782 2015-12-15  Andreas Schwab  <schwab@suse.de>
10784         [BZ #17197]
10785         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
10786         immediately after emitting SI.
10787         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
10788         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
10789         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
10790         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
10791         * iconvdata/bug-iconv10.c: New file.
10792         * iconvdata/Makefile (tests): Add bug-iconv10.
10793         ($(objpfx)bug-iconv10.out): New rule.
10795 2015-12-15  Florian Weimer  <fweimer@redhat.com>
10797         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
10798         aliasing violation.
10800 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
10802         [BZ #18472]
10803         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
10804         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
10805         conditionals for them.
10806         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
10807         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
10808         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
10809         sys/kdaemon.h.
10810         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
10811         compat-only syscall, obsoleted in glibc 2.23.
10812         (create_module): Likewise.
10813         (get_kernel_syms): Likewise.
10814         (query_module): Likewise.
10815         (uselib): Likewise.
10816         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
10818 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
10820         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
10821         <linux/version.h>.
10822         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
10823         conditional code.
10824         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
10825         and ioshift_name initialization.
10827 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
10829         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
10830         Fix indentation.
10832 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
10834         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
10836 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
10838         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
10840 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
10841             Jakub Wilk  <jwilk@debian.org>
10843         [BZ #19347]
10844         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
10845         to change the group of the device to the tty group.
10847 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
10849         Split large string section; add truncation advice
10850         * manual/examples/strncat.c: Remove.
10851         This example was misleading, as the code would have undefined
10852         behavior if "hello" was longer than SIZE.  Anyway, the manual
10853         shouldn't encourage strncpy+strncat for this sort of thing.
10854         * manual/string.texi (Copying Strings and Arrays): Split into
10855         three sections Copying Strings and Arrays, Concatenating Strings,
10856         and Truncating Strings, as this section was way too long.  All
10857         cross-referenced changed.  Add advice about string-truncation
10858         functions.  Remove misleading strncat example.
10860 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
10862         * manual/nss.texi (NSS Modules Interface): Document
10863         NSS_STATUS_NOTFOUND and SUCCESS.
10865 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
10867         [BZ 18568]
10868         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
10869         201505L, for Unicode 8.
10871 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
10873         * locale/C-translit.h: Regenerate.
10875 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
10877         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
10878         and U+0153.
10880 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
10882         [BZ #19351]
10883         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
10884         expanding log(1+z), compare z rather than its square with epsilon
10885         to determine when to avoid evaluating the expansion.
10887         [BZ #19350]
10888         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
10889         Increase overflow threshold.
10891         [BZ #19349]
10892         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
10893         when small.
10895         * sysdeps/unix/sysv/linux/i386/kernel-features.h
10896         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
10897         New macro.
10898         [__LINUX_KERNEL_VERSION >= 0x040300]
10899         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10900         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
10901         Likewise.
10902         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
10903         Likewise.
10904         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
10905         Likewise.
10906         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
10907         Likewise.
10908         [__LINUX_KERNEL_VERSION >= 0x040300]
10909         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
10910         [__LINUX_KERNEL_VERSION >= 0x040300]
10911         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10912         [__LINUX_KERNEL_VERSION >= 0x040300]
10913         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10914         [__LINUX_KERNEL_VERSION >= 0x040300]
10915         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10916         [__LINUX_KERNEL_VERSION >= 0x040300]
10917         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10918         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
10919         Likewise.
10920         [__LINUX_KERNEL_VERSION >= 0x040300]
10921         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
10922         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10923         Likewise.
10924         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
10925         Likewise.
10926         [__LINUX_KERNEL_VERSION >= 0x040300]
10927         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
10928         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10929         Likewise.
10930         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
10931         Likewise.
10932         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10933         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
10934         Likewise.
10935         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
10936         Likewise.
10937         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
10938         Likewise.
10939         [__LINUX_KERNEL_VERSION >= 0x040300]
10940         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10941         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
10942         Likewise.
10943         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
10944         Likewise.
10945         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
10946         Likewise.
10947         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
10948         Likewise.
10949         [__LINUX_KERNEL_VERSION >= 0x040300]
10950         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
10951         [__LINUX_KERNEL_VERSION >= 0x040300]
10952         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10953         [__LINUX_KERNEL_VERSION >= 0x040300]
10954         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10955         [__LINUX_KERNEL_VERSION >= 0x040300]
10956         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10957         [__LINUX_KERNEL_VERSION >= 0x040300]
10958         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10959         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
10960         Likewise.
10961         [__LINUX_KERNEL_VERSION >= 0x040300]
10962         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
10963         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10964         Likewise.
10965         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
10966         Likewise.
10967         [__LINUX_KERNEL_VERSION >= 0x040300]
10968         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
10969         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10970         Likewise.
10971         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
10972         Likewise.
10973         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10974         (__ASSUME_SOCKET_SYSCALL): Likewise.
10975         (__ASSUME_BIND_SYSCALL): Likewise.
10976         (__ASSUME_CONNECT_SYSCALL): Likewise.
10977         (__ASSUME_LISTEN_SYSCALL): Likewise.
10978         (__ASSUME_ACCEPT_SYSCALL): Likewise.
10979         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10980         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10981         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10982         (__ASSUME_SEND_SYSCALL): Likewise.
10983         (__ASSUME_SENDTO_SYSCALL): Likewise.
10984         (__ASSUME_RECV_SYSCALL): Likewise.
10985         (__ASSUME_RECVFROM_SYSCALL): Likewise.
10986         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
10987         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10988         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10989         (__ASSUME_SENDMSG_SYSCALL): Likewise.
10990         (__ASSUME_RECVMSG_SYSCALL): Likewise.
10991         * sysdeps/unix/sysv/linux/sh/kernel-features.h
10992         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
10993         Likewise.
10994         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
10995         Likewise.
10996         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
10997         Likewise.
10998         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
10999         Likewise.
11000         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
11001         Likewise.
11002         [__LINUX_KERNEL_VERSION >= 0x020625]
11003         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
11004         [__LINUX_KERNEL_VERSION >= 0x020625]
11005         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
11006         [__LINUX_KERNEL_VERSION >= 0x020625]
11007         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
11008         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
11009         Likewise.
11010         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
11011         Likewise.
11012         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
11013         Likewise.
11014         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
11015         Likewise.
11016         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
11017         Likewise.
11018         [__LINUX_KERNEL_VERSION >= 0x020625]
11019         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
11020         [__LINUX_KERNEL_VERSION >= 0x020625]
11021         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
11022         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
11023         Likewise.
11024         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
11025         Likewise.
11027 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
11029         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
11030         record the current if the current ABI and CPU support the FP64
11031         extension.
11032         (has-modd-spreg): Define to record the current if the current ABI and
11033         CPU support 32-bit floating point values in odd FPU registers.
11034         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
11035         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
11036         $(has-modd-spreg) equals yes.
11037         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
11038         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
11039         $(has-modd-spreg) equal yes.
11041 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
11043         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
11044         basename.
11046 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
11048         * benchtests/Makefile (bench-math): Move ffs and ffsll...
11049         (bench-string): ... here.
11050         (bench): Add bench-string.
11051         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
11052         to *-benchset to reflect what they are.
11053         (benchset): Adjust.
11055         * benchtests/sincos-inputs: Add inputs from sin-inputs and
11056         cos-inputs.
11058 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
11060         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
11061         __attribute__ ((__simd__)) for vector math function declarations.
11063 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
11065         Fix typo in strncat, wcsncat manual entries
11066         * manual/string.texi (Copying and Concatenation): Fix typos in
11067         sample implementations of strncat and wcsncat, by having them use
11068         the old value of the destination length, not the new one.
11070 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
11072         [BZ #16961]
11073         [BZ #16962]
11074         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
11075         string on the stack for strtod.
11076         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
11077         a string on the stack for strtof.
11078         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
11079         constructing a string on the stack for strtold.
11080         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
11081         __strtold_nan to GLIBC_PRIVATE.
11082         * math/test-nan-overflow.c: New file.
11083         * math/test-nan-payload.c: Likewise.
11084         * math/Makefile (tests): Add test-nan-overflow and
11085         test-nan-payload.
11087 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
11089         Consistency about byte vs character in string.texi
11090         * manual/string.texi (String and Array Utilities):
11091         Distinguish more carefully among bytes, multibyte characters,
11092         and wide characters.  Use "byte" when talking about C 'char',
11093         to distinguish it more clearly from multibyte characters.
11094         Say "wide character" or "multibyte character" instead of
11095         "character", when a wide or multibyte character is intended.
11096         Similarly for "multibyte string" versus "string".
11097         Define these terms more carefully.
11099 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
11101         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
11102         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
11103         Likewise.
11104         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
11105         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
11106         * sysdeps/sh/math_private.h: New file.
11107         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
11108         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
11109         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
11110         long double function name.
11111         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11112         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11113         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
11114         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
11115         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11116         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
11117         Remove __finitel, __isinfl, and __isnanl.
11118         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
11119         Likewise.
11120         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11121         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11122         Remove __finitel.
11123         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11124         Likewise.
11125         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11127 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
11129         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
11130         installed libmvec_nonshared.a.
11132 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11134         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
11135         (sysdep_routines): Likewise.
11136         (sysdep-rtld-routines): Likewise.
11137         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
11138         [$(subdir) = nptl](tests-static): test-get_hwcap-static
11139         * sysdeps/powerpc/Versions: Added new
11140         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
11141         * sysdeps/powerpc/hwcapinfo.c: New file.
11142         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
11143         and parse hwcap, hwcap2 and platform number information.
11144         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
11145         to store HWCAP+HWCAP2 and platform number.
11146         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
11147         for HWCAP+HWCAP2 and platform number in the TCB.
11148         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
11149         the HWCAP, HWCAP2 and platform number in the TCB.
11150         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
11151         (TLS_INIT_TP): Included calls to add the hwcap and
11152         at_platform values in the TCB in TP initialization.
11153         (TLS_DEFINE_INIT_TP): Likewise.
11154         (THREAD_GET_HWCAP): New macro.
11155         (THREAD_SET_HWCAP): Likewise.
11156         (THREAD_GET_AT_PLATFORM): Likewise.
11157         (THREAD_SET_AT_PLATFORM): Likewise.
11158         * sysdeps/powerpc/powerpc32/dl-machine.h:
11159         (dl_platform_init): New function that calls
11160         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
11161         powerpc32.
11162         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
11163         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
11164         this functionality, static linking case.
11165         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
11166         linking case.
11167         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
11168         __parse_hwcap_and_convert_at_platform for the static linking case.
11169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
11170         Included the new __parse_hwcap_and_convert_at_platform symbol in the
11171         ABI list for GLIBC 2.23.
11172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
11173         Likewise.
11174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
11175         Likewise.
11177 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
11179         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
11180         * configure: Regenerate.
11181         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
11182         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
11184 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
11186         * iconvdata/ibm930.c: Add comment explaining encoding uses.
11187         * iconvdata/ibm933.c: Likewise.
11188         * iconvdata/ibm935.c: Likewise.
11189         * iconvdata/ibm937.c: Likewise.
11190         * iconvdata/ibm939.c: Likewise.
11192 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11194         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
11195         pthread_join.
11196         * nptl/tst-cancel21.c (tf): Likewise.
11198 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
11200         [BZ #19313]
11201         * bits/typesizes.h (__CPU_MASK_TYPE): New.
11202         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
11203         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
11204         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
11205         Likewise.
11206         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
11207         Likewise.
11208         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
11209         Likewise.
11210         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
11211         Likewise.
11212         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
11213         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
11214         unsigned long int with __CPU_MASK_TYPE.
11216 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11218         * sysdeps/aarch64/libm-test-ulps: Regenerated.
11220 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
11222         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
11223         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
11224         t512.x.
11225         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
11227 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
11229         [BZ #19214]
11230         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
11231         argument to return extended model.  Update family and model
11232         with extended family and model when family == 0x0f.
11233         (init_cpu_features): Updated.
11235 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11237         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
11238         signed off_t, so 32bit bigger than 2GiB values are fine actually.
11240         * sysdeps/mach/hurd/mmap64.c: New file.
11242 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
11244         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
11245         rights for its main user thread in NEWTASK.
11247 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
11249         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
11250         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
11252 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
11254         [BZ #14259]
11255         * Makeconfig: Rename localedir to complocaledir.
11256         Rename inst_localedir to inst_complocaledir.
11257         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
11258         * config.make.in: Use complocaledir and libc_cv_complocaledir.
11259         * configure.ac: Use libc_cv_complocaledir.
11260         * configure: Regenerate.
11261         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
11262         -DCOMPLOCALEDIR.
11263         * locale/findlocale.c: Use COMPLOCALEDIR.
11264         * locale/loadarchive.c: Likewise.
11265         * locale/programs/locale.c: Likewise.
11266         * locale/programs/localedef.c: Likewise.
11267         * locale/programs/locarchive.c: Likewise.
11268         * localedata/Makefile: Use inst_complocaledir.
11269         * sysdeps/gnu/configure: Regenerate.
11270         * sysdeps/hppa/configure: Regenerate.
11271         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
11272         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
11273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
11274         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
11275         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
11276         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
11277         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
11279 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
11281         [BZ #19058]
11282         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
11283         AS_NEEDED.
11284         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
11285         workaround.
11286         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
11287         libmvec-static-only-routines): Added new file.
11288         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
11290 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11292         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
11293         of interrupted RPC instead of restoring it.
11295         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
11296         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
11297         libc_hidden_def.
11298         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
11299         into initialized data instead of common. Define rtld_hidden_data_def.
11300         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
11301         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
11302         libc_hidden_def.
11303         (if_freenameindex): Add libc_hidden_weak.
11304         (if_nameindex): Add libc_hidden_weak.
11305         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
11306         __open64.
11307         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
11308         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
11309         * sysdeps/mach/nanosleep.c: Include <time.h>
11310         (__nanosleep): Rename to __libc_nanosleep.
11311         (__nanosleep): Add weak_alias.
11312         (nanosleep): Update alias.
11314 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
11316         * stdlib/strtod_nan.c: New file.
11317         * stdlib/strtod_nan_double.h: Likewise.
11318         * stdlib/strtod_nan_float.h: Likewise.
11319         * stdlib/strtod_nan_main.c: Likewise.
11320         * stdlib/strtod_nan_narrow.h: Likewise.
11321         * stdlib/strtod_nan_wide.h: Likewise.
11322         * stdlib/strtof_nan.c: Likewise.
11323         * stdlib/strtold_nan.c: Likewise.
11324         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
11325         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
11326         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
11327         * wcsmbs/wcstod_nan.c: Likewise.
11328         * wcsmbs/wcstof_nan.c: Likewise.
11329         * wcsmbs/wcstold_nan.c: Likewise.
11330         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
11331         strtold_nan.
11332         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
11333         wcstof_nan.
11334         * include/stdlib.h (__strtof_nan): Declare and use
11335         libc_hidden_proto.
11336         (__strtod_nan): Likewise.
11337         (__strtold_nan): Likewise.
11338         (__wcstof_nan): Likewise.
11339         (__wcstod_nan): Likewise.
11340         (__wcstold_nan): Likewise.
11341         * include/wchar.h (____wcstoull_l_internal): Declare.
11342         * stdlib/strtod_l.c: Do not include <ieee754.h>.
11343         (____strtoull_l_internal): Remove declaration.
11344         (STRTOF_NAN): Define macro.
11345         (SET_MANTISSA): Remove macro.
11346         (STRTOULL): Likewise.
11347         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
11348         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
11349         (STRTOF_NAN): Define macro.
11350         (SET_MANTISSA): Remove macro.
11351         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
11352         (SET_MANTISSA): Remove macro.
11353         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
11354         macro.
11355         (SET_MANTISSA): Remove macro.
11356         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
11357         macro.
11358         (SET_MANTISSA): Remove macro.
11359         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
11360         (SET_MANTISSA): Remove macro.
11361         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
11362         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
11363         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
11365         [BZ #19266]
11366         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
11367         upper case and lower case letters inside NAN(), not using TOLOWER.
11368         * stdlib/tst-strtod-nan-locale-main.c: New file.
11369         * stdlib/tst-strtod-nan-locale.c: Likewise.
11370         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
11371         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
11372         Depend on $(gen-locales).
11373         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
11374         * wcsmbs/tst-wcstod-nan-locale.c: New file.
11375         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
11376         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
11377         Depend on $(gen-locales).
11378         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
11380 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
11382         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
11384         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
11385         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
11386         __finitel, __isinfl, and __isnanl.
11387         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
11388         Likewise.
11389         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11390         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
11391         __finitel.
11392         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11393         Likewise.
11394         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11396 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
11398         * malloc/memusage.c (me): Remove redundant getenv call.
11400 2015-10-24  Florian Weimer  <fweimer@redhat.com>
11402         [BZ #19143]
11403         [BZ #19164]
11404         * nptl/check-cpuset.h: Remove.
11405         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
11406         Remove CPU set size check.
11407         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
11408         Likewise.
11409         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
11410         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
11411         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
11412         (__pthread_setaffinity_new): Remove CPU set size check.
11413         * sysdeps/unix/sysv/linux/sched_setaffinity.c
11414         (__kernel_cpumask_size): Remove.
11415         (__sched_setaffinity_new): Remove CPU set size check.
11416         * manual/threads.texi (Default Thread Attributes): Remove stale
11417         reference to check_cpuset_attr, determine_cpumask_size in comment.
11418         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
11419         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
11420         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
11421         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
11422         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
11423         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
11424         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
11425         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
11426         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
11427         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
11428         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
11429         skeleton test file.
11430         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
11431         tst-affinity-pid.
11433 2015-11-24  Florian Weimer  <fweimer@redhat.com>
11435         * scripts/update-abilist.sh: New file.
11436         * Makefile (+subdir_targets): Add subdir_update-all-abi.
11437         * Makerules (update-all-abi-%, update-all-abi)
11438         (subdir_update-all-abi): New targets.
11439         * elf/Makefile (update-all-abi): New target.
11441 2015-11-24  Florian Weimer  <fweimer@redhat.com>
11443         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
11444         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
11445         (__libc_lock_define_initialized): Use it.
11446         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
11447         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
11448         * malloc/malloc.c (main_arena): Likewise.
11449         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
11450         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
11452 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
11454         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
11455         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
11456         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
11457         (PTRACE_O_MASK): Update value.
11458         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
11459         New value in enum __ptrace_setoptions.
11460         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
11461         (PTRACE_O_MASK): Update value.
11462         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
11463         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
11464         (PTRACE_O_MASK): Update value.
11465         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
11466         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
11467         (PTRACE_O_MASK): Update value.
11468         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
11469         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
11470         (PTRACE_O_MASK): Update value.
11471         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
11472         New value in enum __ptrace_setoptions.
11473         (PTRACE_O_MASK): Update value.
11474         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
11475         New value in enum __ptrace_setoptions.
11476         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
11477         (PTRACE_O_MASK): Update value.
11479         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
11480         New macro.
11481         (PACKET_AUXDATA): Likewise.
11482         (PACKET_ORIGDEV): Likewise.
11483         (PACKET_VERSION): Likewise.
11484         (PACKET_HDRLEN): Likewise.
11485         (PACKET_RESERVE): Likewise.
11486         (PACKET_TX_RING): Likewise.
11487         (PACKET_LOSS): Likewise.
11488         (PACKET_VNET_HDR): Likewise.
11489         (PACKET_TX_TIMESTAMP): Likewise.
11490         (PACKET_TIMESTAMP): Likewise.
11491         (PACKET_FANOUT): Likewise.
11492         (PACKET_TX_HAS_OFF): Likewise.
11493         (PACKET_QDISC_BYPASS): Likewise.
11494         (PACKET_ROLLOVER_STATS): Likewise.
11495         (PACKET_FANOUT_DATA): Likewise.
11496         (PACKET_MR_UNICAST): Likewise.
11498         [BZ #19242]
11499         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
11500         (TOUPPER): Likewise.
11501         * stdlib/tst-strtol-locale-main.c: New file.
11502         * stdlib/tst-strtol-locale.c: Likewise.
11503         * stdlib/Makefile (tests): Add tst-strtol-locale.
11504         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
11505         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
11506         Depend on $(gen-locales).
11507         * wcsmbs/tst-wcstol-locale.c: New file.
11508         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
11509         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
11510         tr_TR.ISO-8859-9.
11511         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
11512         Depend on $(gen-locales).
11514 2015-11-20  Roland McGrath  <roland@hack.frob.com>
11516         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
11517         __glibc_likely instead of __builtin_expect.  After falling back to
11518         dyncode_create in a non-ET_DYN case, use the allocate_code_data
11519         system interface to register the code pages as occupied.
11521 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
11523         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
11524         [!ARM_MATH_PRIVATE_H].
11525         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
11526         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
11527         [!HPPA_MATH_PRIVATE_H].
11528         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
11529         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
11530         to [!I386_MATH_PRIVATE_H].
11531         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
11532         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
11533         Change guard to [!M68K_MATH_PRIVATE_H].
11534         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
11535         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
11536         guard to [!MICROBLAZE_MATH_PRIVATE_H].
11537         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
11538         macro.
11539         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
11540         [!MIPS_MATH_PRIVATE_H].
11541         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
11542         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
11543         [!NIO2_MATH_PRIVATE_H].
11544         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
11545         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
11546         [!TILE_MATH_PRIVATE_H].
11547         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
11549         [BZ #15421]
11550         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
11551         initialize with 0 and define as weak alias of __signgam.
11552         * include/math.h [!_ISOMAC] (__signgam): Declare.
11553         * math/Makefile (libm-calls): Add w_lgamma_compat.
11554         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
11555         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
11556         test-signgam-ullong-init.
11557         (tests-static): Add test-signgam-uchar-static,
11558         test-signgam-uchar-init-static, test-signgam-uint-static,
11559         test-signgam-uint-init-static, test-signgam-ullong-static and
11560         test-signgam-ullong-init-static.
11561         (CFLAGS-test-signgam-uchar.c): New variable.
11562         (CFLAGS-test-signgam-uchar-init.c): Likewise.
11563         (CFLAGS-test-signgam-uchar-static.c): Likewise.
11564         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
11565         (CFLAGS-test-signgam-uint.c): Likewise.
11566         (CFLAGS-test-signgam-uint-init.c): Likewise.
11567         (CFLAGS-test-signgam-uint-static.c): Likewise.
11568         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
11569         (CFLAGS-test-signgam-ullong.c): Likewise.
11570         (CFLAGS-test-signgam-ullong-init.c): Likewise.
11571         (CFLAGS-test-signgam-ullong-static.c): Likewise.
11572         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
11573         * math/Versions (libm): Add GLIBC_2.23.
11574         * math/lgamma-compat.h: New file.
11575         * math/test-signgam-main.c: Likewise.
11576         * math/test-signgam-uchar-init-static.c: Likewise.
11577         * math/test-signgam-uchar-init.c: Likewise.
11578         * math/test-signgam-uchar-static.c: Likewise.
11579         * math/test-signgam-uchar.c: Likewise.
11580         * math/test-signgam-uint-init-static.c: Likewise.
11581         * math/test-signgam-uint-init.c: Likewise.
11582         * math/test-signgam-uint-static.c: Likewise.
11583         * math/test-signgam-uint.c: Likewise.
11584         * math/test-signgam-ullong-init-static.c: Likewise.
11585         * math/test-signgam-ullong-init.c: Likewise.
11586         * math/test-signgam-ullong-static.c: Likewise.
11587         * math/test-signgam-ullong.c: Likewise.
11588         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
11589         wrapper of w_lgamma_main.c.
11590         * math/w_lgamma_compat.c: New file.
11591         * math/w_lgamma_compatf.c: Likewise.
11592         * math/w_lgamma_compatl.c: Likewise.
11593         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
11594         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
11595         defining compatibility symbols.
11596         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
11597         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
11598         wrapper of w_lgammaf_main.c.
11599         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
11600         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
11601         defining compatibility symbols.
11602         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
11603         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
11604         wrapper of w_lgammal_main.c.
11605         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
11606         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
11607         defining compatibility symbols.
11608         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
11609         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
11610         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
11611         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
11612         <lgamma-compat.h>.
11613         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
11614         (__ieee754_gamma): Define as alias.
11615         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
11616         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
11617         <lgamma-compat.h>.
11618         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
11619         (__ieee754_gammaf): Define as alias.
11620         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
11621         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
11622         <lgamma-compat.h>.
11623         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
11624         (__ieee754_gammal): Define as alias.
11625         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
11626         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
11627         <math/w_lgamma_compat.c>.
11628         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
11629         Define as alias of __lgamma_compat and use in defining lgammal.
11630         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
11631         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
11632         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
11633         (USE_AS_COMPAT): New macro.
11634         (LGAMMA_OLD_VER): Undefine and redefine.
11635         (lgammal): Do not define here.
11636         (gammal): Only define here if [GAMMA_ALIAS].
11637         * conform/linknamespace.pl (@whitelist): Remove signgam.
11638         * sysdeps/nacl/libm.abilist: Update.
11639         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11640         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11641         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11642         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11643         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11644         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11645         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11646         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11647         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11648         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11649         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11650         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11652         Likewise.
11653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11654         Likewise.
11655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11656         Likewise.
11657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11658         Likewise.
11659         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11660         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11661         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11662         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11663         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11664         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11665         Likewise.
11666         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11667         Likewise.
11668         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11669         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11670         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11672 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11674         [BZ #16364]
11675         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
11676         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
11678 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11680         * sysdeps/s390/fpu/bits/mathinline.h:
11681         Use __asm__ [__volatile__] instead of asm [volatile].
11682         * sysdeps/s390/abort-instr.h: Likewise.
11683         * sysdeps/s390/atomic-machine.h: Likewise.
11684         * sysdeps/s390/bits/string.h: Likewise.
11685         * sysdeps/s390/dl-tls.h: Likewise.
11686         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11687         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11688         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11689         * sysdeps/s390/fpu/fesetround.c: Likewise.
11690         * sysdeps/s390/fpu/fpu_control.h: Likewise.
11691         * sysdeps/s390/fpu/s_fma.c: Likewise.
11692         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
11693         * sysdeps/s390/memusage.h: Likewise.
11694         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
11695         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
11696         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
11697         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
11698         * sysdeps/s390/nptl/tls.h: Likewise.
11699         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
11700         * sysdeps/s390/s390-32/backtrace.c: Likewise.
11701         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11702         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
11703         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11704         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
11705         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
11706         * sysdeps/s390/s390-64/backtrace.c: Likewise.
11707         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11708         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
11709         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
11710         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11711         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
11712         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
11713         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11714         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11715         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
11716         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
11717         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
11718         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11719         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
11720         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11721         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
11723 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11724             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11726         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
11727         Add lwarx hint, and use macro for acquire instruction.
11728         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
11729         Likewise.
11730         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
11731         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
11732         update to use new atomic macros.
11734 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11736         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
11737         (__lll_trylock_elision): Fix setting of adapt_count.
11738         * sysdeps/unix/sysv/linux/powerpc/htm.h
11739         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
11740         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
11741         (_ABORT_SYSCALL): Renumber, and clarify definition.
11742         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
11744 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11746         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
11747         after system headers to prevent MIN/MAX redefinition.  Define
11748         HAVE_ALLOCA to preserve builtin alloca usage.
11750 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
11752         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
11753         static and don't set or restore rounding.
11754         (__cos)[IN_SINCOS]: Likewise.
11755         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
11756         (__sincos): Set and restore rounding mode.  Remove check for infinite
11757         or NaN input.
11759         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
11761         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
11762         as used.
11764 2015-11-16  Florian Weimer  <fweimer@redhat.com>
11766         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
11768 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
11770         * config.make.in (have-glob-dat-reloc): New.
11771         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
11772         target supports GLOB_DAT relocaton. AC_SUBST.
11773         * configure: Regenerated.
11774         * elf/Makefile (tests): Add tst-prelink.
11775         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
11776         (tst-prelink-ENV): New.
11777         ($(objpfx)tst-prelink-conflict.out): Likewise.
11778         ($(objpfx)tst-prelink-cmp.out): Likewise.
11779         * sysdeps/x86/tst-prelink.c: Moved to ...
11780         * elf/tst-prelink.c: Here.
11781         * sysdeps/x86/tst-prelink.exp: Moved to ...
11782         * elf/tst-prelink.exp: Here.
11783         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
11784         (tst-prelink-ENV): Removed.
11785         ($(objpfx)tst-prelink-conflict.out): Likewise.
11786         ($(objpfx)tst-prelink-cmp.out): Likewise.
11787         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
11789 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
11791         [BZ #14551]
11792         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
11793         (__mpn_construct_long_double): If high part overflows to infinity,
11794         set errno and recompute overflowed result of the correct sign.
11795         * sysdeps/ieee754/ldbl-128ibm/Makefile
11796         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
11797         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
11798         $(libm).
11799         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
11801 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
11803         [BZ #15479]
11804         [BZ #19238]
11805         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
11806         floating-point state after first operation on input.  Restore full
11807         state rather than just rounding mode.
11808         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
11809         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
11810         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
11812         [BZ #19235]
11813         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
11814         add 0.5 to integer arguments.
11815         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
11816         Likewise.
11817         (.LC2): New object.
11819 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
11821         * scripts/pylintrc (reports): Set to no.
11823 2015-11-10  Roland McGrath  <roland@hack.frob.com>
11825         * elf/dl-load.c (open_verify): Take new argument FD.
11826         Skip __open call if passed FD is not -1.
11827         (_dl_map_object, open_path): Update callers.
11828         * elf/dl-sysdep-open.h: New file.
11829         * elf/dl-load.c: Include it.
11830         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
11831         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
11832         * sysdeps/nacl/dl-sysdep-open.h: New file.
11833         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
11834         from libc to rtld.
11836 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
11838         [BZ #19228]
11839         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
11840         and restore full floating-point state.
11841         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
11842         Likewise.
11843         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
11844         Likewise.
11845         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
11846         Likewise.
11847         * math/test-nearbyint-except-2.c: New file.
11848         * math/Makefile (tests): Add test-nearbyint-except-2.
11850 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
11852         [BZ #19178]
11853         * sysdeps/x86/Makefile (tests): Add tst-prelink.
11854         (tst-prelink-ENV): New.
11855         ($(objpfx)tst-prelink-conflict.out): Likewise.
11856         ($(objpfx)tst-prelink-cmp.out): Likewise.
11857         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
11858         * sysdeps/x86/tst-prelink.c: New file.
11859         * sysdeps/x86/tst-prelink.exp: Likewise.
11861 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
11863         * math/auto-libm-test-in: Add another test of pow.
11864         * math/auto-libm-test-out: Regenerated.
11865         * math/libm-test.inc (pow_test_data): Add another test.
11867 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11869         [BZ #19219]
11870         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
11871         weak_alias to nearbyintl.
11873 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
11875         * sysdeps/aarch64/bits/string.h: New file.
11876         (_STRING_ARCH_unaligned): Define.
11878 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
11880         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
11881         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
11882         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
11883         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
11884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
11886 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
11888         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
11889         for original name of the DSO.  Add it to the name list of the DSO
11890         if it is actually given.
11891         (_dl_map_object): Keep track of whether an audit module rewrote
11892         the file name.  If yes, pass the original name to
11893         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
11894         debugging is enabled, log the change of the file name.
11895         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
11896         _dl_map_object_from_fd.
11897         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
11898         * elf/tst-audit11.c: New file
11899         * elf/tst-auditmod11.c: New file.
11900         * elf/tst-audit11mod1.c: New file.
11901         * elf/tst-audit11mod2.c: New file.
11902         * elf/tst-audit11mod2.map: New file.
11903         * elf/tst-audit12.c: New file
11904         * elf/tst-auditmod12.c: New file.
11905         * elf/tst-audit12mod1.c: New file.
11906         * elf/tst-audit12mod2.c: New file.
11907         * elf/tst-audit12mod2.map: New file.
11908         * elf/tst-audit12mod3.c: New file.
11910 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
11912         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
11913         Don't create weak aliases,
11914         because versioned symbols are created later.
11915         * sysdeps/s390/s390-32/setjmp.S
11916         (setjmp, _setjmp): Remove weak and rename to an unique name
11917         in SHARED case due to existing versioned symbols.
11918         * sysdeps/s390/s390-64/setjmp.S: Likewise.
11919         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
11920         (getcontext): Create weak alias only in non SHARED case.
11921         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11923 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
11925         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
11926         (__ASSUME_*_SYSCALL) Define new macros.
11927         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
11928         Remove socketcall syscalls.
11929         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
11930         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
11931         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
11932         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
11933         * sysdeps/unix/sysv/linux/send.c (__libc_send):
11934         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
11936 2015-11-09  Florian Weimer  <fweimer@redhat.com>
11938         [BZ #12926]
11939         Terminate process on invalid netlink response.
11940         * sysdeps/unix/sysv/linux/netlinkaccess.h
11941         (__netlink_assert_response): Declare.
11942         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
11943         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
11944         (sysdep_routines): Add netlink_assert_response.
11945         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
11946         __netlink_assert_response.
11947         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
11948         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
11949         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
11950         __netlink_assert_response.
11952 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
11954         [BZ #19178]
11955         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
11956         (RTYPE_CLASS_PLT): Likewise.
11957         (RTYPE_CLASS_COPY): Likewise.
11958         (RTYPE_CLASS_TLS): Likewise.
11959         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
11960         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
11961         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
11962         DL_DEBUG_PRELINK.
11964 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
11966         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
11967         calls with argument -0.5.
11968         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
11970         * configure.ac (libc_cv_z_nodelete): Remove configure test.
11971         (libc_cv_z_nodlopen): Likewise.
11972         (libc_cv_z_initfirst): Likewise.
11973         * configure: Regenerated.
11975 2015-11-06  Florian Weimer  <fweimer@redhat.com>
11977         Simplify abilist format to be line-based.
11978         * scripts/abilist.awk: Collect descriptors in the descs variable.
11979         (emit): Write descs variable and sort it
11980         externally, with sort.
11981         * sysdeps/**/*.abilist: Convert to new format.
11983 2015-11-06  Mark Wielaard  <mjw@redhat.com>
11985         [BZ #11460]
11986         * io/Makefile (routines): Add fts64.
11987         (tests): Add tst-fts and tst-fts-lfs.
11988         (CFLAGS-fts64.c): New.
11989         * io/Versions (GLIBC_2.23): New.
11990         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
11991         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
11992         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
11993         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
11994         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
11995         (FTSENT64): Likewise.
11996         (fts64_children): Likewise.
11997         (fts64_close): Likewise.
11998         (fts64_open): Likewise.
11999         (fts64_read): Likewise.
12000         (fts64_set): Likewise.
12001         * io/fts64.c: New file.
12002         * io/tst-fts.c: New test.
12003         * io/tst-fts-lfs.c: Likewise.
12004         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
12005         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
12006         fts64_set.
12007         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12008         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12009         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12010         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12011         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12012         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12013         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12014         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12015         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12016         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12017         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12018         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12019         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12021         Likewise.
12022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12023         Likewise.
12024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12026         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12027         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12028         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12029         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12030         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12031         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
12032         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
12033         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12034         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12035         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12036         * sysdeps/wordsize-64/fts.c: New file.
12037         * sysdeps/wordsize-64/fts64.c: Likewise.
12038         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
12039         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
12040         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
12041         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
12043 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
12045         * math/libm-test.inc (NON_FINITE): New macro.
12046         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
12047         * math/gen-libm-test.pl (show_exceptions): Add argument
12048         $non_finite.
12049         (parse_args): Update call to show_exceptions.
12050         * math/test-math-finite.h: New file.
12051         * math/test-math-no-finite.h: Likewise.
12052         * math/test-double-finite.c: Likewise.
12053         * math/test-float-finite.c: Likewise.
12054         * math/test-ldouble-finite.c: Likewise.
12055         * math/test-double.c: Include "test-math-no-finite.h".
12056         * math/test-float.c: Include "test-math-no-finite.h".
12057         * math/test-ldouble.c: Include "test-math-no-finite.h".
12058         * math/test-math-inline.h (TEST_FINITE): New macro.
12059         * math/test-math-vector.h (TEST_FINITE): Likewise.
12060         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
12061         (libm-tests): Add test-float-finite and test-double-finite.
12062         ($(objpfx)test-float-finite.o): New dependency on
12063         $(objpfx)libm-test.stmp.
12064         ($(objpfx)test-double-finite.o): Likewise.
12065         ($(objpfx)test-ldouble-finite.o): Likewise.
12066         (libm-test-no-inline-cflags): New variable.
12067         (libm-test-finite-cflags): Likewise.
12068         (CFLAGS-test-float-finite.c): Likewise.
12069         (CFLAGS-test-double-finite.c): Likewise.
12070         (CFLAGS-test-ldouble-finite.c): Likewise.
12071         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
12072         (CFLAGS-test-double.c): Likewise.
12073         (CFLAGS-test-ldouble.c): Likewise.
12075 2015-11-05  Roland McGrath  <roland@hack.frob.com>
12077         * io/fcntl.c (__fcntl): Add ... to prototype.
12078         * misc/ioctl.c (__ioctl): Likewise.
12079         * misc/syscall.c (syscall): Likewise.
12081 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
12083         * scripts/list-fixed-bugs.py: New file.
12085         [BZ #19213]
12086         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
12087         returned for argument 1.
12088         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
12089         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
12090         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
12091         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
12092         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
12093         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
12095         [BZ #19211]
12096         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
12097         __USE_XOPEN], not if [!__USE_ISOC99].
12098         (lgammaf): Likewise.
12099         (lgammal): Likewise.
12100         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
12101         (gammaf): Likewise.
12102         (gammal): Likewise.
12103         * math/test-signgam-finite-c11.c: New file.
12104         * math/test-signgam-finite-c99.c: Likewise.
12105         * math/test-signgam-finite.c: Likewise.
12106         * math/Makefile (tests): Add test-signgam-finite,
12107         test-signgam-finite-c99 and test-signgam-finite-c11.
12108         (CFLAGS-test-signgam-finite.c): New variable.
12109         (CFLAGS-test-signgam-finite-c99.c): Likewise.
12110         (CFLAGS-test-signgam-finite-c11.c): Likewise.
12112         [BZ #19212]
12113         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
12114         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
12115         500].
12116         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
12117         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
12118         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
12119         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
12120         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
12121         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
12122         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
12123         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
12124         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
12125         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
12127         [BZ #19209]
12128         * math/bits/math-finite.h (ldexp): Remove declaration.
12129         (ldexpf): Likewise.
12130         (ldexpl): Likewise.
12132         [BZ #19205]
12133         * math/bits/math-finite.h (acosf): Condition declaration on
12134         [__USE_ISOC99].
12135         (acosl): Likewise.
12136         (acoshf): Likewise.
12137         (acoshl): Likewise.
12138         (asinf): Likewise.
12139         (asinl): Likewise.
12140         (atan2f): Likewise.
12141         (atan2l): Likewise.
12142         (atanhf): Likewise.
12143         (atanhl): Likewise.
12144         (coshf): Likewise.
12145         (coshl): Likewise.
12146         (expf): Likewise.
12147         (expl): Likewise.
12148         (fmodf): Likewise.
12149         (fmodl): Likewise.
12150         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
12151         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
12152         (j0l): Likewise.
12153         (y0f): Likewise.
12154         (y0l): Likewise.
12155         (j1f): Likewise.
12156         (j1l): Likewise.
12157         (y1f): Likewise.
12158         (y1l): Likewise.
12159         (jnf): Likewise.
12160         (jnl): Likewise.
12161         (ynf): Likewise.
12162         (ynl): Likewise.
12163         (lgammaf_r): Condition declaration on [__USE_ISOC99].
12164         (lgammal_r): Likewise.
12165         (__lgamma_r_finite): New declaration.
12166         (__lgammaf_r_finite): Likewise.
12167         (__lgammal_r_finite): Likewise.
12168         (lgamma): Use __lgamma_r_finite.
12169         (lgammaf): Condition definition on [__USE_ISOC99].  Use
12170         __lgammaf_r_finite.
12171         (lgammal): Condition definition on [__USE_ISOC99].  Use
12172         __lgammal_r_finite.
12173         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
12174         __lgamma_r_finite.
12175         (gammaf): Condition definition on [__USE_ISOC99].  Use
12176         __lgammaf_r_finite.
12177         (gammal): Condition definition on [__USE_ISOC99].  Use
12178         __lgammal_r_finite.
12179         (logf): Condition declaration on [__USE_ISOC99].
12180         (logl): Likewise.
12181         (log10f): Likewise.
12182         (log10l): Likewise.
12183         (ldexpf): Likewise.
12184         (ldexpl): Likewise.
12185         (powf): Likewise.
12186         (powl): Likewise.
12187         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
12188         __USE_ISOC99].
12189         (remainderf): Condition declaration on [__USE_ISOC99].
12190         (remainderl): Likewise.
12191         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
12192         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
12193         (scalbl): Likewise.
12194         (sinhf): Condition declaration on [__USE_ISOC99].
12195         (sinhl): Likewise.
12196         (sqrtf): Likewise.
12197         (sqrtl): Likewise.
12199 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
12201         * sysdeps/arm/atomic-machine.h
12202         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
12203         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
12204         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
12205         Remove conditional code.
12206         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
12207         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
12208         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
12209         Change conditional to [__ASSEMBLER__].
12210         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
12211         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
12212         [!__ASSEMBLER__].
12213         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
12214         code.
12215         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
12216         conditional macro definitions.
12217         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
12218         (__arch_compare_and_exchange_val_16_acq): Likewise.
12219         (__arch_compare_and_exchange_val_32_acq): Likewise.
12220         (atomic_exchange_and_add): Likewise.
12221         (atomic_add): Likewise.
12222         (atomic_add_negative): Likewise.
12223         (atomic_add_zero): Likewise.
12224         (atomic_bit_set): Likewise.
12225         (atomic_bit_test_set): Likewise.
12226         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
12227         code unconditional.
12228         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12230         * math/test-math-errno.h: New file.
12231         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
12232         empty.
12233         (TEST_ERRNO): New macro.
12234         (TEST_EXCEPTIONS): Likewise.
12235         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
12236         (TEST_EXCEPTIONS): Likewise.
12237         * math/test-math-vector.h (TEST_ERRNO): Likewise.
12238         * math/test-double.c: Include "test-math-errno.h".
12239         * math/test-float.c: Likewise.
12240         * math/test-ldouble.c: Likewise.
12241         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
12242         code unconditional.
12243         (test_exceptions): Only run code if TEST_EXCEPTIONS.
12244         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
12245         unconditional.
12246         (test_errno): Only run code if TEST_ERRNO.
12247         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
12249 2015-11-04  Florian Weimer  <fweimer@redhat.com>
12251         * nptl/tst-once5.cc: Remove attribution.
12253 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
12255         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
12256         sqrt, tan, tanh, y0, y1 and yn.
12257         * math/auto-libm-test-out: Regenerated.
12258         * math/libm-test.inc (scalb_test_data): Add more tests.
12259         (scalbn_test_data): Likewise.
12260         (scalbln_test_data): Likewise.
12261         (signbit_test_data): Likewise.
12262         (sin_test_data): Likewise.
12263         (sincos_test_data): Likewise.
12264         (sinh_test_data): Likewise.
12265         (sqrt_test_data): Likewise.
12266         (tan_test_data): Likewise.
12267         (tanh_test_data): Likewise.
12268         (tgamma_test_data): Likewise.
12269         (y0_test_data): Likewise.
12270         (y1_test_data): Likewise.
12271         (yn_test_data): Likewise.
12272         (significand_test_data): Likewise.
12273         * sysdeps/i386/fpu/libm-test-ulps: Update.
12275 2015-11-03  David Kastrup  <dak@gnu.org>
12277         [BZ #18604]
12278         * assert/assert.h (assert): Don't macro-expand failed assertion
12279         expression in error message.
12280         * malloc/malloc.c (assert): Likewise.
12282 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
12284         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
12285         test.
12286         * configure: Regenerated.
12288 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
12290         * math/libm-test.inc (modf_test_data): Add more tests.
12291         (nearbyint_test_data): Likewise.
12292         (nextafter_test_data): Likewise.
12293         (nexttoward_test_data): Likewise.
12294         (pow_test_data): Likewise.
12295         (remainder_test_data): Likewise.
12296         (remquo_test_data): Likewise.
12297         (rint_test_data): Likewise.
12299         [BZ #19201]
12300         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
12301         Check for zero remainder in case of large exponents and ensure
12302         correct sign of result in that case.
12303         * math/libm-test.inc (remainder_test_data): Add more tests.
12305         [BZ #6799]
12306         * math/s_nextafter.c: Include <errno.h>.
12307         (__nextafter): Set errno on overflow and underflow.
12308         * math/s_nexttowardf.c: Include <errno.h>.
12309         (__nexttowardf): Set errno on overflow and underflow.
12310         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
12311         (__nextafterl): Set errno on overflow and underflow.
12312         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
12313         (__nexttoward): Set errno on overflow and underflow.
12314         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
12315         (__nexttowardf): Set errno on overflow and underflow.
12316         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
12317         (__nextafterf): Set errno on overflow and underflow.
12318         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
12319         (__nextafterl): Set errno on overflow and underflow.
12320         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
12321         (__nexttoward): Set errno on overflow and underflow.
12322         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
12323         (__nexttowardf): Set errno on overflow and underflow.
12324         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
12325         (__nextafterl): Set errno on overflow and underflow.
12326         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
12327         (__nexttoward): Set errno on overflow and underflow.
12328         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
12329         (__nexttowardf): Set errno on overflow and underflow.
12330         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
12331         (__nexttoward): Set errno on overflow and underflow.
12332         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
12333         (__nexttowardf): Set errno on overflow and underflow.
12334         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
12335         (__nldbl_nexttowardf): Set errno on overflow and underflow.
12336         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
12337         (__nextafterl): Set errno on overflow and underflow.
12338         * math/libm-test.inc (nextafter_test_data): Do not allow errno
12339         setting to be missing on overflow.  Add more tests.
12340         (nexttoward_test_data): Likewise.
12342         * configure.ac (libc_cv_initfini_array): Remove configure test.
12343         * configure: Regenerated.
12345 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
12347         [BZ #19189]
12348         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
12349         non-finite argument handle arguments with negative sign.
12351         * math/libm-test.inc (j0_test_data): Do not test sign of zero
12352         result from infinite argument.
12353         (j1_test_data): Likewise.
12354         (jn_test_data): Likewise.
12355         (y0_test_data): Likewise.
12356         (y1_test_data): Likewise.
12357         (yn_test_data): Likewise.
12359         [BZ #16171]
12360         * math/w_remainder.c (drem): Define as weak alias of __remainder.
12361         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
12362         * math/w_remainderf.c (dremf): Define as weak alias of
12363         __remainderf.
12364         * math/w_remainderl.c (dreml): Define as weak alias of
12365         __remainderl.
12366         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
12367         __remainder.
12368         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
12369         __remainderf.
12370         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
12371         __remainderl.
12372         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
12373         weak alias of remainderl.
12374         * sysdeps/ieee754/ldbl-opt/w_remainder.c
12375         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
12376         alias of __remainder.
12377         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
12378         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
12379         strong alias of __remainderl.
12380         (dreml): Use long_double_symbol.
12381         * math/Makefile (libm-calls): Remove w_drem.
12382         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
12383         (CFLAGS-nldbl-drem.c): Remove variable.
12384         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
12385         * math/w_drem.c: Remove file.
12386         * math/w_dremf.c: Likewise.
12387         * math/w_dreml.c: Likewise.
12388         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
12389         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
12390         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
12392         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
12393         * sysdeps/i386/configure: Regenerated.
12394         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
12395         * sysdeps/x86_64/configure: Regenerated.
12397         * configure.ac (libc_cv_asm_protected_directive): Remove configure
12398         test.
12399         (libc_cv_visibility_attribute): Likewise.
12400         (libc_cv_protected_data): Test unconditionally.
12401         (libc_cv_broken_visibility_attribute): Remove configure test.
12402         (libc_cv_have_sdata_section): Test unconditionally.
12403         * configure: Regenerated.
12405         * include/libc-internal.h (libc_max_align_t): Remove typedef.
12406         * include/scratch_buffer.h: Include <stddef.h> instead of
12407         <libc-internal.h>.
12408         (struct scratch_buffer): Use max_align_t instead of
12409         libc_max_align_t.
12411 2015-10-29  Florian Weimer  <fweimer@redhat.com>
12413         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
12414         instead of extend_alloca.  Change control flow to avoid a goto.
12415         Remove assert which is trivially always true.
12417 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
12419         [BZ #16068]
12420         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
12421         (FE_ALL_EXCEPT_X86): New macro.
12422         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
12423         FE_ALL_EXCEPT.  Ensure precision control is included in
12424         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
12425         handle "denormal operand exception" and clear FZ and DAZ bits.
12426         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
12427         (FE_ALL_EXCEPT_X86): New macro.
12428         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
12429         FE_ALL_EXCEPT.  Ensure precision control is included in
12430         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
12431         handle "denormal operand exception" and clear FZ and DAZ bits.
12432         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
12433         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
12434         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12435         test-fenv-x87 and test-fenv-sse-2.
12436         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
12438         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
12439         * math/test-double.h (BUILD_COMPLEX): New macro.
12440         * math/test-float.h (BUILD_COMPLEX): Likewise.
12441         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
12443         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
12444         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
12445         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
12446         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
12447         instead of DBL_DENORM_MIN in comment.
12448         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
12449         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
12450         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
12451         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
12452         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
12453         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
12455 2015-10-28  Florian Weimer  <fweimer@redhat.com>
12457         [BZ# 19048]
12458         * malloc/malloc.c (struct malloc_state): Update comment.  Add
12459         attached_threads member.
12460         (main_arena): Initialize attached_threads.
12461         * malloc/arena.c (list_lock): Update comment.
12462         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
12463         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
12464         (deattach_arena): New function.
12465         (_int_new_arena): Initialize arena reference count and deattach
12466         replaced arena.
12467         (get_free_list, reused_arena): Update reference count and deattach
12468         replaced arena.
12469         (arena_thread_freeres): Update arena reference count and only put
12470         unreferenced arenas on the free list.
12472 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
12474         [BZ #19181]
12475         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
12476         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
12477         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
12478         * math/test-fenv-clear-main.c: New file.
12479         * math/test-fenv-clear.c: Likewise.
12480         * math/Makefile (tests): Add test-fenv-clear.
12481         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
12482         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12483         test-fenv-clear-sse.
12484         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
12486         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
12487         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
12488         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
12490 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12492         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
12493         static libc.
12495 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
12497         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
12498         test.
12499         * sysdeps/i386/configure: Regenerated.
12500         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
12501         test.
12502         * sysdeps/x86_64/configure: Regenerated.
12503         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
12504         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12505         memset-avx2 unconditionally instead of conditionally on
12506         [$(config-cflags-avx2) = yes].
12507         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12508         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
12509         unconditional.
12510         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
12511         * sysdeps/x86_64/multiarch/memset_chk.S
12512         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
12513         to [IS_IN (libc) && SHARED].
12515 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
12517         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
12518         configure test.
12519         * sysdeps/arm/configure: Regenerated.
12520         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
12521         Define variable if not already defined.
12523         [BZ #17404]
12524         * sysdeps/mips/atomic-machine.h
12525         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
12526         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
12527         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
12529         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
12530         unconditional.
12531         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
12532         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12533         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
12534         unconditional.
12535         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12536         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
12537         unconditional.
12538         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12539         * stdlib/setenv.c
12540         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
12541         code unconditional.
12542         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
12543         Remove conditional code.
12544         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
12545         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
12546         unconditional.
12547         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
12548         code.
12549         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
12550         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
12551         unconditional.
12552         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
12553         code.
12554         * sysdeps/ieee754/ldbl-128/k_tanl.c
12555         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
12556         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12557         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
12558         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
12559         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12560         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
12561         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
12562         unconditional.
12563         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
12564         code.
12565         * sysdeps/ieee754/ldbl-96/k_tanl.c
12566         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
12567         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12569         * nptl/tst-initializers1-c11.c: New file.
12570         * nptl/tst-initializers1-gnu11.c: Likewise.
12571         * nptl/Makefile (tests): Add these new tests.
12572         (CFLAGS-tst-initializers1-c11.c): New variable.
12573         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
12575         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
12576         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
12577         instead of -std=gnu99.
12578         * configure.ac (systemtap): Test with -std=gnu11 instead of
12579         -std=gnu99.
12580         * configure: Regenerated.
12581         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
12582         in compilation command in comment.
12584         * sysdeps/nptl/configure.ac: Remove file.
12585         * sysdeps/nptl/configure: Remove generated file.
12586         * configure.ac (libc_cv_forced_unwind): Do not substitute.
12587         * configure: Regenerated.
12588         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
12589         * config.make.in (have-forced-unwind): Remove variable.
12590         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
12591         unconditional.
12592         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
12593         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
12594         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
12595         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
12596         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
12597         unconditional.
12599 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12601         [BZ #19174]
12602         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
12603         .skip_lock_out_of_tbegin_retries.
12604         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
12605         (__lll_lock_elision): Likewise, and respect a value of
12606         try_tbegin <= 0.
12608 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12610         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
12611         statement.
12613 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
12615         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
12616         variable.
12617         (test-xfail-ISO11/stdalign.h/conform): Likewise.
12618         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
12620         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
12621         of -std=c1x -D_ISOC11_SOURCE.
12623         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
12624         * configure: Regenerated.
12625         * manual/install.texi (Tools for Compilation): Document
12626         requirement for GCC 4.7 or later.
12627         * INSTALL: Regenerated.
12629 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
12631         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
12632         on CNT to a conditional jump to 'puntdata'.
12634 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
12636         * configure.ac (libc_cv_gcc___thread): Remove configure test.
12637         (libc_cv_gcc_tls_model_attr): Likewise.
12638         * configure: Regenerated.
12640         * configure.ac (libc_cv_need_minus_P): Remove configure test.
12641         * configure: Regenerated.
12642         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
12644 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
12646         * configure.ac (old_glibc_headers): Remove configure test.
12647         * configure: Regenerated.
12648         * config.make.in (old-glibc-headers): Remove variable.
12649         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
12650         (install): Remove dependency on remove-old-headers.
12651         (headers2_0): Remove variable.
12652         (remove-old-headers): Remove rule.
12654         * configure.ac (libc_cv_dot_text): Remove configure test.
12655         (libc_cv_asm_set_directive): Use .text instead of
12656         ${libc_cv_dot_text} in configure test.
12657         * configure: Regenerated.
12659 2015-10-26  Florian Weimer  <fweimer@redhat.com>
12661         [BZ #19168]
12662         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12664 2015-10-26  Florian Weimer  <fweimer@redhat.com>
12666         * configure.ac (CXX): Clear the variable if the C++ toolchain does
12667         not support static linking.
12668         * configure: Regenerate.
12670 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
12672         * math/libm-test.inc (check_float_internal): Do not special-case
12673         errors up to 0.5 ulp.
12675         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12676         log2.
12677         * math/auto-libm-test-out: Regenerated.
12678         * math/libm-test.inc (MAX_EXP): New macro.
12679         (ilogb_test_data): Add more tests.
12680         (isfinite_test_data): Likewise.
12681         (isgreater_test_data): Likewise.
12682         (isgreaterequal_test_data): Likewise.
12683         (isinf_test_data): Likewise.
12684         (isless_test_data): Likewise.
12685         (islessequal_test_data): Likewise.
12686         (islessgreater_test_data): Likewise.
12687         (isnan_test_data): Likewise.
12688         (isnormal_test_data): Likewise.
12689         (issignaling_test_data): Likewise.
12690         (isunordered_test_data): Likewise.
12691         (j0_test_data): Likewise.
12692         (j1_test_data): Likewise.
12693         (jn_test_data): Likewise.
12694         (lgamma_test_data): Likewise.
12695         (log_test_data): Likewise.
12696         (log10_test_data): Likewise.
12697         (log1p_test_data): Likewise.
12698         (log2_test_data): Likewise.
12699         (logb_test_data): Likewise.
12700         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12702         [BZ #18611]
12703         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
12704         avoid excess range and precision on underflow.
12705         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12706         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
12707         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
12708         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
12709         underflow.
12710         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12711         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12712         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12713         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12714         * math/auto-libm-test-in: Do not allow missing errno setting for
12715         tests of j1 and jn.
12716         * math/auto-libm-test-out: Regenerated.
12718 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
12720         [BZ #15491]
12721         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
12722         floating-point environment instead of clearing all exceptions.
12723         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
12724         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
12725         merging in "invalid" exceptions from frndint.
12726         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
12727         * math/test-nearbyint-except.c: New file.
12728         * math/Makefile (tests): Add test-nearbyint-except.
12730 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
12732         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
12734         * sysdeps/tile/libm-test-ulps: Regenerated.
12736 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
12739         (__NR_sync_file_range2): Assume it is always defined.
12740         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
12741         (__NR_sync_file_range): Assume it is always defined.
12743 2015-10-22  Andreas Schwab  <schwab@suse.de>
12745         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
12746         INTERNAL_SYSCALL_ERRNO.
12747         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12748         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
12749         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12750         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
12751         Likewise.
12752         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12754 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
12756         * io/tst-fcntl.c (fd): New static variable.
12757         (do_prepare): Open temporary file here....
12758         (do_test): ...not here.
12760         * io/ftwtest-sh: Also trap on exit to remove temporary files.
12762 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
12764         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
12765         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
12766         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
12767         Moved before "#ifdef __ASSEMBLER__".
12769 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
12771         [BZ #19156]
12772         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
12773         arguments very close to 0.
12775 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
12777         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
12778         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
12780 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
12782         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
12783         New.  Defined for GCC 5 and above when not compiling for
12784         profiling.
12785         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
12787         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
12788         Renamed to ...
12789         (CFLAGS-epoll_pwait.o): This.
12790         (CFLAGS-mmap.c): Renamed to ...
12791         (CFLAGS-mmap.o): This.
12792         (CFLAGS-mmap64.c): Renamed to ...
12793         (CFLAGS-mmap64.o): This.
12794         (CFLAGS-epoll_pwait.os): New.
12795         (CFLAGS-mmap.os): Likewise.
12796         (CFLAGS-mmap64.os): Likewise.
12797         (CFLAGS-semtimedop.os): Likewise.
12798         (CFLAGS-semtimedop.c): Renamed to ...
12799         (CFLAGS-semtimedop.o): This.
12801 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12803         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
12804         warning message.
12806 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
12808         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
12809         * Makefile ($(objpfx)c++-types-check.out): Filter out
12810         $(+gccwarn-c) instead of -Wstrict-prototypes.
12812         * io/fts.c (fts_open): Convert to prototype-style function
12813         definition.
12814         * malloc/mcheck.c (mcheck): Likewise.
12815         (mcheck_pedantic): Likewise.
12816         * posix/regexec.c (re_search_2_stub): Likewise.  Use
12817         internal_function.
12818         (re_search_internal): Likewise.
12819         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
12820         prototype-style function definition.
12821         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12822         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
12823         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
12824         (xdr_utmpptr): Likewise.
12825         (xdr_utmparr): Likewise.
12826         (xdr_utmpidle): Likewise.
12827         (xdr_utmpidleptr): Likewise.
12828         (xdr_utmpidlearr): Likewise.
12830         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
12831         log, log10 and log2.
12832         * math/auto-libm-test-out: Regenerated.
12833         * math/libm-test.inc (fmod_test_data): Add more tests.
12834         (fpclassify_test_data): Likewise.
12835         (frexp_test_data): Likewise.
12836         (hypot_test_data): Likewise.
12837         (ilogb_test_data): Likewise.
12839 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
12841         * debug/fortify_fail.c (__fortify_fail): Convert to
12842         prototype-style function definition.  Use internal_function.
12843         * libio/genops.c (save_for_backup): Convert to prototype-style
12844         function definition.
12845         * libio/wgenops.c (save_for_wbackup): Likewise.
12846         * login/grantpt.c (grantpt): Likewise.
12847         * login/ptsname.c (ptsname): Likewise.
12848         (__ptsname_r): Likewise.
12849         * login/unlockpt.c (unlockpt): Likewise.
12850         * mach/msgserver.c (__mach_msg_server): Likewise.
12851         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
12852         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
12853         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
12854         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
12855         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
12856         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
12857         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
12858         Likewise.
12859         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
12860         internal_function.
12861         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
12862         prototype-style function definition.
12863         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
12864         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
12865         (__pthread_create_2_0): Likewise.
12866         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
12867         * nptl/register-atfork.c (__register_atfork): Likewise.
12868         * posix/glob.c (glob): Likewise.
12869         * posix/regcomp.c (re_comp): Likewise.
12870         * posix/regexec.c (re_exec): Likewise.
12871         * stdlib/add_n.c [__STDC__]: Make code unconditional.
12872         [!__STDC__]: Remove conditional code.
12873         * stdlib/cmp.c [__STDC__]: Make code unconditional.
12874         [!__STDC__]: Remove conditional code.
12875         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
12876         [!__STDC__]: Remove conditional code.
12877         * stdlib/divrem.c [__STDC__]: Make code unconditional.
12878         [!__STDC__]: Remove conditional code.
12879         * stdlib/lshift.c [__STDC__]: Make code unconditional.
12880         [!__STDC__]: Remove conditional code.
12881         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
12882         [!__STDC__]: Remove conditional code.
12883         * stdlib/mul.c [__STDC__]: Make code unconditional.
12884         [!__STDC__]: Remove conditional code.
12885         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
12886         [!__STDC__]: Remove conditional code.
12887         * stdlib/rshift.c [__STDC__]: Make code unconditional.
12888         [!__STDC__]: Remove conditional code.
12889         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
12890         function definition.
12891         (STRTOF): Likewise.
12892         * stdlib/strtod_l.c (__STRTOF): Likewise.
12893         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
12894         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
12895         (__strtol_l): Likewise.
12896         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
12897         [!__STDC__]: Remove conditional code.
12898         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
12899         definition.
12900         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
12901         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
12902         type.
12903         (__strcasecmp): Convert to prototype-style function definition.
12904         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
12905         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
12906         type.
12907         (__strncasecmp): Convert to prototype-style function definition.
12908         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
12909         * sunrpc/xdr.c (xdr_union): Likewise.
12910         * sunrpc/xdr_array.c (xdr_array): Likewise.
12911         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
12912         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
12913         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
12914         Likewise.
12915         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
12916         Likewise.
12917         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
12918         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
12919         Likewise.
12920         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
12921         (LOCALE_PARAM_PROTO): Likewise.
12922         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
12923         argument type.
12924         (ut_argument_spec): Remove macro.
12925         (ut_argument_spec_iso): Rename to ut_argument_spec.
12926         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
12927         prototype-style function definition.
12928         (memcpy_uppcase): Likewise.
12929         (__strftime_internal): Likewise.
12930         (my_strftime): Likewise.
12931         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
12932         (LOCALE_PARAM_DECL): Likewise.
12933         [_LIBC] (LOCALE_PARAM): Include argument type.
12934         (__strptime_internal): Convert to prototype-style function
12935         definition.
12936         (strptime): Likewise.
12937         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
12938         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
12939         type.
12940         (__wcscasecmp): Convert to prototype-style function definition.
12941         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
12942         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
12943         type.
12944         (__wcsncasecmp): Convert to prototype-style function definition.
12946         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
12947         function definition.
12948         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12949         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12950         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
12951         * elf/dl-minimal.c (_itoa): Likewise.
12952         * hurd/hurdmalloc.c (malloc): Likewise.
12953         (free): Likewise.
12954         (realloc): Likewise.
12955         * inet/inet6_option.c (inet6_option_space): Likewise.
12956         (inet6_option_init): Likewise.
12957         (inet6_option_append): Likewise.
12958         (inet6_option_alloc): Likewise.
12959         (inet6_option_next): Likewise.
12960         (inet6_option_find): Likewise.
12961         * io/ftw.c (FTW_NAME): Likewise.
12962         (NFTW_NAME): Likewise.
12963         (NFTW_NEW_NAME): Likewise.
12964         (NFTW_OLD_NAME): Likewise.
12965         * libio/iofwide.c (_IO_fwide): Likewise.
12966         * libio/strops.c (_IO_str_init_static_internal): Likewise.
12967         (_IO_str_init_static): Likewise.
12968         (_IO_str_init_readonly): Likewise.
12969         (_IO_str_overflow): Likewise.
12970         (_IO_str_underflow): Likewise.
12971         (_IO_str_count): Likewise.
12972         (_IO_str_seekoff): Likewise.
12973         (_IO_str_pbackfail): Likewise.
12974         (_IO_str_finish): Likewise.
12975         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
12976         (_IO_wstr_overflow): Likewise.
12977         (_IO_wstr_underflow): Likewise.
12978         (_IO_wstr_count): Likewise.
12979         (_IO_wstr_seekoff): Likewise.
12980         (_IO_wstr_pbackfail): Likewise.
12981         (_IO_wstr_finish): Likewise.
12982         * locale/programs/localedef.c (normalize_codeset): Likewise.
12983         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
12984         (add_locales_to_archive): Likewise.
12985         (delete_locales_from_archive): Likewise.
12986         * malloc/malloc.c (__libc_mallinfo): Likewise.
12987         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
12988         * misc/tsearch.c (__tfind): Likewise.
12989         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
12990         * nptl/pthread_attr_getdetachstate.c
12991         (__pthread_attr_getdetachstate): Likewise.
12992         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
12993         Likewise.
12994         * nptl/pthread_attr_getinheritsched.c
12995         (__pthread_attr_getinheritsched): Likewise.
12996         * nptl/pthread_attr_getschedparam.c
12997         (__pthread_attr_getschedparam): Likewise.
12998         * nptl/pthread_attr_getschedpolicy.c
12999         (__pthread_attr_getschedpolicy): Likewise.
13000         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
13001         Likewise.
13002         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
13003         Likewise.
13004         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
13005         Likewise.
13006         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
13007         Likewise.
13008         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
13009         (__pthread_attr_init_2_0): Likewise.
13010         * nptl/pthread_attr_setdetachstate.c
13011         (__pthread_attr_setdetachstate): Likewise.
13012         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
13013         Likewise.
13014         * nptl/pthread_attr_setinheritsched.c
13015         (__pthread_attr_setinheritsched): Likewise.
13016         * nptl/pthread_attr_setschedparam.c
13017         (__pthread_attr_setschedparam): Likewise.
13018         * nptl/pthread_attr_setschedpolicy.c
13019         (__pthread_attr_setschedpolicy): Likewise.
13020         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
13021         Likewise.
13022         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
13023         Likewise.
13024         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
13025         Likewise.
13026         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
13027         Likewise.
13028         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
13029         Likewise.
13030         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
13031         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
13032         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
13033         use internal_function.
13034         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
13035         prototype-style function definition.
13036         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
13037         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
13038         internal_function.
13039         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
13040         Convert to prototype-style function definition.
13041         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
13042         Likewise.
13043         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
13044         Likewise.
13045         (__pthread_mutex_unlock): Likewise.
13046         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
13047         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
13048         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
13049         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
13050         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
13051         * nss/makedb.c (process_input): Likewise.
13052         * posix/fnmatch.c (__strchrnul): Likewise.
13053         (__wcschrnul): Likewise.
13054         (fnmatch): Likewise.
13055         * posix/fnmatch_loop.c (FCT): Likewise.
13056         * posix/glob.c (globfree): Likewise.
13057         (__glob_pattern_type): Likewise.
13058         (__glob_pattern_p): Likewise.
13059         * posix/regcomp.c (re_compile_pattern): Likewise.
13060         (re_set_syntax): Likewise.
13061         (re_compile_fastmap): Likewise.
13062         (regcomp): Likewise.
13063         (regerror): Likewise.
13064         (regfree): Likewise.
13065         * posix/regexec.c (regexec): Likewise.
13066         (re_match): Likewise.
13067         (re_search): Likewise.
13068         (re_match_2): Likewise.
13069         (re_search_2): Likewise.
13070         (re_search_stub): Likewise.  Use internal_function
13071         (re_copy_regs): Likewise.
13072         (re_set_registers): Convert to prototype-style function
13073         definition.
13074         (prune_impossible_nodes): Likewise.  Use internal_function.
13075         * resolv/inet_net_pton.c (inet_net_pton): Convert to
13076         prototype-style function definition.
13077         (inet_net_pton_ipv4): Likewise.
13078         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13079         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
13080         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
13081         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
13082         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
13083         Make variadic.
13084         * time/strptime_l.c (localtime_r): Convert to prototype-style
13085         function definition.
13086         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
13087         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
13088         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
13089         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
13091         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
13092         definition.
13093         (_ufc_doit_r): Likewise.
13094         * crypt/crypt_util.c (_ufc_copymem): Likewise.
13095         (_ufc_output_conversion_r): Likewise.
13096         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
13097         * inet/rcmd.c (rcmd_af): Likewise.
13098         (rcmd): Likewise.
13099         (ruserok_af): Likewise.
13100         (ruserok): Likewise.
13101         (ruserok2_sa): Likewise.
13102         (ruserok_sa): Likewise.
13103         (iruserok_af): Likewise.
13104         (iruserok): Likewise.
13105         (__ivaliduser): Likewise.
13106         (__validuser2_sa): Likewise.
13107         * inet/rexec.c (rexec_af): Likewise.
13108         (rexec): Likewise.
13109         * inet/ruserpass.c (ruserpass): Likewise.
13110         * locale/programs/xmalloc.c (xcalloc): Likewise.
13111         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
13112         * math/w_drem.c (__drem): Likewise.
13113         * math/w_dremf.c (__dremf): Likewise.
13114         * math/w_dreml.c (__dreml): Likewise.
13115         * misc/daemon.c (daemon): Likewise.
13116         * resolv/res_debug.c (p_fqnname): Likewise.
13117         * stdlib/div.c (div): Likewise.
13118         * string/memcmp.c (memcmp_bytes): Likewise.
13119         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
13120         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
13122         * crypt/cert.c (main): Convert to prototype-style function
13123         definition.
13124         * io/pipe.c (__pipe): Likewise.
13125         * io/pipe2.c (__pipe2): Likewise.
13126         * misc/futimesat.c (futimesat): Likewise.
13127         * misc/utimes.c (__utimes): Likewise.
13128         * posix/execve.c (__execve): Likewise.
13129         * posix/execvp.c (execvp): Likewise.
13130         * posix/execvpe.c (__execvpe): Likewise.
13131         * posix/fexecve.c (fexecve): Likewise.
13132         * socket/socketpair.c (socketpair): Likewise.
13133         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
13134         * stdlib/erand48.c (erand48): Likewise.
13135         * stdlib/erand48_r.c (__erand48_r): Likewise.
13136         * stdlib/jrand48.c (jrand48): Likewise.
13137         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
13138         * stdlib/lcong48.c (lcong48): Likewise.
13139         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
13140         * stdlib/nrand48.c (nrand48): Likewise.
13141         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
13142         * stdlib/seed48.c (seed48): Likewise.
13143         * stdlib/seed48_r.c (__seed48_r): Likewise.
13144         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
13145         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
13146         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
13148 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
13150         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
13151         * configure: Regenerated.
13152         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
13153         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
13154         unconditional.
13155         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
13156         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
13157         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
13158         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
13159         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
13160         unconditional.
13161         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
13163         * posix/Makefile (CFLAGS-regex.c): Remove variable.
13164         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
13166         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
13167         function definition.
13168         * crypt/crypt_util.c (__encrypt_r): Likewise.
13169         * libio/genops.c (_IO_no_init): Likewise.
13170         * libio/iofopncook.c (_IO_fopencookie): Likewise.
13171         (_IO_old_fopencookie): Likewise.
13172         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
13173         * libio/iogetline.c (_IO_getline): Likewise.
13174         (_IO_getline_info): Likewise.
13175         * libio/iogetwline.c (_IO_getwline): Likewise.
13176         (_IO_getwline_info): Likewise.
13177         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
13178         * libio/vswprintf.c (_IO_vswprintf): Likewise.
13179         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
13180         (find_entry): Likewise.
13181         (iterate_table): Likewise.
13182         (lookup): Likewise.
13183         * login/forkpty.c (forkpty): Likewise.
13184         * misc/hsearch_r.c (__hsearch_r): Likewise.
13185         * misc/select.c (__select): Likewise.
13186         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
13187         Likewise.
13188         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
13189         Likewise.
13190         * nptl/old_pthread_cond_timedwait.c
13191         (__pthread_cond_timedwait_2_0): Likewise.
13192         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
13193         * nptl/pthread_barrierattr_getpshared.c
13194         (pthread_barrierattr_getpshared): Likewise.
13195         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
13196         Likewise.
13197         * nptl/pthread_mutex_setprioceiling.c
13198         (pthread_mutex_setprioceiling): Likewise.
13199         * nptl/pthread_mutexattr_getprioceiling.c
13200         (pthread_mutexattr_getprioceiling): Likewise.
13201         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
13202         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
13203         Likewise.
13204         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
13205         Likewise.
13206         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
13207         Likewise.
13208         * socket/recvfrom.c (__recvfrom): Likewise.
13209         * socket/sendto.c (__sendto): Likewise.
13210         * socket/setsockopt.c (__setsockopt): Likewise.
13211         * stdio-common/_itoa.c (_itoa): Likewise.
13212         * stdio-common/_itowa.c (_itowa): Likewise.
13213         * stdio-common/reg-printf.c (__register_printf_specifier):
13214         Likewise.
13215         (__register_printf_function): Likewise.
13216         * stdio-common/tempname.c (__path_search): Likewise.
13217         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
13218         * stdlib/mul_1.c (mpn_mul_1): Likewise.
13219         * stdlib/random_r.c (__initstate_r): Likewise.
13220         * stdlib/setenv.c (__add_to_environ): Likewise.
13221         * stdlib/submul_1.c (mpn_submul_1): Likewise.
13222         * streams/getpmsg.c (getpmsg): Likewise.
13223         * streams/putmsg.c (putmsg): Likewise.
13224         * streams/putpmsg.c (putpmsg): Likewise.
13225         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
13226         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
13227         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
13228         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
13229         * sunrpc/pm_getport.c (pmap_getport): Likewise.
13230         * sunrpc/svc_udp.c (cache_get): Likewise.
13231         * sunrpc/xdr_array.c (xdr_vector): Likewise.
13232         * sysdeps/mach/hurd/getcwd.c
13233         (__canonicalize_directory_name_internal): Likewise.
13234         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
13235         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
13236         * sysdeps/mach/hurd/select.c (__select): Likewise.
13237         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
13238         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
13239         * sysdeps/sparc/nptl/pthread_barrier_init.c
13240         (__pthread_barrier_init): Likewise.
13241         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
13242         (__pthread_cond_timedwait): Likewise.
13243         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
13244         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
13245         Likewise.
13246         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
13247         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
13248         Likewise.
13249         * sysvipc/semtimedop.c (semtimedop): Likewise.
13250         * time/setitimer.c (__setitimer): Likewise.
13251         * time/strftime_l.c (emacs_strftime): Likewise.
13253 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
13255         * config.make.in (have-ssp): Delete.
13256         (stack-protector): New variable.
13257         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
13258         cache test for -fstack-protector-strong.  Export stack_protector to
13259         the best ssp flag.
13260         * configure: Regenerated.
13261         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
13262         * nscd/Makefile (CFLAGS-nscd): Likewise.
13263         * resolv/Makefile (CFLAGS-libresolv): Likewise.
13265 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
13267         [BZ #19122]
13268         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
13269         attribute_hidden.
13271 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13273         [BZ #18743]
13274         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
13275         code to...
13276         (ELIDE_LOCK): ...here.
13277         (__get_new_count): New function with part of the code from
13278         __elide_lock that updates the value of adapt_count after a
13279         transaction abort.
13280         (__elided_trylock): Moved this code to...
13281         (ELIDE_TRYLOCK): ...here.
13283 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
13285         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
13286         * configure: Regenerate.
13287         * INSTALL: Regenerate.
13288         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
13289         and tweak grammar.
13291 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
13293         * login/programs/pt_chown.c: Include signal.h
13294         (main): Clear any signal mask from the parent process.
13296 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
13298         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
13299         * configure: Regenerated.
13300         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
13301         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
13302         $(gnu89-inline-CFLAGS).
13304         * configure.ac (libc_cv_asm_weak_directive): Remove configure
13305         test.
13306         (libc_cv_asm_weakext_directive): Likewise.
13307         * configure: Regenerated.
13308         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
13309         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
13310         * include/libc-symbols.h
13311         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
13312         #error.
13313         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
13314         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
13316         * sysdeps/arm/backtrace.c (__backtrace): Convert to
13317         prototype-style function definition.
13318         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
13319         * sysdeps/i386/ffs.c (__ffs): Likewise.
13320         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
13321         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
13322         Likewise.
13323         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
13324         Likewise.
13325         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
13326         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
13327         Likewise.
13328         * sysdeps/m68k/ffs.c (__ffs): Likewise.
13329         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
13330         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
13331         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
13332         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
13333         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
13334         * sysdeps/mach/hurd/access.c (__access): Likewise.
13335         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
13336         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
13337         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
13338         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
13339         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
13340         (cthread_getspecific): Likewise.
13341         (cthread_setspecific): Likewise.
13342         (__libc_getspecific): Likewise.
13343         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
13344         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
13345         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
13346         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
13347         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
13348         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
13349         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
13350         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
13351         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
13352         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
13353         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
13354         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
13355         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
13356         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
13357         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
13358         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
13359         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
13360         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
13361         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
13362         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
13363         * sysdeps/mach/hurd/link.c (__link): Likewise.
13364         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
13365         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
13366         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
13367         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
13368         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
13369         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
13370         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
13371         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
13372         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
13373         * sysdeps/mach/hurd/rename.c (rename): Likewise.
13374         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
13375         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
13376         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
13377         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
13378         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
13379         * sysdeps/mach/hurd/send.c (__send): Likewise.
13380         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
13381         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
13382         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
13383         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
13384         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
13385         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
13386         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
13387         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
13388         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
13389         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
13390         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
13391         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
13392         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
13393         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
13394         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
13395         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
13396         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
13397         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
13398         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
13399         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
13400         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
13401         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
13402         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
13403         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
13404         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
13405         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
13406         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
13407         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
13408         * sysdeps/posix/alarm.c (alarm): Likewise.
13409         * sysdeps/posix/cuserid.c (cuserid): Likewise.
13410         * sysdeps/posix/dirfd.c (dirfd): Likewise.
13411         * sysdeps/posix/dup.c (__dup): Likewise.
13412         * sysdeps/posix/dup2.c (__dup2): Likewise.
13413         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
13414         (main): Likewise.
13415         * sysdeps/posix/flock.c (__flock): Likewise.
13416         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
13417         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
13418         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
13419         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
13420         * sysdeps/posix/isatty.c (__isatty): Likewise.
13421         * sysdeps/posix/killpg.c (killpg): Likewise.
13422         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
13423         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
13424         * sysdeps/posix/raise.c (raise): Likewise.
13425         * sysdeps/posix/remove.c (remove): Likewise.
13426         * sysdeps/posix/rename.c (rename): Likewise.
13427         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
13428         * sysdeps/posix/seekdir.c (seekdir): Likewise.
13429         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
13430         * sysdeps/posix/sigignore.c (sigignore): Likewise.
13431         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
13432         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
13433         * sysdeps/posix/sigset.c (sigset): Likewise.
13434         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
13435         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
13436         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
13437         * sysdeps/posix/time.c (time): Likewise.
13438         * sysdeps/posix/ttyname.c (getttyname): Likewise.
13439         (ttyname): Likewise.
13440         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
13441         * sysdeps/posix/utime.c (utime): Likewise.
13442         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
13443         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
13444         Likewise.
13445         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
13446         (pthread_spin_trylock): Likewise.
13447         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
13448         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
13449         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
13450         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
13451         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
13452         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
13453         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
13454         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
13455         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
13456         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
13457         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
13458         * sysdeps/s390/ffs.c (__ffs): Likewise.
13459         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
13460         Likewise.
13461         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
13462         Likewise.
13463         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
13464         Likewise.
13465         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
13466         (pthread_barrier_destroy): Likewise.
13467         * sysdeps/sparc/nptl/pthread_barrier_wait.c
13468         (__pthread_barrier_wait): Likewise.
13469         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
13470         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
13471         (__pthread_barrier_wait): Likewise.
13472         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
13473         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
13474         (memcmp_not_common_alignment): Likewise.
13475         (MEMCMP): Likewise.
13476         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
13477         (_wordcopy_fwd_dest_aligned): Likewise.
13478         (_wordcopy_bwd_aligned): Likewise.
13479         (_wordcopy_bwd_dest_aligned): Likewise.
13480         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
13481         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
13482         * sysdeps/unix/bsd/stty.c (stty): Likewise.
13483         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
13484         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
13485         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
13486         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
13487         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
13488         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
13489         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
13490         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
13491         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
13492         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
13493         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
13494         * sysdeps/unix/stime.c (stime): Likewise.
13495         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
13496         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
13497         Likewise.  Use internal_function.
13498         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
13499         Convert to prototype-style function definition.
13500         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13501         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13502         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
13503         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13504         Likewise.  Use internal_function.
13505         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
13506         prototype-style function definition
13507         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13508         Likewise.
13509         (__getlogin_r): Likewise.
13510         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
13511         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
13512         (__pthread_cond_broadcast): Likewise.
13513         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
13514         (__pthread_cond_destroy): Likewise.
13515         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
13516         (__pthread_cond_init): Likewise.
13517         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
13518         (__pthread_cond_signal): Likewise.
13519         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
13520         (__pthread_cond_wait): Likewise.
13521         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
13522         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
13523         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
13524         Likewise.
13525         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
13526         Likewise.
13527         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
13528         Likewise.
13529         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
13530         Likewise.
13531         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
13532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
13533         (__ftruncate64): Likewise.
13534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
13535         (truncate64): Likewise.
13536         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
13537         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
13538         (pthread_getcpuclockid): Likewise.
13539         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
13540         Likewise.
13541         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
13542         Likewise.
13543         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
13544         Likewise.
13545         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
13546         Likewise.
13547         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
13548         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
13549         (__libc_sigaction): Likewise.
13550         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
13551         Likewise.
13552         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
13553         (__sigprocmask): Likewise.
13554         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
13555         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
13556         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
13557         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
13558         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13559         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
13560         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13561         Likewise.
13562         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
13563         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
13564         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13565         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
13566         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
13567         Likewise.
13568         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
13569         (__sigprocmask): Likewise.
13570         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
13571         (cfgetispeed): Likewise.
13572         (cfsetospeed): Likewise.
13573         (cfsetispeed): Likewise.
13574         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
13575         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
13576         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
13577         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
13578         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
13579         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
13580         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
13581         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
13582         Likewise.
13583         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
13584         Likewise.
13585         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
13586         Likewise.
13587         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
13588         Likewise.
13589         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
13591 2015-10-17  Florian Weimer  <fweimer@redhat.com>
13593         sunrpc: Rewrite with explicit TLS access using __thread.
13594         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
13595         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
13596         directly.
13597         (__rpc_thread_variables): Access thread_rpc_vars directly.
13598         Eliminate redundant assignment of the tvp variable.
13600 2015-10-17  Florian Weimer  <fweimer@redhat.com>
13602         malloc: Rewrite with explicit TLS access using __thread.
13603         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
13604         (tsd_setspecific, tsd_getspecific): Remove.
13605         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
13606         (tsd_setspecific, tsd_getspecific): Likewise.
13607         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
13608         (tsd_setspecific, tsd_getspecific): Likewise.
13609         * malloc/arena.c (thread_arena): New TLS variable.
13610         (arena_key): Remove variable.
13611         (arena_get): Use thread_arena.
13612         (arena_lookup): Remove macro.
13613         (malloc_atfork, free_atfork, ptmalloc_lock_all)
13614         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
13615         (_int_new_arena, get_free_list, reused_arena)
13616         (arena_thread_freeres): Use thread_arena.
13617         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
13618         tsd_getspecific, tsd_setspecific from safety annotations.
13619         (Allocating Cleared Space): Remove arena_lookup from safety
13620         annotations.
13622 2015-10-17  Florian Weimer  <fweimer@redhat.com>
13624         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
13625         struct scratch_buffer instead of extend_alloca.
13627 2015-10-17  Florian Weimer  <fweimer@redhat.com>
13629         * sysdeps/unix/sysv/linux/kernel-features.h
13630         (__ASSUME_SOCK_CLOEXEC): Remove.
13631         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
13632         (__have_paccept): Remove unused macro.
13633         * include/unistd.h (__have_sock_cloexec): Remove declaration.
13634         * misc/syslog.c (openlog_internal): Remove fallback code for
13635         !__ASSUME_SOCK_CLOEXEC.
13636         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
13637         missing SOCK_CLOEXEC.
13638         * nscd/connections.c (have_sock_cloexec): Remove definition.
13639         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
13640         * nscd/nscd_helper.c (open_socket): Remove fallback code for
13641         !__ASSUME_SOCK_CLOEXEC.
13642         * resolv/res_send.c (__have_o_nonblock): Remove definition.
13643         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
13644         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
13645         definition.
13646         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
13647         code for !__ASSUME_SOCK_CLOEXEC.
13649 2015-10-17  Florian Weimer  <fweimer@redhat.com>
13651         [BZ #18982]
13652         * manual/stdio.texi (Variable Arguments Output): Add portability
13653         note, explaining that vfprintf clobbers the va_list pointer.
13655 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
13657         * math/libm-test.inc (fabs_test_data): Add more tests.
13658         (fdim_test_data): Likewise.
13659         (fma_test_data): Likewise.
13660         (fmax_test_data): Likewise.
13661         (fmin_test_data): Likewise.
13662         (fmod_test_data): Likewise.
13664 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
13666         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
13667         data.
13669 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
13671         * math/libm-test.inc (ceil_test_data): Add more tests and more
13672         expectations for "inexact".
13673         (floor_test_data): Add more tests.
13674         (round_test_data): Likewise.
13675         (trunc_test_data): Likewise.
13677         * crypt/cert.c (good_bye): Convert to prototype-style function
13678         definition.
13679         (get8): Likewise.
13680         (put8): Likewise.
13681         * crypt/crypt-entry.c (crypt): Likewise.
13682         (__fcrypt): Likewise.
13683         * crypt/crypt_util.c (_ufc_prbits): Likewise.
13684         (_ufc_set_bits): Likewise.
13685         (_ufc_clearmem): Likewise.
13686         (__init_des_r): Likewise.
13687         (shuffle_sb): Likewise.
13688         (shuffle_sb): Likewise.
13689         (_ufc_setup_salt_r): Likewise.
13690         (_ufc_mk_keytab_r): Likewise.
13691         (_ufc_dofinalperm_r): Likewise.
13692         (encrypt): Likewise.
13693         (__setkey_r): Likewise.
13694         (setkey): Likewise.
13695         * crypt/md5.c (md5_init_ctx): Likewise.
13696         (md5_read_ctx): Likewise.
13697         (md5_finish_ctx): Likewise.
13698         (md5_stream): Likewise.
13699         (md5_buffer): Likewise.
13700         (md5_process_bytes): Likewise.
13701         * crypt/sha256.c (__sha256_init_ctx): Likewise.
13702         (__sha256_finish_ctx): Likewise.
13703         (__sha256_process_bytes): Likewise.
13704         * crypt/sha512.c (__sha512_init_ctx): Likewise.
13705         (__sha512_finish_ctx): Likewise.
13706         (__sha512_process_bytes): Likewise.
13707         * ctype/isctype.c (__isctype): Likewise.
13708         * debug/backtrace.c (__backtrace): Likewise.
13709         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
13710         * debug/fgets_chk.c (__fgets_chk): Likewise.
13711         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
13712         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
13713         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13714         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13715         * debug/memset_chk.c (__memset_chk): Likewise.
13716         * debug/strcat_chk.c (__strcat_chk): Likewise.
13717         * debug/strncat_chk.c (__strncat_chk): Likewise.
13718         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
13719         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
13720         * dirent/dirfd.c (dirfd): Likewise.
13721         * dirent/getdents.c (__getdirentries): Likewise.
13722         * dirent/getdents64.c (getdirentries64): Likewise.
13723         * dirent/rewinddir.c (__rewinddir): Likewise.
13724         * dirent/seekdir.c (seekdir): Likewise.
13725         * dirent/telldir.c (telldir): Likewise.
13726         * elf/sln.c (makesymlinks): Likewise.
13727         (makesymlink): Likewise.
13728         * gmon/gmon.c (__moncontrol): Likewise.
13729         (__monstartup): Likewise.
13730         (write_hist): Likewise.
13731         (write_call_graph): Likewise.
13732         (write_bb_counts): Likewise.
13733         * grp/setgroups.c (setgroups): Likewise.
13734         * inet/inet_lnaof.c (inet_lnaof): Likewise.
13735         * inet/inet_net.c (inet_network): Likewise.
13736         * inet/inet_netof.c (inet_netof): Likewise.
13737         * inet/rcmd.c (rresvport_af): Likewise.
13738         (rresvport): Likewise.
13739         * io/access.c (__access): Likewise.
13740         * io/chdir.c (__chdir): Likewise.
13741         * io/chmod.c (__chmod): Likewise.
13742         * io/chown.c (__chown): Likewise.
13743         * io/close.c (__close): Likewise.
13744         * io/creat.c (creat): Likewise.
13745         * io/creat64.c (creat64): Likewise.
13746         * io/dup.c (__dup): Likewise.
13747         * io/dup2.c (__dup2): Likewise.
13748         * io/dup3.c (__dup3): Likewise.
13749         * io/euidaccess.c (__euidaccess): Likewise.
13750         * io/faccessat.c (faccessat): Likewise.
13751         * io/fchmod.c (__fchmod): Likewise.
13752         * io/fchmodat.c (fchmodat): Likewise.
13753         * io/fchown.c (__fchown): Likewise.
13754         * io/fchownat.c (fchownat): Likewise.
13755         * io/fcntl.c (__fcntl): Likewise.
13756         * io/flock.c (__flock): Likewise.
13757         * io/fts.c (fts_load): Likewise.
13758         (fts_close): Likewise.
13759         (fts_read): Likewise.
13760         (fts_set): Likewise.
13761         (fts_children): Likewise.
13762         (fts_build): Likewise.
13763         (fts_stat): Likewise.
13764         (fts_sort): Likewise.
13765         (fts_alloc): Likewise.
13766         (fts_lfree): Likewise.
13767         (fts_palloc): Likewise.
13768         (fts_padjust): Likewise.
13769         (fts_maxarglen): Likewise.
13770         (fts_safe_changedir): Likewise.
13771         * io/getwd.c (getwd): Likewise.
13772         * io/isatty.c (__isatty): Likewise.
13773         * io/lchown.c (__lchown): Likewise.
13774         * io/link.c (__link): Likewise.
13775         * io/linkat.c (linkat): Likewise.
13776         * io/lseek.c (__libc_lseek): Likewise.
13777         * io/mkdir.c (__mkdir): Likewise.
13778         * io/mkdirat.c (mkdirat): Likewise.
13779         * io/mkfifo.c (mkfifo): Likewise.
13780         * io/mkfifoat.c (mkfifoat): Likewise.
13781         * io/open.c (__libc_open): Likewise.
13782         * io/open64.c (__libc_open64): Likewise.
13783         * io/readlink.c (__readlink): Likewise.
13784         * io/readlinkat.c (readlinkat): Likewise.
13785         * io/rmdir.c (__rmdir): Likewise.
13786         * io/symlink.c (__symlink): Likewise.
13787         * io/symlinkat.c (symlinkat): Likewise.
13788         * io/ttyname.c (ttyname): Likewise.
13789         * io/ttyname_r.c (__ttyname_r): Likewise.
13790         * io/umask.c (__umask): Likewise.
13791         * io/unlink.c (__unlink): Likewise.
13792         * io/unlinkat.c (unlinkat): Likewise.
13793         * io/utime.c (utime): Likewise.
13794         * libio/clearerr.c (clearerr): Likewise.
13795         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
13796         * libio/feof.c (_IO_feof): Likewise.
13797         * libio/feof_u.c (feof_unlocked): Likewise.
13798         * libio/ferror.c (_IO_ferror): Likewise.
13799         * libio/ferror_u.c (ferror_unlocked): Likewise.
13800         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
13801         * libio/fileno.c (__fileno): Likewise.
13802         * libio/fputc.c (fputc): Likewise.
13803         * libio/fputc_u.c (fputc_unlocked): Likewise.
13804         * libio/fputwc.c (fputwc): Likewise.
13805         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
13806         * libio/freopen.c (freopen): Likewise.
13807         * libio/freopen64.c (freopen64): Likewise.
13808         * libio/fseek.c (fseek): Likewise.
13809         * libio/fseeko.c (fseeko): Likewise.
13810         * libio/fseeko64.c (fseeko64): Likewise.
13811         * libio/ftello.c (__ftello): Likewise.
13812         * libio/ftello64.c (ftello64): Likewise.
13813         * libio/fwide.c (fwide): Likewise.
13814         * libio/genops.c (_IO_un_link): Likewise.
13815         (_IO_link_in): Likewise.
13816         (_IO_least_marker): Likewise.
13817         (_IO_switch_to_main_get_area): Likewise.
13818         (_IO_switch_to_backup_area): Likewise.
13819         (_IO_switch_to_get_mode): Likewise.
13820         (_IO_free_backup_area): Likewise.
13821         (_IO_switch_to_put_mode): Likewise.
13822         (__overflow): Likewise.
13823         (__underflow): Likewise.
13824         (__uflow): Likewise.
13825         (_IO_setb): Likewise.
13826         (_IO_doallocbuf): Likewise.
13827         (_IO_default_underflow): Likewise.
13828         (_IO_default_uflow): Likewise.
13829         (_IO_default_xsputn): Likewise.
13830         (_IO_sgetn): Likewise.
13831         (_IO_default_xsgetn): Likewise.
13832         (_IO_sync): Likewise.
13833         (_IO_default_setbuf): Likewise.
13834         (_IO_default_seekpos): Likewise.
13835         (_IO_default_doallocate): Likewise.
13836         (_IO_init): Likewise.
13837         (_IO_old_init): Likewise.
13838         (_IO_default_sync): Likewise.
13839         (_IO_default_finish): Likewise.
13840         (_IO_default_seekoff): Likewise.
13841         (_IO_sputbackc): Likewise.
13842         (_IO_sungetc): Likewise.
13843         (_IO_set_column): Likewise.
13844         (_IO_set_column): Likewise.
13845         (_IO_adjust_column): Likewise.
13846         (_IO_get_column): Likewise.
13847         (_IO_init_marker): Likewise.
13848         (_IO_remove_marker): Likewise.
13849         (_IO_marker_difference): Likewise.
13850         (_IO_marker_delta): Likewise.
13851         (_IO_seekmark): Likewise.
13852         (_IO_unsave_markers): Likewise.
13853         (_IO_nobackup_pbackfail): Likewise.
13854         (_IO_default_pbackfail): Likewise.
13855         (_IO_default_seek): Likewise.
13856         (_IO_default_stat): Likewise.
13857         (_IO_default_read): Likewise.
13858         (_IO_default_write): Likewise.
13859         (_IO_default_showmanyc): Likewise.
13860         (_IO_default_imbue): Likewise.
13861         (_IO_iter_next): Likewise.
13862         (_IO_iter_file): Likewise.
13863         * libio/getc.c (_IO_getc): Likewise.
13864         * libio/getwc.c (_IO_getwc): Likewise.
13865         * libio/iofclose.c (_IO_new_fclose): Likewise.
13866         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
13867         * libio/iofflush.c (_IO_fflush): Likewise.
13868         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
13869         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
13870         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
13871         * libio/iofgets.c (_IO_fgets): Likewise.
13872         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
13873         * libio/iofgetws.c (fgetws): Likewise.
13874         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
13875         * libio/iofopen64.c (_IO_fopen64): Likewise.
13876         * libio/iofopncook.c (_IO_cookie_read): Likewise.
13877         (_IO_cookie_write): Likewise.
13878         (_IO_cookie_seek): Likewise.
13879         (_IO_cookie_close): Likewise.
13880         (_IO_cookie_seekoff): Likewise.
13881         (_IO_old_cookie_seek): Likewise.
13882         * libio/iofputs.c (_IO_fputs): Likewise.
13883         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
13884         * libio/iofputws.c (fputws): Likewise.
13885         * libio/iofputws_u.c (fputws_unlocked): Likewise.
13886         * libio/iofread.c (_IO_fread): Likewise.
13887         * libio/iofread_u.c (__fread_unlocked): Likewise.
13888         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
13889         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
13890         * libio/ioftell.c (_IO_ftell): Likewise.
13891         * libio/iofwrite.c (_IO_fwrite): Likewise.
13892         * libio/iogetdelim.c (_IO_getdelim): Likewise.
13893         * libio/iogets.c (_IO_gets): Likewise.
13894         * libio/iopadn.c (_IO_padn): Likewise.
13895         * libio/iopopen.c (_IO_new_proc_open): Likewise.
13896         (_IO_new_popen): Likewise.
13897         (_IO_new_proc_close): Likewise.
13898         * libio/ioputs.c (_IO_puts): Likewise.
13899         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
13900         (_IO_seekoff): Likewise.
13901         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
13902         (_IO_seekpos): Likewise.
13903         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
13904         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
13905         * libio/ioungetc.c (_IO_ungetc): Likewise.
13906         * libio/ioungetwc.c (ungetwc): Likewise.
13907         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13908         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
13909         * libio/iowpadn.c (_IO_wpadn): Likewise.
13910         * libio/libc_fatal.c (__libc_fatal): Likewise.
13911         * libio/memstream.c (__open_memstream): Likewise.
13912         (_IO_mem_sync): Likewise.
13913         (_IO_mem_finish): Likewise.
13914         * libio/oldfileops.c (_IO_old_file_init): Likewise.
13915         (_IO_old_file_close_it): Likewise.
13916         (_IO_old_file_finish): Likewise.
13917         (_IO_old_file_fopen): Likewise.
13918         (_IO_old_file_attach): Likewise.
13919         (_IO_old_file_setbuf): Likewise.
13920         (_IO_old_do_write): Likewise.
13921         (old_do_write): Likewise.
13922         (_IO_old_file_underflow): Likewise.
13923         (_IO_old_file_overflow): Likewise.
13924         (_IO_old_file_sync): Likewise.
13925         (_IO_old_file_seekoff): Likewise.
13926         (_IO_old_file_write): Likewise.
13927         (_IO_old_file_xsputn): Likewise.
13928         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
13929         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13930         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
13931         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
13932         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
13933         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
13934         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
13935         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
13936         (_IO_old_popen): Likewise.
13937         (_IO_old_proc_close): Likewise.
13938         * libio/oldpclose.c (__old_pclose): Likewise.
13939         * libio/pclose.c (__new_pclose): Likewise.
13940         * libio/peekc.c (_IO_peekc_locked): Likewise.
13941         * libio/putc.c (_IO_putc): Likewise.
13942         * libio/putc_u.c (putc_unlocked): Likewise.
13943         * libio/putchar.c (putchar): Likewise.
13944         * libio/putchar_u.c (putchar_unlocked): Likewise.
13945         * libio/putwc.c (putwc): Likewise.
13946         * libio/putwc_u.c (putwc_unlocked): Likewise.
13947         * libio/putwchar.c (putwchar): Likewise.
13948         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
13949         * libio/rewind.c (rewind): Likewise.
13950         * libio/setbuf.c (setbuf): Likewise.
13951         * libio/setlinebuf.c (setlinebuf): Likewise.
13952         * libio/vasprintf.c (_IO_vasprintf): Likewise.
13953         * libio/vscanf.c (_IO_vscanf): Likewise.
13954         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
13955         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
13956         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
13957         * libio/wgenops.c (_IO_least_wmarker): Likewise.
13958         (_IO_switch_to_main_wget_area): Likewise.
13959         (_IO_switch_to_wbackup_area): Likewise.
13960         (_IO_wsetb): Likewise.
13961         (_IO_wdefault_pbackfail): Likewise.
13962         (_IO_wdefault_finish): Likewise.
13963         (_IO_wdefault_uflow): Likewise.
13964         (__woverflow): Likewise.
13965         (__wuflow): Likewise.
13966         (__wunderflow): Likewise.
13967         (_IO_wdefault_xsputn): Likewise.
13968         (_IO_wdefault_xsgetn): Likewise.
13969         (_IO_wdoallocbuf): Likewise.
13970         (_IO_wdefault_doallocate): Likewise.
13971         (_IO_switch_to_wget_mode): Likewise.
13972         (_IO_free_wbackup_area): Likewise.
13973         (_IO_switch_to_wput_mode): Likewise.
13974         (_IO_sputbackwc): Likewise.
13975         (_IO_sungetwc): Likewise.
13976         (_IO_adjust_wcolumn): Likewise.
13977         (_IO_init_wmarker): Likewise.
13978         (_IO_wmarker_delta): Likewise.
13979         (_IO_seekwmark): Likewise.
13980         (_IO_unsave_wmarkers): Likewise.
13981         * libio/wmemstream.c (open_wmemstream): Likewise.
13982         (_IO_wmem_sync): Likewise.
13983         (_IO_wmem_finish): Likewise.
13984         * locale/nl_langinfo.c (nl_langinfo): Likewise.
13985         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
13986         * locale/programs/simple-hash.c (init_hash): Likewise.
13987         (delete_hash): Likewise.
13988         (insert_entry): Likewise.
13989         (set_entry): Likewise.
13990         (next_prime): Likewise.
13991         (is_prime): Likewise.
13992         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
13993         (xmalloc): Likewise.
13994         (xrealloc): Likewise.
13995         * locale/programs/xstrdup.c (xstrdup): Likewise.
13996         * localedata/collate-test.c (xstrcoll): Likewise.
13997         * localedata/xfrm-test.c (xstrcmp): Likewise.
13998         * login/getlogin_r.c (__getlogin_r): Likewise.
13999         * login/getpt.c (__posix_openpt): Likewise.
14000         * login/login_tty.c (login_tty): Likewise.
14001         * login/setlogin.c (setlogin): Likewise.
14002         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
14003         (mach_msg_destroy_port): Likewise.
14004         (mach_msg_destroy_memory): Likewise.
14005         * malloc/mcheck.c (flood): Likewise.
14006         * misc/acct.c (acct): Likewise.
14007         * misc/brk.c (__brk): Likewise.
14008         * misc/chflags.c (chflags): Likewise.
14009         * misc/chroot.c (chroot): Likewise.
14010         * misc/fchflags.c (fchflags): Likewise.
14011         * misc/fstab.c (getfsspec): Likewise.
14012         (getfsfile): Likewise.
14013         * misc/fsync.c (fsync): Likewise.
14014         * misc/ftruncate.c (__ftruncate): Likewise.
14015         * misc/ftruncate64.c (__ftruncate64): Likewise.
14016         * misc/getdomain.c (getdomainname): Likewise.
14017         (getdomainname): Likewise.
14018         * misc/gethostname.c (__gethostname): Likewise.
14019         * misc/getpass.c (getpass): Likewise.
14020         * misc/getttyent.c (skip): Likewise.
14021         (value): Likewise.
14022         * misc/gtty.c (gtty): Likewise.
14023         * misc/hsearch.c (hsearch): Likewise.
14024         (hcreate): Likewise.
14025         * misc/hsearch_r.c (__hcreate_r): Likewise.
14026         (__hdestroy_r): Likewise.
14027         * misc/ioctl.c (__ioctl): Likewise.
14028         * misc/mkdtemp.c (mkdtemp): Likewise.
14029         * misc/mkostemp.c (mkostemp): Likewise.
14030         * misc/mkostemp64.c (mkostemp64): Likewise.
14031         * misc/mkostemps.c (mkostemps): Likewise.
14032         * misc/mkostemps64.c (mkostemps64): Likewise.
14033         * misc/mkstemp.c (mkstemp): Likewise.
14034         * misc/mkstemp64.c (mkstemp64): Likewise.
14035         * misc/mkstemps.c (mkstemps): Likewise.
14036         * misc/mkstemps64.c (mkstemps64): Likewise.
14037         * misc/mktemp.c (__mktemp): Likewise.
14038         * misc/preadv.c (preadv): Likewise.
14039         * misc/preadv64.c (preadv64): Likewise.
14040         * misc/pwritev.c (pwritev): Likewise.
14041         * misc/pwritev64.c (pwritev64): Likewise.
14042         * misc/readv.c (__readv): Likewise.
14043         * misc/revoke.c (revoke): Likewise.
14044         * misc/setdomain.c (setdomainname): Likewise.
14045         * misc/setegid.c (setegid): Likewise.
14046         * misc/seteuid.c (seteuid): Likewise.
14047         * misc/sethostid.c (sethostid): Likewise.
14048         * misc/sethostname.c (sethostname): Likewise.
14049         * misc/setregid.c (__setregid): Likewise.
14050         * misc/setreuid.c (__setreuid): Likewise.
14051         * misc/sstk.c (sstk): Likewise.
14052         * misc/stty.c (stty): Likewise.
14053         * misc/syscall.c (syscall): Likewise.
14054         * misc/syslog.c (setlogmask): Likewise.
14055         * misc/truncate.c (__truncate): Likewise.
14056         * misc/truncate64.c (truncate64): Likewise.
14057         * misc/ualarm.c (ualarm): Likewise.
14058         * misc/usleep.c (usleep): Likewise.
14059         * misc/ustat.c (ustat): Likewise.
14060         * misc/writev.c (__writev): Likewise.
14061         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
14062         * nptl/old_pthread_cond_broadcast.c
14063         (__pthread_cond_broadcast_2_0): Likewise.
14064         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
14065         Likewise.
14066         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
14067         Likewise.
14068         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
14069         Likewise.
14070         * nptl/pt-raise.c (raise): Likewise.
14071         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
14072         Likewise.
14073         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
14074         * nptl/pthread_barrierattr_destroy.c
14075         (pthread_barrierattr_destroy): Likewise.
14076         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
14077         Likewise.
14078         * nptl/pthread_barrierattr_setpshared.c
14079         (pthread_barrierattr_setpshared): Likewise.
14080         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
14081         Likewise.
14082         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
14083         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
14084         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
14085         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
14086         Likewise.
14087         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
14088         Likewise.
14089         * nptl/pthread_condattr_getpshared.c
14090         (pthread_condattr_getpshared): Likewise.
14091         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
14092         Likewise.
14093         * nptl/pthread_condattr_setpshared.c
14094         (pthread_condattr_setpshared): Likewise.
14095         * nptl/pthread_detach.c (pthread_detach): Likewise.
14096         * nptl/pthread_equal.c (__pthread_equal): Likewise.
14097         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
14098         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
14099         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
14100         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
14101         Likewise.
14102         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
14103         Likewise.
14104         * nptl/pthread_mutex_getprioceiling.c
14105         (pthread_mutex_getprioceiling): Likewise.
14106         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
14107         Likewise.
14108         * nptl/pthread_mutexattr_getprotocol.c
14109         (pthread_mutexattr_getprotocol): Likewise.
14110         * nptl/pthread_mutexattr_getpshared.c
14111         (pthread_mutexattr_getpshared): Likewise.
14112         * nptl/pthread_mutexattr_getrobust.c
14113         (pthread_mutexattr_getrobust): Likewise.
14114         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
14115         Likewise.
14116         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
14117         Likewise.
14118         * nptl/pthread_mutexattr_setprioceiling.c
14119         (pthread_mutexattr_setprioceiling): Likewise.
14120         * nptl/pthread_mutexattr_setprotocol.c
14121         (pthread_mutexattr_setprotocol): Likewise.
14122         * nptl/pthread_mutexattr_setpshared.c
14123         (pthread_mutexattr_setpshared): Likewise.
14124         * nptl/pthread_mutexattr_setrobust.c
14125         (pthread_mutexattr_setrobust): Likewise.
14126         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
14127         Likewise.
14128         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
14129         Likewise.
14130         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
14131         Likewise.
14132         * nptl/pthread_rwlockattr_getkind_np.c
14133         (pthread_rwlockattr_getkind_np): Likewise.
14134         * nptl/pthread_rwlockattr_getpshared.c
14135         (pthread_rwlockattr_getpshared): Likewise.
14136         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
14137         Likewise.
14138         * nptl/pthread_rwlockattr_setkind_np.c
14139         (pthread_rwlockattr_setkind_np): Likewise.
14140         * nptl/pthread_rwlockattr_setpshared.c
14141         (pthread_rwlockattr_setpshared): Likewise.
14142         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
14143         Likewise.
14144         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
14145         Likewise.
14146         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
14147         Likewise.
14148         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
14149         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
14150         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
14151         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
14152         * nptl/sem_close.c (sem_close): Likewise.
14153         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
14154         * nptl/sem_init.c (__old_sem_init): Likewise.
14155         * nptl/sigaction.c (__sigaction): Likewise.
14156         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
14157         * posix/_exit.c (_exit): Likewise.
14158         * posix/alarm.c (alarm): Likewise.
14159         * posix/confstr.c (confstr): Likewise.
14160         * posix/fpathconf.c (__fpathconf): Likewise.
14161         * posix/getgroups.c (__getgroups): Likewise.
14162         * posix/getpgid.c (__getpgid): Likewise.
14163         * posix/group_member.c (__group_member): Likewise.
14164         * posix/pathconf.c (__pathconf): Likewise.
14165         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
14166         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
14167         * posix/setgid.c (__setgid): Likewise.
14168         * posix/setpgid.c (__setpgid): Likewise.
14169         * posix/setuid.c (__setuid): Likewise.
14170         * posix/sleep.c (__sleep): Likewise.
14171         * posix/sysconf.c (__sysconf): Likewise.
14172         * posix/times.c (__times): Likewise.
14173         * posix/uname.c (__uname): Likewise.
14174         * posix/waitid.c (__waitid): Likewise.
14175         * pwd/getpw.c (__getpw): Likewise.
14176         * resolv/base64.c (b64_pton): Likewise.
14177         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
14178         * resolv/gethnamaddr.c (Dprintf): Likewise.
14179         (gethostbyname): Likewise.
14180         (gethostbyname2): Likewise.
14181         (gethostbyaddr): Likewise.
14182         (_sethtent): Likewise.
14183         (_gethtbyname): Likewise.
14184         (_gethtbyname2): Likewise.
14185         (_gethtbyaddr): Likewise.
14186         (map_v4v6_address): Likewise.
14187         (map_v4v6_hostent): Likewise.
14188         (addrsort): Likewise.
14189         (ht_sethostent): Likewise.
14190         (ht_gethostbyname): Likewise.
14191         (ht_gethostbyaddr): Likewise.
14192         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
14193         (inet_net_ntop_ipv4): Likewise.
14194         * resolv/inet_neta.c (inet_neta): Likewise.
14195         * resolv/inet_ntop.c (inet_ntop): Likewise.
14196         (inet_ntop4): Likewise.
14197         (inet_ntop6): Likewise.
14198         * resolv/inet_pton.c (__inet_pton): Likewise.
14199         (inet_pton4): Likewise.
14200         (inet_pton6): Likewise.
14201         * resolv/res_debug.c (loc_aton): Likewise.
14202         (loc_ntoa): Likewise.
14203         * resource/getpriority.c (__getpriority): Likewise.
14204         * resource/getrusage.c (__getrusage): Likewise.
14205         * resource/nice.c (nice): Likewise.
14206         * resource/setpriority.c (__setpriority): Likewise.
14207         * resource/setrlimit64.c (setrlimit64): Likewise.
14208         * resource/vlimit.c (vlimit): Likewise.
14209         * resource/vtimes.c (vtimes): Likewise.
14210         * rt/aio_error.c (aio_error): Likewise.
14211         * rt/aio_return.c (aio_return): Likewise.
14212         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
14213         * signal/kill.c (__kill): Likewise.
14214         * signal/killpg.c (killpg): Likewise.
14215         * signal/raise.c (raise): Likewise.
14216         * signal/sigaction.c (__sigaction): Likewise.
14217         * signal/sigaddset.c (sigaddset): Likewise.
14218         * signal/sigaltstack.c (sigaltstack): Likewise.
14219         * signal/sigandset.c (sigandset): Likewise.
14220         * signal/sigblock.c (__sigblock): Likewise.
14221         * signal/sigdelset.c (sigdelset): Likewise.
14222         * signal/sigempty.c (sigemptyset): Likewise.
14223         * signal/sigfillset.c (sigfillset): Likewise.
14224         * signal/sighold.c (sighold): Likewise.
14225         * signal/sigignore.c (sigignore): Likewise.
14226         * signal/sigintr.c (siginterrupt): Likewise.
14227         * signal/sigisempty.c (sigisemptyset): Likewise.
14228         * signal/sigismem.c (sigismember): Likewise.
14229         * signal/signal.c (signal): Likewise.
14230         * signal/sigorset.c (sigorset): Likewise.
14231         * signal/sigpause.c (__sigpause): Likewise.
14232         * signal/sigpending.c (sigpending): Likewise.
14233         * signal/sigprocmask.c (__sigprocmask): Likewise.
14234         * signal/sigrelse.c (sigrelse): Likewise.
14235         * signal/sigreturn.c (__sigreturn): Likewise.
14236         * signal/sigset.c (sigset): Likewise.
14237         * signal/sigsetmask.c (__sigsetmask): Likewise.
14238         * signal/sigstack.c (sigstack): Likewise.
14239         * signal/sigsuspend.c (__sigsuspend): Likewise.
14240         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
14241         * signal/sysv_signal.c (__sysv_signal): Likewise.
14242         * socket/accept.c (accept): Likewise.
14243         * socket/accept4.c (__libc_accept4): Likewise.
14244         * socket/bind.c (__bind): Likewise.
14245         * socket/connect.c (__connect): Likewise.
14246         * socket/getpeername.c (getpeername): Likewise.
14247         * socket/getsockname.c (__getsockname): Likewise.
14248         * socket/getsockopt.c (getsockopt): Likewise.
14249         * socket/listen.c (__listen): Likewise.
14250         * socket/recv.c (__recv): Likewise.
14251         * socket/recvmsg.c (__recvmsg): Likewise.
14252         * socket/send.c (__send): Likewise.
14253         * socket/sendmsg.c (__sendmsg): Likewise.
14254         * socket/shutdown.c (shutdown): Likewise.
14255         * socket/sockatmark.c (sockatmark): Likewise.
14256         * socket/socket.c (__socket): Likewise.
14257         * stdio-common/ctermid.c (ctermid): Likewise.
14258         * stdio-common/cuserid.c (cuserid): Likewise.
14259         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
14260         * stdio-common/remove.c (remove): Likewise.
14261         * stdio-common/rename.c (rename): Likewise.
14262         * stdio-common/renameat.c (renameat): Likewise.
14263         * stdio-common/tempname.c (__gen_tempname): Likewise.
14264         * stdio-common/xbug.c (InitBuffer): Likewise.
14265         (AppendToBuffer): Likewise.
14266         (ReadFile): Likewise.
14267         * stdlib/a64l.c (a64l): Likewise.
14268         * stdlib/drand48_r.c (drand48_r): Likewise.
14269         * stdlib/getcontext.c (getcontext): Likewise.
14270         * stdlib/getenv.c (getenv): Likewise.
14271         * stdlib/l64a.c (l64a): Likewise.
14272         * stdlib/llabs.c (llabs): Likewise.
14273         * stdlib/lldiv.c (lldiv): Likewise.
14274         * stdlib/lrand48_r.c (lrand48_r): Likewise.
14275         * stdlib/mrand48_r.c (mrand48_r): Likewise.
14276         * stdlib/putenv.c (putenv): Likewise.
14277         * stdlib/random.c (__srandom): Likewise.
14278         (__initstate): Likewise.
14279         (__setstate): Likewise.
14280         * stdlib/random_r.c (__srandom_r): Likewise.
14281         (__setstate_r): Likewise.
14282         (__random_r): Likewise.
14283         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
14284         * stdlib/setcontext.c (setcontext): Likewise.
14285         * stdlib/setenv.c (setenv): Likewise.
14286         (unsetenv): Likewise.
14287         * stdlib/srand48.c (srand48): Likewise.
14288         * stdlib/srand48_r.c (__srand48_r): Likewise.
14289         * stdlib/swapcontext.c (swapcontext): Likewise.
14290         * stdlib/system.c (__libc_system): Likewise.
14291         * stdlib/tst-strtod.c (expand): Likewise.
14292         * stdlib/tst-strtol.c (expand): Likewise.
14293         * stdlib/tst-strtoll.c (expand): Likewise.
14294         * streams/fattach.c (fattach): Likewise.
14295         * streams/fdetach.c (fdetach): Likewise.
14296         * streams/getmsg.c (getmsg): Likewise.
14297         * streams/isastream.c (isastream): Likewise.
14298         * string/ffs.c (__ffs): Likewise.
14299         * string/ffsll.c (ffsll): Likewise.
14300         * string/memcmp.c (memcmp_common_alignment): Likewise.
14301         (memcmp_not_common_alignment): Likewise.
14302         (MEMCMP): Likewise.
14303         * string/memcpy.c (memcpy): Likewise.
14304         * string/memmove.c (MEMMOVE): Likewise.
14305         * string/memset.c (memset): Likewise.
14306         * string/rawmemchr.c (RAWMEMCHR): Likewise.
14307         * string/strchrnul.c (STRCHRNUL): Likewise.
14308         * string/strerror.c (strerror): Likewise.
14309         * string/strndup.c (__strndup): Likewise.
14310         * string/strverscmp.c (__strverscmp): Likewise.
14311         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
14312         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
14313         (clnttcp_freeres): Likewise.
14314         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
14315         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
14316         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
14317         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
14318         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
14319         (xdr_callhdr): Likewise.
14320         * sunrpc/rpcinfo.c (udpping): Likewise.
14321         (tcpping): Likewise.
14322         (pstatus): Likewise.
14323         (pmapdump): Likewise.
14324         (brdcst): Likewise.
14325         (deletereg): Likewise.
14326         (getprognum): Likewise.
14327         (getvers): Likewise.
14328         (get_inet_address): Likewise.
14329         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
14330         * sunrpc/svc_udp.c (svcudp_create): Likewise.
14331         (svcudp_stat): Likewise.
14332         (svcudp_recv): Likewise.
14333         (svcudp_reply): Likewise.
14334         (svcudp_getargs): Likewise.
14335         (svcudp_freeargs): Likewise.
14336         (svcudp_destroy): Likewise.
14337         * sunrpc/xdr.c (xdr_bytes): Likewise.
14338         (xdr_netobj): Likewise.
14339         (xdr_string): Likewise.
14340         (xdr_wrapstring): Likewise.
14341         * sunrpc/xdr_float.c (xdr_float): Likewise.
14342         (xdr_double): Likewise.
14343         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
14344         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
14345         * sysvipc/ftok.c (ftok): Likewise.
14346         * sysvipc/msgctl.c (msgctl): Likewise.
14347         * sysvipc/msgget.c (msgget): Likewise.
14348         * sysvipc/msgrcv.c (msgrcv): Likewise.
14349         * sysvipc/msgsnd.c (msgsnd): Likewise.
14350         * sysvipc/semget.c (semget): Likewise.
14351         * sysvipc/semop.c (semop): Likewise.
14352         * sysvipc/shmat.c (shmat): Likewise.
14353         * sysvipc/shmctl.c (shmctl): Likewise.
14354         * sysvipc/shmdt.c (shmdt): Likewise.
14355         * sysvipc/shmget.c (shmget): Likewise.
14356         * termios/cfmakeraw.c (cfmakeraw): Likewise.
14357         * termios/speed.c (cfgetospeed): Likewise.
14358         (cfgetispeed): Likewise.
14359         (cfsetospeed): Likewise.
14360         (cfsetispeed): Likewise.
14361         * termios/tcflow.c (tcflow): Likewise.
14362         * termios/tcflush.c (tcflush): Likewise.
14363         * termios/tcgetattr.c (__tcgetattr): Likewise.
14364         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
14365         * termios/tcgetsid.c (tcgetsid): Likewise.
14366         * termios/tcsendbrk.c (tcsendbreak): Likewise.
14367         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
14368         * time/adjtime.c (__adjtime): Likewise.
14369         * time/dysize.c (dysize): Likewise.
14370         * time/ftime.c (ftime): Likewise.
14371         * time/getitimer.c (__getitimer): Likewise.
14372         * time/gettimeofday.c (__gettimeofday): Likewise.
14373         * time/gmtime.c (__gmtime_r): Likewise.
14374         (gmtime): Likewise.
14375         * time/localtime.c (__localtime_r): Likewise.
14376         (localtime): Likewise.
14377         * time/offtime.c (__offtime): Likewise.
14378         * time/settimeofday.c (__settimeofday): Likewise.
14379         * time/stime.c (stime): Likewise.
14380         * time/strftime_l.c (tm_diff): Likewise.
14381         (iso_week_days): Likewise.
14382         * time/strptime.c (strptime): Likewise.
14383         * time/time.c (time): Likewise.
14384         * time/timespec_get.c (timespec_get): Likewise.
14385         * time/tzset.c (tzset_internal): Likewise.
14386         (compute_change): Likewise.
14387         (__tz_compute): Likewise.
14388         * wcsmbs/btowc.c (__btowc): Likewise.
14389         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
14390         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
14391         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
14392         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
14393         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
14394         * wcsmbs/wcscat.c (__wcscat): Likewise.
14395         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
14396         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
14397         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
14398         * wcsmbs/wcscspn.c (wcscspn): Likewise.
14399         * wcsmbs/wcsdup.c (wcsdup): Likewise.
14400         * wcsmbs/wcslen.c (__wcslen): Likewise.
14401         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
14402         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
14403         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
14404         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
14405         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
14406         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
14407         * wcsmbs/wcsspn.c (wcsspn): Likewise.
14408         * wcsmbs/wcsstr.c (wcsstr): Likewise.
14409         * wcsmbs/wcstok.c (wcstok): Likewise.
14410         * wcsmbs/wctob.c (wctob): Likewise.
14411         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
14412         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14413         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
14414         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
14415         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
14416         * wcsmbs/wmemset.c (__wmemset): Likewise.
14417         * wctype/wcfuncs.c (__towlower): Likewise.
14418         (__towupper): Likewise.
14420         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
14421         (lll_unlock_elision): Add adapt_count parameter.
14423 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
14425         * sysdeps/nptl/configure.ac: Do not give errors based on the
14426         results of top-level configure tests.
14427         * sysdeps/nptl/configure: Regenerated.
14429         * configure.ac (libc_cv_Bgroup): Remove configure test.
14430         * configure: Regenerated.
14431         * config.make.in (have-Bgroup): Remove variable.
14433         * configure.ac (sizeof_long_double): Remove configure test.
14434         * configure: Regenerated.
14435         * config.make.in (sizeof-long-double): Remove variable.
14437         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
14438         * configure: Regenerated.
14439         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
14440         variable.
14441         (exceptions): Likewise.
14442         * sysdeps/arm/configure: Regenerated.
14443         * config.make.in (exceptions): Remove variable.
14444         * Makeconfig (uses-callbacks): Use -fexceptions instead of
14445         $(exceptions).
14446         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
14447         (CFLAGS-vdprintf_chk.c): Likewise.
14448         (CFLAGS-printf_chk.c): Likewise.
14449         (CFLAGS-fprintf_chk.c): Likewise.
14450         (CFLAGS-vprintf_chk.c): Likewise.
14451         (CFLAGS-vfprintf_chk.c): Likewise.
14452         (CFLAGS-gets_chk.c): Likewise.
14453         (CFLAGS-fgets_chk.c): Likewise.
14454         (CFLAGS-fgets_u_chk.c): Likewise.
14455         (CFLAGS-fread_chk.c): Likewise.
14456         (CFLAGS-fread_u_chk.c): Likewise.
14457         (CFLAGS-wprintf_chk.c): Likewise.
14458         (CFLAGS-fwprintf_chk.c): Likewise.
14459         (CFLAGS-vwprintf_chk.c): Likewise.
14460         (CFLAGS-vfwprintf_chk.c): Likewise.
14461         (CFLAGS-fgetws_chk.c): Likewise.
14462         (CFLAGS-fgetws_u_chk.c): Likewise.
14463         * libio/Makefile (CFLAGS-fileops.c): Likewise.
14464         (CFLAGS-fputc.c): Likewise.
14465         (CFLAGS-fputwc.c): Likewise.
14466         (CFLAGS-freopen64.c): Likewise.
14467         (CFLAGS-freopen.c): Likewise.
14468         (CFLAGS-fseek.c): Likewise.
14469         (CFLAGS-fseeko64.c): Likewise.
14470         (CFLAGS-fseeko.c): Likewise.
14471         (CFLAGS-ftello64.c): Likewise.
14472         (CFLAGS-ftello.c): Likewise.
14473         (CFLAGS-fwide.c): Likewise.
14474         (CFLAGS-genops.c): Likewise.
14475         (CFLAGS-getc.c): Likewise.
14476         (CFLAGS-getchar.c): Likewise.
14477         (CFLAGS-getwc.c): Likewise.
14478         (CFLAGS-getwchar.c): Likewise.
14479         (CFLAGS-iofclose.c): Likewise.
14480         (CFLAGS-iofflush.c): Likewise.
14481         (CFLAGS-iofgetpos64.c): Likewise.
14482         (CFLAGS-iofgetpos.c): Likewise.
14483         (CFLAGS-iofgets.c): Likewise.
14484         (CFLAGS-iofgetws.c): Likewise.
14485         (CFLAGS-iofputs.c): Likewise.
14486         (CFLAGS-iofputws.c): Likewise.
14487         (CFLAGS-iofread.c): Likewise.
14488         (CFLAGS-iofsetpos64.c): Likewise.
14489         (CFLAGS-iofsetpos.c): Likewise.
14490         (CFLAGS-ioftell.c): Likewise.
14491         (CFLAGS-iofwrite.c): Likewise.
14492         (CFLAGS-iogetdelim.c): Likewise.
14493         (CFLAGS-iogetline.c): Likewise.
14494         (CFLAGS-iogets.c): Likewise.
14495         (CFLAGS-iogetwline.c): Likewise.
14496         (CFLAGS-ioputs.c): Likewise.
14497         (CFLAGS-ioseekoff.c): Likewise.
14498         (CFLAGS-ioseekpos.c): Likewise.
14499         (CFLAGS-iosetbuffer.c): Likewise.
14500         (CFLAGS-iosetvbuf.c): Likewise.
14501         (CFLAGS-ioungetc.c): Likewise.
14502         (CFLAGS-ioungetwc.c): Likewise.
14503         (CFLAGS-oldfileops.c): Likewise.
14504         (CFLAGS-oldiofclose.c): Likewise.
14505         (CFLAGS-oldiofgetpos64.c): Likewise.
14506         (CFLAGS-oldiofgetpos.c): Likewise.
14507         (CFLAGS-oldiofsetpos64.c): Likewise.
14508         (CFLAGS-oldiofsetpos.c): Likewise.
14509         (CFLAGS-peekc.c): Likewise.
14510         (CFLAGS-putc.c): Likewise.
14511         (CFLAGS-putchar.c): Likewise.
14512         (CFLAGS-putwc.c): Likewise.
14513         (CFLAGS-putwchar.c): Likewise.
14514         (CFLAGS-rewind.c): Likewise.
14515         (CFLAGS-wfileops.c): Likewise.
14516         (CFLAGS-wgenops.c): Likewise.
14517         (CFLAGS-oldiofopen.c): Likewise.
14518         (CFLAGS-iofopen.c): Likewise.
14519         (CFLAGS-iofopen64.c): Likewise.
14520         (CFLAGS-oldtmpfile.c): Likewise.
14521         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
14522         (CFLAGS-fprintf.c): Likewise.
14523         (CFLAGS-printf.c): Likewise.
14524         (CFLAGS-vfwprintf.c): Likewise.
14525         (CFLAGS-vfscanf.c): Likewise.
14526         (CFLAGS-vfwscanf.c): Likewise.
14527         (CFLAGS-fscanf.c): Likewise.
14528         (CFLAGS-scanf.c): Likewise.
14529         (CFLAGS-isoc99_vfscanf.c): Likewise.
14530         (CFLAGS-isoc99_vscanf.c): Likewise.
14531         (CFLAGS-isoc99_fscanf.c): Likewise.
14532         (CFLAGS-isoc99_scanf.c): Likewise.
14533         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
14534         (CFLAGS-isoc99_fwscanf.c): Likewise.
14535         (CFLAGS-isoc99_vwscanf.c): Likewise.
14536         (CFLAGS-isoc99_vfwscanf.c): Likewise.
14538         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
14539         after mkstemp64.
14540         * login/tst-utmp.c (do_prepare): Likewise.
14541         * rt/tst-aio.c (do_prepare): Likewise.
14542         * rt/tst-aio64.c (do_prepare): Likewise.
14544 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14546         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
14547         (__lll_lock_elision): Remove adapt_count decrement...
14548         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
14549         (__lll_trylock_elision): Likewise.
14550         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
14551         (__lll_unlock_elision): ... to here. And utilize
14552         new adapt_count parameter.
14553         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
14554         (__lll_unlock_elision): Update to include adapt_count
14555         parameter.
14556         (lll_unlock_elision): Pass pointer to adapt_count
14557         variable.
14559 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14561         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
14562         Add elision adapt_count parameter to list of arguments.
14563         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
14564         (lll_unlock_elision): Update with new parameter list
14565         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
14566         (lll_unlock_elision): Likewise.
14567         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
14568         (lll_unlock_elision): Likewise.
14570 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
14572         [BZ #19122]
14573         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
14574         attribute_hidden.
14576         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
14577         attribute_hidden.
14578         [IS_IN (rtld)] (__strdup): Likewise.
14579         [IS_IN (rtld)] (__strerror_r): Likewise.
14580         [IS_IN (rtld)] (__strsep_g): Likewise.
14581         [IS_IN (rtld)] (memchr): Likewise.
14582         [IS_IN (rtld)] (memcmp): Likewise.
14583         [IS_IN (rtld)] (memcpy): Likewise.
14584         [IS_IN (rtld)] (memmove): Likewise.
14585         [IS_IN (rtld)] (memset): Likewise.
14586         [IS_IN (rtld)] (rawmemchr): Likewise.
14587         [IS_IN (rtld)] (stpcpy): Likewise.
14588         [IS_IN (rtld)] (strchr): Likewise.
14589         [IS_IN (rtld)] (strcmp): Likewise.
14590         [IS_IN (rtld)] (strlen): Likewise.
14591         [IS_IN (rtld)] (strnlen): Likewise.
14592         [IS_IN (rtld)] (strsep): Likewise.
14594         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
14595         attribute_hidden.
14596         [IS_IN (rtld)] (__strtoul_internal): Likewise.
14598         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
14599         attribute_hidden.
14600         [IS_IN (rtld)] (__libc_sigaction): Likewise.
14602         * include/setjmp.h (__longjmp): Add attribute_hidden.
14603         [IS_IN (rtld)] (__sigsetjmp): Likewise.
14605         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
14606         Add attribute_hidden.
14608         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
14609         [IS_IN (rtld)] (__open): Likewise.
14610         [IS_IN (rtld)] (__fcntl): Likewise.
14612         * include/dirent.h (__opendirat): Add attribute_hidden.
14613         (__getdents): Likewise.
14614         (__getdents64): Likewise.
14615         (__alloc_dir): Likewise.
14616         [IS_IN (rtld)] (__closedir): Likewise.
14617         [IS_IN (rtld)] (__fdopendir): Likewise.
14618         [IS_IN (rtld)] (__readdir): Likewise.
14619         [IS_IN (rtld)] (__readdir64): Likewise.
14620         [IS_IN (rtld)] (__rewinddir): Likewise.
14622         * include/dlfcn.h (_dl_catch_error): Moved to ...
14623         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
14624         attribute_hidden.
14626         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
14627         (_itoa_word): Likewise.
14629         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
14630         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
14631         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
14632         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
14633         (_dl_higher_prime_number): Likewise.
14634         (_dl_debug_printf_c): Likewise.
14635         (_dl_signal_cerror): Likewise.
14636         (_dl_receive_error): Likewise.
14637         (_dl_reloc_bad_type): Likewise.
14638         (_dl_resolve_conflicts): Likewise.
14639         (_dl_check_all_versions): Likewise.
14640         (_dl_check_map_versions): Likewise.
14641         (_dl_sort_fini): Likewise.
14642         (_dl_debug_initialize): Likewise.
14643         (_dl_init_paths): Likewise.
14644         (_dl_show_auxv): Likewise.
14645         (_dl_next_ld_env_entry): Likewise.
14646         (_dl_important_hwcaps): Likewise.
14647         (_dl_load_cache_lookup): Likewise.
14648         (_dl_update_slotinfo): Likewise.
14649         (_dl_show_scope): Likewise.
14651         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
14652         attribute_hidden.
14653         (_wordcopy_fwd_dest_aligned): Likewise.
14654         (_wordcopy_bwd_aligned): Likewise.
14655         (_wordcopy_bwd_dest_aligned): Likewise.
14657         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
14658         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
14659         Likewise.
14660         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
14661         Likewise.
14662         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
14664 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
14666         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
14667         GCC 5 requirement.
14669 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
14671         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
14672         test.
14673         * sysdeps/i386/configure: Regenerated.
14674         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
14675         code unconditional.
14677         * configure.ac (libc_cv_asm_previous_directive): Remove configure
14678         test.
14679         (libc_cv_asm_popsection_directive): Likewise.
14680         * configure: Regenerated.
14681         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
14682         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
14683         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
14684         (__make_section_unallocated): Make definition unconditional.
14685         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
14686         Remove conditional definition.
14687         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
14688         (__make_section_unallocated): Likewise.
14690         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
14691         * configure: Regenerated.
14692         * config.make.in (static-libgcc): Remove variable.
14693         * Makerules (build-shlib-helper): Use -static-libgcc instead of
14694         $(static-libgcc).
14695         (build-module-helper): Likewise.
14697         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
14698         * configure: Regenerated.
14700 2015-10-15  Florian Weimer  <fweimer@redhat.com>
14702         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
14703         (struct char_buffer): New type.
14704         (char_buffer_start, char_buffer_size, char_buffer_error)
14705         (char_buffer_rewind, char_buffer_add): New functions.
14706         (ADDW): Remove macro, replaced by the char_buffer_add function.
14707         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
14708         of extend_alloca.  Make control flow more explicit.
14710 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
14712         [BZ #19137]
14713         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
14714         Add -fomit-frame-pointer.
14715         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
14717 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
14719         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
14720         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
14721         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
14722         only if !__GNUC_PREREQ (5,0).
14723         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
14724         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
14725         (INTERNAL_SYSCALL_NCS): Likewise.
14726         (LOADREGS_0): New macro for GCC 5.
14727         (ASMARGS_0): Likewise.
14728         (LOADREGS_1): Likewise.
14729         (ASMARGS_1): Likewise.
14730         (LOADREGS_2): Likewise.
14731         (ASMARGS_2): Likewise.
14732         (LOADREGS_3): Likewise.
14733         (ASMARGS_3): Likewise.
14734         (LOADREGS_4): Likewise.
14735         (ASMARGS_4): Likewise.
14736         (LOADREGS_5): Likewise.
14737         (ASMARGS_5): Likewise.
14738         (LOADREGS_6): Likewise.
14739         (ASMARGS_6): Likewise.
14741 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
14743         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
14744         -fomit-frame-pointer.
14745         (CFLAGS-mmap64.c): Likewise.
14746         (CFLAGS-semtimedop.c): Likewise.
14747         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
14748         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
14749         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14750         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14752 2015-10-15  Florian Weimer  <fweimer@redhat.com>
14754         [BZ #18928]
14755         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
14756         _dl_pointer_guard member.
14757         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
14758         initializer.
14759         (security_init): Always set up pointer guard.
14760         (process_envvars): Do not process LD_POINTER_GUARD.
14762 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
14764         [BZ #19134]
14765         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
14766         (.LC2): Likewise.
14767         (.LC3): Likewise.
14768         (__lround): Do not add 0.5 to integer or out-of-range arguments.
14770 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14772         [BZ #19129]
14773         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
14774         r0 and r1.
14776 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
14778         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
14780 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
14782         * include/stap-probe.h: Fix macro definition formatting.
14784 2015-10-14  Florian Weimer  <fweimer@redhat.com>
14786         [BZ #19074]
14787         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
14788         load and store num_ifs.
14790 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
14792         [BZ #18822]
14793         * sysdeps/unix/sysv/linux/sched_getaffinity.c
14794         (__sched_getaffinity_new): Add libc_hidden_proto and
14795         libc_hidden_def.
14797 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
14799         [BZ #19007]
14800         * scripts/localplt.awk: Also allow GOT references.
14801         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
14802         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
14803         with "+ REL R_386_GLOB_DAT".
14804         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
14805         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
14807 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
14809         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
14810         INLINE_SYSCALL_ERROR_RETURN_VALUE.
14811         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
14812         Likewise.
14813         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
14814         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
14815         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
14816         INTERNAL_SYSCALLINTERNAL_SYSCALL and
14817         INLINE_SYSCALL_ERROR_RETURN_VALUE.
14818         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
14819         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14820         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
14821         Likewise.
14822         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14824 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
14826         [BZ #19125]
14827         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
14828         <math_private.h> and <stdint.h>.
14829         (__llround): Avoid conversions to and from long long int, and
14830         subtractions, where those might raise spurious exceptions.
14831         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
14832         <math_private.h> and <stdint.h>.
14833         (__llroundf): Avoid conversions to and from long long int, and
14834         subtractions, where those might raise spurious exceptions.
14836 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
14838         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
14839         INLINE_SYSCALL_ERROR_RETURN_VALUE.
14840         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
14841         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
14842         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
14843         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
14844         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
14845         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
14846         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
14847         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
14848         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14849         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14850         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
14851         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14852         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14853         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
14854         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
14855         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
14856         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
14857         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
14858         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
14859         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
14860         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
14861         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
14862         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
14863         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
14864         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
14865         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
14866         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14867         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
14868         (__xstat64_conv): Likewise.
14869         (__xstat32_conv): Likewise.
14871 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
14873         * sysdeps/unix/sysv/linux/sysdep.h: New file.
14874         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
14875         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
14876         <sysdeps/unix/sysv/linux/sysdep.h>.
14877         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
14878         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
14879         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
14880         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
14881         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
14882         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
14883         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
14884         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
14885         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
14886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14888         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14889         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14890         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14891         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
14892         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14893         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
14894         (sysdep-dl-routines): Add sysdep.
14895         [$(subdir) == nptl] (libpthread-routines): Likewise.
14896         [$(subdir) == rt] (librt-routines): Likewise.
14897         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
14898         PIC when branching to SYSCALL_ERROR_LABEL.
14899         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
14900         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
14901         <sysdeps/unix/sysv/linux/sysdep.h>.
14902         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
14903         (SYSCALL_ERROR_ERRNO): Removed.
14904         (SYSCALL_ERROR_HANDLER): Changed to empty.
14905         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
14906         (__syscall_error): New prototype.
14907         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
14908         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
14910 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
14912         [BZ #19124]
14913         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
14914         (_dl_runtime_resolve_avx512): Make it a hidden alias of
14915         _dl_runtime_resolve_avx.
14916         (_dl_runtime_profile_avx512): Make it a hidden alias of
14917         _dl_runtime_profile_avx.
14919 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
14921         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
14922         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
14923         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
14924         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
14926         [BZ #16422]
14927         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
14928         New configure test.
14929         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
14930         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
14931         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
14932         <math_private.h> and <stdint.h>.
14933         (__llrint): Avoid conversions to long long int where those might
14934         raise spurious exceptions.
14935         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
14936         <math_private.h> and <stdint.h>.
14937         (__llrintf): Avoid conversions to long long int where those might
14938         raise spurious exceptions.
14940 2015-10-12  Andreas Schwab  <schwab@suse.de>
14942         [BZ #18969]
14943         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
14944         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
14945         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
14946         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
14947         $(gen-locales).
14948         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
14949         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
14950         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
14951         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
14952         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
14953         $(gen-locales).
14954         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
14955         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
14956         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
14957         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
14958         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
14959         ($(objpfx)tst-ftell-active-handler.out)
14960         ($(objpfx)tst-ftell-append.out)
14961         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
14962         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
14963         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
14964         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
14965         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
14966         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
14967         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
14968         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
14969         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
14970         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
14971         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
14972         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
14973         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
14974         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
14975         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
14976         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
14977         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
14978         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
14979         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
14980         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
14981         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
14982         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
14983         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
14984         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
14985         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
14986         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
14987         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
14988         $(gen-locales).
14989         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
14990         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
14991         $(gen-locales).
14992         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
14993         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
14994         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
14995         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
14996         $(gen-locales).
14997         * libio/tst_wprintf2.c (main): Use explicit locale.
14998         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
15000 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15002         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
15003         __msg_sig_post.
15004         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
15006 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
15008         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
15009         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15011         * sysdeps/arm/libm-test-ulps: Regenerated.
15013         [BZ #15470]
15014         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
15016         [BZ #16399]
15017         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
15018         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
15019         and <fix-fp-int-convert-overflow.h>.
15020         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
15021         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15022         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
15023         and <fix-fp-int-convert-overflow.h>.
15024         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
15025         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15026         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
15027         <fix-fp-int-convert-overflow.h>.
15028         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
15029         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15030         * sysdeps/ieee754/dbl-64/s_lround.c: Include
15031         <fix-fp-int-convert-overflow.h>.
15032         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
15033         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15034         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
15035         and <fix-fp-int-convert-overflow.h>.
15036         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
15037         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15038         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
15039         <limits.h> and <fix-fp-int-convert-overflow.h>.
15040         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
15041         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15042         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
15043         and <fix-fp-int-convert-overflow.h>.
15044         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
15045         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15046         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
15047         and <fix-fp-int-convert-overflow.h>.
15048         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
15049         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15050         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
15052 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
15054         [BZ #18589]
15055         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
15056         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
15057         $(gen-locales).
15059 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15060             Phil Blundell <pb@pbcl.net>
15062         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
15063         * nptl/tst-cancel26.c: New file.
15064         * nptl/tst-cancel27.c: Likewise.
15066 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
15068         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
15069         __ILP32__ isn't defined.
15070         (lrint): Likewise.
15071         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
15072         (lrintf): Likewise.
15073         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
15074         (lrintl): Likewise.
15075         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
15076         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
15077         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
15079 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15081         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
15082         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
15084         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
15085         file.
15086         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
15087         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
15089 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
15091         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
15092         configure test.
15093         * sysdeps/i386/configure: Regenerated.
15094         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
15095         configure test.
15096         * sysdeps/x86_64/configure: Regenerated.
15097         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
15098         Make code unconditional.
15100         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
15101         test.
15102         * sysdeps/i386/configure: Regenerated.
15103         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
15104         test.
15105         * sysdeps/x86_64/configure: Regenerated.
15106         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
15107         Make code unconditional.
15108         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
15109         Likewise.
15110         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
15111         Likewise.
15112         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15113         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
15114         code unconditional.
15115         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15116         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
15117         code unconditional.
15118         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15119         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
15120         code unconditional.
15121         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
15122         code unconditional.
15123         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15124         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
15125         code unconditional.
15126         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15127         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
15128         code unconditional.
15129         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15130         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
15131         code unconditional.
15132         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15133         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
15134         code unconditional.
15135         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15136         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
15138         [BZ #19095]
15139         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
15140         mantissa to long int before shifting left.
15142 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
15144         [BZ #19094]
15145         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
15146         <limits.h>.
15147         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
15148         when result overflows but exception would not result from cast.
15149         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
15150         <limits.h>.
15151         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
15152         when result overflows but exception would not result from cast.
15153         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
15154         <limits.h>.
15155         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
15156         when result overflows but exception would not result from cast.
15157         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
15158         <limits.h>.
15159         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
15160         when result overflows but exception would not result from cast.
15161         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
15162         <limits.h>.
15163         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
15164         when result overflows but exception would not result from cast.
15165         * math/libm-test.inc (lrint_test_data): Add more tests.
15166         (llrint_test_data): Likewise.
15168 2015-10-08  Roland McGrath  <roland@hack.frob.com>
15170         [BZ #18872]
15171         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
15172         Move out from under [$(run-built-tests) = yes] conditional.
15173         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
15174         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
15176 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
15178         [BZ #18589]
15179         * string/Makefile (tests): Add bug-strcoll2.
15180         (LOCALES): Add cs_CZ.UTF-8.
15181         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
15183         [BZ #18589]
15184         * string/bug-strcoll2.c: New file.
15185         * locale/categories.def: Revert commit
15186         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
15187         * locale/langinfo.h: Likewise.
15188         * locale/localeinfo.h: Likewise.
15189         * locale/C-collate.c: Likewise.
15190         * locale/programs/ld-collate.c (collate_output): Likewise.
15191         * string/strcoll_l.c (STRDIFF): Likewise.
15192         (STRCOLL): Likewise.
15193         * wcsmbs/wcscoll_l.c: Likewise.
15195 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
15197         * math/libm-test.inc (lround_test_data): Do not expect the absence
15198         of "inexact" for some tests with non-integer arguments.
15199         (llround_test_data): Likewise.
15201         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
15202         test.
15203         (libc_cv_cc_sse2avx): Likewise.
15204         * sysdeps/i386/configure: Regenerated.
15205         * sysdeps/i386/i686/multiarch/Makefile
15206         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
15207         [$(subdir) = math].
15208         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
15209         code unconditional.
15210         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
15211         Likewise.
15212         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
15213         Likewise.
15214         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
15215         Likewise.
15216         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
15217         test.
15218         (libc_cv_cc_sse2avx): Likewise.
15219         * sysdeps/x86_64/configure: Regenerated.
15220         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
15221         unconditional.
15222         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
15223         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
15224         unconditional.
15225         (_dl_runtime_profile)
15226         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
15227         conditional code.
15228         * sysdeps/x86_64/fpu/multiarch/Makefile
15229         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
15230         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
15231         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15232         * sysdeps/x86_64/fpu/multiarch/e_exp.c
15233         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15234         * sysdeps/x86_64/fpu/multiarch/e_log.c
15235         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15236         * sysdeps/x86_64/fpu/multiarch/s_atan.c
15237         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15238         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
15239         Likewise.
15240         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
15241         Likewise.
15242         * sysdeps/x86_64/fpu/multiarch/s_sin.c
15243         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15244         * sysdeps/x86_64/fpu/multiarch/s_tan.c
15245         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15246         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
15247         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
15248         (HAVE_SSE2AVX_SUPPORT): Likewise.
15250 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
15252         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
15253         instead of #pragma optimize.
15255 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
15257         [BZ #17195]
15258         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
15259         as is similarly done in systrim and _int_free already.
15261 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15263         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
15265 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
15267         [BZ #19088]
15268         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
15269         <limits.h>.
15270         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
15271         overflows but exception would not result from cast.
15272         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
15273         and <limits.h>.
15274         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
15275         overflows but exception would not result from cast.
15276         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
15277         <limits.h>.
15278         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
15279         overflows but exception would not result from cast.
15280         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
15281         <limits.h>.
15282         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
15283         overflows but exception would not result from cast.
15284         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
15285         <limits.h>.
15286         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
15287         overflows but exception would not result from cast.
15288         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
15289         <limits.h>.
15290         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
15291         overflows but exception would not result from cast.
15292         * math/libm-test.inc (lround_test_data): Add more tests.
15293         (llround_test_data): Likewise.
15295 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
15297         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
15298         (CFLAGS-ialloc.c): Ditto.
15299         (CFLAGS-scheck.c): Ditto.
15301 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
15303         [BZ #19086]
15304         * manual/filesys.texi (Storage Allocation): Fix argument order for
15305         posix_fallocate64.
15307 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
15309         [BZ #19085]
15310         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
15311         exponent below 48 inside case for non-overflowing exponent.
15312         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
15314 2015-10-07  Florian Weimer  <fweimer@redhat.com>
15316         * iconvdata/cp737.h (from_idx): Add const.
15317         * iconvdata/cp775.h (from_idx): Likewise.
15319 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
15321         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
15322         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
15323         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
15325         [BZ #19079]
15326         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
15327         file, conditioned on [!_LP64].
15328         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
15329         [!_LP64] (__lround): Do not define as function or alias.
15330         [!_LP64] (lround): Likewise.
15331         [!_LP64] (__lroundl): Likewise.
15332         [!_LP64] (lroundl): Likewise.
15333         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
15334         macro.
15335         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
15336         Likewise.
15338 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
15340         * math/libm-test.inc (lrint_test_data): Add more tests.
15341         (llrint_test_data): Likewise.
15342         (lround_test_data): Likewise.
15343         (llround_test_data): Likewise.
15345         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
15346         (llrint_test_data): Add tests used for lrint.
15348         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
15349         test.
15350         * sysdeps/i386/configure: Regenerated.
15351         * sysdeps/i386/i686/multiarch/Makefile
15352         [$(config-cflags-sse4) = yes]: Make code unconditional.
15353         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
15354         Likewise.
15355         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
15356         Likewise.
15357         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
15358         test.
15359         * sysdeps/x86_64/configure: Regenerated.
15360         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
15361         Make code unconditional.
15362         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
15363         Likewise.
15364         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
15365         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
15367         * scripts/rpm2dynsym.sh: Remove file.
15369 2015-10-06  Florian Weimer  <fweimer@redhat.com>
15371         * configure.ac (libc_cv_cxx_thread_local): Define.
15372         * configure: Regenerate.
15373         * config.make.in (have-cxx-thread_local): Define.
15374         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
15375         (LDLIBS-tst-thread_local1): Define.
15376         (tests): Add tst-thread_local1.
15377         [have-cxx-thread_local != yes] (tests-unsupported): Add
15378         tst-thread_local1.
15379         * nptl/tst-thread_local1.cc: New file.
15381 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
15383         [BZ #19078]
15384         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
15385         (u_thres): Likewise.
15386         (__expl): Determine whether to call __kernel_standard_l based on
15387         value of result, not argument.
15389         * math/libm-test.inc (scalb_test_data): Add more expectations for
15390         the "inexact" exception.
15392         [BZ #19077]
15393         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
15394         0.0L for argument 1.0L.
15396         [BZ #19076]
15397         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
15398         constant 0.0L when computing infinite result.
15400 2015-10-06  Florian Weimer  <fweimer@redhat.com>
15402         [BZ #10432]
15403         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
15404         malloc_usable_size.
15406 2015-10-06  Florian Weimer  <fweimer@redhat.com>
15408         [BZ #19018]
15409         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
15410         Mangle function pointer before storing it.
15411         (__call_tls_dtors): Demangle function pointer before calling it.
15413 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
15415         [BZ #19012]
15416         * iconv/gconv_db.c (gen_steps): Check for additional errors.
15417         Clean up on failure.
15419 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
15421         [BZ #19071]
15422         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
15423         long int variable to store possibly incremented high part of
15424         mantissa.
15425         * math/libm-test.inc (lround_test_data): Add tests used for
15426         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
15427         for tests requiring 64-bit long.  Do not condition tests on
15428         [TEST_FLOAT] unnecessarily.
15429         (llround_test_data): Add tests used for lround.  Add another
15430         expectation for the "inexact" exception.  Do not condition tests
15431         on [TEST_FLOAT] unnecessarily.
15433         [BZ #887]
15434         [BZ #19049]
15435         [BZ #19050]
15436         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
15437         * sysdeps/ieee754/dbl-64/e_log10.c: Include
15438         <fix-int-fp-convert-zero.h>.
15439         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15440         * sysdeps/ieee754/dbl-64/e_log2.c: Include
15441         <fix-int-fp-convert-zero.h>.
15442         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15443         * sysdeps/ieee754/dbl-64/s_erf.c: Include
15444         <fix-int-fp-convert-zero.h>.
15445         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15446         * sysdeps/ieee754/dbl-64/s_logb.c: Include
15447         <fix-int-fp-convert-zero.h>.
15448         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15449         * sysdeps/ieee754/flt-32/e_log10f.c: Include
15450         <fix-int-fp-convert-zero.h>.
15451         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15452         * sysdeps/ieee754/flt-32/e_log2f.c: Include
15453         <fix-int-fp-convert-zero.h>.
15454         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15455         * sysdeps/ieee754/flt-32/s_erff.c: Include
15456         <fix-int-fp-convert-zero.h>.
15457         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15458         * sysdeps/ieee754/flt-32/s_logbf.c: Include
15459         <fix-int-fp-convert-zero.h>.
15460         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15461         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
15462         <fix-int-fp-convert-zero.h>.
15463         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15464         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
15465         <fix-int-fp-convert-zero.h>.
15466         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15467         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
15468         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
15469         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
15470         file.
15471         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
15473 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
15475         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15477 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
15479         [BZ #19059]
15480         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
15481         overflowing computation.
15482         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15483         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
15484         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15485         Likewise.
15486         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15487         Likewise.
15488         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
15489         Likewise.
15490         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15491         Likewise.
15492         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15493         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15494         Likewise.
15495         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15496         Likewise.
15497         * math/libm-test.inc (nexttoward_test_data): Add more tests.
15499         * nss/rewrite_field.c (__nss_rewrite_field): Use
15500         internal_function.
15501         * nss/valid_field.c (__nss_valid_field): Likewise.
15502         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
15504 2015-10-02  Florian Weimer  <fweimer@redhat.com>
15506         [BZ #18724]
15507         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
15508         (__nss_invalid_field_characters, __nss_valid_field)
15509         (__nss_valid_list_field, __nss_rewrite_field): Declare.
15510         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
15511         tst-field.c: New file.
15512         * nss/Makefile (routines): Add valid_field, rewrite_field.
15513         (tests-static): Define unconditionally.
15514         (tests): Include tests-static.
15515         [build-static-nss] (tests-static): Use append.
15516         [build-static-nss] (tests): Remove modification.
15517         * nss/getent.c (print_group): Call putgrent.  Report error.
15518         (print_gshadow): Call putsgent.  Report error.
15519         (print_passwd): Call putpwent.  Report error.
15520         (print_shadow): Call putspent.  Report error.
15521         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
15522         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
15523         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
15524         name, password, directory, shell fields for valid syntax.  Rewrite
15525         GECOS field to match syntax.
15526         * pwd/Makefile (tests): Add tst-putpwent.
15527         * pwd/tst-putpwent.c: New file.
15528         * grp/putgrent.c (putgrent): Convert to ISO function definition.
15529         Check grName, grpasswd, gr_mem fields for valid syntax.
15530         Change loop variable i to size_t.
15531         * grp/Makefile (tests): Add tst-putgrent.
15532         * grp/tst-putgrent.c: New file.
15533         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
15534         valid syntax.
15535         * shadow/Makefile (tests): Add tst-putspent.
15536         * shadow/tst-putspent.c: New file.
15537         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
15538         sg_mem fields for valid syntax.
15539         * gshadow/Makefile (tests): Add tst-putsgent.
15540         * gshadow/tst-putsgent.c: New file.
15542 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15544         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
15545         assembly instructions.
15547 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15549         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
15550         prefix from operands.
15552 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
15554         [BZ #16347]
15555         [BZ #19046]
15556         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
15557         <libc-internal.h>.
15558         (MAXLGM): Do not use diagnostic control macros.
15559         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
15560         threshold for ldbl-128ibm.
15561         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
15562         instead of multiplying by log then subtracting.
15563         * math/auto-libm-test-in: Add more tests of lgamma.
15564         * math/auto-libm-test-out: Regenerated.
15566         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
15567         (TYPE_HEX_DIG): Likewise.
15568         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
15569         precisions when printing floating-point numbers.
15570         (check_float_internal): Likewise.
15572 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
15574         [BZ #16620]
15575         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
15576         of log (10) rounded downward to 48 bits.
15577         (log10_low): Use corresponding low part of log (10).
15579         [BZ #19032]
15580         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
15581         compute result as (x - x) / (x - x) not as 0 / 0.
15582         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
15583         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
15585         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15586         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
15587         and expm1.
15588         * math/auto-libm-test-out: Regenerated.
15589         * math/libm-test.inc (acos_test_data): Add more tests.
15590         (asin_test_data): Likewise.
15591         (asinh_test_data): Likewise.
15592         (atan_test_data): Likewise.
15593         (atanh_test_data): Likewise.
15594         (atan2_test_data): Likewise.
15595         (cbrt_test_data): Likewise.
15596         (ceil_test_data): Likewise.
15597         (copysign_test_data): Likewise.
15598         (cos_test_data): Likewise.
15599         (cosh_test_data): Likewise.
15600         (erf_test_data): Likewise.
15601         (erfc_test_data): Likewise.
15602         (exp_test_data): Likewise.
15603         (exp10_test_data): Likewise.
15604         (exp2_test_data): Likewise.
15605         (expm1_test_data): Likewise.
15606         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15608 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
15610         [BZ #19006]
15611         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
15612         to ...
15613         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
15614         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
15615         to ...
15616         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
15617         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
15618         to ...
15619         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
15620         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
15621         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
15622         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
15623         to ...
15624         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
15625         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
15626         Moved to ...
15627         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
15628         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
15629         Moved to ...
15630         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
15631         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
15632         to ...
15633         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
15634         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
15635         Moved to ...
15636         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
15637         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
15638         to ...
15639         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
15640         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
15641         Removed.
15642         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
15643         Likewise.
15644         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
15645         Likewise.
15646         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
15647         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
15648         Likewise.
15649         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
15650         Likewise.
15651         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
15652         Likewise.
15653         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
15654         Likewise.
15655         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
15656         Likewise.
15657         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
15658         Likewise.
15659         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
15660         Likewise.
15661         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
15662         Likewise.
15663         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
15664         Likewise.
15665         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
15666         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
15667         Likewise.
15668         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
15669         Likewise.
15670         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
15671         Likewise.
15672         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
15673         Likewise.
15674         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
15675         Likewise.
15676         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
15677         Replace ../i486/pthread_cond_timedwait.S with
15678         ../pthread_cond_timedwait.S.
15680 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
15682         * math/libm-test.inc (acos_test_data): Refine expectations for
15683         errno and "inexact" exceptions.
15684         (acosh_test_data): Likewise.
15685         (asin_test_data): Likewise.
15686         (asinh_test_data): Likewise.
15687         (atan_test_data): Likewise.
15688         (atanh_test_data): Likewise.
15689         (atan2_test_data): Likewise.
15690         (cbrt_test_data): Likewise.
15691         (ceil_test_data): Likewise.
15692         (copysign_test_data): Likewise.
15693         (cosh_test_data): Likewise.
15694         (erf_test_data): Likewise.
15695         (erfc_test_data): Likewise.
15696         (exp_test_data): Likewise.
15697         (exp10_test_data): Likewise.
15698         (exp2_test_data): Likewise.
15699         (expm1_test_data): Likewise.
15700         (fabs_test_data): Likewise.
15701         (floor_test_data): Likewise.
15702         (fma_test_data): Likewise.
15703         (fmax_test_data): Likewise.
15704         (fmin_test_data): Likewise.
15705         (fmod_test_data): Likewise.
15706         (fpclassify_test_data): Likewise.
15707         (frexp_test_data): Likewise.
15708         (hypot_test_data): Likewise.
15709         (ilogb_test_data): Likewise.
15710         (isgreater_test_data): Likewise.
15711         (isgreaterequal_test_data): Likewise.
15712         (isinf_test_data): Likewise.
15713         (isless_test_data): Likewise.
15714         (islessequal_test_data): Likewise.
15715         (islessgreater_test_data): Likewise.
15716         (isnan_test_data): Likewise.
15717         (isnormal_test_data): Likewise.
15718         (issignaling_test_data): Likewise.
15719         (isunordered_test_data): Likewise.
15720         (j0_test_data): Likewise.
15721         (j1_test_data): Likewise.
15722         (jn_test_data): Likewise.
15723         (lgamma_test_data): Likewise.
15724         (lrint_test_data): Likewise.
15725         (llrint_test_data): Likewise.
15726         (log_test_data): Likewise.
15727         (log10_test_data): Likewise.
15728         (log1p_test_data): Likewise.
15729         (log2_test_data): Likewise.
15730         (logb_test_data): Likewise.
15731         (lround_test_data): Likewise.
15732         (llround_test_data): Likewise.
15733         (modf_test_data): Likewise.
15734         (nearbyint_test_data): Likewise.
15735         (nextafter_test_data): Likewise.
15736         (nexttoward_test_data): Likewise.
15737         (pow_test_data): Likewise.
15738         (remainder_test_data): Likewise.
15739         (remquo_test_data): Likewise.
15740         (rint_test_data): Likewise.
15741         (round_test_data): Likewise.
15742         (signbit_test_data): Likewise.
15743         (sinh_test_data): Likewise.
15744         (sqrt_test_data): Likewise.
15745         (tanh_test_data): Likewise.
15746         (tgamma_test_data): Likewise.
15747         (trunc_test_data): Likewise.
15748         (y0_test_data): Likewise.
15749         (y1_test_data): Likewise.
15750         (yn_test_data): Likewise.
15751         (significand_test_data): Likewise.
15753 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
15755         * manual/filesys.texi (Storage Allocation): Document that
15756         posix_fallocate emulation fails when fd is open with O_WRONLY.
15758 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
15760         [BZ #19016]
15761         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
15762         allow more cases with X^2 + Y^2 >= 0.5.
15763         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
15764         normal element in sum instead of special-casing based on values of
15765         arguments.
15766         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
15767         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
15768         -1 as normal element in sum instead of special-casing based on
15769         values of arguments.
15770         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
15771         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
15772         (__x2y2m1): Update comment.
15773         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
15774         as normal element in sum instead of special-casing based on values
15775         of arguments.
15776         * math/s_clog.c (__clog): Handle more cases using log1p without
15777         hypot.
15778         * math/s_clog10.c (__clog10): Likewise.
15779         * math/s_clog10f.c (__clog10f): Likewise.
15780         * math/s_clog10l.c (__clog10l): Likewise.
15781         * math/s_clogf.c (__clogf): Likewise.
15782         * math/s_clogl.c (__clogl): Likewise.
15783         * math/auto-libm-test-in: Add more tests of clog and clog10.
15784         * math/auto-libm-test-out: Regenerated.
15785         * sysdeps/i386/fpu/libm-test-ulps: Update.
15786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15788 2015-09-28  Martin Sebor  <msebor@redhat.com>
15790         [BZ #18969]
15791         * string/Makefile (LOCALES): Define.
15792         (gen-locales.mk): Include.
15793         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
15794         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
15795         * string/tst-strxfrm2.c (do_test): Print the name of the locale
15796         on setlocale failure.
15798 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
15800         [BZ #18985]
15801         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
15802         (__strftime_internal): Likewise.
15803         * time/tst-strftime.c (do_bz18985): New test.
15804         (do_test): Call it.
15806 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
15808         [BZ #18956]
15809         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
15810         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
15811         extracting high part.
15812         * math/auto-libm-test-in: Add another test of pow.
15813         * math/auto-libm-test-out: Regenerated.
15814         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15816 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
15818         [BZ #18825]
15819         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
15820         New macro.
15821         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
15822         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
15823         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
15824         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
15825         DBL_NARROW_EVAL, reloading the PIC register as needed.
15826         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
15827         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
15828         FLT_NARROW_EVAL.  Use separate return path for case when first
15829         argument is NaN.
15830         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
15831         DEFINE_LDBL_MIN.
15832         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
15833         PIC register.
15834         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
15835         math_check_force_underflow_nonneg.
15836         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
15837         underflow for subnormal result.
15838         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
15839         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
15840         math_check_force_underflow_nonneg.
15841         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
15842         math_check_force_underflow.
15843         * sysdeps/x86_64/fpu/x86_64-math-asm.h
15844         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
15845         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
15846         DEFINE_LDBL_MIN.
15847         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
15848         * math/auto-libm-test-in: Add more tests of pow.
15849         * math/auto-libm-test-out: Regenerated.
15851 2015-09-25  Florian Weimer  <fweimer@redhat.com>
15853         * nss/bug17079.c (init_test_items): Add diagnostic for
15854         inconsistent entries.
15855         (test_buffer_size): Skip inconsistent entries.
15857 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
15859         [BZ #13304]
15860         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
15861         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
15862         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
15864         [BZ #13304]
15865         * sysdeps/microblaze/s_fma.c: New file.
15866         * sysdeps/microblaze/s_fmaf.c: Likewise.
15867         * sysdeps/microblaze/sfp-machine.h: Likewise.
15869 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
15871         [BZ #17250]
15872         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
15873         member.
15875 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
15877         [BZ #18803]
15878         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
15879         (MO): New macro.
15880         (__ieee754_hypot) [PIC]: Load PIC register.
15881         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
15882         DBL_NARROW_EVAL.
15883         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
15884         math_check_force_underflow_nonneg in case where result might be
15885         tiny.
15886         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
15887         Likewise.
15888         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15889         Likewise.
15890         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
15891         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
15892         * math/auto-libm-test-in: Add more tests of hypot.
15893         * math/auto-libm-test-out: Regenerated.
15895 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
15897         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
15899 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
15901         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
15902         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
15903         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
15904         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
15905         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
15906         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
15907         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
15909         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
15910         LOAD_PIC_REG.
15912         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
15913         (FLT_CHECK_FORCE_UFLOW): Likewise.
15914         (DBL_CHECK_FORCE_UFLOW): Likewise.
15915         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
15916         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
15917         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
15918         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
15919         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
15920         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
15921         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
15922         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
15923         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
15924         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15925         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
15926         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
15927         (flt_min): Replace with use of DEFINE_FLT_MIN.
15928         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
15929         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
15930         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15931         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
15932         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
15933         (flt_min): Replace with use of DEFINE_FLT_MIN.
15934         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
15935         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
15936         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15937         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
15938         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
15939         (flt_min): Replace with use of DEFINE_FLT_MIN.
15940         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
15941         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
15942         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
15943         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
15944         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
15945         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
15946         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
15947         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
15948         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15949         (__atan): Use DBL_CHECK_FORCE_UFLOW.
15950         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
15951         (flt_min): Replace with use of DEFINE_FLT_MIN.
15952         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
15953         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
15954         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15955         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
15956         main computation.
15957         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
15958         (flt_min): Replace with use of DEFINE_FLT_MIN.
15959         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
15960         main computation.
15961         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
15962         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15963         (MO): New macro.
15964         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
15965         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
15966         (flt_min): Replace with use of DEFINE_FLT_MIN.
15967         (MO): New macro.
15968         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
15969         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
15970         (__log1pl): Use MO.
15972         [BZ #19003]
15973         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
15974         $(config-cflags-nofma).
15976 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15978         * sysdeps/aarch64/libm-test-ulps: Regenerated.
15980 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
15982         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
15983         (TWO127): Likewise.
15985         * sysdeps/generic/math_private.h (fabs_tg): New macro.
15986         (min_of_type): Likewise.
15987         (math_check_force_underflow): Likewise.
15988         (math_check_force_underflow_nonneg): Likewise.
15989         (math_check_force_underflow_complex): Likewise.
15990         * math/e_exp2l.c (__ieee754_exp2l): Use
15991         math_check_force_underflow_nonneg.
15992         * math/k_casinh.c (__kernel_casinh): Likewise.
15993         * math/k_casinhf.c (__kernel_casinhf): Likewise.
15994         * math/k_casinhl.c (__kernel_casinhl): Likewise.
15995         * math/s_catan.c (__catan): Use
15996         math_check_force_underflow_complex.
15997         * math/s_catanf.c (__catanf): Likewise.
15998         * math/s_catanh.c (__catanh): Likewise.
15999         * math/s_catanhf.c (__catanhf): Likewise.
16000         * math/s_catanhl.c (__catanhl): Likewise.
16001         * math/s_catanl.c (__catanl): Likewise.
16002         * math/s_ccosh.c (__ccosh): Likewise.
16003         * math/s_ccoshf.c (__ccoshf): Likewise.
16004         * math/s_ccoshl.c (__ccoshl): Likewise.
16005         * math/s_cexp.c (__cexp): Likewise.
16006         * math/s_cexpf.c (__cexpf): Likewise.
16007         * math/s_cexpl.c (__cexpl): Likewise.
16008         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
16009         * math/s_clog10.c (__clog10): Likewise.
16010         * math/s_clog10f.c (__clog10f): Likewise.
16011         * math/s_clog10l.c (__clog10l): Likewise.
16012         * math/s_clogf.c (__clogf): Likewise.
16013         * math/s_clogl.c (__clogl): Likewise.
16014         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
16015         * math/s_csinf.c (__csinf): Likewise.
16016         * math/s_csinh.c (__csinh): Likewise.
16017         * math/s_csinhf.c (__csinhf): Likewise.
16018         * math/s_csinhl.c (__csinhl): Likewise.
16019         * math/s_csinl.c (__csinl): Likewise.
16020         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
16021         * math/s_csqrtf.c (__csqrtf): Likewise.
16022         * math/s_csqrtl.c (__csqrtl): Likewise.
16023         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
16024         * math/s_ctanf.c (__ctanf): Likewise.
16025         * math/s_ctanh.c (__ctanh): Likewise.
16026         * math/s_ctanhf.c (__ctanhf): Likewise.
16027         * math/s_ctanhl.c (__ctanhl): Likewise.
16028         * math/s_ctanl.c (__ctanl): Likewise.
16029         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
16030         instead of volatile.
16031         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
16032         math_check_force_underflow.
16033         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
16034         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
16035         volatile when forcing underflow.
16036         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
16037         math_check_force_underflow_nonneg.
16038         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
16039         Likewise.
16040         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
16041         math_check_force_underflow.
16042         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16043         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
16044         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16045         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
16046         math_check_force_underflow_nonneg.
16047         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
16048         math_check_force_underflow.
16049         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
16050         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
16051         instead of volatile.
16052         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
16053         math_check_force_underflow.
16054         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
16055         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
16056         math_check_force_underflow_nonneg.
16057         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
16058         math_check_force_underflow.
16059         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
16060         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
16061         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
16062         math_check_force_underflow_nonneg.
16063         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
16064         Likewise.
16065         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
16066         math_check_force_underflow.
16067         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16068         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
16069         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
16070         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
16071         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
16072         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
16073         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
16074         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
16075         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
16076         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
16077         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
16078         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
16079         Likewise.
16080         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
16081         math_check_force_underflow_nonneg.
16082         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
16083         Likewise.
16084         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
16085         math_check_force_underflow.
16086         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16087         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
16088         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16089         Likewise.
16090         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
16091         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
16092         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
16093         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
16094         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
16095         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
16096         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
16097         instead of volatile.
16098         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
16099         math_check_force_underflow.
16100         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
16101         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
16102         math_check_force_underflow.
16103         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
16104         Likewise.
16105         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16106         Use math_check_force_underflow_nonneg.
16107         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
16108         math_check_force_underflow.
16109         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
16110         Likewise.
16111         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
16112         Likewise.
16113         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16114         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16115         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16116         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16117         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
16118         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16119         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
16120         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
16121         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
16122         math_check_force_underflow_nonneg.
16123         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
16124         math_check_force_underflow.
16125         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16126         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
16127         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
16128         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
16129         math_check_force_underflow_nonneg.
16130         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
16131         math_check_force_underflow.
16132         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
16133         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
16134         instead of volatile.
16135         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
16136         math_check_force_underflow.
16138         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
16139         * stdlib/strtod_l.c: Include <math_private.h>.
16140         (overflow_value): Use math_narrow_eval.
16141         (underflow_value): Likewise.
16142         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16143         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
16144         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
16145         (__ieee754_gamma_r): Likewise.
16146         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
16147         Likewise.
16148         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
16149         Likewise.
16150         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
16151         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
16152         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
16153         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
16154         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
16155         (__ieee754_gammaf_r): Likewise.
16156         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
16157         Likewise.
16158         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
16159         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
16160         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
16161         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
16162         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
16163         volatile.
16164         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
16165         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
16166         math_narrow_eval.
16167         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
16168         Likewise.
16169         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16170         Likewise.
16171         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
16172         Likewise.
16173         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
16174         volatile.
16175         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
16176         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
16177         math_narrow_eval.
16178         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16179         Likewise.
16180         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16181         Likewise.
16183 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
16185         * nptl/Versions: Remove ignored symbols.
16187 2015-09-22  Florian Weimer  <fweimer@redhat.com>
16189         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
16190         * nss/Makefile (tests): Update.
16192 2015-09-22  Florian Weimer  <fweimer@redhat.com>
16194         * nss/bug18287.c: New file.
16195         * nss/Makefile (tests): Add bug18287.
16197 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16199         * mach/Versions (__mach_host_self_): Add symbol.
16201 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16203         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
16204         vm_page_size.
16206 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16208         Really fix sysdeps/i386/fpu/s_scalbn.S build
16210         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
16211         (libc: GLIBC_2_22): Remove unused version set.
16213 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
16215         * config.make.in (enable-timezone-tools): New variable.
16216         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
16217         (enable_timezone_tools): Export to generated files.
16218         * configure: Regenerate.
16219         * INSTALL: Regenerate.
16220         * manual/install.texi (--disable-timezone-tools): Document new flag.
16221         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
16222         ifeq ($(enable-timezone-tools),yes) check.
16224 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
16226         * timezone/Makefile: Revert previous change.
16228         [BZ #18980]
16229         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
16230         (DEFINE_DBL_MIN): Likewise.
16231         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
16232         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
16233         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
16234         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
16235         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
16236         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16237         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
16238         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
16239         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
16240         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16241         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
16242         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
16243         (flt_min): Replace with use of DEFINE_FLT_MIN.
16244         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
16245         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
16246         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16247         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
16248         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
16249         (flt_min): Replace with use of DEFINE_FLT_MIN.
16250         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
16251         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
16252         (flt_min): Replace with use of DEFINE_FLT_MIN.
16253         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
16254         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
16255         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
16256         (__ieee754_hypot): Use DBL_NARROW_EVAL.
16257         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
16258         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
16259         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
16260         (__ieee754_pow): Use DBL_NARROW_EVAL.
16261         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
16262         (__ieee754_powf): Use FLT_NARROW_EVAL.
16263         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
16264         (__ieee754_expf_sse2): Convert double-precision result to single
16265         precision.
16266         * sysdeps/i386/fpu/libm-test-ulps: Update.
16268 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
16270         * timezone/Makefile: Ignore unused variable errors due to private.h
16271         (time_t_min) and (time_t_max).
16272         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
16273         Likewise.
16275 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
16277         [BZ #18981]
16278         * sysdeps/i386/fpu/i386-math-asm.h: New file.
16279         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
16280         (__ieee754_scalb): Use DBL_NARROW_EVAL.
16281         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
16282         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
16283         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
16284         (__scalbn): Use DBL_NARROW_EVAL.
16285         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
16286         (__scalbnf): Use FLT_NARROW_EVAL.
16288 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
16290         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
16291         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
16292         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
16293         * stdio-common/printf_fp.c (___printf_fp):
16294         Use signbit to get the sign. Use isinf macro to allow inlining.
16295         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
16296         * stdio-common/printf_size.c (__printf_size): Likewise.
16298 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
16300         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
16302 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
16304         [BZ #18980]
16305         * sysdeps/generic/math_private.h: Include <float.h>.
16306         (math_narrow_eval): New macro.
16307         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
16308         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
16309         math_narrow_eval on overflowing return value.
16310         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
16311         Likewise.
16312         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
16313         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
16314         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
16315         Likewise.
16316         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
16318 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
16320         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
16321         * math/Makefile: Remove isinf_ns.c.
16322         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
16323         * math/multc3.c (__multc3): Likewise.
16324         * math/s_casin.c (__casin): Likewise.
16325         * math/s_casinf.c (__casinf): Likewise.
16326         * math/s_casinl.c (__casinl): Likewise.
16327         * math/s_cproj.c (__cproj): Likewise.
16328         * math/s_cprojf.c (__cprojf): Likewise.
16329         * math/s_cprojl.c (__cprofl): Likewise.
16330         * math/s_ctan.c (__ctan): Likewise.
16331         * math/s_ctanf.c (__ctanf): Likewise.
16332         * math/s_ctanh.c (__ctanh): Likewise.
16333         * math/s_ctanhf.c (__ctanhf): Likewise.
16334         * math/s_ctanhl.c (__ctanhl): Likewise.
16335         * math/s_ctanl.c (__ctanl): Likewise.
16336         * math/w_fmod.c (__fmod): Likewise.
16337         * math/w_fmodf.c (__fmodf): Likewise.
16338         * math/w_fmodl.c (_fmodl): Likewise.
16339         * math/w_remainder.c (__remainder): Likewise.
16340         * math/w_remainderf.c (__remainderf): Likewise.
16341         * math/w_remainderl.c (__remainderl): Likewise.
16342         * math/w_scalb.c (__scalb): Likewise.
16343         * math/w_scalbf.c (__scalbf): Likewise.
16344         * math/w_scalbl.c (__scalbl): Likewise.
16345         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
16346         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
16347         with isinf.
16348         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
16349         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
16350         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
16351         __isinf_nsf with isinf.
16352         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
16353         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
16354         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
16355         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
16356         with isinf.
16357         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
16358         __isinf_nsl with isinf.
16359         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
16360         with isinf.
16361         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
16362         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
16363         __isinf_nsl with isinf.
16364         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
16365         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
16366         with isinf.
16368 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
16370         * resolv/base64.c (rcsid): Remove unused static.
16371         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
16372         static.  (tqpi1): Likewise.
16373         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
16374         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
16375         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
16376         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
16377         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
16378         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
16379         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
16380         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
16381         Likewise.
16383 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
16385         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
16386         <nptl/pthreadP.h>.
16387         (_longjmp_unwind): Use __libc_ptf_call.
16388         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
16390 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
16392         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
16393         * sysdeps/arm/__longjmp.S: Likewise.
16395 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
16397         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
16398         Use __builtin_signbit.
16399         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
16400         Use __builtin_signbitf.
16401         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
16402         Use __builtin_signbitl.
16403         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16404         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
16406 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
16408         [BZ #15367]
16409         [BZ #17441]
16411         * math/Makefile: Build test-snan.c with -fsignaling-nans.
16412         * math/math.h (fpclassify): Use __builtin_fpclassify when
16413         available.  (signbit): Use __builtin_signbit(f/l).
16414         (isfinite): Use__builtin_isfinite.  (isnormal): Use
16415         __builtin_isnormal.  (isnan): Use __builtin_isnan.
16416         (isinf): Use __builtin_isinf_sign.
16418 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
16420         * benchtests/Makefile: Add bench-math-inlines, link with libm.
16421         * benchtests/bench-math-inlines.c: New benchmark.
16422         * benchtests/bench-util.h: New file.
16423         * benchtests/bench-util.c: New file.
16424         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
16426 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
16428         * elf/tst-dlmopen1.c: Define TEST_SO.
16429         (do_test): Use TEST_SO.
16431         * elf/dl-load.c: Include libc-internal.h.
16432         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
16434 2015-09-18  Vincent Bernat  <vincent@bernat.im>
16436         [BZ #17887]
16437         * time/strptime_l.c (__strptime_internal): Make %z accept
16438         [+-]HH:MM time zones.
16440 2015-09-18  Vincent Bernat  <vincent@bernat.im>
16442         [BZ #17886]
16443         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
16444         valid time zone.
16446 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
16448         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
16449         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
16450         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16451         (__ASSUME_FDATASYNC): Delete.
16453 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
16455         * conform/linknamespace.pl: Require weak undefined symbols to be
16456         in the standard namespace.
16457         (%strong_syms): Rename to %seen_syms.
16458         (%strong_seen): Rename to %seen_where.
16460 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
16462         [BZ #18970]
16463         * misc/error.c (error): Replace pthread_setcancelstate with
16464         __pthread_setcancelstate.
16465         (error_at_line): Likewise.
16466         * posix/wordexp.c (parse_comm): Likewise.
16467         * stdlib/fmtmsg.c (fmtmsg): Likewise.
16468         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
16469         (__pthread_setcancelstate): This.
16470         (pthread_setcancelstate): Add an alias.
16471         * nptl/nptl-init.c (pthread_functions): Replace
16472         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
16473         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
16474         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
16475         hidden_proto.
16476         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
16477         it with hidden_def.
16478         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
16479         (pthread_setcancelstate): Renamed to ...
16480         (__pthread_setcancelstate): This.
16481         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
16482         __libc_ptf_call with __pthread_setcancelstate.
16484 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
16485             Andreas Schwab  <schwab@suse.de>
16487         [BZ #17118]
16488         * math/s_ctan.c (__ctan): Determine sign of zero real part of
16489         result when imaginary part of argument is infinite using sine and
16490         cosine.
16491         * math/s_ctanf.c (__ctanf): Likewise.
16492         * math/s_ctanl.c (__ctanl): Likewise.
16493         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
16494         of result when real part of argument is infinite using sine and
16495         cosine.
16496         * math/s_ctanhf.c (__ctanhf): Likewise.
16497         * math/s_ctanhl.c (__ctanhl): Likewise.
16498         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
16499         (ctanh_test_data): Add more tests of ctanh.
16501 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
16503         [BZ #15384]
16504         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
16505         bit-mask as in subtraction.
16506         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
16507         Likewise.
16508         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
16509         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
16510         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
16512         [BZ #18951]
16513         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
16514         underflow exception for small results.
16515         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
16516         Likewise.
16517         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
16518         Likewise.
16519         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16520         Likewise.
16521         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
16522         Likewise.
16523         * math/auto-libm-test-in: Add more tests of tgamma.
16524         * math/auto-libm-test-out: Regenerated.
16526 2015-09-17  Andreas Schwab  <schwab@suse.de>
16528         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
16530 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
16532         [BZ #18977]
16533         * math/bits/mathcalls.h
16534         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
16535         not declare.
16536         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
16537         Likewise.
16538         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
16539         Likewise.
16540         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
16541         Likewise.
16542         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
16543         Likewise.
16544         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
16545         Likewise.
16546         * conform/data/math.h-data
16547         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
16548         function.
16549         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
16550         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
16551         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
16552         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
16553         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
16554         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
16555         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
16556         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
16557         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
16558         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
16559         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
16561         [BZ #6803]
16562         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
16563         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
16564         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
16565         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
16566         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
16567         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
16568         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
16569         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
16570         [NO_LONG_DOUBLE] (scalbnl): Likewise.
16571         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
16572         Likewise.
16573         [NO_LONG_DOUBLE] (scalbnl): Likewise.
16574         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
16575         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
16576         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
16577         long_double_symbol calls.
16578         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
16579         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
16580         strong alias of __ldexpl.
16581         (scalbnl): Define using long_double_symbol.
16582         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
16583         Remove alias.
16584         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
16585         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
16586         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
16587         (scalbln_test_data): Add more errno expectations.
16589 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
16591         Cache the host port like we cache the task port.  This way we do not
16592         need to call the kernel just to get the port.  Furthermore, we no
16593         longer increase the reference count on every invocation of
16594         `mach_host_self'.
16596         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
16597         Protect declarations against the macro expansion.
16598         * mach/mach_init.c (__mach_host_self_): New variable.
16599         (mach_init): Initialize `__mach_host_self_'.
16600         * mach/mach_init.h (__mach_host_self_): New declaration.
16601         (__mach_host_self, mach_host_self): New macros.
16602         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
16603         Release reference.
16605 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
16607         [BZ #4404]
16608         * po/de.po: Update from Translation Project.
16610         [BZ #16415]
16611         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
16612         (__expm1l): Remove code to handle positive infinity and overflow.
16613         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
16614         variable.
16615         (__expm1l): Remove code to handle positive infinity and overflow.
16617 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
16618             Paul Pluzhnikov  <ppluzhnikov@google.com>
16620         [BZ #18872]
16621         * stdio-common/Makefile (tst-printf-bz18872): New test.
16622         (tst-printf-bz18872-mem.out): Likewise.
16623         * stdio-common/tst-printf-bz18872.sh: Generate new test.
16624         * stdio-common/vfprintf.c: Fix memory leaks.
16626 2015-09-16  Andreas Schwab  <schwab@suse.de>
16628         [BZ #17244]
16629         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
16630         Remove extra va_start/va_end calls.
16632         [BZ #17243]
16633         * posix/execl.c (execl): Add missing va_end.
16634         * posix/execle.c (execle): Likewise.
16635         * posix/execlp.c (execlp): Likewise.
16637 2015-09-15  Roland McGrath  <roland@hack.frob.com>
16639         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
16640         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
16642 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
16644         [BZ #18967]
16645         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
16646         undefine around includes of <bits/mathcalls.h>.
16647         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
16648         not declare function.
16649         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
16650         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
16651         (scalb): Likewise.
16652         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
16653         not define macro.
16654         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
16655         variable.
16656         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
16657         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
16658         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
16660         [BZ #18857]
16661         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
16662         return non-finite argument without doing ordered comparisons on
16663         it.
16665         [BZ #16296]
16666         * math/fenv.h (fegetround): Use __attribute_pure__.
16667         * include/fenv.h (__fegetround): Likewise.
16669         [BZ #18595]
16670         * math/s_ctan.c (__ctan): Force underflow exception for results
16671         whose real or imaginary part has small absolute value.
16672         * math/s_ctanf.c (__ctanf): Likewise.
16673         * math/s_ctanh.c (__ctanh): Likewise.
16674         * math/s_ctanhf.c (__ctanhf): Likewise.
16675         * math/s_ctanhl.c (__ctanhl): Likewise.
16676         * math/s_ctanl.c (__ctanl): Likewise.
16677         * math/auto-libm-test-in: Do not allow missing underflow for ctan
16678         and ctanh.  Add more tests of ctan and ctanh.
16680         [BZ #15918]
16681         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
16682         handling of cases where one argument is an infinity.
16684         [BZ #18875]
16685         [BZ #18966]
16686         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
16687         (MO): New macro.
16688         (__ieee754_exp10): For small results, force underflow exception
16689         and remove excess range and precision from return value.
16690         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
16691         (MO): New macro.
16692         (__ieee754_exp10f): For small results, force underflow exception
16693         and remove excess range and precision from return value.
16694         * math/auto-libm-test-in: Add more tests of exp10.
16695         * math/auto-libm-test-out: Regenerated.
16697 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
16699         [BZ #18875]
16700         [BZ #18961]
16701         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
16702         (MO): New macro.
16703         (__ieee754_exp): For small results, force underflow exception and
16704         remove excess range and precision from return value.
16705         (__exp_finite): Likewise.
16706         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
16707         (MO): New macro.
16708         (__ieee754_expf): For small results, force underflow exception and
16709         remove excess range and precision from return value.
16710         (__expf_finite): Likewise.
16711         * math/auto-libm-test-in: Add more tests of exp.
16712         * math/auto-libm-test-out: Regenerated.
16714         [BZ #16521]
16715         [BZ #18875]
16716         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
16717         small results.
16718         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
16719         (MO): New macro.
16720         (__ieee754_exp2): For small results, force underflow exception and
16721         remove excess range and precision from return value.
16722         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
16723         (MO): New macro.
16724         (__ieee754_exp2f): For small results, force underflow exception
16725         and remove excess range and precision from return value.
16726         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
16727         (MO): New macro.
16728         (__ieee754_exp2l): Force underflow exception for small results.
16729         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16730         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
16731         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
16732         (MO): New macro.
16733         (__ieee754_exp2l): Force underflow exception for small results.
16734         * math/auto-libm-test-in: Add more tests or exp2.
16735         * math/auto-libm-test-out: Regenerated.
16737 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
16739         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
16741         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
16742         /dev/null.
16744 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16746         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
16747         io fs process)): Drop spurious backslash.
16749 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
16751         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
16752         Use sysinfo system call instead of parsing /proc/meminfo.
16753         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
16754         Likewise.
16756 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
16758         [BZ #16985]
16759         * programs/localedef.c (main): Display argv[remaining] when
16760         output_path is NULL.
16762 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
16764         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16765         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
16766         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
16767         tanh.
16768         * math/auto-libm-test-out: Regenerated.
16769         * sysdeps/i386/fpu/libm-test-ulps: Update.
16770         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16771         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16774 2015-09-11  Roland McGrath  <roland@hack.frob.com>
16776         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
16777         Use 'override' keyword to freeze the value here, preventing
16778         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
16780 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
16782         [BZ #14912]
16783         * sysdeps/aarch64/bits/atomic.h: Move to ...
16784         * sysdeps/aarch64/atomic-machine.h: ...here.
16785         (_AARCH64_BITS_ATOMIC_H): Rename macro to
16786         _AARCH64_ATOMIC_MACHINE_H.
16787         * sysdeps/alpha/bits/atomic.h: Move to ...
16788         * sysdeps/alpha/atomic-machine.h: ...here.
16789         * sysdeps/arm/bits/atomic.h: Move to ...
16790         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
16791         * bits/atomic.h: Move to ...
16792         * sysdeps/generic/atomic-machine.h: ...here.
16793         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16794         * sysdeps/i386/bits/atomic.h: Move to ...
16795         * sysdeps/i386/atomic-machine.h: ...here.
16796         * sysdeps/ia64/bits/atomic.h: Move to ...
16797         * sysdeps/ia64/atomic-machine.h: ...here.
16798         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
16799         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
16800         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16801         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
16802         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
16803         * sysdeps/microblaze/bits/atomic.h: Move to ...
16804         * sysdeps/microblaze/atomic-machine.h: ...here.
16805         * sysdeps/mips/bits/atomic.h: Move to ...
16806         * sysdeps/mips/atomic-machine.h: ...here.
16807         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
16808         * sysdeps/powerpc/bits/atomic.h: Move to ...
16809         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
16810         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
16811         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
16812         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
16813         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
16814         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
16815         <atomic-machine.h> instead of <bits/atomic.h>.
16816         * sysdeps/s390/bits/atomic.h: Move to ...
16817         * sysdeps/s390/atomic-machine.h: ...here.
16818         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
16819         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
16820         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16821         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
16822         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
16823         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
16824         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
16825         * sysdeps/tile/bits/atomic.h: Move to ...
16826         * sysdeps/tile/atomic-machine.h: ...here.
16827         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
16828         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
16829         <sysdeps/tile/atomic-machine.h> instead of
16830         <sysdeps/tile/bits/atomic.h>.
16831         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16832         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
16833         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
16834         <sysdeps/tile/atomic-machine.h> instead of
16835         <sysdeps/tile/bits/atomic.h>.
16836         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16837         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
16838         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
16839         <sysdeps/arm/atomic-machine.h> instead of
16840         <sysdeps/arm/bits/atomic.h>.
16841         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
16842         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
16843         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16844         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
16845         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
16846         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16847         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
16848         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
16849         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
16850         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
16851         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
16852         * sysdeps/x86_64/bits/atomic.h: Move to ...
16853         * sysdeps/x86_64/atomic-machine.h: ...here.
16854         * include/atomic.h: Include <atomic-machine.h> instead of
16855         <bits/atomic.h>.
16857         * sysdeps/mips/mips32/libm-test-ulps: Update.
16858         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16860         [BZ #18952]
16861         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
16862         not convert non-integer negative arguments to int to determine the
16863         value of signgam.
16864         * math/auto-libm-test-in: Add more tests of lgamma.
16865         * math/auto-libm-test-out: Regenerated.
16867         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
16868         cosh, csqrt, erfc, expm1 and lgamma.
16869         * math/auto-libm-test-out: Regenerated.
16870         * sysdeps/i386/fpu/libm-test-ulps: Update.
16871         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16873 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
16875         [BZ #2542]
16876         [BZ #2543]
16877         [BZ #2558]
16878         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
16879         __lgamma_neg for arguments from -28.0 to -2.0.
16880         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
16881         __lgamma_negf for arguments from -15.0 to -2.0.
16882         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16883         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
16884         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
16885         Call __lgamma_negl for arguments from -33.0 to -2.0.
16886         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
16887         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
16888         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
16889         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
16890         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
16891         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
16892         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
16893         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
16894         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
16895         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
16896         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
16897         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
16898         (__lgamma_neg): Likewise.
16899         (__lgamma_negl): Likewise.
16900         (__lgamma_product): Likewise.
16901         (__lgamma_productl): Likewise.
16902         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
16903         * math/auto-libm-test-in: Add more tests of lgamma.
16904         * math/auto-libm-test-out: Regenerated.
16905         * sysdeps/i386/fpu/libm-test-ulps: Update.
16906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16908 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
16910         [BZ #18675]
16911         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
16913 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
16915         [BZ #14912]
16916         * bits/libc-lock.h: Move to ...
16917         * sysdeps/generic/libc-lock.h: ...here.
16918         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16919         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
16920         * sysdeps/mach/hurd/libc-lock.h: ...here.
16921         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16922         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
16923         * sysdeps/mach/bits/libc-lock.h: Move to ...
16924         * sysdeps/mach/libc-lock.h: ...here.
16925         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16926         * sysdeps/nptl/bits/libc-lock.h: Move to ...
16927         * sysdeps/nptl/libc-lock.h: ...here.
16928         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16929         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
16930         * sysdeps/nptl/libc-lockP.h: ...here.
16931         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
16932         * crypt/crypt_util.c: Include <libc-lock.h> instead of
16933         <bits/libc-lock.h>.
16934         * dirent/scandir-tail.c: Likewise.
16935         * dlfcn/dlerror.c: Likewise.
16936         * elf/dl-close.c: Likewise.
16937         * elf/dl-iteratephdr.c: Likewise.
16938         * elf/dl-lookup.c: Likewise.
16939         * elf/dl-open.c: Likewise.
16940         * elf/dl-support.c: Likewise.
16941         * elf/dl-writev.h: Likewise.
16942         * elf/rtld.c: Likewise.
16943         * grp/fgetgrent.c: Likewise.
16944         * gshadow/fgetsgent.c: Likewise.
16945         * gshadow/sgetsgent.c: Likewise.
16946         * iconv/gconv_conf.c: Likewise.
16947         * iconv/gconv_db.c: Likewise.
16948         * iconv/gconv_dl.c: Likewise.
16949         * iconv/gconv_int.h: Likewise.
16950         * iconv/gconv_trans.c: Likewise.
16951         * include/link.h: Likewise.
16952         * inet/getnameinfo.c: Likewise.
16953         * inet/getnetgrent.c: Likewise.
16954         * inet/getnetgrent_r.c: Likewise.
16955         * intl/bindtextdom.c: Likewise.
16956         * intl/dcigettext.c: Likewise.
16957         * intl/finddomain.c: Likewise.
16958         * intl/gettextP.h: Likewise.
16959         * intl/loadmsgcat.c: Likewise.
16960         * intl/localealias.c: Likewise.
16961         * intl/textdomain.c: Likewise.
16962         * libidn/idn-stub.c: Likewise.
16963         * libio/libioP.h: Likewise.
16964         * locale/duplocale.c: Likewise.
16965         * locale/freelocale.c: Likewise.
16966         * locale/newlocale.c: Likewise.
16967         * locale/setlocale.c: Likewise.
16968         * login/getutent_r.c: Likewise.
16969         * login/getutid_r.c: Likewise.
16970         * login/getutline_r.c: Likewise.
16971         * login/utmp-private.h: Likewise.
16972         * login/utmpname.c: Likewise.
16973         * malloc/mtrace.c: Likewise.
16974         * misc/efgcvt.c: Likewise.
16975         * misc/error.c: Likewise.
16976         * misc/fstab.c: Likewise.
16977         * misc/getpass.c: Likewise.
16978         * misc/mntent.c: Likewise.
16979         * misc/syslog.c: Likewise.
16980         * nis/nis_call.c: Likewise.
16981         * nis/nis_callback.c: Likewise.
16982         * nis/nss-default.c: Likewise.
16983         * nis/nss_compat/compat-grp.c: Likewise.
16984         * nis/nss_compat/compat-initgroups.c: Likewise.
16985         * nis/nss_compat/compat-pwd.c: Likewise.
16986         * nis/nss_compat/compat-spwd.c: Likewise.
16987         * nis/nss_nis/nis-alias.c: Likewise.
16988         * nis/nss_nis/nis-ethers.c: Likewise.
16989         * nis/nss_nis/nis-grp.c: Likewise.
16990         * nis/nss_nis/nis-hosts.c: Likewise.
16991         * nis/nss_nis/nis-network.c: Likewise.
16992         * nis/nss_nis/nis-proto.c: Likewise.
16993         * nis/nss_nis/nis-pwd.c: Likewise.
16994         * nis/nss_nis/nis-rpc.c: Likewise.
16995         * nis/nss_nis/nis-service.c: Likewise.
16996         * nis/nss_nis/nis-spwd.c: Likewise.
16997         * nis/nss_nisplus/nisplus-alias.c: Likewise.
16998         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
16999         * nis/nss_nisplus/nisplus-grp.c: Likewise.
17000         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
17001         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
17002         * nis/nss_nisplus/nisplus-network.c: Likewise.
17003         * nis/nss_nisplus/nisplus-proto.c: Likewise.
17004         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
17005         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
17006         * nis/nss_nisplus/nisplus-service.c: Likewise.
17007         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
17008         * nis/ypclnt.c: Likewise.
17009         * nptl/libc_pthread_init.c: Likewise.
17010         * nss/getXXbyYY.c: Likewise.
17011         * nss/getXXent.c: Likewise.
17012         * nss/getXXent_r.c: Likewise.
17013         * nss/nss_db/db-XXX.c: Likewise.
17014         * nss/nss_db/db-netgrp.c: Likewise.
17015         * nss/nss_db/nss_db.h: Likewise.
17016         * nss/nss_files/files-XXX.c: Likewise.
17017         * nss/nss_files/files-alias.c: Likewise.
17018         * nss/nsswitch.c: Likewise.
17019         * posix/regex_internal.h: Likewise.
17020         * posix/wordexp.c: Likewise.
17021         * pwd/fgetpwent.c: Likewise.
17022         * resolv/res_hconf.c: Likewise.
17023         * resolv/res_libc.c: Likewise.
17024         * shadow/fgetspent.c: Likewise.
17025         * shadow/lckpwdf.c: Likewise.
17026         * shadow/sgetspent.c: Likewise.
17027         * socket/opensock.c: Likewise.
17028         * stdio-common/reg-modifier.c: Likewise.
17029         * stdio-common/reg-printf.c: Likewise.
17030         * stdio-common/reg-type.c: Likewise.
17031         * stdio-common/vfprintf.c: Likewise.
17032         * stdio-common/vfscanf.c: Likewise.
17033         * stdlib/abort.c: Likewise.
17034         * stdlib/cxa_atexit.c: Likewise.
17035         * stdlib/fmtmsg.c: Likewise.
17036         * stdlib/random.c: Likewise.
17037         * stdlib/setenv.c: Likewise.
17038         * string/strsignal.c: Likewise.
17039         * sunrpc/auth_none.c: Likewise.
17040         * sunrpc/bindrsvprt.c: Likewise.
17041         * sunrpc/create_xid.c: Likewise.
17042         * sunrpc/key_call.c: Likewise.
17043         * sunrpc/rpc_thread.c: Likewise.
17044         * sysdeps/arm/backtrace.c: Likewise.
17045         * sysdeps/generic/ldsodefs.h: Likewise.
17046         * sysdeps/generic/stdio-lock.h: Likewise.
17047         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
17048         * sysdeps/i386/backtrace.c: Likewise.
17049         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
17050         * sysdeps/m68k/backtrace.c: Likewise.
17051         * sysdeps/mach/hurd/cthreads.c: Likewise.
17052         * sysdeps/mach/hurd/dirstream.h: Likewise.
17053         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
17054         * sysdeps/nptl/malloc-machine.h: Likewise.
17055         * sysdeps/nptl/stdio-lock.h: Likewise.
17056         * sysdeps/posix/dirstream.h: Likewise.
17057         * sysdeps/posix/getaddrinfo.c: Likewise.
17058         * sysdeps/posix/system.c: Likewise.
17059         * sysdeps/pthread/aio_suspend.c: Likewise.
17060         * sysdeps/s390/s390-32/backtrace.c: Likewise.
17061         * sysdeps/s390/s390-64/backtrace.c: Likewise.
17062         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17063         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
17064         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
17065         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
17066         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
17067         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
17068         * sysdeps/unix/sysv/linux/system.c: Likewise.
17069         * sysdeps/x86_64/backtrace.c: Likewise.
17070         * time/alt_digit.c: Likewise.
17071         * time/era.c: Likewise.
17072         * time/tzset.c: Likewise.
17073         * wcsmbs/wcsmbsload.c: Likewise.
17074         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
17075         instead of <bits/libc-lock.h> in comment.
17077 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
17079         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
17080         Only use .set mips2 if the current ISA is below mips2.
17081         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
17082         Likewise.
17083         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
17084         mips32r2 if the current ISA is below mips32r2.
17085         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
17086         (TLS_IE): Updated to use the TLD_RDHWR macro.
17087         (TLS_LE): Likewise.
17088         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
17089         __ASSEMBLER__ condition.
17091 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17093         Fix parallel build of before-compile targets.
17095         * sysdeps/mach/Makefile ($(patsubst
17096         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
17097         mach-before-compile target.
17098         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
17099         io fs process)): Move rule to dedicated hurd-before-compile target.
17101 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17103         Fix rules generating headers in hurd/ and mach/ when initial make call
17104         has subdir= explicitly set.
17106         * sysdeps/mach/Makefile ($(patsubst
17107         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
17108         calling $(MAKE).
17109         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
17110         io fs process)): Force subdir to hurd when calling $(MAKE).
17111         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
17112         subdir to mach when calling $(MAKE).
17114 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
17116         Check sysheaders when looking for Mach and Hurd headers
17118         * sysdeps/mach/configure.ac: Add sysheaders check.
17119         * sysdeps/mach/configure: Regenerate.
17120         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
17121         * sysdeps/mach/hurd/configure: Regenerate.
17123 2015-09-04  Roland McGrath  <roland@hack.frob.com>
17125         [BZ #18921]
17126         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
17127         Fix inverted sense of test of 'o_directory_works' value.
17128         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
17129         Bernhard Voelker <mail@bernhard-voelker.de>.
17131 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
17133         [BZ #14912]
17134         * bits/linkmap.h: Move to ...
17135         * sysdeps/generic/linkmap.h: ...here.
17136         * sysdeps/aarch64/bits/linkmap.h: Move to ...
17137         * sysdeps/aarch64/linkmap.h: ...here.
17138         * sysdeps/arm/bits/linkmap.h: Move to ...
17139         * sysdeps/arm/linkmap.h: ...here.
17140         * sysdeps/hppa/bits/linkmap.h: Move to ...
17141         * sysdeps/hppa/linkmap.h: ...here.
17142         * sysdeps/ia64/bits/linkmap.h: Move to ...
17143         * sysdeps/ia64/linkmap.h: ...here.
17144         * sysdeps/mips/bits/linkmap.h: Move to ...
17145         * sysdeps/mips/linkmap.h: ...here.
17146         * sysdeps/s390/bits/linkmap.h: Move to ...
17147         * sysdeps/s390/linkmap.h: ...here.
17148         * sysdeps/sh/bits/linkmap.h: Move to ...
17149         * sysdeps/sh/linkmap.h: ...here.
17150         * sysdeps/x86/bits/linkmap.h: Move to ...
17151         * sysdeps/x86/linkmap.h: ...here.
17152         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
17154 2015-09-04  Andreas Schwab  <schwab@suse.de>
17156         [BZ #18635]
17157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
17158         (__makecontext): Terminate FDE before return label.
17159         (__novec_makecontext): Likewise.
17161 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17163         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
17164         first member of struct sv in syscall macro.
17166 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
17168         [BZ #14912]
17169         * bits/stdio-lock.h: Move to ...
17170         * sysdeps/generic/stdio-lock.h: ...here.
17171         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
17172         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
17173         * sysdeps/nptl/stdio-lock.h: ...here.
17174         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
17175         * include/libio.h: Include <stdio-lock.h> instead of
17176         <bits/stdio-lock.h>.
17177         * sysdeps/nptl/fork.c: Likewise.
17178         * sysdeps/pthread/flockfile.c: Likewise.
17179         * sysdeps/pthread/ftrylockfile.c: Likewise.
17180         * sysdeps/pthread/funlockfile.c: Likewise.
17182         [BZ #14912]
17183         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
17184         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
17185         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
17186         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
17187         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
17188         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
17189         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
17191 2015-09-03  Roland McGrath  <roland@hack.frob.com>
17193         * elf/Makefile (test-xfail-tst-protected1a): New variable.
17194         (test-xfail-tst-protected1b): New variable.
17196 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
17198         [BZ #14912]
17199         * bits/libc-tsd.h: Move to ...
17200         * sysdeps/generic/libc-tsd.h: ...here.
17201         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
17202         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
17203         * sysdeps/mach/hurd/libc-tsd.h: ...here.
17204         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
17205         * include/ctype.h: Include <libc-tsd.h> instead of
17206         <bits/libc-tsd.h>.
17207         * include/rpc/rpc.h: Likewise.
17208         * locale/localeinfo.h: Likewise.
17209         * sunrpc/rpc_thread.c: Likewise.
17210         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
17211         * sysdeps/nptl/malloc-machine.h: Likewise.
17213         * Makefile (headers): Remove bits/libc-lock.h.
17214         * libio/Makefile (headers): Remove bits/stdio-lock.h.
17216         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
17217         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
17218         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
17219         <bits/stdio-lock.h>.
17220         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
17221         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
17223 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
17225         [BZ #18757]
17226         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
17227         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
17228         BZ #18757.
17230 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
17232         * malloc/mtrace.pl: Filter out NULL entries.
17234 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
17236         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
17237         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
17238         macro.
17240         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
17241         (TCP_CC_INFO): Likewise.
17242         (TCP_SAVE_SYN): Likewise.
17243         (TCP_SAVED_SYN): Likewise.
17245 2015-08-31  Brett Neumeier <brett@neumeier.us>
17247         [BZ #18870]
17248         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
17250 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
17252         [BZ #18873]
17253         Fix broken overflow check in posix_fallocate
17254         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
17255         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
17256         Fix parenthesization typo.
17258 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
17260         [BZ #18887]
17261         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
17262         tst-mntent-blank-passno.
17263         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
17264         * misc/tst-mntent-blank-corrupt.c: New test.
17265         * misc/tst-mntent-blank-passno.c: New test ripped from ...
17266         * misc/tst-mntent.c (do_test): ... here.
17268 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
17270         [BZ #4404]
17271         * po/de.po: Fix SIGALRM typo.
17273 2015-08-28  James Perkins  <james@loowit.net>
17275         * time/tst-strptime2.c (tests): Replace short list of test
17276         strings for strptime %z specifier with code which exhaustively
17277         tests every combination of sign and 0 to 5 digits. Tests for
17278         rejection of invalid strings.
17280 2015-08-28  James Perkins  <james@loowit.net>
17282         [BZ #16141]
17283         * time/strptime_l.c (__strptime_internal): Fix %z minutes
17284         calculation, removing incorrect decimal time rounding, so that
17285         all minute values result in a valid seconds value.
17286         * time/strptime_l.c (__strptime_internal): Extend %z time zone
17287         offset range limits to UTC-99:59 through UTC+99:59 to parse
17288         current and historical use cases.
17289         * time/tst-strptime2.c (tests): Modify and add tests for the
17290         strptime %z input field descriptor, specifically conversion of
17291         minutes to seconds and validating an offset range of -9959 to
17292         +9959.
17294 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17295             Dmitry V. Levin  <ldv@altlinux.org>
17297         [BZ #18877]
17298         * posix/Makefile (tests): Add tst-mmap-offset.
17299         * posix/tst-mmap.c: New file.
17300         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
17301         offset calculation for negative values.
17303 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17305         * sysdeps/i386/init-arch.h: New file.
17306         * sysdeps/i386/i586/init-arch.h: Likewise.
17307         * sysdeps/i386/i686/init-arch.h: Likewise.
17308         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
17309         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
17310         * sysdeps/x86/cpu-features.h (bit_I586): New.
17311         (bit_I686): Likewise.
17312         (bit_CX8): Likewise.
17313         (bit_CMOV): Likewise.
17314         (index_CX8): Likewise.
17315         (index_CMOV): Likewise.
17316         (index_I586): Likewise.
17317         (index_I686): Likewise.
17318         (reg_CX8): Likewise.
17319         (reg_CMOV): Likewise.
17320         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
17321         available at compile-time.
17322         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
17323         available at compile-time.
17324         * sysdeps/x86/init-arch.h (USE_I586): New macro.
17325         (USE_I686): Likewise.
17327 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17329         * sysdeps/i386/bcopy.S: New file.
17330         * sysdeps/i386/bzero.S: Likewise.
17331         * sysdeps/i386/memcpy.S: Likewise.
17332         * sysdeps/i386/memmove.S: Likewise.
17333         * sysdeps/i386/mempcpy.S: Likewise.
17334         * sysdeps/i386/memset.S: Likewise.
17335         * sysdeps/i386/bzero.c: Removed.
17336         * sysdeps/i386/memset.c: Likewise.
17337         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
17338         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
17339         * sysdeps/i386/i586/memset_chk.S: Likewise.
17340         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
17341         * sysdeps/i386/memcpy_chk.S: Here.
17342         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
17343         * sysdeps/i386/memmove_chk.S: Here.
17344         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
17345         * sysdeps/i386/mempcpy_chk.S: Likewise.
17346         * sysdeps/i386/i686/memset_chk.S: Moved to ...
17347         * sysdeps/i386/memset_chk.S: Likewise.
17349 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
17351         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
17352         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
17353         file, move DIAG_POP_NEEDS_COMMENT to end of file.
17354         * soft-fp/fmadf4.c: Ditto.
17355         * soft-fp/fmatf4.c: Ditto.
17357 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17359         * sysdeps/i386/i586/Implies: Removed.
17360         * sysdeps/i386/i686/Implies: Likewise.
17362 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17364         * sysdeps/i386/i486/strlen.S: Moved to ...
17365         * sysdeps/i386/strlen.S: Here.
17367 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17369         * sysdeps/i386/i486/strcat.S: Moved to ...
17370         * sysdeps/i386/strcat.S: Here.
17372 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17374         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
17375         * sysdeps/i386/pthread_spin_trylock.S: Here.
17376         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
17377         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
17379 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17381         * sysdeps/i386/i486/string-inlines.c: Moved to ...
17382         * sysdeps/i386/string-inlines.c: Here.
17384 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17386         * sysdeps/i386/i486/htonl.S: Moved ...
17387         * sysdeps/i386/htonl.S: here.
17389 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17391         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
17392         * sysdeps/i386/bits/atomic.h: Here.
17394 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17396         * sysdeps/i386/i486/Versions: Removed.
17398 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
17400         [BZ #2898]
17401         * misc/mktemp.c: Add mkdtemp to the link_warning message.
17402         Based on patch by Aurelien Jarno.
17404 2015-08-26  Stan Shebs  <stanshebs@google.com>
17406         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
17407         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
17409 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17411         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
17412         * sysdeps/powerpc/dl-procinfo.c:
17413         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
17414         feature so it shows when LD_SHOW_AUXV=1.
17416 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17418         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
17419         (__arch_compare_and_exchange_val_32_acq): Remove and use common
17420         definition.  ISA 2.07B no longer requires full sync.
17422 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
17424         [BZ #18863]
17425         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
17426         (si_call_addr): Define.
17427         (si_syscall): Define.
17428         (si_arch): Define.
17430 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
17432         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
17433         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
17434         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
17435         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
17436         (__memset_zero_constant_len_parameter): New.
17437         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
17438         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
17439         (__memset_zero_constant_len_parameter): Don't define if
17440         __memset_chk or USE_AS_BZERO are defined.
17442         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
17443         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
17444         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
17446         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
17447         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
17448         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
17449         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
17450         comments.
17451         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
17452         -mno-mmx for $(all-rtld-routines).
17453         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
17454         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
17455         i386.
17457 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
17459         * sysdeps/generic/unwind.h
17460         (_Unwind_Word): Use __mode__(__unwind_word__)
17461         instead of __mode__(__word__).
17462         (_Unwind_Sword): Likewise.
17464         * sysdeps/s390/s390-64/utf8-utf16-z9.c
17465         (MAX_NEEDED_INPUT): New define.
17466         (MAX_NEEDED_OUTPUT): New define.
17468         * NEWS: New item for IBM z13 string optimizations.
17470         * sysdeps/s390/multiarch/memrchr-c.c: New File.
17471         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
17472         * sysdeps/s390/multiarch/memrchr.c: Likewise.
17473         * sysdeps/s390/multiarch/Makefile
17474         (sysdep_routines): Add memrchr functions.
17475         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
17476         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
17478         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
17479         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
17480         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
17481         * sysdeps/s390/multiarch/Makefile
17482         (sysdep_routines): Add wmemcmp functions.
17483         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
17484         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
17485         * benchtests/bench-wmemcmp.c: New File.
17486         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
17488         * sysdeps/s390/multiarch/wmemset-c.c: New File.
17489         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
17490         * sysdeps/s390/multiarch/wmemset.c: Likewise.
17491         * sysdeps/s390/multiarch/Makefile
17492         (sysdep_routines): Add wmemset functions.
17493         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
17494         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
17495         * wcsmbs/wmemset.c: Use WMEMSET if defined.
17496         * string/test-memset.c: Add wmemset support.
17497         * wcsmbs/test-wmemset.c: New File.
17498         * wcsmbs/Makefile (strop-tests): Add wmemset.
17499         * benchtests/bench-memset.c: Add wmemset support.
17500         * benchtests/bench-wmemset.c: New File.
17501         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
17503         * sysdeps/s390/multiarch/memccpy-c.c: New File.
17504         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
17505         * sysdeps/s390/multiarch/memccpy.c: Likewise.
17506         * sysdeps/s390/multiarch/Makefile
17507         (sysdep_routines): Add memccpy functions.
17508         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
17509         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
17510         * string/memccpy.c: Use MEMCCPY if defined.
17512         * sysdeps/s390/multiarch/memchr-vx.S: New File.
17513         * sysdeps/s390/multiarch/memchr.c: Likewise.
17514         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
17515         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
17516         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
17517         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
17518         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
17519         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
17520         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
17521         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
17522         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
17523         and rawmemchr functions.
17524         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
17525         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
17526         and wmemchr.
17527         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
17528         * string/test-memchr.c: Add wmemchr support.
17529         * wcsmbs/test-wmemchr.c: New File.
17530         * wcsmbs/Makefile (strop-tests): Add wmemchr.
17531         * benchtests/bench-memchr.c: Add wmemchr support.
17532         * benchtests/bench-wmemchr.c: New File.
17533         * benchtests/Makefile (wcsmbs-bench): wmemchr.
17535         * sysdeps/s390/multiarch/strcspn-c.c: New File.
17536         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
17537         * sysdeps/s390/multiarch/strcspn.c: Likewise.
17538         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
17539         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
17540         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
17541         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
17542         wcscspn functions.
17543         * sysdeps/s390/multiarch/ifunc-impl-list.c
17544         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
17545         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
17546         * string/test-strcspn.c: Add wcscspn support.
17547         * wcsmbs/test-wcscspn.c: New File.
17548         * wcsmbs/Makefile (strop-tests): Add wcscspn.
17549         * benchtests/bench-strcspn.c: Add wcscspn support.
17550         * benchtests/bench-wcscspn.c: New File.
17551         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
17553         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
17554         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
17555         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
17556         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
17557         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
17558         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
17559         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
17560         wcspbrk functions.
17561         * sysdeps/s390/multiarch/ifunc-impl-list.c
17562         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
17563         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
17564         * string/test-strpbrk.c: Add wcspbrk support.
17565         * wcsmbs/test-wcspbrk.c: New File.
17566         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
17567         * benchtests/bench-strpbrk.c: Add wcspbrk support.
17568         * benchtests/bench-wcspbrk.c: New File.
17569         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
17571         * sysdeps/s390/multiarch/strspn-c.c: New File.
17572         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
17573         * sysdeps/s390/multiarch/strspn.c: Likewise.
17574         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
17575         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
17576         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
17577         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
17578         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
17579         wcsspn functions.
17580         * sysdeps/s390/multiarch/ifunc-impl-list.c
17581         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
17582         * string/test-strspn.c: Add wcsspn support.
17583         * wcsmbs/test-wcsspn.c: New File.
17584         * wcsmbs/Makefile (strop-tests): Add wcsspn.
17585         * benchtests/bench-strspn.c: Add wcsspn support.
17586         * benchtests/bench-wcsspn.c: New File.
17587         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
17589         * sysdeps/s390/multiarch/strrchr-c.c: New File.
17590         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
17591         * sysdeps/s390/multiarch/strrchr.c: Likewise.
17592         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
17593         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
17594         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
17595         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
17596         wcsrchr functions.
17597         * sysdeps/s390/multiarch/ifunc-impl-list.c
17598         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
17599         * benchtests/bench-wcsrchr.c: New File.
17600         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
17602         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
17603         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
17604         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
17605         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
17606         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
17607         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
17608         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
17609         wcschrnul functions.
17610         * sysdeps/s390/multiarch/ifunc-impl-list.c
17611         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
17612         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
17613         * string/test-strchr.c: Add wcschrnul support.
17614         * wcsmbs/test-wcschrnul.c: New File.
17615         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
17616         * benchtests/bench-strchr.c: Add wcschrnul support.
17617         * benchtests/bench-wcschrnul.c: New File.
17618         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
17620         * sysdeps/s390/multiarch/strchr-c.c: New File.
17621         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
17622         * sysdeps/s390/multiarch/strchr.c: Likewise.
17623         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
17624         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
17625         * sysdeps/s390/multiarch/wcschr.c: Likewise.
17626         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
17627         wcschr functions.
17628         * sysdeps/s390/multiarch/ifunc-impl-list.c
17629         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
17630         * string/strchr.c (STRCHR): Define and use macro.
17631         * benchtests/bench-wcschr.c: New File.
17632         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
17634         * sysdeps/s390/multiarch/strncmp-c.c: New File.
17635         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
17636         * sysdeps/s390/multiarch/strncmp.c: Likewise.
17637         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
17638         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
17639         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
17640         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
17641         wcsncmp functions.
17642         * sysdeps/s390/multiarch/ifunc-impl-list.c
17643         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
17644         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
17645         * benchtests/bench-strncmp.c: Add wcsncmp support.
17646         * benchtests/bench-wcsncmp.c: New File.
17647         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
17649         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
17650         * sysdeps/s390/multiarch/strcmp.c: Likewise.
17651         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
17652         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
17653         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
17654         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
17655         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
17656         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
17657         wcscmp functions.
17658         * sysdeps/s390/multiarch/ifunc-impl-list.c
17659         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
17660         * string/strcmp.c (STRCMP): Define and use macro.
17661         * benchtests/bench-wcscmp.c: New File.
17662         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
17663         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
17664         instead of _HAVE_STRING_ARCH_memchr.
17666         * sysdeps/s390/multiarch/strncat-c.c: New File.
17667         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
17668         * sysdeps/s390/multiarch/strncat.c: Likewise.
17669         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
17670         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
17671         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
17672         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
17673         wcsncat functions.
17674         * sysdeps/s390/multiarch/ifunc-impl-list.c
17675         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
17676         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
17677         * string/test-strncat.c: Add wcsncat support.
17678         * wcsmbs/test-wcsncat.c: New File.
17679         * wcsmbs/Makefile (strop-tests): Add wcsncat.
17680         * benchtests/bench-strncat.c: Add wcsncat support.
17681         * benchtests/bench-wcsncat.c: New File.
17682         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
17684         * sysdeps/s390/multiarch/strcat-c.c: New File.
17685         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
17686         * sysdeps/s390/multiarch/strcat.c: Likewise.
17687         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
17688         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
17689         * sysdeps/s390/multiarch/wcscat.c: Likewise.
17690         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
17691         wcscat functions.
17692         * sysdeps/s390/multiarch/ifunc-impl-list.c
17693         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
17694         * string/strcat.c (STRCAT): Define and use macro.
17695         * wcsmbs/wcscat.c: Use WCSCAT if defined.
17696         * string/test-strcat.c: Add wcscat support.
17697         * wcsmbs/test-wcscat.c: New File.
17698         * wcsmbs/Makefile (strop-tests): Add wcscat.
17699         * benchtests/bench-strcat.c: Add wcscat support.
17700         * benchtests/bench-wcscat.c: New File.
17701         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
17703         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
17704         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
17705         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
17706         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
17707         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
17708         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
17709         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
17710         wcpncpy functions.
17711         * sysdeps/s390/multiarch/ifunc-impl-list.c
17712         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
17713         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
17714         * string/test-stpncpy.c: Add wcpncpy support.
17715         * wcsmbs/test-wcpncpy.c: New File.
17716         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
17717         * benchtests/bench-stpncpy.c: Add wcpncpy support.
17718         * benchtests/bench-wcpncpy.c: New File.
17719         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
17721         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
17722         * sysdeps/s390/multiarch/strncpy.c: Likewise.
17723         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
17724         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
17725         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
17726         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
17727         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
17728         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
17729         wcsncpy functions.
17730         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
17731         * sysdeps/s390/multiarch/ifunc-impl-list.c
17732         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
17733         * string/test-strncpy.c: Add wcsncpy support.
17734         * wcsmbs/test-wcsncpy.c: New File.
17735         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
17736         * benchtests/bench-strncpy.c: Add wcsncpy support.
17737         * benchtests/bench-wcsncpy.c: New File.
17738         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
17740         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
17741         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
17742         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
17743         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
17744         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
17745         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
17746         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
17747         wcpcpy functions.
17748         * string/stpcpy.c: Use STPCPY if defined.
17749         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
17750         * sysdeps/s390/multiarch/ifunc-impl-list.c
17751         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
17752         * string/test-stpcpy.c: Add wcpcpy support.
17753         * wcsmbs/test-wcpcpy.c: New File.
17754         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
17755         * benchtests/bench-stpcpy.c: Add wcpcpy support.
17756         * benchtests/bench-wcpcpy.c: New File.
17757         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
17759         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
17760         * sysdeps/s390/multiarch/strcpy.c: Likewise.
17761         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
17762         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
17763         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
17764         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
17765         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
17766         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
17767         wcscpy functions.
17768         * sysdeps/s390/multiarch/ifunc-impl-list.c
17769         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
17770         * benchtests/bench-wcscpy.c: New File.
17771         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
17773         * sysdeps/s390/multiarch/strnlen-c.c: New File.
17774         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
17775         * sysdeps/s390/multiarch/strnlen.c: Likewise.
17776         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
17777         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
17778         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
17779         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
17780         wcsnlen functions.
17781         * sysdeps/s390/multiarch/ifunc-impl-list.c
17782         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
17783         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
17784         * string/test-strnlen.c: Add wcsnlen support.
17785         * wcsmbs/test-wcsnlen.c: New File.
17786         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
17787         * benchtests/bench-strnlen.c: Add wcsnlen support.
17788         * benchtests/bench-wcsnlen.c: New File.
17789         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
17791         * sysdeps/s390/multiarch/Makefile: New File.
17792         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
17793         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
17794         * sysdeps/s390/multiarch/strlen.c: Likewise.
17795         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
17796         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
17797         * sysdeps/s390/multiarch/wcslen.c: Likewise.
17798         * string/strlen.c (STRLEN): Define and use macro.
17799         * sysdeps/s390/multiarch/ifunc-impl-list.c
17800         (IFUNC_VX_IMPL): New macro function.
17801         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
17802         * benchtests/Makefile (wcsmbs-bench): New variable.
17803         (string-bench-all): Added wcsmbs-bench.
17804         * benchtests/bench-wcslen.c: New File.
17806         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
17807         s390_vx_libc_ifunc2): New macro function.
17809         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
17810         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
17811         assembler support.
17812         * sysdeps/s390/configure: Regenerated.
17814         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
17815         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
17817         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
17818         * sysdeps/s390/dl-procinfo.h: Add vector capability.
17819         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
17821         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
17822         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
17823         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
17824         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
17825         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
17826         (memcmp, bcmp): Use __memcmp_default as alias source.
17827         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
17828         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
17829         Rename to __memcmp_default.
17830         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
17831         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
17832         (memcpy): Use __memcpy_default as alias source.
17833         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
17834         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
17835         Rename to __memcpy_default.
17836         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
17837         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
17838         (memset): Use __memset_default as alias source.
17839         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
17840         * sysdeps/s390/s390-32/memset.S (__memset_g5):
17841         Rename to __memset_default.
17842         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
17843         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
17844         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
17845         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
17846         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
17847         (memcmp, bcmp): Use __memcmp_default as alias source.
17848         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
17849         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
17850         Rename to __memcmp_default.
17851         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
17852         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
17853         (memcpy): Use __memcpy_default as alias source.
17854         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
17855         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
17856         Rename to __memcpy_default.
17857         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
17858         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
17859         (memset): Use __memset_default as alias source.
17860         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
17861         * sysdeps/s390/s390-64/memset.S (__memset_z900):
17862         Rename to __memset_default.
17863         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
17864         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
17866         [BZ #18610]
17867         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
17868         __ieee_instruction_pointer to __unused.
17869         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
17870         __ieee_instruction_pointer.
17871         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
17872         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
17873         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17874         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
17875         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
17876         Mark dxc-field as reserved.
17878 2015-08-25  Roland McGrath  <roland@hack.frob.com>
17880         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
17881         if the weak reference is not null.
17883 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
17885         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
17887         [BZ #11214]
17888         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
17890 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17892         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
17893         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
17894         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
17895         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
17896         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
17897         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
17898         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
17899         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
17900         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
17901         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
17902         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
17903         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
17904         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
17905         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
17906         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
17907         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
17908         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
17909         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
17911 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17913         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
17914         register other than r0 for tabort, it has special meaning.
17915         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
17916         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
17917         transaction before starting syscall.
17919 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17921         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
17923 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
17925         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
17927         * sysdeps/x86_64/rtld-memcmp.c: Removed.
17928         * sysdeps/x86_64/rtld-memset.S: Likewise.
17929         * sysdeps/x86_64/rtld-strchr.S: Likewise.
17930         * sysdeps/x86_64/rtld-strlen.S: Likewise.
17931         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
17932         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
17934         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
17936 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
17938         * debug/strcpy_chk.c: Improve performance.
17939         * debug/stpcpy_chk.c: Likewise.
17940         * sysdeps/x86_64/strcpy_chk.S: Remove.
17941         * sysdeps/x86_64/stpcpy_chk.S: Remove.
17943         [BZ #18240]
17944         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
17946 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
17948         [BZ #15128]
17949         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
17950         ifuncmain8.
17951         (modules-names): Add ifuncmod8.
17952         ($(objpfx)ifuncmain8): New rule.
17953         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
17954         <cpuid.h>.
17955         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
17956         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
17957         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
17958         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
17959         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
17960         * sysdeps/x86_64/dl-trampoline.h: Likewise.
17961         * sysdeps/x86_64/ifuncmain8.c: New file.
17962         * sysdeps/x86_64/ifuncmod8.c: Likewise.
17963         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
17964         Removed.
17965         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
17966         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
17967         Change rtld_savespace_sse to __glibc_unused2.
17968         (RTLD_CHECK_FOREIGN_CALL): Removed.
17969         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
17970         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
17971         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
17973 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
17975         * sysdeps/aarch64/bzero.S (__bzero): Remove.
17977 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
17979         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
17980         Unconditionally set __fpcr to avoid uninialized warning.
17981         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
17983 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17985         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
17986         is corrupt.
17988         * malloc/arena.c (arena_get2): Drop unused argument.
17989         (arena_lock): Adjust.
17990         (arena_get_retry): Likewise.
17992 2015-08-24  Andreas Schwab  <schwab@suse.de>
17994         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
17995         Don't define.
17996         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17997         (__ASSUME_IPC64): Don't undef.
17998         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
17999         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
18000         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
18001         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
18002         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
18003         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
18004         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
18005         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
18006         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
18007         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
18008         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
18009         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
18010         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
18011         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
18012         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
18013         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
18014         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
18015         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
18016         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
18017         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
18018         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
18020 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
18022         * manual/Makefile (install): Only build manual when perl is available.
18024 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18026         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
18027         '#undef memcpy' by '#undef memchr'.
18029 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18031         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
18032         memchr not point to the internal __GI_memchr implementation.
18034 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
18036         * timezone/Makefile (CFLAGS-zdump.c): Remove
18037         -Wno-strict-prototypes.
18038         (CFLAGS-zic.c): Likewise.
18039         (CFLAGS-ialloc.c): Likewise.
18040         (CFLAGS-scheck.c): Likewise.
18042         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
18043         -Wno-error=undef.
18045 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
18047         * i386/i686/multiarch/strcasestr-c.c: Removed.
18048         * x86_64/multiarch/strcasestr.c: Likewise.
18049         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18050         Remove strcasestr.
18052 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
18054         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
18056         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
18057         variables for high and low parts before possibly modifying them.
18059 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
18061         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
18062         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
18063         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
18064         of "multiarch/init-arch.h".
18065         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
18066         * sysdeps/x86/init-arch.h: This.
18068 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
18070         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
18071         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
18073 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
18075         [BZ #17787]
18076         * manual/macros.texi: Add twoexp macro.
18077         * manual/filesys.texi: Fix exponents.
18078         * manual/llio.texi: Likewise.
18079         * manual/stdio.texi: Likewise.
18081 2015-08-20  Florian Weimer  <fweimer@redhat.com>
18083         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
18084         incorrect use.
18086 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
18088         [BZ #18370]
18089         * math/s_csqrt.c (__csqrt): Force underflow exception for results
18090         whose real or imaginary part has small absolute value.
18091         * math/s_csqrtf.c (__csqrtf): Likewise.
18092         * math/s_csqrtl.c (__csqrtl): Likewise.
18093         * math/auto-libm-test-in: Add more tests of csqrt.
18094         * math/auto-libm-test-out: Regenerated.
18095         * sysdeps/i386/fpu/libm-test-ulps: Update.
18097 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
18099         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
18100         __ppc_set_ppr_very_low): New functions.
18101         * manual/platform.texi: Add documentation about
18102         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
18104 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
18106         * string/stpncpy.c (stpncpy): Improve performance using
18107         __strnlen/memcpy/memset.
18109 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
18111         [BZ #18796]
18112         * scripts/test-installation.pl: Don't add -lmvec to build options if
18113         libmvec wasn't built.
18115 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
18117         [BZ #14341]
18118         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
18119         case when there is a gap between DT_REL and DT_JMPREL sections.
18120         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
18121         (LDFLAGS-tst-split-dynreloc): New.
18122         (tst-split-dynreloc-ENV): Likewise.
18123         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
18124         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
18126 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
18128         [BZ #18822]
18129         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
18130         attribute_hidden.
18131         (__xstat64_conv): Likewise.
18132         (__xstat32_conv): Likewise.
18134 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
18136         [BZ #18822]
18137         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
18138         Don't load %ebx when calling __setcontext.  Call __setcontext
18139         with HIDDEN_JUMPTARGET.
18140         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
18141         libc_hidden_def.
18143 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
18145         * sysdeps/i386/i686/Makefile
18146         [$(subdir) == string] (sysdep_routines): Moved to ...
18147         * sysdeps/i386/Makefile: Here.
18148         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
18149         * sysdeps/i386/cacheinfo.c: Here.
18150         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
18151         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
18152         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
18153         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
18155 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
18157         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
18158         __i586__ is defined.
18159         (HAS_I686): Defined to 1 if __i686__ is defined.
18161 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
18163         * elf/Makefile [$(have-z-execstack) = yes]
18164         (CPPFLAGS-tst-execstack.c): New variable.
18166         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
18167         conditional to [defined UTMPX || _HAVE_UT_TYPE].
18168         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
18169         UTMPX || _HAVE_UT_TV].
18170         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
18171         UTMPX || _HAVE_UT_TV - 0].
18173 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
18175         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
18176         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
18177         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
18179 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18181         * sysdeps/powerpc/dl-procinfo.c:
18182         (_dl_powerpc_cap_flags): Added missing strings for some
18183         hwcap features.
18184         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
18186 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
18188         Port the 0x7efe...feff pattern to GCC 6.
18189         See Steve Ellcey's bug report in:
18190         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
18191         * string/memrchr.c (MEMRCHR):
18192         * string/rawmemchr.c (RAWMEMCHR):
18193         * string/strchr.c (strchr):
18194         * string/strchrnul.c (STRCHRNUL):
18195         Rewrite code to avoid issues with signed shift overflow.
18197 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
18199         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
18200         whether cpuid is available only if HAS_CPUID is 0.
18201         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
18202         (HAS_I586): Likewise.
18203         (HAS_I686): Likewise.
18205 2015-08-18  Zack Weinberg  <zackw@panix.com>
18207         * misc/Versions (libc): Add GLIBC_2.23.
18209 2015-08-18  Alan Modra  <amodra@gmail.com>
18211         [BZ #18421]
18212         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
18213         .Lp__global.
18214         (_start): Load %dp via .Lp__global.
18215         [!SHARED]: Use .section .rodata.
18217 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18219         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
18220         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
18222 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18224         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
18225         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
18227 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18229         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
18230         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
18232 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18234         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
18235         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
18237 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18239         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
18240         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
18242 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18244         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
18245         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
18247 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18249         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
18251 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18253         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
18254         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
18255         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18256         (__ASSUME_LWS_CAS): Delete.
18258 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18260         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
18261         * sysdeps/hppa/configure: Regenerated.
18262         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
18263         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
18264         * sysdeps/hppa/nptl/tls.h: Likewise.
18266 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
18268         [BZ #18823]
18269         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
18270         for scaling up small arguments.
18271         * math/s_csqrtf.c (__csqrtf): Likewise.
18272         * math/s_csqrtl.c (__csqrtl): Likewise.
18273         * math/auto-libm-test-in: Add more tests of csqrt.
18274         * math/auto-libm-test-out: Regenerated.
18276 2015-08-17  Andreas Schwab  <schwab@suse.de>
18278         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
18279         version set GLIBC_2.19.
18281 2015-08-16  Zack Weinberg  <zackw@panix.com>
18283         [BZ #18681]
18284         * misc/regexp.h: This interface is no longer supported.
18285         Remove all contents, leaving only an #error directive.
18286         * misc/regexp.c (loc1, loc2, locs, step, advance):
18287         Demote to compatibility symbols.
18289 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
18291         [BZ #18084]
18292         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
18293         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
18294         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
18295         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
18296         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
18297         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
18298         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
18299         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
18300         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
18302 2015-08-15  Zack Weinberg  <zackw@panix.com>
18304         [BZ #18795]
18305         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
18306         buffer length is known to be too large, not if it's known to be
18307         small enough.
18308         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
18309         overflow at runtime, involving a length parameter, twice: once
18310         with a compile-time constant length parameter, once without.
18312 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
18314         [BZ #18824]
18315         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
18316         scaling x * y up instead of down.
18317         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18318         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18319         * math/auto-libm-test-in: Add more tests of fma.
18320         * math/auto-libm-test-out: Regenerated.
18322 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
18324         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18326 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18328         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
18329         unnecessary movq.
18330         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
18331         Likewise.
18333 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
18335         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18336         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
18337         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
18338         and tgamma.
18339         * math/auto-libm-test-out: Regenerated.
18340         * sysdeps/i386/fpu/libm-test-ulps: Update.
18341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18343         [BZ #16520]
18344         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
18345         (__tanh): Force underflow exception for arguments with small
18346         absolute value.
18347         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
18348         (__tanhf): Force underflow exception for arguments with small
18349         absolute value.
18350         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
18351         (__tanhl): Force underflow exception for arguments with small
18352         absolute value.
18353         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
18354         (__tanhl): Force underflow exception for arguments with small
18355         absolute value.
18356         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
18357         (__tanhl): Force underflow exception for arguments with small
18358         absolute value.
18359         * math/auto-libm-test-in: Add more tests of tanh.
18360         * math/auto-libm-test-out: Regenerated.
18361         * sysdeps/i386/fpu/libm-test-ulps: Update.
18363 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
18365         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
18366         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
18368 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
18370         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
18371         <cpuid.h>.
18373 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
18375         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
18376         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
18378 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
18380         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
18381         Remove $(objpfx)init-arch.o.
18382         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
18383         init-arch.
18384         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
18385         (INIT_ARCH_EXT): Defined as empty.
18386         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
18387         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
18388         __init_cpu_features call.  Replace HAS_XXX with
18389         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
18390         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
18391         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
18392         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
18393         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
18394         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
18395         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
18396         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
18397         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
18398         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
18399         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
18400         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
18401         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
18402         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
18403         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
18404         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
18405         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
18406         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
18407         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
18408         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
18409         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
18410         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
18411         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
18412         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
18413         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
18414         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
18415         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
18416         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
18417         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
18418         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
18419         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
18420         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
18421         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
18422         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
18423         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
18424         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
18426 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
18428         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
18429         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
18430         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
18431         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
18432         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
18433         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
18434         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
18435         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
18436         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
18437         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
18438         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
18439         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
18440         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
18441         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18442         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18443         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18444         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18445         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18446         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18447         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18448         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18449         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18450         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18451         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18452         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18453         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18454         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18455         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18456         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18457         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18458         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18459         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18460         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18461         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18462         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18463         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18464         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18465         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18466         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18467         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18468         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18469         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18470         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18472 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
18474         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
18475         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
18476         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
18477         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18478         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18479         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
18480         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18481         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
18482         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
18483         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18484         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18485         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
18486         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
18487         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
18488         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
18489         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
18490         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
18491         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
18492         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
18493         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
18494         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
18495         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
18496         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
18497         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18498         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18499         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
18500         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
18501         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
18502         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
18503         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18504         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18505         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18506         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18507         * sysdeps/x86_64/multiarch/memset.S: Likewise.
18508         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18509         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18510         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18511         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18512         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18513         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18514         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18515         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18516         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18518 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
18520         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
18521         (dl_platform_init): Call init_cpu_features.
18522         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
18523         * sysdeps/i386/i686/cacheinfo.c
18524         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
18525         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
18526         * sysdeps/i386/i686/multiarch/Versions: Removed.
18527         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
18528         Removed.
18529         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
18530         * sysdeps/unix/sysv/linux/x86/Makefile
18531         (libpthread-sysdep_routines): Remove init-arch.
18532         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
18533         <sysdeps/x86_64/dl-procinfo.c> instead of
18534         sysdeps/generic/dl-procinfo.c>.
18535         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
18536         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
18537         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
18538         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
18539         [$(subdir) == elf] (tests-static): Add
18540         tst-get-cpu-features-static.
18541         * sysdeps/x86/Versions: New file.
18542         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
18543         * sysdeps/x86/cpu-features.c: Likewise.
18544         * sysdeps/x86/cpu-features.h: Likewise.
18545         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
18546         * sysdeps/x86/libc-start.c: Likewise.
18547         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
18548         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
18549         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
18550         * sysdeps/x86_64/dl-procinfo.c: Likewise.
18551         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
18552         Assume USE_MULTIARCH is defined and don't check it.
18553         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
18554         (is_amd): Likewise.
18555         (max_cpuid): Likewise.
18556         (intel_check_word): Likewise.
18557         (__cache_sysconf): Don't call __init_cpu_features.
18558         (__x86_preferred_memory_instruction): Removed.
18559         (init_cacheinfo): Don't call __init_cpu_features. Replace
18560         __cpu_features with GLRO(dl_x86_cpu_features).
18561         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
18562         (dl_platform_init): Call init_cpu_features.
18563         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
18564         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
18565         * sysdeps/x86_64/multiarch/Versions: Removed.
18566         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
18567         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
18568         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
18569         Removed.
18570         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
18572 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
18574         [BZ #18820]
18575         * libio/Makefile (test-fmemopen-mem): New test.
18576         * libio/test-fmemopen.c (do_bz18820): New test.
18577         * libio/fmemopen.c (__fmemopen): Fix memory leak.
18578         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
18580 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
18582         [BZ #16734]
18583         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
18584         (FREE_BUF): Delete.
18585         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
18586         * libio/genops.c (_IO_setb): Use malloc and free directly.
18587         (_IO_default_doallocate, _IO_default_finish): Likewise.
18588         ( _IO_unbuffer_all): Likewise.
18589         ( libc_freeres_fn): Likewise.
18590         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
18591         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
18592         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
18593         (_IO_wdefault_doallocate): Likewise.
18595 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
18597         [BZ #18086]
18598         * sysdeps/posix/nice.c (nice): Restore old errno.
18599         * posix/tst-nice.c (do_test): Add test for BZ #18086.
18601 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
18603         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
18605 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18607         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
18608         __bcopy and add a weak_alias to bcopy.
18609         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
18610         for static build.
18612         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
18613         cleanup macro usage.
18614         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
18615         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
18616         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
18617         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
18618         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
18619         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
18620         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
18621         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
18622         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
18623         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
18624         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
18625         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
18626         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
18627         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
18628         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
18629         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
18630         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
18631         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
18632         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
18634         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
18635         libc_hidden_def.
18636         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
18638         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
18639         (sysdep_routines): Add strstr-ppc64.
18640         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
18642 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
18644         [BZ #18778]
18645         * elf/Makefile (tests): Add Add tst-nodelete2.
18646         (modules-names): Add tst-nodelete2mod.
18647         (tst-nodelete2mod.so-no-z-defs): New.
18648         ($(objpfx)tst-nodelete2): Likewise.
18649         ($(objpfx)tst-nodelete2.out): Likewise.
18650         (LDFLAGS-tst-nodelete2): Likewise.
18651         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
18652         out of loop through all loaded libraries.
18653         * elf/tst-nodelete2.c: New file.
18654         * elf/tst-nodelete2mod.c: Likewise.
18655         * elf/tst-znodelete-zlib.cc: Delete.
18657 2015-08-11  Andreas Schwab  <schwab@suse.de>
18659         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
18660         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
18661         (__openat64_nocancel): Likewise.
18663 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
18665         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
18666         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
18667         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
18668         * math/auto-libm-test-out: Regenerated.
18669         * sysdeps/i386/fpu/libm-test-ulps: Update.
18670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18672 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
18674         [BZ #18790]
18675         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
18676         threshold for returning +/- 1.
18677         * math/auto-libm-test-in: Add more tests of tanh.
18678         * math/auto-libm-test-out: Regenerated.
18679         * sysdeps/i386/fpu/libm-test-ulps: Update.
18681 2015-08-10  Andreas Schwab  <schwab@suse.de>
18683         [BZ #18781]
18684         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
18685         MORE_OFLAGS to oflag.
18686         * io/test-lfs.c (do_test): Test openat64.
18688 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
18690         [BZ #18789]
18691         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
18692         smaller threshold for returning the argument.
18693         * math/auto-libm-test-in: Add more tests of sinh.
18694         * math/auto-libm-test-out: Regenerated.
18695         * sysdeps/i386/fpu/libm-test-ulps: Update.
18697 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
18699         [BZ #18674]
18700         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
18701         break.
18703 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
18705         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
18706         (generated): Don't add $(addprefix z.,$(tzfiles)).
18708 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
18710         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
18711         * scripts/sysd-rules.awk: Likewise.
18713 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
18715         * iconvdata/tst-tables.sh: Change echo -n to printf.
18716         * nss/db-Makefile: Likewise.
18717         * posix/tst-getconf.sh: Likewise.
18718         * stdio-common/tst-unbputc.sh: Likewise.
18720 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
18722         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
18723         MADV_*_PAGES defines behind this feature check.
18725 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
18727         [BZ #18480]
18728         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
18729         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
18730         Define.
18731         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
18732         LOAD_REGS_5, LOAD_REGS_6): Update.
18733         (INTERNAL_SYSCALL): Update using new LOAD defines.
18734         (INTERNAL_SYSCALL_NCS): Likewise.
18735         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
18737 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
18739         [BZ #16734]
18740         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
18742 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
18744         [BZ #17905]
18745         * catgets/Makefile (tst-catgets-mem): New test.
18746         * catgets/catgets.c (catopen): Don't use unbounded alloca.
18747         * catgets/open_catalog.c (__open_catalog): Likewise.
18748         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
18750 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
18752         [BZ #18787]
18753         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
18754         clobber registers.
18755         (atomic_compare_and_exchange_val_acq): Use register asms to assign
18756         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
18757         Cast return to __typeof (oldval).
18759 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
18761         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
18762         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
18763         and delete sys/syscall.h include.
18765 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
18767         [BZ #16517]
18768         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
18769         (tan): Force underflow exception for arguments with small absolute
18770         value.
18771         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
18772         (__kernel_tanf): Force underflow exception for arguments with
18773         small absolute value.
18774         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
18775         (__kernel_tanl): Force underflow exception for arguments with
18776         small absolute value.
18777         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
18778         (__kernel_tanl): Force underflow exception for arguments with
18779         small absolute value.
18780         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
18781         (__kernel_tanl): Force underflow exception for arguments with
18782         small absolute value.
18783         * math/auto-libm-test-in: Add more tests of tan.
18784         * math/auto-libm-test-out: Regenerated.
18786 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18788         Fix sysdeps/i386/fpu/s_scalbn.S build
18790         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
18792 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
18794         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
18796 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18798         Fix gcrt0.o compilation
18800         When static-start-installed-name is different from
18801         start-installed-name, we must not use the shared objects.
18803         * csu/Makefile
18804         (extra-objs): Add gmon-start.o when building shared library and
18805         $(static-start-installed-name) is different from
18806         $(start-installed-name).
18807         $(objpfx)g$(static-start-installed-name): When building shared
18808         library and $(static-start-installed-name) is different from
18809         $(static-start-installed-name), revert to non-shared rule,
18810         i.e. using $(objpfx)% and gmon-start.o.
18812 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
18814         [BZ #16519]
18815         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
18816         (__ieee754_sinh): Force underflow exception for arguments with
18817         small absolute value.
18818         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
18819         (__ieee754_sinhf): Force underflow exception for arguments with
18820         small absolute value.
18821         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
18822         (__ieee754_sinhl): Force underflow exception for arguments with
18823         small absolute value.
18824         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
18825         (__ieee754_sinhl): Force underflow exception for arguments with
18826         small absolute value.
18827         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
18828         (__ieee754_sinhl): Force underflow exception for arguments with
18829         small absolute value.
18830         * math/auto-libm-test-in: Add more tests of sinh.
18831         * math/auto-libm-test-out: Regenerated.
18832         * sysdeps/i386/fpu/libm-test-ulps: Update.
18834 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
18836         * libio/oldfileops.c: Include unistd.h.
18838 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
18840         * stdlib/isomac.c: Include ctype.h.
18842 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
18844         * dirent/tst-seekdir.c (main): Converted to ...
18845         (do_test): ... this.
18846         (TEST_FUNCTION): New macro.
18847         Include test-skeleton.c.
18848         * elf/tst-dlmodcount.c (main): Converted to ...
18849         (do_test): ... this.
18850         (TEST_FUNCTION): New macro.
18851         Include test-skeleton.c.
18852         * elf/tst-order-main.c (main): Converted to ...
18853         (do_test): ... this.
18854         (TEST_FUNCTION): New macro.
18855         Include test-skeleton.c.
18856         * elf/tst-pie2.c (main): Converted to ...
18857         (do_test): ... this.
18858         (TEST_FUNCTION): New macro.
18859         Include test-skeleton.c.
18860         * inet/tst-ether_aton.c (main): Converted to ...
18861         (do_test): ... this.
18862         (TEST_FUNCTION): New macro.
18863         Include test-skeleton.c.
18864         * misc/tst-mntent.c (main): Converted to ...
18865         (do_test): ... this.
18866         (TEST_FUNCTION): New macro.
18867         Include test-skeleton.c.
18868         * misc/tst-tsearch.c (main): Converted to ...
18869         (do_test): ... this.
18870         (TEST_FUNCTION): New macro.
18871         Include test-skeleton.c.
18872         * posix/tst-regexloc.c (main): Converted to ...
18873         (do_test): ... this.
18874         (TEST_FUNCTION): New macro.
18875         Include test-skeleton.c.
18876         * resolv/tst-aton.c (main): Converted to ...
18877         (do_test): ... this.
18878         (TEST_FUNCTION): New macro.
18879         Include test-skeleton.c.
18880         * stdio-common/test-fwrite.c (main): Converted to ...
18881         (do_test): ... this.
18882         (TEST_FUNCTION): New macro.
18883         Include test-skeleton.c.
18884         * stdio-common/tst-ferror.c (main): Converted to ...
18885         (do_test): ... this.
18886         (TEST_FUNCTION): New macro.
18887         Include test-skeleton.c.
18888         * stdio-common/tst-printf.c (main): Converted to ...
18889         (do_test): ... this.
18890         (TEST_FUNCTION): New macro.
18891         Include test-skeleton.c.
18892         * stdio-common/tst-printfsz.c (main): Converted to ...
18893         (do_test): ... this.
18894         (TEST_FUNCTION): New macro.
18895         Include test-skeleton.c.
18896         * stdlib/tst-strtod.c (main): Converted to ...
18897         (do_test): ... this.
18898         (TEST_FUNCTION): New macro.
18899         Include test-skeleton.c.
18900         * string/tst-strlen.c (main): Converted to ...
18901         (do_test): ... this.
18902         (TEST_FUNCTION): New macro.
18903         Include test-skeleton.c.
18904         * string/tst-svc.c (main): Converted to ...
18905         (do_test): ... this.
18906         (TEST_FUNCTION): New macro.
18907         Include test-skeleton.c.
18908         * time/tst-strptime.c (main): Converted to ...
18909         (do_test): ... this.
18910         (TEST_FUNCTION): New macro.
18911         Include test-skeleton.c.
18912         * timezone/tst-timezone.c (main): Converted to ...
18913         (do_test): ... this.
18914         (TEST_FUNCTION): New macro.
18915         Include test-skeleton.c.
18917 2015-08-05  Zack Weinberg  <zackw@panix.com>
18919         * misc/regexp.h: Update comments.
18921 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
18923         [BZ #18635]
18924         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
18925         before return label.
18927 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18929         [BZ #18661]
18930         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
18931         when calling __errno_location.
18932         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
18933         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
18935 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18937         [BZ #18661]
18938         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
18939         (__lll_timedwait_tid): Align stack to 16 bytes when calling
18940         __gettimeofday.
18942 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18944         [BZ #18661]
18945         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18946         (__start_context): Don't use pop to restore %rdi so that stack
18947         is aligned to 16 bytes when calling __setcontext.
18949 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18951         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
18952         only for libc.
18953         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
18955 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18957         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
18958         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
18959         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
18961 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18963         * string/memccpy.c (memccpy):
18964         Improve performance by using memchr/memcpy/__mempcpy.
18966 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18968         * string/strncpy.c (strncpy):
18969         Improve performance by using __strnlen/memcpy.
18971 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18973         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
18974         Optimize to avoid an unnecessary FPCR read.
18976 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18978         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
18979         Optimize to reduce FPCR/FPSR accesses.
18981 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18983         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
18984         dead->data[category] != NULL.
18986 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
18988         [BZ #18647]
18989         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
18990         and |x| close to 1, use absolute value of x when computing log.
18991         * math/auto-libm-test-in: Add more tests of pow.
18992         * math/auto-libm-test-out: Regenerated.
18994 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18996         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
18997         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
18998         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
19000 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
19002         [BZ #18525]
19003         * locales/km_KH: Remove timezone definition.
19004         * locales/lo_LA: Likewise.
19005         * locales/my_MM: Likewise.
19006         * locales/nan_TW@latin: Likewise.
19007         * locales/th_TH: Likewise.
19008         * locales/uk_UA: Likewise.
19010 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
19012         [BZ #18265]
19013         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
19014         (wcsncat): Likewise.
19015         (wcscmp): Likewise.
19016         (wcsncmp): Likewise.
19018 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
19020         * test-skeleton.c (usage): New function.
19021         (main): Call usage when opt is '?'.
19023 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
19025         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
19026         before first use.
19028 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
19030         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
19031         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
19032         in there too.
19034 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
19036         * version.h (RELEASE): Set to "development".
19037         (VERSION): Set to "2.22.90"
19039         * version.h (RELEASE): Set to "stable".
19040         (VERSION): Set to "2.22"
19041         * include/features.h (__GLIBC_MINOR__): Set to 22.
19043 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
19045         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
19046         Restructure macro to avoid "value computed is not used" warning.
19047         (atomic_compare_and_exchange_val_acq): Likewise.
19049 2015-08-04  Andreas Schwab  <schwab@suse.de>
19051         [BZ #18635]
19052         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
19053         ret.
19054         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
19056 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
19058         * po/pl.po: Updated translation.
19059         * po/uk.po: Likewise.
19060         * po/fi.po: Likewise.
19061         * po/ko.po: Likewise.
19062         * po/ru.po: Likewise.
19063         * po/vi.po: Likewise.
19065 2015-07-31  Zack Weinberg  <zackw@panix.com>
19067         [BZ #18681]
19068         * regexp.h: Add unconditional #warning stating that this header
19069         will be removed soon.  Revise banner comment to match.
19070         (compile): Consistently use ERROR instead of RETURN to report
19071         errors (partial fix for bz#18681).
19072         * regexp.c: Don't include regexp.h. Remove some unnecessary
19073         declarations.
19075 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
19077         * po/libc.pot: Regenerated.
19079 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
19081         [BZ #18740]
19082         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
19083         float-vlen4-arch-ext-cflags): Removed.
19084         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
19085         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
19087 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
19089         [BZ #14113]
19090         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
19091         aligned to __aligned__.
19092         (pthread_cond_t, pthread_rwlock_t): Likewise.
19094 2015-07-30  Torvald Riegel  <triegel@redhat.com>
19096         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
19098 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
19100         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
19101         (struct sigaction): Change sa_flags from a long to an int, and add
19102         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
19104 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
19106         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
19107         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
19108         sysdeps/generic/sysdep.h include.
19109         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
19110         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
19111         sysdeps/hppa/sysdep.h.
19112         (ENTRY, PSEUDO): Undefine before defining.
19114 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
19116         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
19117         from scratch to use INTERNAL_SYSCALL.
19119 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
19121         [BZ #18078]
19122         * scripts/check-localplt.awk: Support alternate relocations.
19123         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
19124         sections.
19125         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
19126         malloc entries with + REL R_386_GLOB_DAT.
19127         * sysdeps/x86_64/localplt.data: New file.
19129 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
19131         [BZ #18731]
19132         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
19133         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19134         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19136 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
19138         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
19140 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
19142         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
19143         directly in terms of __sync_fetch_and_add and delete (int) cast.
19145 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
19147         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
19148         the -D_ASM_IA64_CURRENT_H flag.
19150 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
19152         [BZ #18641]
19153         * pwd/pwd.h (putpwent): Delete __nonnull markings.
19155 2015-07-27  Andreas Schwab  <schwab@suse.de>
19157         * conform/conformtest.pl (checknamespace): Filter out string
19158         literals while tokenizing.
19160 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
19162         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
19163         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
19164         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
19166 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
19168         * nptl/tst-join7mod.c: Add #include <string.h>.
19170 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
19172         * sysdeps/nios2/libm-test-ulps: Update.
19174 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
19176         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
19177         Fix order of arguments to the rt_sigprocmask syscall.
19178         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
19179         Likewise.
19181 2015-07-24  Roland McGrath  <roland@hack.frob.com>
19183         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
19185 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19187         [BZ #18457]
19188         * nptl/Makefile (tests): New test case tst-join7.
19189         (modules-names): New test case module tst-join7mod.
19190         * nptl/tst-join7.c: New file.
19191         * nptl/tst-join7mod.c: New file.
19192         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
19193         all translation units in libc.so, libpthread.so and rtld.
19195 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19197         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19199 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
19201         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
19202         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
19203         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
19204         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
19205         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
19206         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
19207         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
19208         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
19209         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
19210         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
19211         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
19212         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
19213         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
19214         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
19215         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
19216         implementation.
19218 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19220         [BZ #17711]
19221         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
19222         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
19223         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
19224         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
19225         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
19226         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
19228 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19230         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
19231         instead of just saying load lock in the comments.
19233 2015-07-23  Roland McGrath  <roland@hack.frob.com>
19235         * sysdeps/unix/Subdirs: Moved ...
19236         * sysdeps/posix/Subdirs: ... here.
19237         * login/pty.h (struct termios, struct winsize): Add forward decls.
19238         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
19239         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
19240         * sysdeps/arm/nacl/libc.abilist: Updated.
19241         * sysdeps/nacl/libutil.abilist: New file.
19243         * bits/signum.h: Update comments to mention 1003.1-2013 too.
19244         (SIGWINCH): New macro.
19246         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
19247         * sysdeps/arm/nacl/libc.abilist: Add it.
19249 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
19251         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
19253 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
19255         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
19256         Swap __glibc_reserved0 and sa_flags order.
19258 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
19260         [BZ #18657]
19261         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
19262         are pending TLS destructor calls.
19263         * include/link.h (struct link_map): Add concurrency note for
19264         L_TLS_DTOR_COUNT.
19265         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
19266         Don't touch the link map flag.  Atomically increment
19267         l_tls_dtor_count.
19268         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
19269         Avoid taking the load lock and don't touch the link map flag.
19270         * stdlib/tst-tls-atexit-nodelete.c: New test case.
19271         * stdlib/Makefile (tests): Use it.
19272         * stdlib/tst-tls-atexit.c (do_test): dlopen
19273         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
19274         to allow tst-tls-atexit-nodelete test case to use it.
19276 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
19278         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
19279         to bits/types.h.
19280         (msgqnum_t): New typedef.
19281         (msglen_t): Likewise.
19282         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
19283         and msg_qbytes type to msglen_t.
19285 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
19287         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
19288         pad0 to __glibc_reserved0.
19289         (struct stat64): Likewise.
19291 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
19293         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
19294         Change sa_flags from a long to an int and add __glibc_reserved0 before
19295         it for padding.
19297 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
19299         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
19300         anonymous by deleting "siginfo" name.
19302 2015-07-21  Roland McGrath  <roland@hack.frob.com>
19304         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
19305         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
19306         rather than __nacl_irt_filename.
19307         * sysdeps/nacl/xstat.c (__xstat): Likewise.
19309         * NEWS: New item for arm-nacl port.
19310         * sysdeps/arm/nacl/libc.abilist: New file.
19311         * sysdeps/nacl/ld.abilist: New file.
19312         * sysdeps/nacl/libBrokenLocale.abilist: New file.
19313         * sysdeps/nacl/libanl.abilist: New file.
19314         * sysdeps/nacl/libcrypt.abilist: New file.
19315         * sysdeps/nacl/libdl.abilist: New file.
19316         * sysdeps/nacl/libm.abilist: New file.
19317         * sysdeps/nacl/libpthread.abilist: New file.
19318         * sysdeps/nacl/libresolv.abilist: New file.
19319         * sysdeps/nacl/librt.abilist: New file.
19321 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
19323         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
19324         __startcontext to initialize the new context.
19325         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
19326         up CFI directive to forbid further backtracing.
19328 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
19330         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
19331         reference.
19332         * charmaps/ANSI_X3.4-1968: Likewise.
19333         * charmaps/BS_4730: Likewise.
19334         * charmaps/BS_VIEWDATA: Likewise.
19335         * charmaps/CP1250: Likewise.
19336         * charmaps/CP1251: Likewise.
19337         * charmaps/CP1252: Likewise.
19338         * charmaps/CP1253: Likewise.
19339         * charmaps/CP1254: Likewise.
19340         * charmaps/CP1255: Likewise.
19341         * charmaps/CP1256: Likewise.
19342         * charmaps/CSN_369103: Likewise.
19343         * charmaps/EBCDIC-DK-NO: Likewise.
19344         * charmaps/GB_1988-80: Likewise.
19345         * charmaps/GREEK-CCITT: Likewise.
19346         * charmaps/GREEK7: Likewise.
19347         * charmaps/INIS-8: Likewise.
19348         * charmaps/ISIRI-3342: Likewise.
19349         * charmaps/ISO_2033-1983: Likewise.
19350         * charmaps/ISO_5427-EXT: Likewise.
19351         * locales/POSIX: Likewise.
19352         * locales/ar_SA: Likewise.
19353         * locales/be_BY: Likewise.
19354         * locales/be_BY@latin: Likewise.
19355         * locales/ca_ES: Likewise.
19356         * locales/cs_CZ: Likewise.
19357         * locales/da_DK: Likewise.
19358         * locales/de_BE: Likewise.
19359         * locales/de_CH: Likewise.
19360         * locales/de_LU: Likewise.
19361         * locales/en_AU: Likewise.
19362         * locales/en_BW: Likewise.
19363         * locales/en_CA: Likewise.
19364         * locales/en_DK: Likewise.
19365         * locales/en_GB: Likewise.
19366         * locales/en_IE: Likewise.
19367         * locales/en_NZ: Likewise.
19368         * locales/en_ZA: Likewise.
19369         * locales/en_ZW: Likewise.
19370         * locales/es_AR: Likewise.
19371         * locales/es_BO: Likewise.
19372         * locales/es_CL: Likewise.
19373         * locales/es_CO: Likewise.
19374         * locales/es_DO: Likewise.
19375         * locales/es_EC: Likewise.
19376         * locales/es_ES: Likewise.
19377         * locales/es_HN: Likewise.
19378         * locales/es_MX: Likewise.
19379         * locales/es_PA: Likewise.
19380         * locales/es_PE: Likewise.
19381         * locales/es_PY: Likewise.
19382         * locales/es_SV: Likewise.
19383         * locales/es_US: Likewise.
19384         * locales/es_UY: Likewise.
19385         * locales/es_VE: Likewise.
19386         * locales/et_EE: Likewise.
19387         * locales/fa_IR: Likewise.
19388         * locales/fo_FO: Likewise.
19389         * locales/fr_CA: Likewise.
19390         * locales/fr_CH: Likewise.
19391         * locales/gv_GB: Likewise.
19392         * locales/he_IL: Likewise.
19393         * locales/hr_HR: Likewise.
19394         * locales/id_ID: Likewise.
19395         * locales/is_IS: Likewise.
19396         * locales/it_CH: Likewise.
19397         * locales/iw_IL: Likewise.
19398         * locales/kl_GL: Likewise.
19399         * locales/ko_KR: Likewise.
19400         * locales/kw_GB: Likewise.
19401         * locales/lg_UG: Likewise.
19402         * locales/lt_LT: Likewise.
19403         * locales/lv_LV: Likewise.
19404         * locales/mi_NZ: Likewise.
19405         * locales/nhn_MX: Likewise.
19406         * locales/nl_BE: Likewise.
19407         * locales/pl_PL: Likewise.
19408         * locales/sk_SK: Likewise.
19409         * locales/sl_SI: Likewise.
19410         * locales/sv_FI: Likewise.
19411         * locales/tl_PH: Likewise.
19412         * locales/tr_TR: Likewise.
19413         * locales/vi_VN: Likewise.
19415 2015-07-21  Khem Raj  <raj.khem@gmail.com>
19417         [BZ #17475]
19418         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
19419         of tu_IN and bh_IN.
19421 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
19423         [BZ #18694]
19424         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
19425         bits/wordsize.h.
19426         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
19428 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19430         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
19431         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
19432         (spawn_thread): New function.
19433         (load): Rename to reg_dtor_and_close.  Move dlopen to...
19434         (do_test): ... here.  Use IS_LOADED to test for its
19435         availability.
19437 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
19439         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
19441 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
19443         [BZ #18696]
19444         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
19445         si_addr_bnd.
19446         (si_lower): New.
19447         (si_upper): Likewise.
19449 2015-07-16  David S. Miller  <davem@davemloft.net>
19451         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
19453 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19455         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
19456         buffer.
19457         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
19458         fail output information.
19460 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19462         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
19463         and strstr-ppc64..
19464         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
19465         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
19466         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
19467         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
19468         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
19470 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
19472         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
19473         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
19474         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
19475         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
19477 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
19479         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
19480         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
19481         rtld_hidden_proto.
19482         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
19484 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19486         * tst-nodelete-opened.c (do_test): Add comment to clarify how
19487         the test can fail.
19489         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
19491         [BZ #18676]
19492         * elf/tst-nodelete-opened.c: New test case.
19493         * elf/tst-nodelete-opened-lib.c: New test case module.
19494         * elf/Makefile (tests, modules-names): Use them.
19495         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
19496         early.
19498 2015-07-15  David S. Miller  <davem@davemloft.net>
19500         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
19501         futex-intenal.h
19502         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
19503         * sysdeps/sparc/sparc64/Makefile: Likewise.
19504         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
19505         Remove space from macro define.
19506         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
19508 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
19510         [BZ #17475]
19511         * locale/iso-639.def: Update Bhili and Tulu language codes as
19512         per iso639-3.
19514 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
19516         * elf/tst-leaks1.c (main): Converted to ...
19517         (do_test): ... this.
19518         (TEST_FUNCTION): New macro.
19519         Include test-skeleton.c.
19520         * localedata/tst-langinfo.c (main): Converted to ...
19521         (do_test): ... this.
19522         (TEST_FUNCTION): New macro.
19523         Include test-skeleton.c.
19524         * math/test-fpucw.c (main): Converted to ...
19525         (do_test): ... this.
19526         (TEST_FUNCTION): New macro.
19527         Include test-skeleton.c.
19528         * math/test-tgmath.c (main): Converted to ...
19529         (do_test): ... this.
19530         (TEST_FUNCTION): New macro.
19531         Include test-skeleton.c.
19532         * math/test-tgmath2.c (main): Converted to ...
19533         (do_test): ... this.
19534         (TEST_FUNCTION): New macro.
19535         Include test-skeleton.c.
19536         * setjmp/tst-setjmp.c (main): Converted to ...
19537         (do_test): ... this.
19538         (TEST_FUNCTION): New macro.
19539         Include test-skeleton.c.
19540         * stdio-common/tst-sscanf.c (main): Converted to ...
19541         (do_test): ... this.
19542         (TEST_FUNCTION): New macro.
19543         Include test-skeleton.c.
19544         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
19545         (do_test): ... this.
19546         (TEST_FUNCTION): New macro.
19547         Include test-skeleton.c.
19549         * elf/tst-audit9.c (main): Converted to ...
19550         (do_test): ... this.
19551         (TEST_FUNCTION): New macro.
19552         Include test-skeleton.c.
19554 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
19556         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
19558 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
19560         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
19561         New variable.
19563 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
19565         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19567 2015-07-14  Roland McGrath  <roland@hack.frob.com>
19569         * sysdeps/generic/dl-fileid.h: New file.
19570         * sysdeps/posix/dl-fileid.h: New file.
19571         * sysdeps/nacl/dl-fileid.h: New file.
19572         * include/link.h: Include <dl-fileid.h>.
19573         (struct link_map): Replace l_dev and l_ino with l_file_id.
19574         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
19575         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
19576         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
19578 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19580         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
19582 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19584         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
19585         Add iff $CXX is set.
19586         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
19587         Likewise.
19588         (tst-nodelete-zmodiff): Likewise.
19589         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
19591 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19593         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
19595 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
19597         * sysdeps/aarch64/fpu/math_private.h
19598         (define math_opt_barrier): Add AArch64 version.
19599         (math_force_eval): Likewise.
19601 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
19603         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
19605 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
19607         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
19608         %ld with %jd and cast to intmax_t.
19609         (do_test_length_zero): Likewise.
19611 2015-07-10  Roland McGrath  <roland@hack.frob.com>
19613         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
19615 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
19617         * sysdeps/tile/libm-test-ulps: Regenerated.
19619         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
19620         Comment out the whole function, not just its body.
19622 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19624         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
19625         locks.
19627         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
19629 2015-07-10  Torvald Riegel  <triegel@redhat.com>
19631         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
19632         (sem_assume_only_signals_cause_futex_EINTR): Remove.
19634 2015-07-10  Torvald Riegel  <triegel@redhat.com>
19636         * sysdeps/nptl/futex-internal.h: New file.
19637         * sysdeps/nacl/futex-internal.h: New file.
19638         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
19639         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
19640         error checking.
19641         (setxid_unmark_thread): Likewise.
19642         (__nptl_setxid): Likewise.
19643         (__wait_lookup_done): Likewise.
19644         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
19645         * nptl/nptl-init.c (sighandler_setxid): Likewise.
19646         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
19647         * nptl/pthread_once.c (clear_once_control): Likewise.
19648         (__pthread_once_slow): Likewise.
19649         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
19650         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
19651         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
19652         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
19653         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
19654         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
19655         Likewise.
19656         (__pthread_rwlock_rdlock): Likewise.
19657         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
19658         Likewise.
19659         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
19660         Likewise.
19661         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
19662         Likewise.
19663         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
19664         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
19665         Likewise.
19666         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
19667         __ASSUME_PRIVATE_FUTEX check.
19668         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
19669         Check that shared futexes are supported.
19670         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
19671         wrappers with error checking.
19672         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
19673         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
19674         * nptl/pthread_barrierattr_setpshared.c
19675         (pthread_barrierattr_setpshared): Check that shared futexes are
19676         supported.
19677         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
19678         Likewise.
19679         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
19680         Likewise.
19681         * nptl/sem_init.c (futex_private_if_supported): Remove.
19682         (__new_sem_init): Adapt and check that shared futexes are supported.
19683         * nptl/sem_open.c (sem_open): Likewise.
19684         * nptl/sem_post.c (futex_wake): Remove.
19685         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
19686         (do_futex_wait): Use futex wrappers with error checking.
19687         * nptl/sem_wait.c: Include lowlevellock.h.
19688         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
19689         Use futex_supports_pshared.
19690         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
19691         Use futex wrappers with error checking.
19692         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
19693         Likewise.
19694         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
19695         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
19696         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
19697         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
19698         (futex_wake): Likewise.
19699         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
19700         (do_futex_wait): Use futex wrappers with error checking.
19701         (__new_sem_wait_slow): Update EINTR handling.
19702         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
19704 2015-07-09  Martin Sebor  <msebor@redhat.com>
19706         [BZ #18435]
19707         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
19708         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
19709         * nptl/Makefile (test-xfail-tst-once5): Define.
19711 2015-07-09  Roland McGrath  <roland@hack.frob.com>
19713         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
19714         * elf/dl-minimal.c: For readability, reorder some definitions and
19715         introduce more page breaks.  Include <stdio.h>.
19716         (__libc_fatal): New function.
19718         * include/unistd.h: Add rtld_hidden_proto for _exit.
19719         * posix/_exit.c: Add rtld_hidden_def.
19720         * sysdeps/mach/hurd/_exit.c: Likewise.
19721         * sysdeps/nacl/_exit.c: Likewise.
19722         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
19723         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
19725 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
19727         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
19728         bndmov encoding with zero displacement.
19730 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
19731             H.J. Lu  <hongjiu.lu@intel.com>
19733         [BZ #18134]
19734         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
19735         * sysdeps/i386/configure: Regenerated.
19736         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
19737         (_dl_runtime_profile): Save and restore Intel MPX return bound
19738         registers when calling _dl_call_pltexit.  Add
19739         PRESERVE_BND_REGS_PREFIX before return.
19740         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
19741         (LRV_BND1_OFFSET): Likewise.
19742         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
19743         lrv_bnd1.
19744         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
19745         typo in bndmov encoding.
19746         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
19747         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
19748         branch instructions to preserve bounds.
19750 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
19753         [GLIBC_2.22]: Add fmemopen.
19755 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19757         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
19758         returns an error, also try to use host port from __mach_host_self for
19759         the __vm_wire call.
19760         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
19762 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19764         [BZ #18400]
19765         [BZ #18648]
19766         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
19767         Fix pr_uid and pr_gid members.
19768         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
19769         definition to elf_greg_t.
19771 2015-07-08  Roland McGrath  <roland@hack.frob.com>
19773         [BZ #18383]
19774         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
19775         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
19776         * sysdeps/arm/configure: Regenerated.
19777         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
19778         (test-xfail-tst-tlsalign-static): Variable removed.
19780         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
19781         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
19782         rather than explicit 'ln -s'.
19784         * resolv/rpc/netdb.h: New file.
19785         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
19787 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19789         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
19790         length buffers.
19791         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
19792         test-skeleton.c.
19794         [BZ #6544]
19795         [BZ #11216]
19796         [BZ #12836]
19797         [BZ #13151]
19798         [BZ #13152]
19799         [BZ #14292]
19800         * include/stdio.h (fmemopen): Remove hidden prototype.
19801         (__fmemopen): Add new hidden prototype.
19802         * libio/Makefile: Add oldfmemopen object.
19803         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
19804         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
19805         compliance.
19806         * libio/oldfmemopen.c: New file: old fmemopen implementation for
19807         symbol compatibility.
19808         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
19809         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
19810         fmemopen.
19811         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
19812         on append and read mode.
19813         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
19814         fmemopen.
19815         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
19816         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
19817         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
19818         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
19819         Likewise.
19820         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
19821         [GLIBC_2.22]: Likewise.
19822         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
19823         Likewise.
19824         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
19825         Likewise.
19826         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
19827         [GLIBC_2.22]: Likewise.
19828         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
19829         [GLIBC_2.22]: Likewise.
19830         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
19831         [GLIBC_2.22]: Likewise.
19832         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
19833         [GLIBC_2.22]: Likewise.
19834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
19835         [GLIBC_2.22]: Likewise.
19836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
19837         [GLIBC_2.22]: Likewise.
19838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
19839         [GLIBC_2.22]: Likewise.
19840         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
19841         Likewise.
19842         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
19843         Likewise.
19844         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
19845         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
19846         [GLIBC_2.22]: Likewise.
19847         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
19848         [GLIBC_2.22]: Likewise.
19849         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
19850         [GLIBC_2.22]: Likewise.
19851         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
19852         [GLIBC_2.22]: Likewise.
19853         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
19854         Likewise.
19855         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
19856         Likewise.
19857         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
19858         Likewise.
19859         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
19860         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
19862 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
19864         [BZ #18643]
19865         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
19866         IPV6_PATHMTU, and IPV6_DONTFRAG.
19868 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
19870         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
19871         and _IO_UNBUFFERED.
19872         * libio/oldfileops.c: Likewise.
19873         * libio/wfileops.c: Likewise.
19875 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
19877         * nscd/selinux.c: Delete selinux/flask.h include.
19879 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
19881         [BZ #18641]
19882         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
19883         (putpwent): Likewise.
19884         (getpwnam): Likewise.
19885         (getpwent_r): Likewise.
19886         (getpwuid_r): Likewise.
19887         (getpwnam_r): Likewise.
19888         (fgetpwent_r): Likewise.
19890 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
19892         [BZ #18557]
19893         * inet/rcmd.c (__validuser2_sa): Check user first to
19894         short-circuit host check.
19896 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
19897             Mikhail Ilin  <m.ilin@samsung.com>
19899         [BZ #17833]
19900         * elf/Makefile (tests): Add tst-nodelete.
19901         (modules-names): Add tst-nodelete-uniquemod.
19902         (tst-nodelete-uniquemod.so-no-z-defs): New.
19903         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
19904         (tst-nodelete-zmod.so-no-z-defs): Likewise.
19905         ($(objpfx)tst-nodelete): Likewise.
19906         ($(objpfx)tst-nodelete.out): Likewise.
19907         (LDFLAGS-tst-nodelete): Likewise.
19908         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
19909         * elf/dl-close.c (_dl_close_worker): Add a parameter to
19910         implement forced object deletion.
19911         (_dl_close): Pass false to _dl_close_worker.
19912         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
19913         * elf/tst-nodelete.cc: New file.
19914         * elf/tst-nodeletelib.cc: Likewise.
19915         * elf/tst-znodeletelib.cc: Likewise.
19916         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
19918 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
19920         [BZ #18508]
19921         * stdlib/Makefile ($(objpfx)tst-makecontext3):
19922         Depend on $(libdl).
19923         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
19924         is not called infinitely times.
19925         (backtrace_helper): New function.
19926         (trace_arg): New struct.
19927         (st1): Enlarge stack size.
19928         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
19929         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
19930         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
19931         Likewise.
19933 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
19935         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19937 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
19939         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
19940         Include sys/types.h instead of bits/types.h.
19941         Remove inclusion of bits/wordsize.h.
19943 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
19945         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
19946         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
19947         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
19948         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
19949         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
19950         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
19952 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
19954         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
19955         link-defines.sym.
19956         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
19957         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
19958         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
19959         and LR_SIZE.
19960         * sysdeps/i386/link-defines.sym: New file.
19962 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
19964         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
19965         (modules-names): Add tst-auditmod3a tst-auditmod3b.
19966         ($(objpfx)tst-audit3): New rule.
19967         ($(objpfx)tst-audit3.out): Likewise.
19968         * sysdeps/i386/tst-audit3.c: New file.
19969         * sysdeps/i386/tst-audit3.h: Likewise.
19970         * sysdeps/i386/tst-auditmod3a.c: Likewise.
19971         * sysdeps/i386/tst-auditmod3b.c: Likewise.
19973 2015-07-07  Torvald Riegel  <triegel@redhat.com>
19975         [BZ #18633]
19976         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
19977         pointer in C code.
19978         (__strcat_c): Likewise.
19979         (__strcat_g): Likewise.
19981 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
19983         [BZ #18592]
19984         * misc/sbrk.c: Set errno to ENOMEM on overflow.
19986 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
19988         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
19989         New function.  (__ieee754_sqrtf): New function.
19990         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
19991         New function.
19992         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
19993         New function.
19995 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
19997         * sysdeps/ieee754/support.c: Remove unused file.
19999 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20001         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
20002         registers instead of d ones so the layout is kernel abi compatible.
20003         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
20004         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
20005         Likewise.
20007 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20009         * sysdeps/aarch64/libm-test-ulps: Regenerated.
20011 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
20013         [BZ #18619]
20014         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
20015         and return argument in case of subnormal argument.
20017 2015-07-01  Martin Sebor  <msebor@redhat.com>
20019         [BZ #18435]
20020         * nptl/Makefile: Add tst-once5.cc.
20021         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
20022         Remove macro redefinitions.
20023         * nptl/tst-once5.cc: New test.
20025 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
20027         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20029         * sysdeps/arm/libm-test-ulps: Regenerated.
20031         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
20032         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20034 2015-06-30  Torvald Riegel  <triegel@redhat.com>
20036         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
20037         lll_lock_wait_private and lll_futex_wake probes.
20039         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
20040         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
20041         Likewise.
20042         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
20043         atomic_spin_nop.
20044         * sysdeps/x86_64/bits/atomic.h: Likewise.
20045         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
20046         to atomic_spin_nop and move ...
20047         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
20048         ... here and ...
20049         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
20050         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
20051         atomic_spin_nop instead of BUSY_WAIT_NOP.
20052         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
20053         Likewise.
20054         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
20055         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
20056         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
20057         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
20058         instead of atomic_delay.
20060 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
20062         [BZ #18613]
20063         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
20064         X_ADJ not X when adjusting exponent.
20065         (__ieee754_gamma_r): Do intermediate computations in
20066         round-to-nearest then adjust overflowing and underflowing results
20067         as needed.
20068         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
20069         of X_ADJ not X when adjusting exponent.
20070         (__ieee754_gammaf_r): Do intermediate computations in
20071         round-to-nearest then adjust overflowing and underflowing results
20072         as needed.
20073         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
20074         log of X_ADJ not X when adjusting exponent.
20075         (__ieee754_gammal_r): Do intermediate computations in
20076         round-to-nearest then adjust overflowing and underflowing results
20077         as needed.  Use 1.0L not 1.0f as numerator of division.
20078         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
20079         log of X_ADJ not X when adjusting exponent.
20080         (__ieee754_gammal_r): Do intermediate computations in
20081         round-to-nearest then adjust overflowing and underflowing results
20082         as needed.  Use 1.0L not 1.0f as numerator of division.
20083         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
20084         of X_ADJ not X when adjusting exponent.
20085         (__ieee754_gammal_r): Do intermediate computations in
20086         round-to-nearest then adjust overflowing and underflowing results
20087         as needed.  Use 1.0L not 1.0f as numerator of division.
20088         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
20089         to auto-libm-test-in.
20090         (tgamma_test): Use ALL_RM_TEST.
20091         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
20092         tests of tgamma with spurious-overflow.
20093         * math/auto-libm-test-out: Regenerated.
20094         * math/gen-libm-have-vector-test.sh: Do not check for START.
20095         * sysdeps/i386/fpu/libm-test-ulps: Update.
20096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20098         [BZ #18612]
20099         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
20100         arguments, just return 0.5 times the argument, with underflow
20101         forced as needed.
20102         * math/auto-libm-test-in: Add more tests of j1.
20103         * math/auto-libm-test-out: Regenerated.
20105         [BZ #16559]
20106         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
20107         (__ieee754_j1): Force underflow exception for small results.
20108         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
20109         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
20110         (__ieee754_j1f): Force underflow exception for small results.
20111         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
20112         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20113         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20114         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
20115         (__ieee754_j1l): Force underflow exception for small results.
20116         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20117         * math/auto-libm-test-in: Add more tests of j1 and jn.
20118         * math/auto-libm-test-out: Regenerated.
20120         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
20121         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
20122         (PF_MPLS): Likewise.
20123         (AF_IB): Likewise.
20124         (AF_MPLS): Likewise.
20125         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
20126         value and macro.
20127         (MS_RMT_MASK): Include MS_LAZYTIME.
20129 2015-06-26  Mel Gorman  <mgorman@suse.de>
20131         [BZ #18502]
20132         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
20133         already minimal.
20135 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
20137         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
20138         (DT_MIPS_NUM): Update.
20139         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
20140         DT_MIPS_RLD_MAP_REL.
20142 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
20144         [BZ #16559]
20145         [BZ #18602]
20146         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
20147         round-to-nearest internally then recompute results that
20148         underflowed to zero in the original rounding mode.
20149         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
20150         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20151         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20152         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20153         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
20154         * sysdeps/i386/fpu/libm-test-ulps: Update.
20155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20157 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
20159         * NEWS: Fixed description of link with vector math library.
20161 2015-06-25  Andreas Schwab  <schwab@suse.de>
20163         [BZ #18549]
20164         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
20165         * libio/test-fmemopen.c (do_test): Add test for it.
20167 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
20169         [BZ #17841]
20170         * Makeconfig (no-pie-ldflag): New.
20171         (+link): Set to $(+link-pie) if default to PIE.
20172         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
20173         * config.make.in (build-pie-default): New.
20174         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
20175         is default.  AC_SUBST.
20176         * configure: Regenerated.
20177         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
20179 2015-06-24  Roland McGrath  <roland@hack.frob.com>
20181         * nptl/descr.h (struct pthread): Change type of field setxid_futex
20182         to 'unsigned int'.
20184         * resolv/gai_misc.h (struct waitlist): Change type of field
20185         counterp to 'volatile unsigned int *'.
20186         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
20187         FUTEXADDR and OLDVAL.
20188         * resolv/getaddrinfo_a.c (getaddrinfo_a):
20189         Give local variable TOTAL type 'volatile unsigned int'.
20190         (struct async_waitlist): Change type of field counter to 'unsigned int'.
20191         * resolv/gai_suspend.c (gai_suspend):
20192         Give local variable CNTR type 'unsigned int'.
20194         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
20195         counterp to 'volatile unsigned int *'.
20196         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
20197         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
20198         (aio_suspend): Give local variable CNTR type 'unsigned int'.
20199         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
20200         Give local variable TOTAL type 'volatile unsigned int'.
20201         (struct async_waitlist): Change type of field counter to 'unsigned int'.
20203 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
20205         [BZ #18383]
20206         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
20207         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
20208         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
20209         comment for i386/x86-64.
20210         (test-xfail-tst-tlsalign-extern-static): Removed.
20212 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
20214         * math/test-double.h: New file.
20215         * math/test-float.h: Likewise.
20216         * math/test-ldouble.h: Likewise.
20217         * math/test-math-inline.h: Likewise.
20218         * math/test-math-no-inline.h: Likewise.
20219         * math/test-math-scalar.h: Likewise.
20220         * math/test-math-vector.h: Likewise.
20221         * math/test-vec-loop.h: Remove file.  Contents moved into
20222         test-math-vector.h.
20223         * math/libm-test.inc (MATHCONST): Do not document macro.
20224         * math/test-double.c: Include test-double.h, test-math-no-inline.h
20225         and test-math-scalar.h.
20226         (FUNC): Remove macro.
20227         (FUNC_TEST): Likewise.
20228         (FLOAT): Likewise.
20229         (MATHCONST): Likewise.
20230         (PRINTF_EXPR): Likewise.
20231         (PRINTF_XEXPR): Likewise.
20232         (PRINTF_NEXPR): Likewise.
20233         (TEST_DOUBLE): Likewise.
20234         (TEST_MATHVEC): Likewise.
20235         (__NO_MATH_INLINES): Likewise.
20236         * math/test-float.c: Include test-float.h, test-math-no-inline.h
20237         and test-math-scalar.h.
20238         (FUNC): Remove macro.
20239         (FUNC_TEST): Likewise.
20240         (FLOAT): Likewise.
20241         (MATHCONST): Likewise.
20242         (PRINTF_EXPR): Likewise.
20243         (PRINTF_XEXPR): Likewise.
20244         (PRINTF_NEXPR): Likewise.
20245         (TEST_FLOAT): Likewise.
20246         (TEST_MATHVEC): Likewise.
20247         (__NO_MATH_INLINES): Likewise.
20248         * math/test-idouble.c: Include test-double.h, test-math-inline.h
20249         and test-math-scalar.h.
20250         (FUNC): Remove macro.
20251         (FUNC_TEST): Likewise.
20252         (FLOAT): Likewise.
20253         (MATHCONST): Likewise.
20254         (PRINTF_EXPR): Likewise.
20255         (PRINTF_XEXPR): Likewise.
20256         (PRINTF_NEXPR): Likewise.
20257         (TEST_DOUBLE): Likewise.
20258         (TEST_MATHVEC): Likewise.
20259         (TEST_INLINE): Likewise.
20260         (__NO_MATH_INLINES): Likewise.
20261         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
20262         test-math-scalar.h.
20263         (FUNC): Remove macro.
20264         (FUNC_TEST): Likewise.
20265         (FLOAT): Likewise.
20266         (MATHCONST): Likewise.
20267         (PRINTF_EXPR): Likewise.
20268         (PRINTF_XEXPR): Likewise.
20269         (PRINTF_NEXPR): Likewise.
20270         (TEST_FLOAT): Likewise.
20271         (TEST_MATHVEC): Likewise.
20272         (TEST_INLINE): Likewise.
20273         (__NO_MATH_INLINES): Likewise.
20274         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
20275         and test-math-scalar.h.
20276         (FUNC): Remove macro.
20277         (FUNC_TEST): Likewise.
20278         (FLOAT): Likewise.
20279         (MATHCONST): Likewise.
20280         (PRINTF_EXPR): Likewise.
20281         (PRINTF_XEXPR): Likewise.
20282         (PRINTF_NEXPR): Likewise.
20283         (TEST_LDOUBLE): Likewise.
20284         (TEST_MATHVEC): Likewise.
20285         (TEST_INLINE): Likewise.
20286         (__NO_MATH_INLINES): Likewise.
20287         * math/test-ldouble.c: Include test-ldouble.h,
20288         test-math-no-inline.h and test-math-scalar.h.
20289         (FUNC): Remove macro.
20290         (FUNC_TEST): Likewise.
20291         (FLOAT): Likewise.
20292         (MATHCONST): Likewise.
20293         (PRINTF_EXPR): Likewise.
20294         (PRINTF_XEXPR): Likewise.
20295         (PRINTF_NEXPR): Likewise.
20296         (TEST_LDOUBLE): Likewise.
20297         (TEST_MATHVEC): Likewise.
20298         (__NO_MATH_INLINES): Likewise.
20299         * math/test-double-vlen2.h: Include test-double.h,
20300         test-math-no-inline.h and test-math-vector.h.
20301         (FLOAT): Remove macro.
20302         (FUNC): Likewise.
20303         (MATHCONST): Likewise.
20304         (PRINTF_EXPR): Likewise.
20305         (PRINTF_XEXPR): Likewise.
20306         (PRINTF_NEXPR): Likewise.
20307         (TEST_DOUBLE): Likewise.
20308         (TEST_MATHVEC): Likewise.
20309         (__NO_MATH_INLINES): Likewise.
20310         (CNCT): Likewise.
20311         (CONCAT): Likewise.
20312         (WRAPPER_NAME): Likewise.
20313         (WRAPPER_DECL): Likewise.
20314         (WRAPPER_DECL_ff): Likewise.
20315         (WRAPPER_DECL_fFF): Likewise.
20316         (VECTOR_WRAPPER): Likewise.
20317         (VECTOR_WRAPPER_ff): Likewise.
20318         (VECTOR_WRAPPER_fFF): Likewise.
20319         (VEC_LEN): New macro.
20320         * math/test-double-vlen4.h: Include test-double.h,
20321         test-math-no-inline.h and test-math-vector.h.
20322         (FLOAT): Remove macro.
20323         (FUNC): Likewise.
20324         (MATHCONST): Likewise.
20325         (PRINTF_EXPR): Likewise.
20326         (PRINTF_XEXPR): Likewise.
20327         (PRINTF_NEXPR): Likewise.
20328         (TEST_DOUBLE): Likewise.
20329         (TEST_MATHVEC): Likewise.
20330         (__NO_MATH_INLINES): Likewise.
20331         (CNCT): Likewise.
20332         (CONCAT): Likewise.
20333         (WRAPPER_NAME): Likewise.
20334         (WRAPPER_DECL): Likewise.
20335         (WRAPPER_DECL_ff): Likewise.
20336         (WRAPPER_DECL_fFF): Likewise.
20337         (VECTOR_WRAPPER): Likewise.
20338         (VECTOR_WRAPPER_ff): Likewise.
20339         (VECTOR_WRAPPER_fFF): Likewise.
20340         (VEC_LEN): New macro.
20341         * math/test-double-vlen8.h: Include test-double.h,
20342         test-math-no-inline.h and test-math-vector.h.
20343         (FLOAT): Remove macro.
20344         (FUNC): Likewise.
20345         (MATHCONST): Likewise.
20346         (PRINTF_EXPR): Likewise.
20347         (PRINTF_XEXPR): Likewise.
20348         (PRINTF_NEXPR): Likewise.
20349         (TEST_DOUBLE): Likewise.
20350         (TEST_MATHVEC): Likewise.
20351         (__NO_MATH_INLINES): Likewise.
20352         (CNCT): Likewise.
20353         (CONCAT): Likewise.
20354         (WRAPPER_NAME): Likewise.
20355         (WRAPPER_DECL): Likewise.
20356         (WRAPPER_DECL_ff): Likewise.
20357         (WRAPPER_DECL_fFF): Likewise.
20358         (VECTOR_WRAPPER): Likewise.
20359         (VECTOR_WRAPPER_ff): Likewise.
20360         (VECTOR_WRAPPER_fFF): Likewise.
20361         (VEC_LEN): New macro.
20362         * math/test-float-vlen4.h: Include test-float.h,
20363         test-math-no-inline.h and test-math-vector.h.
20364         (FLOAT): Remove macro.
20365         (FUNC): Likewise.
20366         (MATHCONST): Likewise.
20367         (PRINTF_EXPR): Likewise.
20368         (PRINTF_XEXPR): Likewise.
20369         (PRINTF_NEXPR): Likewise.
20370         (TEST_FLOAT): Likewise.
20371         (TEST_MATHVEC): Likewise.
20372         (__NO_MATH_INLINES): Likewise.
20373         (CNCT): Likewise.
20374         (CONCAT): Likewise.
20375         (WRAPPER_NAME): Likewise.
20376         (WRAPPER_DECL): Likewise.
20377         (WRAPPER_DECL_ff): Likewise.
20378         (WRAPPER_DECL_fFF): Likewise.
20379         (VECTOR_WRAPPER): Likewise.
20380         (VECTOR_WRAPPER_ff): Likewise.
20381         (VECTOR_WRAPPER_fFF): Likewise.
20382         (VEC_LEN): New macro.
20383         * math/test-float-vlen8.h: Include test-float.h,
20384         test-math-no-inline.h and test-math-vector.h.
20385         (FLOAT): Remove macro.
20386         (FUNC): Likewise.
20387         (MATHCONST): Likewise.
20388         (PRINTF_EXPR): Likewise.
20389         (PRINTF_XEXPR): Likewise.
20390         (PRINTF_NEXPR): Likewise.
20391         (TEST_FLOAT): Likewise.
20392         (TEST_MATHVEC): Likewise.
20393         (__NO_MATH_INLINES): Likewise.
20394         (CNCT): Likewise.
20395         (CONCAT): Likewise.
20396         (WRAPPER_NAME): Likewise.
20397         (WRAPPER_DECL): Likewise.
20398         (WRAPPER_DECL_ff): Likewise.
20399         (WRAPPER_DECL_fFF): Likewise.
20400         (VECTOR_WRAPPER): Likewise.
20401         (VECTOR_WRAPPER_ff): Likewise.
20402         (VECTOR_WRAPPER_fFF): Likewise.
20403         (VEC_LEN): New macro.
20404         * math/test-float-vlen16.h: Include test-float.h,
20405         test-math-no-inline.h and test-math-vector.h.
20406         (FLOAT): Remove macro.
20407         (FUNC): Likewise.
20408         (MATHCONST): Likewise.
20409         (PRINTF_EXPR): Likewise.
20410         (PRINTF_XEXPR): Likewise.
20411         (PRINTF_NEXPR): Likewise.
20412         (TEST_FLOAT): Likewise.
20413         (TEST_MATHVEC): Likewise.
20414         (__NO_MATH_INLINES): Likewise.
20415         (CNCT): Likewise.
20416         (CONCAT): Likewise.
20417         (WRAPPER_NAME): Likewise.
20418         (WRAPPER_DECL): Likewise.
20419         (WRAPPER_DECL_ff): Likewise.
20420         (WRAPPER_DECL_fFF): Likewise.
20421         (VECTOR_WRAPPER): Likewise.
20422         (VECTOR_WRAPPER_ff): Likewise.
20423         (VECTOR_WRAPPER_fFF): Likewise.
20424         (VEC_LEN): New macro.
20425         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
20426         test-vec-loop.h.
20427         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20428         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20429         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20430         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20431         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20432         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20433         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
20435 2015-06-24  Roland McGrath  <roland@hack.frob.com>
20437         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
20438         (__getlogin_r): ... this.
20440 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
20442         [BZ #18594]
20443         * math/s_ccosh.c (__ccosh): Compare with least normal value
20444         instead of comparing class with FP_SUBNORMAL.
20445         * math/s_ccoshf.c (__ccoshf): Likewise.
20446         * math/s_ccoshl.c (__ccoshl): Likewise.
20447         * math/s_cexp.c (__cexp): Likewise.
20448         * math/s_cexpf.c (__cexpf): Likewise.
20449         * math/s_cexpl.c (__cexpl): Likewise.
20450         * math/s_csin.c (__csin): Likewise.
20451         * math/s_csinf.c (__csinf): Likewise.
20452         * math/s_csinh.c (__csinh): Likewise.
20453         * math/s_csinhf.c (__csinhf): Likewise.
20454         * math/s_csinhl.c (__csinhl): Likewise.
20455         * math/s_csinl.c (__csinl): Likewise.
20456         * math/s_ctan.c (__ctan): Likewise.
20457         * math/s_ctanf.c (__ctanf): Likewise.
20458         * math/s_ctanh.c (__ctanh): Likewise.
20459         * math/s_ctanhf.c (__ctanhf): Likewise.
20460         * math/s_ctanhl.c (__ctanhl): Likewise.
20461         * math/s_ctanl.c (__ctanl): Likewise.
20462         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
20463         csin, csinh, ctan and ctanh.
20464         * math/auto-libm-test-out: Regenerated.
20465         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
20466         * sysdeps/i386/fpu/libm-test-ulps: Update.
20467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20469 2015-06-24  Roland McGrath  <roland@hack.frob.com>
20471         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
20472         return value is wrong, print the expected value too.
20474 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
20476         [BZ #18585]
20477         * elf/readlib.c (is_gdb_python_file): New.
20478         (process_file): Don't issue errors on filenames with -gdb.py
20479         suffix.
20481 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
20483         * math/auto-libm-test-in: Add more tests of csin and csinh.
20484         * math/auto-libm-test-out: Regenerated.
20485         * math/libm-test.inc (csin_test_data): Remove tests moved to
20486         auto-libm-test-in.
20487         (csinh_test_data): Likewise.
20489         [BZ #18593]
20490         * math/s_csin.c (__csin): Negate before rather than after possibly
20491         overflowing multiplication.
20492         * math/s_csinf.c (__csinf): Likewise.
20493         * math/s_csinh.c (__csinh): Likewise.
20494         * math/s_csinhf.c (__csinhf): Likewise.
20495         * math/s_csinhl.c (__csinhl): Likewise.
20496         * math/s_csinl.c (__csinl): Likewise.
20497         * math/auto-libm-test-in: Add some tests of csin and csinh.
20498         * math/auto-libm-test-out: Regenerated.
20499         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
20500         (csinh_test_data): Likewise.
20501         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20503         [BZ #18586]
20504         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
20505         underflow exception for small results.
20507 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
20509         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
20510         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
20511         variable and included header.
20512         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
20513         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
20514         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
20515         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
20516         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
20517         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
20518         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
20519         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
20520         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
20521         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
20522         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
20523         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
20524         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
20525         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
20526         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
20527         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
20529 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
20531         [BZ #16526]
20532         [BZ #16538]
20533         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
20534         (__sin): Force underflow exception for arguments with small
20535         absolute value.
20536         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
20537         (__kernel_sinf): Force underflow exception for arguments with
20538         small absolute value.
20539         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
20540         (__kernel_sincosl): Force underflow exception for arguments with
20541         small absolute value.
20542         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
20543         (__kernel_sinl): Force underflow exception for arguments with
20544         small absolute value.
20545         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
20546         (__kernel_sincosl): Force underflow exception for arguments with
20547         small absolute value.
20548         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
20549         (__kernel_sinl): Force underflow exception for arguments with
20550         small absolute value.
20551         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
20552         (__kernel_sinl): Force underflow exception for arguments with
20553         small absolute value.
20554         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
20555         (__kernel_sinf): Force underflow exception for arguments with
20556         small absolute value.
20557         * math/auto-libm-test-in: Add more tests of sin and sincos.
20558         * math/auto-libm-test-out: Regenerated.
20560         [BZ #18245]
20561         [BZ #18583]
20562         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
20563         (__kernel_standard_l): Use feholdexcept and fesetenv around
20564         conversion to double instead of special-casing overflow and
20565         underflow.
20566         * math/libm-test.inc (fmod_test_data): Add more tests.
20567         (remainder_test_data): Likewise.
20568         (sqrt_test_data): Likewise.
20570 2015-06-23  Torvald Riegel  <triegel@redhat.com>
20572         [BZ #17403]
20573         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
20574         atomic_read_barrier, atomic_write_barrier): Define.
20575         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
20576         atomic_read_barrier, atomic_write_barrier): Define.
20578 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
20580         * math/Makefile [$(PERL) != no]
20581         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
20582         dependency on libm-test.stmp below the inclusion of Rules.
20584 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
20586         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
20587         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
20588         and included header.
20589         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
20590         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
20591         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
20592         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
20593         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
20594         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
20595         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
20596         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
20597         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
20598         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
20599         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
20600         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
20601         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
20602         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
20603         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
20604         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
20605         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
20606         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
20607         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
20609 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
20611         [BZ #18371]
20612         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
20613         intermediate but not final result might underflow.
20614         * math/s_csqrtf.c (__csqrtf): Likewise.
20615         * math/s_csqrtl.c (__csqrtl): Likewise.
20616         * math/auto-libm-test-in: Add more tests of csqrt.
20617         * math/auto-libm-test-out: Regenerated.
20618         * sysdeps/i386/fpu/libm-test-ulps: Update.
20620         [BZ #18219]
20621         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
20622         threshold on absolute value of exponent for which scaling is used.
20623         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
20624         * math/auto-libm-test-in: Add more tests of exp2.
20625         * math/auto-libm-test-out: Regenerated.
20627 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
20629         [BZ #17977]
20630         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
20631         when initializing interface list, based on the bug analysis
20632         and the patch proposed by Eric Newton.
20633         * resolv/tst-res_hconf_reorder.c: New test.
20634         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
20635         tst-res_hconf_reorder.
20636         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
20637         and $(shared-thread-library).
20638         (tst-res_hconf_reorder-ENV): New variable.
20640         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
20641         in comment.
20643 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
20645         [BZ #16353]
20646         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
20647         (__expm1): Force underflow exception for arguments with small
20648         absolute value.
20649         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
20650         (__expm1f): Force underflow exception for arguments with small
20651         absolute value.
20652         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
20653         (__expm1): Force underflow exception for arguments with small
20654         absolute value.
20655         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
20656         (__expm1f): Force underflow exception for arguments with small
20657         absolute value.
20658         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
20659         Check for small arguments before calling __expm1.
20660         * math/auto-libm-test-in: Do not mark underflow exceptions as
20661         possibly missing for bug 16353.
20662         * math/auto-libm-test-out: Regenerated.
20664 2015-06-22  Andreas Schwab  <schwab@suse.de>
20666         [BZ #18513]
20667         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
20668         PTR queries.
20670 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
20672         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
20674         * string/strcoll_l.c: Remove unused struct element idxnow.
20676 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
20678         [BZ #18569]
20679         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
20680         underflow and return argument in case of subnormal argument.
20681         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
20682         Likewise.
20683         * math/auto-libm-test-in: Add more tests of expm1.
20684         * math/auto-libm-test-out: Regenerated.
20686         [BZ #16361]
20687         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
20688         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
20689         tiny results.
20690         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
20691         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
20692         tiny results.
20693         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
20694         mark underflow exceptions as possibly missing for bug 16361.
20695         * math/auto-libm-test-out: Regenerated.
20697 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
20699         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
20700         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
20701         Remove variable.
20702         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
20703         (test-xfail-XOPEN2K8/utmpx.h/conform).
20705         * conform/conformtest.pl ($xerrors): New variable.
20706         (note_error): New function.
20707         (compiletest): New argument $xfail.  Use not_error.
20708         (runtest): Likewise.
20709         (top level): Handle xfail- lines.  Update calls to compiletest and
20710         runtest.  Handle xfail- and optional- in headers listed with
20711         allow-header.
20712         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
20713         (O_EXEC): Likewise.
20714         (O_SEARCH): Likewise.
20715         * conform/data/stropts.h-data (ioctl): Likewise.
20716         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
20717         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
20718         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
20719         (msghdr.msg_controllen): Likewise.
20720         (cmsghdr.cmsg_len): Likewise.
20721         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
20722         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
20723         variable.
20724         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
20725         (test-xfail-XPG4/stropts.h/conform): Likewise.
20726         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
20727         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
20728         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
20729         (test-xfail-UNIX98/stropts.h/conform): Likewise.
20730         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
20731         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
20732         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
20733         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
20734         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
20735         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
20736         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
20737         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
20738         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
20739         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
20740         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
20741         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
20742         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
20743         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
20744         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
20746 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
20748         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
20749         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
20750         definitions for proper unfolding of __MATHDECL_VEC.
20752 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
20754         * benchtests/bench-strcoll.c:
20755         Include string.h.
20756         (main): Remove unused variable res.
20758 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
20760         * timezone/Makefile (%/UTC %/Universal):
20761         Generate test-result files for UTC and Universal.
20763 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
20765         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
20767 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
20769         [BZ #16350]
20770         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
20771         for arguments with small absolute value.
20772         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
20773         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
20774         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
20775         (__asinh): Force underflow exception for arguments with small
20776         absolute value.
20777         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
20778         (__asinhf): Force underflow exception for arguments with small
20779         absolute value.
20780         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
20781         (__asinhl): Force underflow exception for arguments with small
20782         absolute value.
20783         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
20784         (__asinhl): Force underflow exception for arguments with small
20785         absolute value.
20786         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
20787         (__asinhl): Force underflow exception for arguments with small
20788         absolute value.
20789         * math/auto-libm-test-in: Do not mark underflow exceptions as
20790         possibly missing for bug 16350.
20791         * math/auto-libm-test-out: Regenerated.
20793         * include/bits/ipc.h: Remove file.
20794         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
20795         variable.
20796         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
20797         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
20798         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
20799         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
20800         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
20801         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
20802         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
20803         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
20804         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
20806         * math/auto-libm-test-in: Remove spurious underflow allowance for
20807         tests of cexp.
20808         * math/auto-libm-test-out: Regenerated.
20810         [BZ #18558]
20811         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
20812         unconditional definition.
20813         (MCAST_BLOCK_SOURCE): Likewise.
20814         (MCAST_UNBLOCK_SOURCE): Likewise.
20815         (MCAST_LEAVE_GROUP): Likewise.
20816         (MCAST_JOIN_SOURCE_GROUP): Likewise.
20817         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
20818         (MCAST_MSFILTER): Likewise.
20819         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
20820         Remove variable.
20821         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
20822         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
20823         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
20824         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
20825         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
20827 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
20829         * NEWS: Mention addition of x86_64 vector sincosf.
20830         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
20831         * math/test-float-vlen4.h: Likewise.
20832         * math/test-float-vlen8.h: Likewise.
20833         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20834         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
20835         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20836         * sysdeps/x86_64/fpu/Versions: New versions added.
20837         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20838         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20839         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20840         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
20841         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
20842         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
20843         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
20844         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
20845         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
20846         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
20847         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
20848         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
20849         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
20850         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
20851         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
20852         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
20853         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
20854         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
20855         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20856         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20857         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20858         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20859         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20860         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20862         * NEWS: Mention addition of x86_64 vector sincos.
20863         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
20864         * math/math.h (__MATHDECL_VEC): New macro.
20865         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
20866         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
20867         declaration under condition.
20868         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
20869         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
20870         TEST_VEC_LOOP change.
20871         * math/test-double-vlen4.h: Likewise.
20872         * math/test-double-vlen8.h: Likewise.
20873         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
20874         * math/test-float-vlen4.h: Likewise.
20875         * math/test-float-vlen8.h: Likewise.
20876         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20877         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
20878         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20879         * sysdeps/x86_64/fpu/Versions: New versions added.
20880         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20881         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20882         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20883         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
20884         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
20885         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
20886         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
20887         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
20888         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
20889         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
20890         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
20891         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
20892         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
20893         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
20894         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
20895         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
20896         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
20897         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20898         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20899         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20900         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20901         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20902         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20903         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20905         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20906         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20907         redirections for powf.
20908         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20909         * sysdeps/x86_64/fpu/Versions: New versions added.
20910         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20911         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20912         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20913         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
20914         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
20915         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
20916         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
20917         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
20918         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
20919         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
20920         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
20921         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
20922         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
20923         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
20924         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
20925         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
20926         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
20927         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20928         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20929         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20930         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20931         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20932         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20933         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20934         * math/test-float-vlen16.h: Fixed 2 argument macro.
20935         * math/test-float-vlen4.h: Likewise.
20936         * math/test-float-vlen8.h: Likewise.
20937         * NEWS: Mention addition of x86_64 vector powf.
20939 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
20941         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20942         and redefine.
20943         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20944         and redefine.
20945         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
20946         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
20947         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20949         [BZ #18553]
20950         * resource/getpriority.c (getpriority): Rename to __getpriority
20951         and define as weak alias of __getpriority.
20952         * resource/setpriority.c (setpriority): Rename to __setpriority
20953         and define as weak alias of __setpriority.
20954         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
20955         __getpriority and define as weak alias of __getpriority.
20956         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
20957         __setpriority and define as weak alias of __setpriority.
20958         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
20959         strong name.
20960         (setpriority): Use __setpriority as strong name.
20961         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
20962         __getpriority and define as weak alias of __getpriority.
20963         * include/sys/resource.h (__getpriority): Declare.  Use
20964         libc_hidden_proto.
20965         (__setpriority): Likewise.
20966         (getpriority): Don't use libc_hidden_proto.
20967         (setpriority): Likewise.
20968         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
20969         getpriority.  Call __setpriority instead of setpriority.
20970         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
20971         Remove variable.
20973         [BZ #18547]
20974         * misc/getttyent.c (getttynam): Rename to __getttynam and define
20975         as weak alias of __getttynam.  Use prototype function definition.
20976         Call __setttyent, __getttyent and __endttyent instead of
20977         setttyent, getttyent and endttyent.
20978         (getttyent): Rename to __getttyent and define as weak alias of
20979         __getttyent.  Call __setttyent instead of setttyent.  Call
20980         __fgets_unlocked instead of fgets_unlocked.
20981         (setttyent): Rename to __setttyent and define as weak alias of
20982         __setttyent.
20983         (endttyent): Rename to __endttyent and define as weak alias of
20984         __endttyent.
20985         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
20986         (__setttyent): Likewise.
20987         (__endttyent): Likewise.
20988         (getttyent): Don't use libc_hidden_proto.
20989         (setttyent): Likewise.
20990         (endttyent): Likewise.
20991         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
20992         __endttyent instead of setttyent, getttyent and endttyent.
20993         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
20994         Remove variable.
20996         [BZ #18546]
20997         * socket/recv.c (__recv): Use libc_hidden_def.
20998         * socket/socket.c (__socket): Likewise.
20999         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
21000         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
21001         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
21002         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
21003         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
21004         libc_hidden_def.
21005         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
21006         libc_hidden_weak.
21007         * include/sys/socket.h (__socket): Do not use attribute_hidden.
21008         Use libc_hidden_proto.
21009         (__recv): Likewise.
21010         * socket/Versions (libc): Export __recv and __socket at version
21011         GLIBC_PRIVATE.
21012         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
21013         instead of recv.
21014         (init_mq_netlink): Call __socket instead of socket.
21015         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
21016         Remove variable.
21018         [BZ #18545]
21019         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
21020         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
21021         hidden_weak.
21022         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
21023         define as alias of __mq_timedsend.  Use hidden_weak.
21024         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
21025         __mq_timedsend as strong name.
21026         (mq_timedreceive): Use __mq_timedreceive as strong name.
21027         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
21028         (__mq_timedreceive): Likewise.
21029         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
21030         __mq_timedreceive instead of mq_timedreceive.
21031         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
21032         instead of mq_timedsend.
21033         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
21034         Remove variable.
21036         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
21037         hidden_def and hidden_weak instead of libc_hidden_def and
21038         libc_hidden_weak.
21039         (top level): Refer to hidden_def in comment.
21040         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
21041         macro.  Use it instead of libc_hidden_def.
21042         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
21043         specify __GI_* name explicitly.
21044         (mq_timedreceive): Likewise.
21045         (mq_setattr): Likewise.
21047         [BZ #18544]
21048         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
21049         __pthread_barrier_init and define as weak alias of
21050         __pthread_barrier_init.
21051         * sysdeps/sparc/nptl/pthread_barrier_init.c
21052         (pthread_barrier_init): Likewise.
21053         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
21054         __pthread_barrier_wait and define as weak alias of
21055         __pthread_barrier_wait.
21056         * sysdeps/sparc/nptl/pthread_barrier_wait.c
21057         (pthread_barrier_wait): Likewise.
21058         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
21059         (pthread_barrier_wait): Likewise.
21060         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
21061         (pthread_barrier_wait): Likewise.
21062         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
21063         (pthread_barrier_wait): Likewise.
21064         * nptl/Versions (libpthread): Export __pthread_barrier_init and
21065         __pthread_barrier_wait at version GLIBC_PRIVATE.
21066         * include/pthread.h (__pthread_barrier_init): Declare.
21067         (__pthread_barrier_wait): Likewise.
21068         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
21069         Call __pthread_barrier_wait instead of pthread_barrier_wait.
21070         (helper_thread): Likewise.
21071         (init_mq_netlink): Call __pthread_barrier_init instead of
21072         pthread_barrier_init.
21074         [BZ #18542]
21075         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
21076         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
21077         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
21078         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
21079         vswscanf.
21080         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
21081         Remove variable.
21083         [BZ #18540]
21084         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
21085         strong alias of _IO_fflush.  Use libc_hidden_def.
21086         * libio/iofflush_u.c (fflush_unlocked): Rename to
21087         __fflush_unlocked and define as weak alias of __fflush_unlocked.
21088         Use libc_hidden_weak.
21089         * include/stdio.h (__fflush_unlocked): Declare.  Use
21090         libc_hidden_proto.
21091         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
21092         fflush_unlocked.
21093         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
21094         Remove variable.
21096         [BZ #18539]
21097         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
21098         define as weak alias of __addseverity.
21099         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
21100         Remove variable.
21101         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
21102         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
21103         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
21105         [BZ #18536]
21106         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
21107         (__tfind): Likewise.
21108         (__tdelete): Likewise.
21109         (__twalk): Likewise.
21110         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
21111         __twalk to GLIBC_PRIVATE.
21112         * include/search.h (__tsearch): Use libc_hidden_proto.
21113         (__tfind): Likewise.
21114         (__tdelete): Likewise.
21115         (__twalk): Likewise.
21116         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
21117         Call __tdelete instead of tdelete.
21118         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
21119         tfind.  Call __tsearch instead of tsearch.
21120         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
21121         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
21122         Remove variable.
21123         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
21125         [BZ #18534]
21126         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
21127         (dprintf): Define as a weak alias of __dprintf, not a strong
21128         alias.
21129         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
21130         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
21131         dprintf.
21132         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
21133         Remove variable.
21134         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
21135         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
21137         [BZ #18533]
21138         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
21139         not a strong alias.
21140         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
21141         Remove variable.
21143         [BZ #18532]
21144         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
21145         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
21146         (in6addr_loopback): Rename to __in6addr_loopback and define as
21147         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
21148         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
21149         libc_hidden_proto.
21150         (__in6addr_any): Likewise.
21151         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
21152         in6addr_any.
21153         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
21154         variable.
21155         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
21157 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
21159         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
21160         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
21161         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
21162         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
21163         redirections for pow.
21164         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21165         * sysdeps/x86_64/fpu/Versions: New versions added.
21166         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21167         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
21168         build of SSE, AVX2 and AVX512 IFUNC versions.
21169         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
21170         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
21171         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
21172         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
21173         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
21174         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
21175         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
21176         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
21177         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
21178         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
21179         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
21180         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
21181         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
21182         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
21183         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
21184         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
21185         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
21186         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
21187         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
21188         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
21189         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
21190         * NEWS: Mention addition of x86_64 vector pow.
21192         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
21193         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
21194         redirections for expf.
21195         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21196         * sysdeps/x86_64/fpu/Versions: New versions added.
21197         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21198         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
21199         build of SSE, AVX2 and AVX512 IFUNC versions.
21200         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
21201         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
21202         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
21203         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
21204         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
21205         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
21206         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
21207         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
21208         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
21209         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
21210         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
21211         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
21212         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
21213         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
21214         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
21215         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
21216         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
21217         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
21218         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
21219         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
21220         * NEWS: Mention addition of x86_64 vector expf.
21222         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
21223         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
21224         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
21225         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
21226         redirections for exp.
21227         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21228         * sysdeps/x86_64/fpu/Versions: New versions added.
21229         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21230         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
21231         build of SSE, AVX2 and AVX512 IFUNC versions.
21232         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
21233         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
21234         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
21235         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
21236         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
21237         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
21238         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
21239         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
21240         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
21241         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
21242         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
21243         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
21244         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
21245         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
21246         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
21247         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
21248         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
21249         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
21250         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
21251         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
21252         * NEWS: Mention addition of x86_64 vector exp.
21254         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
21255         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
21256         redirections for logf.
21257         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21258         * sysdeps/x86_64/fpu/Versions: New versions added.
21259         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21260         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
21261         build of SSE, AVX2 and AVX512 IFUNC versions.
21262         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
21263         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
21264         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
21265         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
21266         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
21267         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
21268         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
21269         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
21270         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
21271         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
21272         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
21273         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
21274         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
21275         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
21276         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
21277         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
21278         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
21279         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
21280         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
21281         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
21282         * NEWS: Mention addition of x86_64 vector logf.
21284         * bits/libm-simd-decl-stubs.h: Added stubs for log.
21285         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
21286         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
21287         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
21288         redirections for log.
21289         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21290         * sysdeps/x86_64/fpu/Versions: New versions added.
21291         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21292         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
21293         build of SSE, AVX2 and AVX512 IFUNC versions.
21294         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
21295         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
21296         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
21297         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
21298         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
21299         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
21300         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
21301         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
21302         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
21303         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
21304         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
21305         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
21306         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
21307         test.
21308         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
21309         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
21310         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
21311         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
21312         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
21313         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
21314         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
21315         * NEWS: Mention addition of x86_64 vector log.
21317 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21319         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
21320         cfi_adjust_cfa_offset argument.
21321         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
21322         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
21324         [BZ #18034]
21325         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
21326         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
21327         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
21328         ordering using ldar.
21329         (_dl_tlsdesc_dynamic): Likewise.
21330         (_dl_tlsdesc_return_lazy): Likewise.
21331         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
21332         relaxed atomics instead of volatile and synchronize with release store.
21333         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
21334         volatile.
21335         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
21337 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
21339         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
21340         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
21341         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21342         * sysdeps/x86_64/fpu/Versions: New versions added.
21343         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21344         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
21345         build of SSE, AVX2 and AVX512 IFUNC versions.
21346         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
21347         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
21348         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
21349         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
21350         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
21351         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
21352         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
21353         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
21354         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
21355         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
21356         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
21357         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
21358         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
21359         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
21360         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
21361         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
21362         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
21363         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
21364         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
21365         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
21366         * NEWS: Mention addition of x86_64 vector sinf.
21368 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
21370         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
21371         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
21372         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
21373         Remove variable.
21374         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
21375         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
21377 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
21379         [BZ #18530]
21380         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
21381         strong alias of _IO_fputs.  Use libc_hidden_def.
21382         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
21383         and define as weak alias of __fputs_unlocked.  Use
21384         libc_hidden_weak.
21385         * include/stdio.h (__fputs_unlocked): Declare.  Use
21386         libc_hidden_proto.
21387         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
21388         fputs_unlocked.
21390         [BZ #18529]
21391         * resolv/netdb.h [__USE_POSIX]: Change condition to
21392         [__USE_XOPEN2K].
21393         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
21394         not expect.
21395         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
21396         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
21397         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
21398         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
21399         [XPG4 || UNIX98] (AI_ALL): Likewise.
21400         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
21401         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
21402         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
21403         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
21404         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
21405         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
21406         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
21407         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
21408         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
21409         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
21410         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
21411         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
21412         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
21413         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
21414         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
21415         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
21416         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
21417         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
21418         [XPG4 || UNIX98] (gai_strerror): Likewise.
21419         [XPG4 || UNIX98] (getaddrinfo): Likewise.
21420         [XPG4 || UNIX98] (getnameinfo): Likewise.
21422         [BZ #18528]
21423         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
21424         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
21425         __USE_XOPEN2K8].
21426         (getgrent): Likewise.
21427         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
21428         expect.
21429         [XPG3 || POSIX2008] (endgrent): Likewise.
21430         [XPG3] (setgrent): Likewise.
21431         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
21432         variable.
21433         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
21435         [BZ #18527]
21436         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
21437         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
21438         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
21439         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
21440         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
21441         * include/unistd.h (__getlogin_r): Declare.  Use
21442         libc_hidden_proto.
21443         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
21444         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
21445         variable.
21446         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
21447         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
21448         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
21450 2015-06-12  Martin Sebor  <msebor@redhat.com>
21452         [BZ #18512]
21453         * Makerules (check-install-supported): New target.
21454         (install): Add check-install-supported as a dependency.
21455         * manual/install.texi (Installing the C Library): Document
21456         that overriding prefix and exec_prefix is not supported.
21457         Mention DESTDIR.
21458         * INSTALL: Regenerate from the above.
21460 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
21462         [BZ #18519]
21463         * posix/Versions (libc): Export __libc_pread at version
21464         GLIBC_PRIVATE.
21465         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
21466         instead of pread.
21467         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
21468         variable.
21470         [BZ #18522]
21471         * misc/efgcvt_r.c
21472         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
21473         (cvt_symbol): Use weak_alias instead of strong_alias.
21474         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
21475         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
21476         Remove variable.
21477         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
21478         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
21480         [BZ #18520]
21481         * inet/herrno.c (h_errno): Rename to __h_errno.
21482         (__libc_h_errno): Define as alias of __h_errno not h_errno.
21483         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
21484         to __h_errno instead of h_errno.
21485         * nptl/herrno.c (h_errno): Rename to __h_errno.
21486         (__h_errno_location): Refer to __h_errno not h_errno.
21487         * resolv/Versions (h_errno): Rename to __h_errno.
21488         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
21489         Remove variable.
21490         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
21492 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
21494         * configure.ac: More strict check for AVX512 assembler support.
21495         * configure: Regenerated.
21497         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
21498         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
21499         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
21500         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
21501         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21502         * sysdeps/x86_64/fpu/Versions: New versions added.
21503         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21504         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
21505         Added build of SSE, AVX2 and AVX512 IFUNC versions.
21506         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
21507         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
21508         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
21509         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
21510         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
21511         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
21512         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
21513         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
21514         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
21515         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
21516         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
21517         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
21518         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
21519         test.
21520         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
21521         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
21522         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
21523         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
21524         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
21525         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
21526         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
21527         * NEWS: Mention addition of x86_64 vector sin.
21529 2015-06-11  Florian Weimer  <fweimer@redhat.com>
21531         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
21532         comment.
21534 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
21536         [BZ #18479]
21537         * nptl/pt-interp.c: New file.
21538         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
21539         Add pt-interp.
21540         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
21541         $(common-objpfx)runtime-linker.h.
21543 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
21545         * Makeconfig (+interp): Remove unused variable.
21546         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
21547         only.  Depend on $(common-objpfx)runtime-linker.h instead of
21548         $(elf-objpfx)runtime-linker.h.
21549         ($(elf-objpfx)runtime-linker.h): Rename to
21550         $(common-objpfx)runtime-linker.h and move ...
21551         * Makerules [$(build-shared) = yes]: ... here.
21552         * elf/interp.c: Include <runtime-linker.h> instead of
21553         <elf/runtime-linker.h>.
21555 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21557         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
21558         (__gettimeofday_syscall): Remove vsyscall fallback.
21559         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
21560         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
21561         Add syscall fallback function.
21562         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
21563         if vDSO is not present.
21564         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
21565         fallback function.
21566         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
21567         present.
21568         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
21569         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
21571 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
21573         [BZ #18497]
21574         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
21575         of wcscmp.
21576         (wcscmp): Define as weak alias of WCSCMP.
21577         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
21578         wcscoll.
21579         (USE_HIDDEN_DEF): Define.
21580         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
21581         __wcscoll.  Don't use libc_hidden_weak.
21582         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
21583         wcscmp.
21584         * sysdeps/i386/i686/multiarch/wcscmp-c.c
21585         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
21586         __GI_wcscmp.
21587         (weak_alias): Undefine and redefine.
21588         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
21589         __wcscmp and define as weak alias of __wcscmp.
21590         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
21591         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
21592         (__wcscoll): Likewise.
21593         (wcscmp): Don't use libc_hidden_proto.
21594         (wcscoll): Likewise.
21595         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
21596         wcscoll.
21597         * posix/regexec.c (check_node_accept_bytes): Likewise.
21598         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
21599         variable.
21600         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
21601         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
21603         [BZ #18507]
21604         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
21605         __fstatvfs and define as weak alias of __fstatvfs.  Use
21606         libc_hidden_weak.
21607         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
21608         and define as weak alias of __statvfs.  Use libc_hidden_weak.
21609         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
21610         Define as alias of __fstatvfs, not fstatvfs.
21611         (fstatvfs64): Likewise.
21612         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
21613         Define as alias of __statvfs, not statvfs.
21614         (statvfs64): Likewise.
21615         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
21616         Remove variable.
21618 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21621         (HAVE_GETCPU_VSYSCALL): Define.
21622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21623         (HAVE_GETCPU_VSYSCALL): Likewise.
21624         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
21625         * sysdeps/unix/sysv/linux/sched_getcpu.c
21626         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
21627         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
21628         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
21629         prototype.
21630         * sysdeps/unix/sysv/linux/x86_64/init-first.c
21631         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
21632         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
21633         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
21634         Define.
21635         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
21636         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
21637         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
21638         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21640 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
21642         * sysdeps/x86_64/fpu/Makefile: New file.
21643         * sysdeps/x86_64/fpu/Versions: New file.
21644         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
21645         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
21646         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
21647         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
21648         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
21649         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
21650         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
21651         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
21652         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
21653         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
21654         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
21655         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
21656         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
21657         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
21658         Added build of SSE, AVX2 and AVX512 IFUNC versions.
21659         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
21660         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
21661         * sysdeps/x86_64/configure.ac: Options for libmvec build.
21662         * sysdeps/x86_64/configure: Regenerated.
21663         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
21664         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
21665         * manual/install.texi (Configuring and compiling): Document
21666         --disable-mathvec.
21667         * INSTALL: Regenerated.
21668         * NEWS: Mention addition of libmvec and x86_64 vector cos.
21670         * math/Makefile: Added rules for vector tests.
21671         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
21672         declaration under condition.
21673         * math/test-double-vlen2.h: New file.
21674         * math/test-double-vlen4.h: New file.
21675         * math/test-double-vlen8.h: New file.
21676         * math/test-vec-loop.h: Added initialization macro.
21677         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
21678         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
21679         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
21680         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
21681         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
21682         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
21683         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
21684         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
21685         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
21686         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
21687         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
21689         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21690         * sysdeps/x86_64/fpu/Versions: New versions added.
21691         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
21692         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
21693         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
21694         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
21695         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
21696         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
21697         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
21698         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
21699         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
21700         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
21701         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
21702         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
21703         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
21704         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
21705         Added build of SSE, AVX2 and AVX512 IFUNC versions.
21706         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
21707         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
21708         * NEWS: Mention addition of x86_64 vector cosf.
21710         * math/Makefile: Added CFLAGS for new tests.
21711         * math/test-float-vlen16.h: New file.
21712         * math/test-float-vlen4.h: New file.
21713         * math/test-float-vlen8.h: New file.
21714         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
21715         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
21716         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21717         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
21718         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
21719         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
21720         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
21721         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
21722         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
21723         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
21724         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
21726 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
21728         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
21729         * locale/programs/ld-ctype.c: Likewise.
21731 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
21733         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
21734         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
21735         bit_ZMM16_31_state): New macro.
21736         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21737         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
21739 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
21741         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
21743 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
21745         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
21747 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
21749         [BZ #18498]
21750         * libio/memstream.c (open_memstream): Rename to __open_memstream
21751         and define as weak alias of __open_memstream.
21752         * include/stdio.h (__open_memstream): Declare.  Use
21753         libc_hidden_proto.
21754         (open_memstream): Don't use libc_hidden_proto.
21755         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
21756         open_memstream.
21757         * posix/getopt.c (_getopt_internal_r): Likewise.
21758         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
21759         variable.
21760         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
21761         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
21762         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
21764         [BZ #18496]
21765         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
21766         instead of wcrtomb.
21768         [BZ #18483]
21769         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
21770         [__USE_XOPEN2K8].  Remove redundant #endif.
21771         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
21772         Remove redundant #if.
21773         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
21774         Remove variable.
21775         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
21776         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
21778         [BZ #18495]
21779         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
21780         (__iswlower): Likewise.
21781         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
21782         (__iswlower): Likewise.
21783         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
21784         instead of towlower.
21785         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
21786         instead of iswlower.  Call __towupper instead of towupper.
21787         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
21788         instead of iswalnum.
21790 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21792         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
21793         errors to stderr.
21795 2015-06-05  Florian Weimer  <fweimer@redhat.com>
21797         [BZ #15661]
21798         [BZ #17322]
21799         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
21800         Check for overflow properly.  Check for O_APPEND.  Ignore large
21801         file system block sizes.  Add comments about problems.
21802         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
21803         * manual/filesys.texi (Storage Allocation): New node.
21805 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21807         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
21808         cancellable syscalls.
21809         (SYS_ify): Add guard to no redefine it.
21810         (INLINE_SYSCALL): Likewise.
21811         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
21812         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
21813         SYSCALL_CANCEL instead.
21814         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
21815         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
21816         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
21817         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
21818         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
21819         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
21820         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
21821         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
21822         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
21823         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
21824         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
21825         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
21826         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
21827         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
21828         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
21829         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
21830         Likewise.
21831         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
21832         (__libc_pread64): Likewise.
21833         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
21834         (__libc_preadv): Likewise.
21835         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
21836         (__libc_readv64): Likewise.
21837         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
21838         (__libc_pwrite): Likewise.
21839         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
21840         (__libc_pwrite64): Likewise.
21841         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
21842         (__libc_pwritev): Likewise.
21843         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
21844         (__libc_pwritev64): Likewise.
21845         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
21846         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
21847         (sync_file_range): Likewise.
21848         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
21849         Likewise.
21850         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
21851         Likewise.
21852         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
21853         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
21854         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
21855         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
21856         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
21857         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
21858         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
21859         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
21860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
21861         Likewise.
21862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21863         (__libc_read64): Likewise.
21864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
21865         Likewise.
21866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
21867         Likewise.
21868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
21869         Likewise.
21870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
21871         Likewise.
21872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
21873         (__libc_pread64): Likewise.
21874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
21875         Likewise.
21876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
21877         (__libc_pwrite64): Likewise.
21878         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
21879         (sync_file_range): Likewise.
21880         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
21881         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
21882         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
21883         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
21884         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
21885         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
21886         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
21887         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
21888         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
21889         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
21890         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
21891         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
21892         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
21893         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
21894         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
21895         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
21896         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
21897         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
21898         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
21899         Likewise.
21900         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
21901         Likewise.
21902         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
21903         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
21904         Likewise.
21905         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
21906         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
21907         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
21908         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
21909         Likewise.
21910         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
21911         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
21912         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
21913         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
21914         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
21916 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
21918         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
21919         Include dl-vdso.
21920         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
21921         Use VDSO routines for gettimeofday, clock_gettime if
21922         available.
21923         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
21924         Declare VDSO symbols.
21925         * sysdeps/unix/sysv/linux/arm/sysdep.h:
21926         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
21927         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
21928         * sysdeps/unix/sysv/linux/arm/Versions: Add
21929         __vdso_clock_gettime.
21931 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21933         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
21934         be an inline implementation regardless of library is built within.
21935         (open_not_cancel_2): Likewise.
21936         (__read_nocancel): Likewise.
21937         (__write_nocancel): Likewise.
21938         (openat_not_cancel): Likewise.
21939         (openat_not_cancel_3): Likewise.
21940         (openat64_not_cancel): Likewise.
21941         (openat64_not_cancel_3): Likewise.
21942         (__close_nocancel): Likewise.
21943         (pause_not_cancel): Likewise.
21944         (nanosleep_not_cancel): Likewise.
21945         (sigsuspend_not_cancel): Likewise.
21947 2015-06-04  Torvald Riegel  <triegel@redhat.com>
21949         [BZ #14958]
21950         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
21951         wake-up.
21952         (__pthread_rwlock_rdlock_slow): Likewise.
21953         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
21954         Likewise.
21955         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
21956         Likewise.
21957         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
21958         * nptl/tst-rwlock16.c: New file.
21959         * nptl/Makefile (tests): Add new test.
21961 2015-06-04  Torvald Riegel  <triegel@redhat.com>
21963         [BZ #18324]
21964         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
21965         missing wake-up of readers.
21966         * nptl/tst-rwlock15.c: New file.
21967         * nptl/Makefile (tests): Add new test.
21969 2015-06-03  Roland McGrath  <roland@hack.frob.com>
21971         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
21972         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
21973         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
21974         and __nacl_supply_interface_rtld.
21975         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
21976         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
21977         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
21978         Add __nacl_supply_interface_rtld.
21979         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
21981 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
21983         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
21984         isfinite.
21985         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21986         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
21988 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
21990         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
21991         __signbit* with standard C99 macros.
21992         * math/e_exp10l.c: Likewise.
21993         * math/e_exp2l.c: Likewise.
21994         * math/e_scalb.c: Likewise.
21995         * math/e_scalbf.c: Likewise.
21996         * math/e_scalbl.c: Likewise.
21997         * math/s_ldexp.c: Likewise.
21998         * math/s_ldexpf.c: Likewise.
21999         * math/s_ldexpl.c: Likewise.
22000         * math/w_atan2.c: Likewise.
22001         * math/w_atan2f.c: Likewise.
22002         * math/w_atan2l.c: Likewise.
22003         * math/w_cosh.c: Likewise.
22004         * math/w_coshf.c: Likewise.
22005         * math/w_coshl.c: Likewise.
22006         * math/w_exp10.c: Likewise.
22007         * math/w_exp10f.c: Likewise.
22008         * math/w_exp10l.c: Likewise.
22009         * math/w_exp2.c: Likewise.
22010         * math/w_exp2f.c: Likewise.
22011         * math/w_exp2l.c: Likewise.
22012         * math/w_fmod.c: Likewise.
22013         * math/w_fmodf.c: Likewise.
22014         * math/w_fmodl.c: Likewise.
22015         * math/w_hypot.c: Likewise.
22016         * math/w_hypotf.c: Likewise.
22017         * math/w_hypotl.c: Likewise.
22018         * math/w_jnl.c: Likewise.
22019         * math/w_lgamma.c: Likewise.
22020         * math/w_lgamma_r.c: Likewise.
22021         * math/w_lgammaf.c: Likewise.
22022         * math/w_lgammaf_r.c: Likewise.
22023         * math/w_lgammal.c: Likewise.
22024         * math/w_lgammal_r.c: Likewise.
22025         * math/w_pow.c: Likewise.
22026         * math/w_powf.c: Likewise.
22027         * math/w_powl.c: Likewise.
22028         * math/w_remainder.c: Likewise.
22029         * math/w_remainderf.c: Likewise.
22030         * math/w_remainderl.c: Likewise.
22031         * math/w_scalb.c: Likewise.
22032         * math/w_scalbf.c: Likewise.
22033         * math/w_scalbl.c: Likewise.
22034         * math/w_scalbln.c: Likewise.
22035         * math/w_scalblnf.c: Likewise.
22036         * math/w_scalblnl.c: Likewise.
22037         * math/w_sinh.c: Likewise.
22038         * math/w_sinhf.c: Likewise.
22039         * math/w_sinhl.c: Likewise.
22040         * math/w_tgamma.c: Likewise.
22041         * math/w_tgammaf.c: Likewise.
22042         * math/w_tgammal.c: Likewise.
22043         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22044         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
22045         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22046         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22047         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22048         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22049         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
22050         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22051         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22052         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22053         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22054         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
22055         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22056         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22057         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22058         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22059         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22060         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22061         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22062         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22063         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22064         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22065         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22066         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22067         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22068         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22069         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
22070         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22071         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22072         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22073         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
22074         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
22075         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
22076         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
22077         * stdio-common/printf_fp.c: Likewise.
22078         * stdio-common/printf_fphex.c: Likewise.
22079         * stdio-common/printf_size.c: Likewise.
22081 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
22083         [BZ #18470]
22084         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
22085         strnlen.
22086         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
22087         Remove variable.
22088         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
22089         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
22090         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
22091         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
22092         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
22093         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
22094         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
22095         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
22096         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
22097         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
22099         [BZ #18468]
22100         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
22101         weak alias of __wmemchr.  Use libc_hidden_weak.
22102         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
22103         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
22104         instead of wmemchr.
22106 2015-06-02  Roland McGrath  <roland@hack.frob.com>
22108         [BZ #18383]
22109         * elf/tst-tlsalign-extern.c: New file.
22110         * elf/tst-tlsalign-extern-static.c: New file.
22111         * elf/tst-tlsalign-vars.c: New file.
22112         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
22113         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
22114         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
22115         ($(objpfx)tst-tlsalign-extern-static): Likewise.
22116         (test-xfail-tst-tlsalign-extern-static): New variable.
22118 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
22120         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
22121         Use variable name _sc_err instead of err.
22122         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
22123         instead of ret.
22124         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
22125         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
22126         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
22127         (INLINE_SYSCALL): Likewise.
22129         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
22130         * include/string.h (__strnlen): Use libc_hidden_proto.
22131         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
22132         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
22133         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
22134         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
22135         (libc_hidden_def): Undefine and redefine.
22136         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
22137         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
22138         __GI_strnlen.
22139         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
22140         libc_hidden_def.
22141         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
22143         [BZ #18469]
22144         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
22145         weak alias of __towlower.  Use libc_hidden_weak.
22146         (towupper): Rename to __towupper and define as weak alias of
22147         __towupper.  Use libc_hidden_weak.
22148         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
22149         (__towupper): Likewise.
22150         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
22151         __towlower instead of towlower.
22153 2015-06-02  Roland McGrath  <roland@hack.frob.com>
22155         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
22156         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
22158 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22160         * sysdeps/aarch64/libm-test-ulps: Update.
22162 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22164         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
22165         Define.
22166         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
22167         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
22168         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
22169         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
22170         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
22171         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
22172         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
22174 2015-06-01  Martin Sebor  <msebor@redhat.com>
22176         [BZ #18116]
22177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
22178         (__setcontext): Use extended four-operand version of mtsf whenever
22179         possible.
22180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
22181         (__novec_swapcontext): Likewise.
22183 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
22185         * benchtests/scripts/compare_bench.py: New file.
22186         * benchtests/scripts/import_bench.py (mean): New function.
22187         (split_list): Likewise.
22188         (do_for_all_timings): Likewise.
22189         (compress_timings): Likewise.
22191         * benchtests/scripts/import_bench.py: New file.
22192         * benchtests/scripts/validate_benchout.py: Import import_bench
22193         instead of jsonschema.
22194         (validate_bench): Remove function.
22195         (main): Use import_bench.
22197 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
22199         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
22200         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
22202 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22204         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22206 2015-05-28  Roland McGrath  <roland@hack.frob.com>
22208         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
22209         set THREAD_SELF->tid to a magic value and futex-wake it.
22210         Pass its address to the thread_exit system call.
22211         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
22212         bit is clear.
22213         * sysdeps/nacl/lowlevellock.h: New file.
22214         * sysdeps/nacl/lll_timedwait_tid.c: New file.
22216         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
22217         Add TIMEOUT to current time, don't subtract it.
22219 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
22221         [BZ #2981]
22222         [BZ #18422]
22223         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
22224         ($(objpfx)tst-audit2.out): Also depend on
22225         $(objpfx)tst-auditmod9b.so.
22226         * elf/tst-audit2.c: Include <dlfcn.h>.
22227         (calloc_called): New.
22228         (calloc): Allow to be called more than once.
22229         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
22231 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
22233         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
22234         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
22236 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
22238         * stdlib/monetary.h: Fix comment.
22240 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
22242         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
22243         Avoid using variables in #defines that might cause shadowing.
22244         (INTERNAL_VSYSCALL_CALL): Likewise.
22246 2015-05-26  Roland McGrath  <roland@hack.frob.com>
22248         * sysdeps/nacl/lll_timedlock_wait.c: New file.
22250         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
22251         * nptl/lll_timedlock_wait.c: ... to this new file.
22252         * nptl/Makefile (libpthread-routines): Add it.
22253         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
22254         * nptl/lll_timedwait_tid.c: ... to this new file.
22255         * nptl/Makefile (libpthread-routines): Add it.
22256         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
22257         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
22258         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
22259         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
22260         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
22261         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
22262         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
22263         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
22264         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
22265         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
22267 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22269         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
22270         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
22271         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
22272         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
22273         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
22274         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
22275         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
22276         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22277         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
22278         * sysdeps/unix/sysv/linux/tile/sysdep.h
22279         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
22280         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
22281         using vDSO syscall macro.
22283 2015-05-26  Andriy Rysin  <arysin@gmail.com>
22285         [BZ #17293]
22286         * uk_UA: Fix sorting order for Ukrainian locale
22288 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
22290         * stdlib/monetary.h: Fix comment.
22292 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22294         [BZ #18234]
22295         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
22296         st_mtim and st_ctim members.
22297         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
22298         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
22299         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
22300         (struct stat64): Likewise.
22301         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
22302         (struct stat64): Likewise.
22303         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
22304         (struct stat64): Likewise.
22306 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22308         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
22309         Define and include sysdep-vdso.h.
22310         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
22311         Likewise.
22312         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
22313         Likewise.
22314         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
22315         Define with VDSO_SYMBOL and use PTR_MANGLE.
22316         (__vdso_clock_gettime): Likewise.
22317         (__vdso_clock_getres): Likewise.
22318         (_libc_vdso_platform_setup): Likewise.
22319         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
22320         Likewise.
22321         (_libc_vdso_platform_setup): Likewise.
22322         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
22323         Likewise.
22324         (__vdso_clock_gettime): Likewise.
22325         (__vdso_clock_getres): Likewise.
22326         (__vdso_get_tbfreq): Likewise.
22327         (__vdso_getcpu): Likewise.
22328         (__vdso_time): Likewise.
22329         (__vdso_sigtramp_rt64): Likewise.
22330         (__vdso_signtramp32): Likewise.
22331         (__vdso_sigtramp_rt32): Likewise.
22332         (_libc_vdso_platform_setup): Likewise.
22333         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
22334         Likewise.
22335         (__vdso_clock_gettime): Likewise.
22336         (__vdso_clock_getres): Likewise.
22337         (_libc_vdso_platform_setup): Likewise.
22338         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
22339         Likewise.
22340         (__vdso_clock_gettime): Likewise.
22341         (_libc_vdso_platform_setup): Likewise.
22342         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
22343         Likewise.
22344         (__vdso_getcpu): Likewise.
22345         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
22346         Use VDSO_SYMBOL macro to define.
22347         (__vdso_clock_gettime): Likewise.
22348         (__vdso_clock_getres): Likewise.
22349         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
22350         Likewise.
22351         (__vdso_clock_gettime): Likewise.
22352         (__vdso_clock_getres): Likewise.
22353         (__vdso_get_tbfreq): Likewise.
22354         (__vdso_getcpu): Likewise.
22355         (__vdso_time): Likewise.
22356         (__vdso_sigtramp_rt64): Likewise.
22357         (__vdso_signtramp32): Likewise.
22358         (__vdso_sigtramp_rt32): Likewise.
22359         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
22360         Likewise.
22361         (__vdso_clock_gettime): Likewise.
22362         (__vdso_clock_getres): Likewise.
22363         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
22364         Likewise.
22365         (__vdso_clock_gettime): Likewise.
22366         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
22367         Likewise.
22368         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
22369         macro.
22370         (INTERNAL_VSYSCALL): Likewise.
22371         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
22372         Remove macro.
22373         (INTERNAL_VSYSCALL): Likewise.
22374         (INTERNAL_VSYSCALL_NCS): Likewise.
22375         (INTERNAL_VSYSCALL_CALL): New macro.
22376         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
22377         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
22378         Likewise.
22379         (INTERNAL_VSYSCALL): Likewise.
22380         (INTERNAL_VSYSCALL_NCS): Likewise.
22381         (INTERNAL_VSYSCALL_CALL): New macro.
22382         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
22383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22384         (INLINE_VSYSCALL): Remove macro.
22385         (INTERNAL_VSYSCALL): Remove macro.
22386         (INTERNAL_VSYSCALL_NCS): Remove macro.
22387         (INTERNAL_VSYSCALL_CALL): New macro.
22388         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
22389         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
22390         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
22391         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
22392         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
22393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22394         (INLINE_VSYSCALL): Remove macro.
22395         (INTERNAL_VSYSCALL): Likewise.
22396         (INTERNAL_VSYSCALL_NCS): Likewise.
22397         (INTERNAL_VSYSCALL_CALL): New macro.
22398         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
22399         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
22400         PTR_DEMANGLE on vDSO pointer.
22401         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
22402         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
22403         macro.
22404         (INTERNAL_SYSCALL): Likewise.
22405         (INTERNAL_VSYSCALL_NCS): Remove macro.
22406         (INTERNAL_VSYSCALL_CALL): New macro.
22407         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
22408         Remove macro.
22409         (INTERNAL_VSYSCALL): Likewise.
22410         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
22411         sysdep-vdso.h instead of libc-vdso.h.
22412         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
22413         definition.
22414         (INLINE_VSYSCALL): Likewise.
22415         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
22416         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
22417         definition.
22418         (INLINE_VSYSCALL): Likewise.
22419         (INTERNAL_VSYSCALL): Likewise.
22420         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
22421         * sysdeps/unix/sysv/linux/timespec_get.c
22422         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
22423         (timespec_get): Use ANSI prototype.
22424         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
22425         and definition for Linux.
22427 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
22429         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
22430         * include/libc-symbols.h: libmvec_hidden_* macro series added.
22432 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
22434         [BZ #2981]
22435         [BZ #18410]
22436         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
22437         for missing DT_PLTRELSZ.
22439 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
22441         Remove obsolete aliases that broke 'locale -a'
22442         [BZ #18412]
22443         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
22444         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
22445         breaking some applications that use 'locale -a' output.
22446         Change the encoding of this file from Latin-1 to ASCII to avoid
22447         other potential problems with people grepping this file.
22449 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22451         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
22452         -fasynchronous-unwind-tables.
22453         (CFLAGS-sendto.c): Likewise.
22454         (CFLAGS-sendmsg.c): Likewise.
22455         (CFLAGS-connect.c): Likewise.
22456         (CFLAGS-recvmsg.c): Likewise.
22457         (CFLAGS-recvfrom.c): Likewise.
22458         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
22459         (SOCKETCALL): New macro: non-cancellable socketcall.
22460         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
22461         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
22462         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
22463         * sysdeps/unix/sysv/linux/accept.c: New file.
22464         * sysdeps/unix/sysv/linux/bind.c: Likewise.
22465         * sysdeps/unix/sysv/linux/connect.c: Likewise.
22466         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
22467         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
22468         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
22469         * sysdeps/unix/sysv/linux/listen.c: Likewise.
22470         * sysdeps/unix/sysv/linux/recv.c: Likewise.
22471         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
22472         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
22473         * sysdeps/unix/sysv/linux/send.c: Likewise.
22474         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
22475         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
22476         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
22477         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
22478         * sysdeps/unix/sysv/linux/socket.c: Likewise.
22479         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
22480         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
22481         prototype.
22482         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
22483         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
22484         instead of __internal_xxx function.
22485         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
22486         prototype.
22487         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
22488         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
22489         instead of __internal_xxx function.
22490         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
22491         prototype.
22492         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
22493         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
22494         instead of __internal_xxx function.
22495         * sysdeps/unix/sysv/linux/accept.S: Remove file.
22496         * sysdeps/unix/sysv/linux/bind.S: Likewise.
22497         * sysdeps/unix/sysv/linux/connect.S: Likewise.
22498         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
22499         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
22500         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
22501         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
22502         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
22503         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
22504         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
22505         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
22506         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
22507         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
22508         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
22509         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
22510         * sysdeps/unix/sysv/linux/listen.S: Likewise.
22511         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
22512         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
22513         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
22514         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
22515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
22516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
22517         * sysdeps/unix/sysv/linux/recv.S: Likewise.
22518         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
22519         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
22520         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
22521         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
22522         * sysdeps/unix/sysv/linux/send.S: Likewise.
22523         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
22524         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
22525         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
22526         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
22527         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
22528         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
22529         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
22530         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
22531         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
22532         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
22533         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
22534         socketcall is implemented in GLIBC.
22536 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
22538         * soft-fp/fmadf4.c: Include <libc-internal.h>.
22539         (__fma): Ignore uninitialized warnings around packing.
22540         * soft-fp/fmasf4.c: Include <libc-internal.h>.
22541         (__fmaf): Ignore uninitialized warnings around packing.
22542         * soft-fp/fmatf4.c: Include <libc-internal.h>.
22543         (__fmal): Ignore uninitialized warnings around packing.
22545         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
22546         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
22547         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
22548         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
22550         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
22551         switch statement into default case.
22552         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
22554         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
22555         a conditional in forcing "inexact".
22556         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
22557         Likewise.
22559 2015-05-22  Roland McGrath  <roland@hack.frob.com>
22561         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
22562         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
22563         for each INTERNAL_SYSCALL use.
22565 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
22567         [BZ #438]
22568         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
22569         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
22570         variable.
22572         [BZ #18444]
22573         * string/basename.c (basename): Rename to __basename and define as
22574         weak alias of __basename.  Use libc_hidden_weak.
22575         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
22576         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
22577         __basename instead of basename.
22578         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
22579         Remove variable.
22580         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
22582 2015-05-18  Florian Weimer  <fweimer@redhat.com>
22584         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
22585         (_IO_JUMPS_FILE_plus): New.
22586         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
22587         _IO_CAST_FIELD_ACCESS.
22588         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
22589         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
22590         * libio/freopen.c (freopen): Likewise.
22591         * libio/freopen64.c (freopen64): Likewise.
22592         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
22593         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
22594         * libio/iofwide.c (_IO_fwide): Likewise.
22595         * libio/memstream.c (open_memstream): Likewise.
22596         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22597         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
22598         * libio/oldiopopen.c (_IO_old_popen): Likewise.
22600 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
22602         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
22603         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
22604         NADJ.
22605         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
22606         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
22607         NADJ.
22608         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
22609         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
22610         NADJ.
22612         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
22613         (p == 4) case.
22615         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
22616         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
22617         Remove variable.
22618         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
22619         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
22620         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
22622 2015-05-21  Florian Weimer  <fweimer@redhat.com>
22624         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
22625         Adjust jump table label generation macros.
22627 2015-05-21  Florian Weimer  <fweimer@redhat.com>
22629         * stdio-common/vfprintf.c (vfprintf): Move local variables
22630         args_malloced, specs, specs_malloced, and the code after
22631         do_positional to the printf_positional function.
22632         (printf_positional): New function.
22634 2015-05-21  Florian Weimer  <fweimer@redhat.com>
22636         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
22637         function.
22638         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
22639         STEP4_TABLE, process_arg): Move macro definitions
22640         out of the vfprintf function.  (Cosmetic change only.)
22642 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
22644         * benchtests/Makefile (stdio-common-bench): Define.
22645         (benchset): Add stdio-common-bench.
22646         * sprintf-inputs: New file.
22647         * sprintf-source.c: New file.
22649 2015-05-21  Andreas Schwab  <schwab@suse.de>
22651         [BZ #13028]
22652         [BZ #17053]
22653         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
22654         of struct __res_state.
22655         * resolv/res_send.c (__libc_res_nsend): Likewise.
22656         (get_nsaddr): New function.
22657         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
22658         statp directly.
22660 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
22662         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
22663         -D_POSIX_C_SOURCE=199506L.
22665         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
22667         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
22668         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
22669         Do not mention otherwise.
22670         [POSIX] (_XOPEN_VERSION): Do not expect.
22671         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
22672         [POSIX] (_POSIX2_C_BIND): Likewise.
22673         [POSIX] (_POSIX2_VERSION): Likewise.
22674         [POSIX] (_XOPEN_XPG2): Likewise.
22675         [POSIX] (_XOPEN_XPG3): Likewise.
22676         [POSIX] (_XOPEN_XPG4): Likewise.
22677         [POSIX] (_XOPEN_UNIX): Likewise.
22678         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
22679         [POSIX] (_POSIX_BARRIERS): Likewise.
22680         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
22681         [POSIX] (_POSIX_CPUTIME): Likewise.
22682         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
22683         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
22684         [POSIX] (_POSIX_SHELL): Likewise.
22685         [POSIX] (_POSIX_SPAWN): Likewise.
22686         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
22687         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
22688         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
22689         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
22690         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
22691         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
22692         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
22693         [POSIX] (_XBS5_LP64_OFF64): Likewise.
22694         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
22695         [POSIX] (_POSIX_TIMEOUTS): Likewise.
22696         [POSIX] (_POSIX2_PBS): Likewise.
22697         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
22698         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
22699         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
22700         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
22701         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
22702         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
22703         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
22704         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
22705         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
22706         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
22707         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
22708         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
22709         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
22710         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
22711         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
22712         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
22713         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
22714         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
22715         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
22716         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
22717         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
22718         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
22719         [POSIX] (_SC_2_C_BIND): Likewise.
22720         [POSIX] (_SC_2_C_VERSION): Likewise.
22721         [POSIX] (_SC_2_PBS): Likewise.
22722         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
22723         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
22724         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
22725         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
22726         [POSIX] (_SC_2_PBS_TRACK): Likewise.
22727         [POSIX] (_SC_ATEXIT_MAX): Likewise.
22728         [POSIX] (_SC_BARRIERS): Likewise.
22729         [POSIX] (_SC_BASE): Likewise.
22730         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
22731         [POSIX] (_SC_DEVICE_IO): Likewise.
22732         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
22733         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
22734         [POSIX] (_SC_FD_MGMT): Likewise.
22735         [POSIX] (_SC_FIFO): Likewise.
22736         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
22737         [POSIX] (_SC_FILE_LOCKING): Likewise.
22738         [POSIX] (_SC_FILE_SYSTEM): Likewise.
22739         [POSIX] (_SC_IOV_MAX): Likewise.
22740         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
22741         [POSIX] (_SC_NETWORKING): Likewise.
22742         [POSIX] (_SC_PAGE_SIZE): Likewise.
22743         [POSIX] (_SC_PASS_MAX): Likewise.
22744         [POSIX] (_SC_PIPE): Likewise.
22745         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
22746         [POSIX] (_SC_REGEXP): Likewise.
22747         [POSIX] (_SC_SHELL): Likewise.
22748         [POSIX] (_SC_SIGNALS): Likewise.
22749         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
22750         [POSIX] (_SC_SPIN_LOCKS): Likewise.
22751         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
22752         [POSIX] (_SC_USER_GROUPS): Likewise.
22753         [POSIX] (_SC_USER_GROUPS_R): Likewise.
22754         [POSIX] (_SC_STREAMS): Likewise.
22755         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
22756         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
22757         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
22758         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
22759         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
22760         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
22761         [POSIX] (_PC_FILESIZEBITS): Likewise.
22762         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
22763         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
22764         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
22765         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
22766         [POSIX] (uid_t): Likewise.
22767         [POSIX] (gid_t): Likewise.
22768         [POSIX] (off_t): Likewise.
22769         [POSIX] (pid_t): Likewise.
22770         [POSIX] (cuserid): Allow.
22771         (_SC_2_CHAR_TERM): Require constant.
22772         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
22773         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
22774         variable.
22776 2015-05-20  Roland McGrath  <roland@hack.frob.com>
22778         * sysdeps/nacl/pthread-pids.h: New file.
22779         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
22780         (create_thread): Use __nacl_get_tid to initialize PD->tid.
22782         * nptl/pthread-pids.h: New file.
22783         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
22784         * nptl/nptl-init.c: Include <pthread-pids.h>.
22785         (__pthread_initialize_minimal_internal):
22786         Call __pthread_initialize_pids instead of set_tid_address syscall.
22788         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
22789         * sysdeps/posix/usleep.c: ... here.
22791 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22793         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
22794         call_pselect6 object.
22795         [$(subdir) = io]: Remove call_sync_file_range object.
22796         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
22797         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
22798         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
22799         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
22801 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
22803         * math/s_cproj.c: Add include "math_private.h".
22804         * math/s_cprojf.c: Likewise.
22805         * math/s_cprojl.c: Likewise.
22807 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
22809         [BZ #18244]
22810         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
22811         high mantissa bit when testing whether P is a NaN.
22812         * math/libm-test.inc (remainder_test_data): Add more tests.
22813         (remquo_test_data): Likewise.
22815         [BZ #18049]
22816         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
22817         below -32, return the argument, with underflow if subnormal.
22818         * math/auto-libm-test-in: Add more tests of atanh.
22819         * math/auto-libm-test-out: Regenerated.
22821 2015-05-19  Roland McGrath  <roland@hack.frob.com>
22823         [BZ #18434]
22824         * nptl/tst-sem15.c: New file.
22825         * nptl/Makefile (tests): Add it.
22826         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
22827         s/<</>>/ to fix typo in EOVERFLOW check.
22828         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
22830 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22832         * manual/strings.texi (envz_remove): Fix typo in safety
22833         annotations.
22835 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
22836             Steve Ellcey  <sellcey@imgtec.com>
22838         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
22839         in order to avoid strict alias warnings.
22840         (iruserok_af): Ditto for ra.
22842 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
22844         [BZ #17581]
22845         * malloc/hooks.c
22846         (magicbyte): Convert to a function and avoid returning 0x01.
22847         (mem2mem_check): Avoid using a length byte equal to the magic byte.
22848         (mem2chunk_check): Fix unsigned comparisons to zero.
22849         Hoist defs of sz and magic.
22851 2015-05-19  Richard Henderson  <rth@redhat.com>
22853         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
22855         * sysdeps/alpha/fpu/libm-test-ulps: Update.
22857 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22859         [BZ #16159]
22860         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
22861         * malloc/arena.c (arena_lock): Check if arena is corrupt.
22862         (reused_arena): Find a non-corrupt arena.
22863         (heap_trim): Pass arena to unlink.
22864         * malloc/hooks.c (malloc_check_get_size): Pass arena to
22865         malloc_printerr.
22866         (top_check): Likewise.
22867         (free_check): Likewise.
22868         (realloc_check): Likewise.
22869         * malloc/malloc.c (malloc_printerr): Add arena argument.
22870         (unlink): Likewise.
22871         (munmap_chunk): Adjust.
22872         (ARENA_CORRUPTION_BIT): New macro.
22873         (arena_is_corrupt): Likewise.
22874         (set_arena_corrupt): Likewise.
22875         (sysmalloc): Use mmap if there are no usable arenas.
22876         (_int_malloc): Likewise.
22877         (__libc_malloc): Don't fail if arena_get returns NULL.
22878         (_mid_memalign): Likewise.
22879         (__libc_calloc): Likewise.
22880         (__libc_realloc): Adjust for additional argument to
22881         malloc_printerr.
22882         (_int_free): Likewise.
22883         (malloc_consolidate): Likewise.
22884         (_int_realloc): Likewise.
22885         (_int_memalign): Don't touch corrupt arenas.
22886         * malloc/tst-malloc-backtrace.c: New test case.
22888         * Makefile (summarize-tests): Fix return value on success.
22890         * manual/string.texi (Envz Functions): Add envz_remove.
22892 2015-05-18  Roland McGrath  <roland@hack.frob.com>
22894         * sysdeps/posix/opendir.c: Include <stdbool.h>.
22895         (invalid_name): New function, broken out of ...
22896         (__opendirat): ... here.  Call it.
22897         (need_isdir_precheck): New function, broken out of ...
22898         (__opendirat): ... here.  Call it.
22899         Use __fxstatat64, not __xstatat64.
22900         (opendir_oflags): New function, broken out of ...
22901         (__opendirat): ... here.  Call it.
22902         (opendir_tail): New function, broken out of ...
22903         (__opendirat): ... here.  Call it.
22904         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
22905         opendir_tail, rather than punting to __opendirat.
22906         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
22908 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22910         * .gitignore: Ignore generated *.pyc.
22912 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
22914         * include/stdio.h: Define __need_wint_t.
22915         * test-skeleton.c: Avoid `for' loop initial declaration.
22916         * nptl/tst-initializers1.c: Use test-skeleton.c.
22918 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22920         [BZ #18418]
22921         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
22923 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
22925         [BZ #16352]
22926         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
22927         (__ieee754_atanh): Force underflow exception for results with
22928         small absolute value.
22929         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
22930         (__ieee754_atanhf): Force underflow exception for results with
22931         small absolute value.
22932         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
22933         (__ieee754_atanh): Force underflow exception for results with
22934         small absolute value.
22935         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
22936         (__ieee754_atanhf): Force underflow exception for results with
22937         small absolute value.
22938         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
22939         (__ieee754_atanhl): Force underflow exception for results with
22940         small absolute value.
22941         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
22942         (__ieee754_atanhl): Force underflow exception for results with
22943         small absolute value.
22944         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
22945         (__ieee754_atanhl): Force underflow exception for results with
22946         small absolute value.
22947         * math/auto-libm-test-in: Do not allow missing underflow
22948         exceptions from atanh.
22949         * math/auto-libm-test-out: Regenerated.
22951         [BZ #18221]
22952         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
22953         2**-28 as threshold for returning x or +/- 1/x.
22954         * math/auto-libm-test-in: Add more tests of tan.
22955         * math/auto-libm-test-out: Regenerated.
22957         [BZ #18220]
22958         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
22959         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
22960         * math/auto-libm-test-in: Add another test of lgamma.
22961         * math/auto-libm-test-out: Regenerated.
22963 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
22965         * stdio-common/printf_fp.c (___printf_fp): Use abs.
22966         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
22967         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
22968         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
22969         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
22970         (ADD2A): Use fabs.  (SUB2A): Use fabs.
22971         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
22972         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
22973         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
22974         (log1): Use fabs.  (my_log2): Use fabs.
22975         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
22976         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
22977         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
22978         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
22979         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
22980         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
22981         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
22982         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
22983         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
22984         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
22985         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
22987 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
22989         [BZ #18217]
22990         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
22991         as threshold for returning 1 - x.
22992         * math/auto-libm-test-in: Add more tests of erfc.
22993         * math/auto-libm-test-out: Regenerated.
22995 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
22997         [BZ #18196]
22998         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
22999         threshold for large arguments.
23000         * math/auto-libm-test-in: Add another test of atan.
23001         * math/auto-libm-test-out: Regenerated.
23003         [BZ #16339]
23004         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
23005         (__log1p): Force underflow exception for results with small
23006         absolute value.
23007         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
23008         (__log1pf): Force underflow exception for results with small
23009         absolute value.
23010         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
23011         (__log1p): Force underflow exception for results with small
23012         absolute value.
23013         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
23014         (__log1pf): Force underflow exception for results with small
23015         absolute value.
23016         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
23017         (__log1pl): Force underflow exception for results with small
23018         absolute value.
23019         * math/auto-libm-test-in: Do not allow missing underflow
23020         exceptions from log1p.
23021         * math/auto-libm-test-out: Regenerated.
23023 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
23024             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23026         [BZ #16704]
23027         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
23029 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
23031         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
23032         (libmvec): New variable.
23033         * configure.ac: Added option for mathvec build.
23034         * configure: Regenerated.
23035         * mathvec/Depend: New file.
23036         * mathvec/Makefile: New file.
23037         * shlib-versions: Added libmvec.
23038         * math/Makefile: Added rule for libm.so installation.
23040         * bits/math-vector.h: New file.
23041         * bits/libm-simd-decl-stubs.h: New header.
23042         * math/Makefile (headers): Added new header
23043         libm-simd-decl-stubs.h.
23044         * math/math.h (__MATHCALL_VEC): New macro.
23046         * math/gen-libm-have-vector-test.sh: Script generates series of macros
23047         for conditions in testing functions.
23048         * math/Makefile: Added call of libm-have-vector-test.sh.
23049         * math/libm-test.inc (HAVE_VECTOR): New macros.
23051         * math/libm-test.inc: START refactored.
23052         * math/test-double.c (TEST_MATHVEC): Add define.
23053         * math/test-float.c: Likewise.
23054         * math/test-idouble.c: Likewise.
23055         * math/test-ifloat.c: Likewise.
23056         * math/test-ildoubl.c: Likewise.
23057         * math/test-ldouble.c: Likewise.
23058         * sysdeps/generic/math-tests-arch.h
23059         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
23060         architecture check.
23062         * math/test-double.c (FUNC_TEST): New macro.
23063         * math/test-float.c: Likewise.
23064         * math/test-idouble.c: Likewise.
23065         * math/test-ifloat.c: Likewise.
23066         * math/test-ildoubl.c: Likewise.
23067         * math/test-ldouble.c: Likewise.
23068         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
23070 2015-05-13  Roland McGrath  <roland@hack.frob.com>
23072         * sysdeps/nacl/fdopendir.c: New file.
23074         * dirent/scandir-tail.c: New file.
23075         * dirent/scandir64-tail.c: New file.
23076         * dirent/Makefile (routines): Add them.
23077         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
23078         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
23079         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
23080         [!SCANDIR] (SCANDIR_TAIL): New macro.
23081         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
23082         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
23083         (SCANDIRAT): Macro removed.
23084         (SCANDIR_TAIL): New macro.
23085         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
23086         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
23087         (SCANDIRAT): Just call __opendirat and __scandir_tail.
23088         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
23089         (READDIR): Macro removed.
23090         (SCANDIR_TAIL): New macro.
23091         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
23092         (SCANDIR_TAIL): New macro.
23094         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
23095         * dirent/scandir-cancel.c: ... to this new file.
23096         * dirent/Makefile (routines): Add it.
23097         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
23098         * sysdeps/unix/sysv/linux/i386/scandir64.c
23099         (SKIP_SCANDIR_CANCEL): Macro removed.
23100         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
23102         * dirent/tst-scandir.c: New file.
23103         * dirent/tst-scandir64.c: New file.
23104         * dirent/Makefile (tests): Add them.
23106 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
23108         [BZ #18409]
23109         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
23111 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23113         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
23114         list.
23116 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
23118         * benchtests/bench-strcoll.c: New benchmark.
23119         * benchtests/Makefile: Generate locales and run benchmark.
23120         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
23121         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
23122         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
23123         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
23124         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
23125         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
23126         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
23127         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
23128         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
23129         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
23130         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
23131         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
23132         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
23133         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
23134         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
23135         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
23136         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
23137         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
23138         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
23139         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
23140         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
23141         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
23142         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
23143         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
23145 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
23147         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
23148         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23150 2015-05-12  Roland McGrath  <roland@hack.frob.com>
23152         * posix/uname-values.h: New file.
23153         * posix/uname.c: Include that instead of <config-name.h>.
23154         * sysdeps/nacl/uname-values.h: New file.
23155         * sysdeps/arm/nacl/uname-values.h: New file.
23157 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
23159         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
23160         splitting into fields.
23162 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
23164         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
23165         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
23166         * locale/localeinfo.h: Add enum collation_encoding_type.
23167         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
23168         * programs/ld-collate.c (collate_output): Add encoding type info.
23169         * string/strcoll_l.c (STRDIFF): New function.
23170         * (STRCOLL): Use STRDIFF to skip over equal prefix.
23171         * wcsmbs/wcscoll_l.c: Define STRDIFF.
23173 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
23175         [BZ #18397]
23176         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
23177         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
23178         <fpu_control.h> instead of <math/fpu_control.c>.
23179         * sysdeps/mips/mips32/fpu/Makefile: New file.
23181 2015-05-11  Andreas Schwab  <schwab@suse.de>
23183         [BZ #18007]
23184         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
23185         nss_endgrent.
23186         (_nss_compat_endgrent): Call nss_endgrent.
23187         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
23188         nss_endpwent.
23189         (_nss_compat_endpwent): Call nss_endpwent.
23190         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
23191         needent, call nss_setspent only if non-zero.
23192         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
23193         (internal_endspent): Don't call nss_endspent.
23194         (_nss_compat_endspent): Call nss_endspent.
23195         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
23196         Remove.  All uses removed.
23197         (internal_setent): Remove parameter stayopen, add parameter
23198         stream.  Use it instead of global variable.
23199         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
23200         (internal_endent, internal_getent): Add parameter stream.  Use it
23201         instead of global variable.
23202         (CONCAT(_nss_files_end,ENTNAME))
23203         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
23204         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
23205         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
23206         uses removed.
23207         (internal_setent, internal_endent): Add parameter stream.  Use it
23208         instead of global variable.
23209         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
23210         stream.
23211         (get_next_alias): Add parameter stream.
23212         (_nss_files_getaliasent_r): Pass global stream.
23213         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
23214         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
23215         (_nss_files_gethostbyname4_r): Pass local stream to
23216         internal_setent, internal_getent and internal_endent.  Remove
23217         locking.
23219 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23221         * tst-strfmon1.c (tests): Update expected currency symbol.
23223 2015-05-08  Roland McGrath  <roland@hack.frob.com>
23225         * sysdeps/nacl/gethostname.c: New file.
23227 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
23229         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
23230         and sinh.
23231         * math/auto-libm-test-out: Regenerated.
23232         * sysdeps/i386/fpu/libm-test-ulps: Update.
23233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23235 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
23237         [BZ #18125]
23238         * stdlib/tst-setcontext3.c: New file.
23239         * stdlib/tst-setcontext3.sh: New file.
23240         * stdlib/Makefile (tests): Add tst-setcontext3.
23241         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
23242         to verify test program created output file.
23243         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
23244         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
23245         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
23246         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
23248 2015-05-06  Roland McGrath  <roland@hack.frob.com>
23250         [BZ #18383]
23251         * elf/tst-tlsalign.c: New file.
23252         * elf/tst-tlsalign-static.c: New file.
23253         * elf/tst-tlsalign-lib.c: New file.
23254         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
23255         (tests-static): Add tst-tlsalign-static.
23256         (modules-names): Add tst-tlsalign-lib.
23257         (test-xfail-tst-tlsalign): New variable.
23258         (test-xfail-tst-tlsalign-static): New variable.
23260         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
23261         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
23263 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
23265         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
23266         csqrt, erfc, sin and sincos.
23267         * math/auto-libm-test-out: Regenerated.
23268         * sysdeps/i386/fpu/libm-test-ulps: Update.
23269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23271 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23273         * sysdeps/aarch64/libm-test-ulps: Update.
23275 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
23277         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
23278         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
23279         * math/auto-libm-test-out: Regenerated.
23280         * sysdeps/i386/fpu/libm-test-ulps: Update.
23281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23283 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
23285         [BZ #18265]
23286         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
23287         (wcsncpy): Likewise.
23289 2015-05-05  Florian Weimer  <fweimer@redhat.com>
23291         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
23292         Assume __ASSUME_FALLOCATE is always true.
23293         * sysdeps/unix/sysv/linux/posix_fallocate64.c
23294         (__posix_fallocate64_l64): Likweise.
23295         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
23296         (posix_fallocate): Likewise.
23297         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
23298         (__posix_fallocate64_l64): Likewise.
23299         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23300         [!__ASSUME_FALLOCATE]: Add comment.
23302 2015-05-05  Florian Weimer  <fweimer@redhat.com>
23304         * sysdeps/unix/sysv/linux/i386/Makefile
23305         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
23306         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
23307         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
23308         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
23309         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
23310         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
23311         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
23313 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
23315         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
23316         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
23317         tgamma.
23318         * math/auto-libm-test-out: Regenerated.
23319         * sysdeps/i386/fpu/libm-test-ulps: Update.
23320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23322 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
23324         * math/auto-libm-test-in: Add more tests of tgamma.
23325         * math/auto-libm-test-out: Regenerated.
23326         * sysdeps/i386/fpu/libm-test-ulps: Update.
23327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23329         * math/auto-libm-test-in: Add more tests of tanh.
23330         * math/auto-libm-test-out: Regenerated.
23331         * sysdeps/i386/fpu/libm-test-ulps: Update.
23332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23334         * math/auto-libm-test-in: Add more tests of tan.
23335         * math/auto-libm-test-out: Regenerated.
23336         * sysdeps/i386/fpu/libm-test-ulps: Update.
23337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23339         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
23340         * math/auto-libm-test-out: Regenerated.
23341         * sysdeps/i386/fpu/libm-test-ulps: Update.
23342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23344         * math/auto-libm-test-in: Add another test of pow.
23345         * math/auto-libm-test-out: Regenerated.
23346         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23348         * math/auto-libm-test-in: Add more tests of lgamma.
23349         * math/auto-libm-test-out: Regenerated.
23350         * sysdeps/i386/fpu/libm-test-ulps: Update.
23351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23353         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
23354         log1p.
23355         * math/auto-libm-test-out: Regenerated.
23356         * sysdeps/i386/fpu/libm-test-ulps: Update.
23357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23359 2015-05-01  Mark Wielaard  <mjw@redhat.com>
23361         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
23362         Elf64_Chdr structs and ELFCOMPRESS constants.
23364 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
23366         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
23367         expm1.
23368         * math/auto-libm-test-out: Regenerated.
23369         * sysdeps/i386/fpu/libm-test-ulps: Update.
23370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23372         * math/auto-libm-test-in: Add more tests of erf and erfc.
23373         * math/auto-libm-test-out: Regenerated.
23374         * sysdeps/i386/fpu/libm-test-ulps: Update.
23375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23377 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23379         * config.h.in (HAVE_AARCH64_BE): Add.
23381 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
23383         * math/auto-libm-test-in: Add more tests of csqrt.
23384         * math/auto-libm-test-out: Regenerated.
23385         * sysdeps/i386/fpu/libm-test-ulps: Update.
23386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23388         * math/auto-libm-test-in: Add more tests of cosh and sinh.
23389         * math/auto-libm-test-out: Regenerated.
23390         * sysdeps/i386/fpu/libm-test-ulps: Update.
23391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23393         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
23395 2015-04-29  Roland McGrath  <roland@hack.frob.com>
23397         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
23398         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
23400         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
23401         (euidaccess, eaccess): Define as weak aliases.
23403         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
23404         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
23405         but __suseconds_t is often 'long int' so some sources assume that
23406         type is being used (e.g. they use %ld to print tv_usec).
23408 2015-04-29  Florian Weimer  <fweimer@redhat.com>
23410         [BZ #18007]
23411         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
23412         (CVE-2014-8121)
23413         * nss/tst-nss-getpwent.c: New file.
23414         * nss/Makefile (tests): Add new test.
23416 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
23418         [BZ #18346]
23419         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
23420         exponents less than 48 as cases where high part of mantissa needs
23421         examining to determine whether argument is integral.
23422         * math/libm-test.inc (round_test_data): Add more tests.
23424 2015-04-28  Mark Wielaard  <mjw@redhat.com>
23426         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
23428 2015-04-27  David S. Miller  <davem@davemloft.net>
23430         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
23431         __tls_get_addr.
23432         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
23434 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
23436         [BZ#18333]
23437         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
23439 2015-04-27  Florian Weimer  <fweimer@redhat.com>
23441         [BZ#18333]
23442         * time/tzset.c (parse_tzname): Return error on memory allocation
23443         failure.
23444         * test-skeleton.c (struct temp_name_list): Change type of name
23445         member to non-const.
23446         (add_temp_file): Create a copy of the file name.
23447         (delete_temp_files): Deallocate memory.
23448         (create_temp_file): Add comment.
23450 2015-04-24  Florian Weimer  <fweimer@redhat.com>
23452         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
23453         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
23455 2015-04-24  Roland McGrath  <roland@hack.frob.com>
23457         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
23458         * sysdeps/arm/configure: Regenerated.
23460 2015-04-24  Florian Weimer  <fweimer@redhat.com>
23462         [BZ #17715]
23463         * time/tzfile.c (__tzfile_read): Check for large values of
23464         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
23465         * time/tzset.c (__tzstring_len): New function, based on the old
23466         __tzstring function.
23467         (__tzstring): Call __tzstring_len.
23468         (parse_tzname): New helper function extracted from
23469         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
23470         the input string.
23471         (parse_offset): New helper function extracted from
23472         __tzset_parse_tz.  Replace switch with fallthrough with
23473         initialization before sscanf.
23474         (parse_rule): Likewise.
23475         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
23476         new-style function definition.
23477         * timezone/Makefile (tests): Add tst-tzset.
23478         (tst-tzset.out): Dependencies on time zone files.
23479         (tst-tzset-ENV): Set TZDIR.
23480         (testdata/XT%): Copy crafted time zone files.
23481         * timezone/README: Mention crafted time zone files.
23482         * timezone/testdata/XT1, timezone/testdata/XT2,
23483         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
23484         files.
23485         * timezone/tst-tzset.c: New test.
23487 2015-04-24  Florian Weimer  <fweimer@redhat.com>
23489         * Makeconfig (+gccwarn): Remove -Winline.
23491 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
23493         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
23495 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
23497         * NEWS: Mention sysconf() cache information support for s390.
23498         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
23500 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
23502         * math/k_casinh.c (__kernel_casinh): Use __copysign.
23503         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
23504         (__nearbyint): Likewise.
23505         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
23506         (copysignl): Likewise.
23508 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
23510         [BZ #18287]
23511         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
23512         based on padding.  (CVE-2015-1781)
23514 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23516         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
23517         libc-vdso.h.
23518         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
23519         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
23520         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
23521         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
23522         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
23523         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
23524         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
23525         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
23526         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
23527         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
23528         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
23529         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23530         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
23531         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
23532         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
23533         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
23534         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
23535         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
23536         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
23537         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
23538         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
23539         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
23540         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
23542 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
23544         * stdlib/setenv.c (__add_to_environ):
23545         Dump core quickly if setenv (..., NULL, ...) is called.
23546         This time, do it the right way, and pacify GCC with a pragma.
23548 2015-04-17  Roland McGrath  <roland@hack.frob.com>
23550         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
23551         IMAP->l_prev cannot be null, and #if out the code for the contrary
23552         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
23553         believe that NS (&_dl_ns[NSID]) could point outside the array.
23555         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
23556         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
23557         before using NSID as an index.
23559 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
23561         [BZ #17825]
23562         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
23563         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
23564         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
23566 2015-04-17  Roland McGrath  <roland@hack.frob.com>
23568         Add preliminary port to Google Native Client on ARM.
23569         * abi-tags (.*-.*-nacl.*): New entry.
23570         * sysdeps/arm/nacl: New directory.
23571         * sysdeps/nacl: New directory.
23573 2015-04-16  David S. Miller  <davem@davemloft.net>
23575         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
23576         lowlevellock-futex.h
23578 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
23580         * sysdeps/tile/configure.ac: New file.
23581         * sysdeps/tile/configure: Regenerated.
23583 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23585         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
23586         conditionals for weak_alias and libc_hidden_weak.
23587         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
23588         libc_hidden_weak and weak_alias.
23589         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
23590         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
23591         and weak_alias for static one.
23593 2015-04-15  David S. Miller  <davem@davemloft.net>
23595         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
23597 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23599         [BZ #18206]
23600         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
23601           Use signed comparision instead of substraction to avoid
23602           overflow bug.
23603         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
23604           Take the sign of ret.
23605         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
23606           Do not expect precise return values. Only the sign matters.
23607         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
23608         * wcsmbs/test-wcsncmp.c: New File.
23609         * string/test-strncmp.c: Add wcsncmp support.
23611 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23613         [BZ #6792]
23614         * math/w_log1p.c: New file.
23615         * math/w_log1pf.c: Likewise.
23616         * math/w_log1pl.c: Likewise.
23617         * math/Makefile (libm-calls): Add w_log1p.
23618         * math/s_log1pl.c (log1pl): Remove weak_alias.
23619         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
23620         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
23621         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
23622         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
23623         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
23624         [NO_LONG_DOUBLE] (log1pl): Likewise.
23625         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
23626         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
23627         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
23628         (log1p): Remove long_double_symbol.
23629         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
23630         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
23631         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
23632         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
23633         remove weak_alias for corresponding log1p function.
23634         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
23635         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
23636         * sysdeps/ia64/fpu/w_log1p.c: New file.
23637         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
23638         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
23639         * math/libm-test.inc (log1p_test_data): Add errno expectations.
23641 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
23643         [BZ #18247]
23644         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
23645         decimal exponent by 1.
23646         * stdlib/tst-strtod-round-data: Add more tests.
23647         * stdlib/tst-strtod-round.c (tests): Regenerated.
23649 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
23651         * math/auto-libm-test-in: Add more tests of clog and clog10.
23652         * math/auto-libm-test-out: Regenerated.
23653         * sysdeps/i386/fpu/libm-test-ulps: Update.
23654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23656 2015-04-09  Roland McGrath  <roland@hack.frob.com>
23658         * Makeconfig (module-cppflags): Exclude all .v.i files.
23659         (skip-module-cppflags): Variable removed.
23661         * configure.ac (libc_config_ok): Initialize before reading
23662         preconfigure scripts, not after.
23663         * configure: Regenerated.
23665         * test-skeleton.c (TIMEOUT): Move #define to top level.
23666         (main): Grok environment variable TEST_DIRECT.  If set, print
23667         test expectation details into that file and then behave as if
23668         given --direct.
23670 2015-04-09  Florian Weimer  <fweimer@redhat.com>
23672         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
23673         warning on 32-bit.
23675 2015-04-08  David S. Miller  <davem@davemloft.net>
23677         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23679 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
23681         * math/auto-libm-test-in: Add more tests of atanh.
23682         * math/auto-libm-test-out: Regenerated.
23683         * sysdeps/i386/fpu/libm-test-ulps: Update.
23684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23686         * math/auto-libm-test-in: Add more tests of atan.
23687         * math/auto-libm-test-out: Regenerated.
23688         * sysdeps/i386/fpu/libm-test-ulps: Update.
23689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23691 2015-04-08  Florian Weimer  <fweimer@redhat.com>
23693         * elf/pldd.c (main): Rewrite to use struct
23694         scratch_buffer instead of extend_alloca.
23695         * elf/pldd-xx.c (find_maps): Likewise.
23696         * grp/initgroups.c: Include <scratch_buffer.h> instead of
23697         <alloca.h>.
23698         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
23699         scratch_buffer instead of extend_alloca.
23700         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
23701         grp/compat-initgroups.c.
23702         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
23703         Rewrite to use struct scratch_buffer instead of extend_alloca.
23704         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
23705         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
23707 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
23709         * math/auto-libm-test-in: Add more tests of cbrt.
23710         * math/auto-libm-test-out: Regenerated.
23711         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23713         * math/auto-libm-test-in: Add more tests of cabs.
23714         * math/auto-libm-test-out: Regenerated.
23715         * sysdeps/i386/fpu/libm-test-ulps: Update.
23716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23718         [BZ #18210]
23719         [BZ #18211]
23720         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
23721         (__ieee754_atan2): Set FE_TONEAREST mode for internal
23722         computations.
23723         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
23724         clog10.
23725         * math/auto-libm-test-out: Regenerated.
23726         * sysdeps/i386/fpu/libm-test-ulps: Update.
23727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23729         [BZ #18197]
23730         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
23731         (atan): Set FE_TONEAREST mode for internal computations.
23732         * math/auto-libm-test-in: Add more tests of atan.
23733         * math/auto-libm-test-out: Regenerated.
23735 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
23737         [BZ #17930]
23738         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
23740 2015-04-07  Florian Weimer  <fweimer@redhat.com>
23742         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
23744 2015-04-07  Florian Weimer  <fweimer@redhat.com>
23746         * include/scratch_buffer.h: New file.
23747         * malloc/scratch_buffer_grow.c: Likewise.
23748         * malloc/scratch_buffer_grow_preserve.c: Likewise.
23749         * malloc/scratch_buffer_set_array_size.c: Likewise.
23750         * malloc/tst-scratch_buffer.c: Likewise.
23751         * malloc/Makefile (routines): Add scratch_buffer_grow.
23752         (tests): Add test case.
23753         * malloc/Versions (GLIBC_PRIVATE): Export
23754         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
23755         __libc_scratch_buffer_set_array_size.
23757 2015-04-06  Richard Henderson  <rth@redhat.com>
23759         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
23760         * sysdeps/alpha/fpu/libm-test-ulps: Update.
23762         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
23763         unsigned int before printing.
23765 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23767         [BZ #17596]
23768         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
23769         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
23771 2015-04-02  Florian Weimer  <fweimer@redhat.com>
23773         * include/libc-internal.h (libc_max_align_t): Define.
23775 2015-04-02  Andreas Schwab  <schwab@suse.de>
23777         [BZ #16850]
23778         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
23780 2015-04-02  Mel Gorman  <mgorman@suse.de>
23782         [BZ #17195]
23783         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
23784         as well as the main arena.
23786 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
23788         [BZ #18185]
23789         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
23790         sharing L2 cache to 2 for Silvermont/Knights Landing.
23792 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
23794         [BZ #17711]
23795         * config.make.in (have-protected-data): New.
23796         * configure.ac: Check linker support for protected data symbol.
23797         * configure: Regenerated.
23798         * elf/Makefile (modules-names): Add tst-protected1moda and
23799         tst-protected1modb if $(have-protected-data) is yes.
23800         (tests): Add tst-protected1a and tst-protected1b if
23801         $(have-protected-data) is yes.
23802         ($(objpfx)tst-protected1a): New.
23803         ($(objpfx)tst-protected1b): Likewise.
23804         (tst-protected1modb.so-no-z-defs): Likewise.
23805         * elf/tst-protected1a.c: New file.
23806         * elf/tst-protected1b.c: Likewise.
23807         * elf/tst-protected1mod.h: Likewise.
23808         * elf/tst-protected1moda.c: Likewise.
23809         * elf/tst-protected1modb.c: Likewise.
23811 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
23813         [BZ #17711]
23814         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
23815         indicates it is called from do_lookup_x on relocation against
23816         protected data, skip the data definion in the executable from
23817         copy reloc.
23818         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
23819         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
23820         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
23821         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
23822         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
23823         otherwise to 0.
23824         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
23825         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
23826         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
23827         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
23828         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
23829         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
23831 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
23833         * sysdeps/nptl/pthread.h: Remove duplicate definition of
23834         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
23836 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
23838         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
23839         THREAD_SETMEM_NC.
23840         * sysdeps/x86_64/nptl/tls.h: Ditto.
23842 2015-03-27  Roland McGrath  <roland@hack.frob.com>
23844         * dlfcn/tststatic.c (main): Converted to ...
23845         (do_test): ... this.
23846         (TEST_FUNCTION): New macro.
23847         Include test-skeleton.c.
23849 2015-03-26  Alan Modra  <amodra@gmail.com>
23851         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
23852         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
23853         zero for undefined weak.
23854         (elf_machine_plt_conflict): Similarly.
23856 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
23858         * math/auto-libm-test-in: Add more tests of acosh, asinh and
23859         atanh.
23860         * math/auto-libm-test-out: Regenerated.
23861         * sysdeps/i386/fpu/libm-test-ulps: Update.
23862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23864         * math/auto-libm-test-in: Add another test of asin.
23865         * math/auto-libm-test-out: Regenerated.
23866         * sysdeps/i386/fpu/libm-test-ulps: Update.
23867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23869         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
23870         Remove macro.
23871         (LLL_EBX_REG): Likewise.
23872         (LLL_ENTER_KERNEL): Likewise.
23874         * math/auto-libm-test-in: Add more tests of asin.
23875         * math/auto-libm-test-out: Regenerated.
23876         * sysdeps/i386/fpu/libm-test-ulps: Update.
23877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23879         [BZ #18138]
23880         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
23881         libc_do_syscall_args): New structure.
23882         (INTERNAL_SYSCALL_MAIN_0): New macro.
23883         (INTERNAL_SYSCALL_MAIN_1): Likewise.
23884         (INTERNAL_SYSCALL_MAIN_2): Likewise.
23885         (INTERNAL_SYSCALL_MAIN_3): Likewise.
23886         (INTERNAL_SYSCALL_MAIN_4): Likewise.
23887         (INTERNAL_SYSCALL_MAIN_5): Likewise.
23888         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
23889         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
23890         Replace conditional definitions by conditional definitions of ....
23891         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
23892         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
23893         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
23894         (libpthread-sysdep_routines): Add libc-do-syscall.
23895         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
23896         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
23897         to __NR_futex not 240.
23899 2015-03-25  Alan Modra  <amodra@gmail.com>
23901         * NEWS: Advertise TLS optimization.
23902         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
23903         (DT_PPC_NUM): Increment.
23904         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
23905         (CHECK_STATIC_TLS): Use here.
23906         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
23907         TLS descriptors.
23908         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23909         * sysdeps/powerpc/dl-tls.c: New file.
23910         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
23911         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
23912         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
23913         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
23914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
23915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
23916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
23918 2015-03-25  Alan Modra  <amodra@gmail.com>
23920         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
23921         for overlapping .opd entries" to "support...".
23922         * sysdeps/powerpc/powerpc64/configure: Regenerate
23924 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
23926         * math/auto-libm-test-in: Add more tests of acos.
23927         * math/auto-libm-test-out: Regenerated.
23928         * sysdeps/i386/fpu/libm-test-ulps: Update.
23929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23931         * math/auto-libm-test-in: Add more tests of expm1.
23932         * math/auto-libm-test-out: Regenerated.
23933         * sysdeps/i386/fpu/libm-test-ulps: Update.
23934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23936 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
23938         * math/auto-libm-test-in: Add more tests of cosh and sinh.
23939         * math/auto-libm-test-out: Regenerated.
23940         * sysdeps/i386/fpu/libm-test-ulps: Update.
23941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23943         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23946         * math/auto-libm-test-in: Add more tests of log2.
23947         * math/auto-libm-test-out: Regenerated.
23948         * sysdeps/i386/fpu/libm-test-ulps: Update.
23949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23951 2015-03-23  Roland McGrath  <roland@hack.frob.com>
23953         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
23954         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
23955         _IO_IS_APPENDING bit in READ_WRITE instead.
23957 2015-03-23  Florian Weimer  <fweimer@redhat.com>
23959         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
23960         (__determine_cpumask_size): Replace extend_alloca with a
23961         variable-length array.  Do not treat res == 0 as an error.
23963 2015-03-23  Florian Weimer  <fweimer@redhat.com>
23965         [BZ #18100]
23966         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
23967         and integer overflow.
23968         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
23969         (main): Add integer overflow tests.
23970         * manual/pattern.texi (Calling Wordexp): Document additional use
23971         for WRDE_SYNTAX.
23973 2015-03-23  Alan Modra  <amodra@gmail.com>
23975         * config.h.in: Remove HAVE_ASM_PPC_REL16.
23976         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
23977         and false branch of conditional.
23978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
23979         Likewise.
23981 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
23983         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
23984         libc-modules.h
23985         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
23986         unused declaration of _hurd_intr_rpc_msg_in_trap.
23987         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
23988         defined instead of whether it is non-zero.
23989         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
23990         input constraint instead of both input and output constraint.  Use ecx
23991         clobber instead of %ecx.
23992         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
23993         mutex_unlock): Use a statement expression instead of an expression list.
23994         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
23995         type to vm_size_t instead of vm_address_t.
23996         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
23997         defined instead of whether it is non-zero.
23998         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
23999         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
24000         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
24001         comparisons with mapaddr.
24002         * nscd/nscd-client.h: Include <time.h>.
24003         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
24004         9th parameter to __vm_region instead of int.
24005         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
24006         * scripts/check-local-headers.sh (exclude): Add device/,
24007         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
24008         cthreads.h.
24010 2015-03-19  Roland McGrath  <roland@hack.frob.com>
24012         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
24013         to account for alignment padding.
24014         * sysdeps/arm/memmove.S: Likewise.
24016 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
24018         * sysdeps/unix/sysv/linux/generic/README: New file.
24020 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
24022         [BZ #18138]
24023         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
24024         (futex_abstimed_wait)
24025         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
24026         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
24027         of lll_futex_timed_wait.
24029 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
24031         [BZ #17542]
24032         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
24034 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
24036         [BZ #17090]
24037         [BZ #17620]
24038         [BZ #17621]
24039         [BZ #17628]
24040         * NEWS: Update.
24041         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
24042         entries with Static TLS too.  Skip entries past the end of the
24043         allocated DTV, from Alan Modra.
24044         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
24045         Static TLS DTV entry set up from...
24046         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
24047         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
24048         * nptl/allocatestack.c (init_one_static_tls): ... and here...
24049         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
24050         for Static TLS.
24051         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
24052         that the slot we find is associated with the given map before
24053         using its generation count.
24054         * nptl_db/db_info.c: Include ldsodefs.h.
24055         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
24056         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
24057         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
24058         (link_map::l_tls_offset): New struct field.
24059         (dtv_t::counter): Likewise.
24060         (rtld_global): New struct.
24061         (_rtld_global): New rtld variable.
24062         (dl_tls_dtv_slotinfo_list): New rtld global field.
24063         (dtv_slotinfo_list): New struct.
24064         (dtv_slotinfo): Likewise.
24065         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
24066         (td_lookup): Rename to...
24067         (td_mod_lookup): ... this.  Use new mod parameter instead of
24068         LIBPTHREAD_SO.
24069         * nptl_db/td_thr_tlsbase.c: Include link.h.
24070         (dtv_slotinfo_list, dtv_slotinfo): New functions.
24071         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
24072         addresses even if the DTV is out of date or missing them.
24073         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
24074         index zero-length arrays.
24075         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
24076         (td_lookup): Make it a macro implemented in terms of...
24077         (td_mod_lookup): ... this declaration.
24078         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
24079         (DB_MAIN_VARIABLE): Likewise.
24081 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
24083         [BZ #18134]
24084         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
24086 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
24088         * stdlib/setenv.c (__add_to_environ): Revert previous change.
24090 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
24092         [BZ #18128]
24093         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
24094         (atomic_add, atomic_increment_and_test)
24095         (atomic_decrement_and_test): Fix 64-bit arithmetic.
24097 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
24099         * stdlib/setenv.c (__add_to_environ):
24100         Dump core quickly if setenv (..., NULL, ...) is called.
24102 2015-03-13  Roland McGrath  <roland@hack.frob.com>
24104         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
24105         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
24106         all the necessary asm magic in one place.
24107         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
24108         using those.
24110 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
24112         [BZ #14906]
24113         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
24114         traced file mtime. Use consistent log message.
24115         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
24116         (register_traced_file): Call install_watches. Always set mtime.
24117         (invalidate_cache): Iterate over all trace files. Call install_watches.
24118         (inotify_check_files): Don't inline. Handle watching parent
24119         directories and configuration file movement in and out.
24120         (handle_inotify_events): New function.
24121         (main_loop_poll): Call handle_inotify_events.
24122         (main_loop_epoll): Likewise.
24123         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
24124         (struct traced_file): Use array of inotify fds. Add parent directory,
24125         and basename.
24126         (struct database_dyn): Remove unused file_mtime.
24127         (init_traced_file): New inline function.
24128         (define_traced_file): New macro.
24129         * nss/nss_db/db-init.c: Use define_traced_file.
24130         (_nss_db_init): Use init_traced_file.
24131         * nss/nss_files/files-init.c: Use define_traced_file.
24132         (_nss_files_init): Use init_traced_file.
24134 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
24136         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
24137         [_LIBC]: Do not include <stdlib.h>.
24138         [!_LIBC] (abort): Remove declaration.
24139         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
24140         _FP_STATIC_ASSERT instead of conditionally calling abort.
24141         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
24142         (_FP_EXTEND_CNAN): Likewise.
24143         (FP_TRUNC): Likewise.
24144         (__FP_CLZ): Likewise.
24145         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
24147 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
24149         * manual/string.texi (XPG basename): Fix prototype.
24151 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
24153         [BZ #18080]
24154         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
24155         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
24156         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
24157         (__setcontext): Likewise.
24158         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
24159         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
24160         Call rt_sigprocmask syscall one time to set new signal mask
24161         and retrieve the current signal mask instead of two calls.
24162         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
24163         (__swapcontext): Likewise.
24164         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
24165         * stdlib/tst-setcontext2.c: New file.
24167 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
24169         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24171 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
24173         [BZ #18093]
24174         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
24175         the wrong size.
24177 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
24179         [BZ #18043]
24180         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
24182 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24184         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
24185         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
24186         Remove define.
24187         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
24188         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
24189         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
24190         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
24191         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
24192         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
24193         define.
24194         * nptl_db/td_symbol_list.c (td_lookup): Remove
24195         HAVE_ASM_GLOBAL_DOT_NAME code.
24196         * sysdeps/powerpc/powerpc64/configure.ac: Remove
24197         HAVE_ASM_GLOBAL_DOT_NAME check.
24198         * sysdeps/powerpc/powerpc64/configure: Regenerate.
24199         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
24200         (DOT_LABEL): Remove define.
24201         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
24202         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
24203         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
24204         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
24205         (__TLS_GET_ADDR): Likewise.
24206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
24207         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
24209 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
24211         [BZ #18111]
24212         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
24213         (_FPU_SETCW): Initialize cw from fpsr before storing.
24214         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
24215         (fesetexceptflag): Rewrite using fpu_control.h.
24216         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
24218 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
24220         [BZ #18110]
24221         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
24222         asms.
24223         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
24225 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
24227         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
24228         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
24229         abort.
24230         (_FP_FMA): Likewise.
24231         (_FP_DIV): Likewise.
24233 2015-03-10  Roland McGrath  <roland@hack.frob.com>
24235         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
24236         with 0 in that case.
24237         * Makefile (summarize-tests): New canned sequence, factored out of
24238         commands for targets tests and xtests.  Display summary lines that
24239         don't start with PASS: or XFAIL: rather than ones that do start with
24240         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
24241         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
24242         do start with ERROR: or FAIL:.
24243         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
24244         (except for [$(build-shared) = yes]).
24245         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
24246         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
24247         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
24248         * nptl/Makefile: Revert 2015-03-04 changes.
24249         [$(CXX) empty] (tests-unsupported): New variable.
24250         * debug/Makefile: Likewise.
24252         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
24253         gnulib file.  Replace __attribute with __attribute__ throughout.
24255 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
24257         * sysdeps/hppa/fpu/libm-test-ulps: Update.
24259 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
24261         [BZ #18104]
24262         * math/auto-libm-test-in: Add another test of pow.
24263         * math/auto-libm-test-out: Regenerated.
24265 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24267         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
24268         $(config-cflags-nofma).
24270 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
24272         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
24273         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
24274         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
24275         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
24276         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
24277         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
24278         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
24279         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
24280         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
24281         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
24282         Add comment on closing #endif.
24284 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
24286         * posix/wordexp.c (CHAR_IN_SET): New macro.
24287         (parse_param): Use it.
24289 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24291         * sysdeps/powerpc/fpu/libm-test-ulps: update.
24293 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
24295         [BZ #18043]
24296         * posix/wordexp.c (parse_param): Fix buffer overflow.
24297         * posix/wordexp-test.c (test_case): Add test case.
24299 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
24301         [BZ #18042]
24302         * posix/wordexp.c (parse_backtick): Fix off-by-one.
24303         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
24305 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
24307         [BZ #18043]
24308         * posix/wordexp-test.c (test_case): Add test for BZ #18043
24309         (do_bz18043): Delete.
24310         (at_page_end): New.
24311         (testit): Refactor to have words at the edge of unreadable page.
24313 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
24315         [BZ #16734]
24316         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
24317         Cleanup read-only streams as well.
24318         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
24320 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24322         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
24323         <bits/libc-lockP.h>
24325 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
24327         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
24328         on [__KERNEL__].
24329         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
24330         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
24331         * soft-fp/op-common.h (_FP_DECL): Likewise.
24333 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
24335         * elf/ifuncdep2.c (global): Replace
24336         __attribute__((visibility("protected"))) with
24337         asm (".protected global").
24338         * elf/ifuncmod1.c (global): Likewise.
24339         * elf/ifuncmod5.c (global): Likewise.
24341 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
24343         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
24344         <asm/sfp-machine.h> instead of <sfp-machine.h>.
24346 2015-03-06  Roland McGrath  <roland@hack.frob.com>
24348         * manual/install.texi (Configuring and compiling):
24349         Document test-wrapper-env-only.
24350         * INSTALL: Regenerated.
24352 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
24354         [BZ #18043]
24355         * posix/wordexp.c (parse_param): Fix buffer overflow.
24356         * posix/wordexp-test.c (do_bz18043): Add test case.
24358 2015-03-06  Vincent Bernat  <vincent@bernat.im>
24360         * time/tst-strptime2.c (do_test): Ensure failing tests are
24361         reported correctly.
24362         * time/tst-strptime3.c (do_test): Likewise.
24364 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
24366         Fix aio_error thread-safety.
24367         * sysdeps/pthread/aio_error.c: New file
24368         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
24369         synchronization.
24371 2015-03-06  Florian Weimer  <fweimer@redhat.com>
24373         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
24374         (group_number, vfprintf): Use it.
24375         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
24376         (JUMP, REF): Use it.
24377         (WORK_BUFFER_SIZE): New enum constant.
24378         (process_arg, vfprintf): Use it.
24380 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
24382         * manual/errno.texi (Error Messages): Complete example function
24383         by adding missing #define.
24384         (program_invocation_name): Add statement indicating GNU
24385         extension and reference which header file declares the variable.
24386         (program_invocation_short_name): Likewise.
24388 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
24390         * manual/errno.texi (Error Messages): Delete strerror ISO C89
24391         compatibility note.
24393 2015-03-05  Roland McGrath  <roland@hack.frob.com>
24395         * Makeconfig (test-wrapper-env-only): New variable.
24396         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
24397         then use that with $(test-wrapper-env-only) rather than using
24398         $(test-wrapper-env) $(run-program-env) $($*-ENV).
24400 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
24402         [BZ #18082]
24403         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
24404         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
24405         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
24406         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
24407         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
24408         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
24409         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
24410         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
24411         Likewise.
24412         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
24413         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
24414         Likewise.
24415         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
24416         Likewise.
24417         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
24418         Likewise.
24419         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
24420         Likewise.
24421         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
24422         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
24423         Likewise.
24424         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
24425         Likewise.
24426         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
24427         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
24429 2015-03-04  Roland McGrath  <roland@hack.frob.com>
24431         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
24432         (ETH_ALEN): New macro.
24433         (struct ether_addr): Use it for length of ether_addr_octet.
24435         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
24436         (setdb): Don't call __nss_configure_lookup for "rpc".
24437         (do_test): Don't call test_rpc.
24438         (output_rpcent, test_rpc): Functions moved ...
24439         * sunrpc/test-rpcent.c: ... to this new file.
24440         * sunrpc/Makefile (tests): Add it.
24442         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
24443         __xpg_sigpause.
24444         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
24445         * nptl/tst-signal6.c: Likewise.
24446         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
24447         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
24449         * configure.ac (libc_cv_cxx_link_ok): New check.
24450         Reset CXX to empty if it fails to link.
24451         * configure: Regenerated.
24452         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
24453         bug-atexit3-lib only if $(CXX) is nonempty.
24454         * nptl/Makefile (tests): Likewise for tst-cancel24.
24455         (tests, tests-static): Likewise for tst-cancel24-static.
24456         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
24457         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
24458         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
24459         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
24461 2015-03-04  Andreas Schwab  <schwab@suse.de>
24463         [BZ #17631]
24464         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
24465         for non-GCC compilers.
24466         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
24467         Likewise.
24469 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24471         [BZ #17776]
24472         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
24473         integer before bitwise and assembly operations.
24474         (feclearexcept): Likewise.
24475         * math/test-fenvinline.c: New file.
24476         * math/Makefile: Add test-fenvinline test.
24478 2015-03-03  Alan Modra  <amodra@gmail.com>
24480         [BZ #16512]
24481         * scripts/localplt.awk: Strip off symbol version.
24482         * NEWS: Mention bug fix.
24484 2015-03-02  Roland McGrath  <roland@hack.frob.com>
24486         * sysdeps/pthread/timer_routines.c
24487         (timer_free_list, thread_free_list, thread_active_list): Make static.
24489 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
24491         [BZ #17779]
24492         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
24493         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
24494         Undefine.
24495         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24496         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
24497         Likewise.
24498         * sysdeps/unix/sysv/linux/sh/kernel-features.h
24499         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
24500         Likewise.
24502 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
24504         [BZ #18036]
24505         * posix/fnmatch_loop.c (END): Detect invalid pattern.
24506         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
24508 2015-03-02  Andreas Schwab  <schwab@suse.de>
24510         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
24511         variable name.
24513 2015-03-02  Florian Weimer  <fweimer@redhat.com>
24515         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
24516         Return error status.
24518 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
24520         [BZ #15969]
24521         * locale/findlocale.c (_nl_find_locale): Introduce const
24522         version of loc_name and drop unsafe type casts.
24524 2015-02-27  Roland McGrath  <roland@hack.frob.com>
24526         * dlfcn/tststatic2.c (main): Converted to ...
24527         (do_test): ... this.
24528         (TEST_FUNCTION): New macro.
24529         Include test-skeleton.c.
24531 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
24533         [BZ #17711]
24534         * elf/Makefile (tests): Add vismain only if PIE is enabled.
24535         (tests-pie): Add vismain.
24536         (CFLAGS-vismain.c): New.
24537         * elf/vismain.c: Add comments for PIE requirement.
24539 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
24541         [BZ #18046]
24542         [BZ #18047]
24543         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
24544         0x1p-56L as threshold for just returning the argument.
24545         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
24546         0x1p-32L as threshold for just returning the argument.
24547         * math/auto-libm-test-in: Add more tests of atanh.
24548         * math/auto-libm-test-out: Regenerated.
24549         * sysdeps/i386/fpu/libm-test-ulps: Update.
24550         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
24552 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
24554         * string/bcopy.c (bcopy): Call memmove for performance.
24556 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
24558         * string/bzero.c (__bzero): Call memset for performance.
24560 2015-02-27  John David Anglin  <dave.anglin@bell.net>
24562         [BZ #18068]
24563         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
24564         to 00100000.
24566 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
24568         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
24570 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
24572         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
24573         (__kernel_standard): Use CSTR macro when setting exc.name.
24574         * sysdeps/ieee754/Makefile [$(subdir) = math]
24575         (CFLAGS-k_standard.c): Remove variable.
24577         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
24578         setting p and q from "else if" to "else".
24579         (qzero): Likewise.
24580         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
24581         (qone): Likewise.
24582         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
24583         (qzerof): Likewise.
24584         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
24585         (qonef): Likewise.
24586         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
24587         (qzero): Likewise.
24588         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
24589         (qone): Likewise.
24591         [BZ #18038]
24592         [BZ #18039]
24593         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
24594         return pi/2 for arguments below 0x1p-113L.
24595         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
24596         return pi/2 for arguments below 0x1p-106L.
24597         * math/auto-libm-test-in: Add more tests of acos.
24598         * math/auto-libm-test-out: Regenerated.
24600         [BZ #16351]
24601         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
24602         (MO): New macro.
24603         (__ieee754_asin): Force underflow exception for results with small
24604         absolute value.
24605         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
24606         (MO): New macro.
24607         (__ieee754_asinf): Force underflow exception for results with
24608         small absolute value.
24609         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
24610         (__ieee754_asin): Force underflow exception for results with small
24611         absolute value.
24612         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
24613         (__ieee754_asinf): Force underflow exception for results with
24614         small absolute value.
24615         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
24616         (__ieee754_asinl): Force underflow exception for results with
24617         small absolute value.
24618         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
24619         (__ieee754_asinl): Force underflow exception for results with
24620         small absolute value.
24621         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
24622         (__ieee754_asinl): Force underflow exception for results with
24623         small absolute value.
24624         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
24625         Include <math.h>.
24626         * math/auto-libm-test-in: Do not mark underflow exceptions as
24627         possibly missing for bug 16351.
24628         * math/auto-libm-test-out: Regenerated.
24630         [BZ #18030]
24631         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
24632         of power of 2 down when low part has opposite sign.
24633         * math/libm-test.inc (logb_test_data): Add more tests.
24635 2015-02-26  Andreas Schwab  <schwab@suse.de>
24637         [BZ #18032]
24638         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
24639         over collating symbol inside a bracket expression.  Minor cleanup.
24640         * posix/tst-fnmatch3.c (do_test): Add test case.
24642 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
24644         [BZ #18029]
24645         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
24646         Adjust exponent of power of 2 down when low part has opposite
24647         sign.
24648         * math/libm-test.inc (ilogb_test_data): Add more tests.
24650 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
24652         [BZ #15969]
24653         * locale/findlocale.c (_nl_find_locale): Fix constness error in
24654         the previous change.
24656         [BZ #15969]
24657         * locale/findlocale.c (_nl_find_locale): Retry archive search
24658         after alias expansion.
24660 2015-02-25  Roland McGrath  <roland@hack.frob.com>
24662         * iconv/tst-iconv3.c (main): Converted to ...
24663         (do_test): ... this.
24664         (TEST_FUNCTION): New macro.
24665         Include test-skeleton.c.
24667         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
24668         (convert): Make function static.
24669         (test_unalign): Likewise.  Add const to argument pointee types.
24670         (main): Replace with static function do_test.
24671         Print "Succeeded." only if RET is zero.
24672         (TEST_FUNCTION): New macro.
24673         Include test-skeleton.c.
24675         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
24676         returns a null pointer.
24678 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24680         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
24681         to __memcpy_ppc only for static builds.
24683 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
24685         [BZ #18020]
24686         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
24687         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
24688         * math/auto-libm-test-in: Add more tests of asinh.
24689         * math/auto-libm-test-out: Regenerated.
24690         * sysdeps/i386/fpu/libm-test-ulps: Update.
24691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24693 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
24695         [BZ #15850]
24696         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
24697         and ip6_mtuinfo definitions here.
24698         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
24699         in this define too.  Update comment.
24701 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
24703         * elf/sprof.c (load_shobj): Tweak error message to match others.
24705 2015-02-24  Kevin Easton  <kevin@guarana.org>
24707         [BZ #16145] (partial fix)
24708         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
24709         to reduce lock contention.
24711 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
24713         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
24714         (struct timex): Update time comment.
24715         (ADJ_SETOFFSET): Define.
24717 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
24719         [BZ #18019]
24720         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
24721         2**56 not 2**28 as threshold for log (2x) formula.
24722         * math/auto-libm-test-in: Add more tests of acosh.
24723         * math/auto-libm-test-out: Regenerated.
24724         * sysdeps/i386/fpu/libm-test-ulps: Update.
24725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24727 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
24729         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
24730         parenthesis around the buf assignment.
24731         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
24733 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
24735         [BZ #16783]
24736         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
24737         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
24738         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
24739         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
24740         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
24741         * math/libm-test.inc (scalb_test_data): Add more tests.
24743 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
24745         [BZ #17916]
24746         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
24747         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
24749 2015-02-24  Eric Rannaud  <e@nanocritical.com>
24751         [BZ #17523]
24752         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
24753         * io/bits/fcntl2.h (open): Use it.
24754         (openat): Likewise.
24755         * io/open.c (__libc_open): Likewise.
24756         * io/open64.c (__libc_open64): Likewise.
24757         * io/open64_2.c (__open64_2): Likewise.
24758         * io/open_2.c (__open_2): Likewise.
24759         * io/openat.c (__openat): Likewise.
24760         * io/openat64.c (__openat64): Likewise.
24761         * io/openat64_2.c (__openat64_2): Likewise.
24762         * io/openat_2.c (__openat_2): Likewise.
24763         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
24764         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
24765         * sysdeps/posix/open64.c (__libc_open64): Likewise.
24766         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
24767         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
24768         (__open_nocancel): Likewise.
24769         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
24770         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
24771         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
24773 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24775         [BZ #14841]
24776         * resolv/gethnamaddr.c (getanswer): Skip logging if
24777         RES_USE_DNSSEC is set.
24778         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
24780 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
24782         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
24784 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
24786         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
24787         201304L, for Unicode 7.
24789 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
24791         [BZ #17836]
24792         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
24793         shared library.  Add gmon-start.os otherwise.
24794         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
24795         $(objpfx)gmon-start.os if builing shared library.
24796         ($(objpfx)g$(static-start-installed-name)): Likewise.
24798 2015-02-23  Andreas Schwab  <schwab@suse.de>
24800         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
24802 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
24804         [BZ #17269]
24805         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
24806         (enlarge_userbuf): Likewise.
24808 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
24810         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
24811         * math/atest-exp.c (TIMEOUT): Adjust to 200.
24812         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
24813         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
24815 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
24817         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
24818         expression inside statement expression.
24820 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
24822         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
24823         <sysdeps/nptl/lowlevellock.h> and remove macros and
24824         functions that are now defined there.
24825         (SYS_futex): Remove.
24826         (lll_compare_and_swap): Remove.
24827         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
24829 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
24831         [BZ #17999]
24832         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
24833         instead of scandirat.
24834         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
24835         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
24836         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
24837         __scandirat.
24838         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
24839         (__scandirat): Declare.  Use libc_hidden_proto.
24840         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
24841         Remove variable.
24842         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
24844 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
24846         [BZ #15319]
24847         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
24848         (MO): New macro.
24849         (__ieee754_atan2): For results with small absolute value, force
24850         underflow exception and remove excess range and precision from
24851         return value.
24852         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
24853         (MO): New macro.
24854         (__ieee754_atan2f): For results with small absolute value, force
24855         underflow exception and remove excess range and precision from
24856         return value.
24857         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
24858         (MO): New macro.
24859         (__atan): For results with small absolute value, force underflow
24860         exception and remove excess range and precision from return value.
24861         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
24862         (MO): New macro.
24863         (__atanf): For results with small absolute value, force underflow
24864         exception and remove excess range and precision from return value.
24865         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
24866         <math.h>.
24867         (__ieee754_atan2): Force underflow exception for results with
24868         small absolute value.
24869         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
24870         <math_private.h>.
24871         (atan): Force underflow exception for results with small absolute
24872         value.
24873         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
24874         (__atanf): Force underflow exception for results with small
24875         absolute value.
24876         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
24877         <math.h>.
24878         (__atanl): Force underflow exception for results with small
24879         absolute value.
24880         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
24881         (__atanl): Force underflow exception for results with small
24882         absolute value.
24883         * sysdeps/x86/fpu/bits/mathinline.h
24884         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
24885         (__ieee754_atan2): Only define inline for long double.
24886         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
24887         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
24888         * math/auto-libm-test-in: Do not mark underflow exceptions as
24889         possibly missing for bug 15319.  Add more tests of atan2.
24890         * math/auto-libm-test-out: Regenerated.
24891         * math/libm-test.inc (casin_test_data): Do not mark underflow
24892         exceptions as possibly missing for bug 15319.
24893         (casinh_test_data): Likewise.
24894         * sysdeps/i386/fpu/libm-test-ulps: Update.
24896 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
24898         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
24899         * sysdeps/mips/bits/endian.h: Fix comments.
24901 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
24903         [BZ #17996]
24904         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
24905         (hdestroy_r): Likewise.
24906         (hsearch_r): Likewise.
24907         (__hcreate_r): Declare and use libc_hidden_proto.
24908         (__hdestroy_r): Likewise.
24909         (__hsearch_r): Likewise.
24910         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
24911         (hcreate): Call __hcreate_r instead of hcreate_r.
24912         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
24913         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
24914         as weak alias of __hcreate_r.
24915         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
24916         __hdestroy_r.
24917         (hsearch_r): Rename to __hsearch_r and define as weak alias of
24918         __hsearch_r.
24919         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
24920         Remove variable.
24921         (test-xfail-XPG4/search.h/linknamespace): Likewise.
24922         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
24923         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
24924         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
24926 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24928         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
24929         arena_lock into a single arena_get.
24931 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
24933         * dl-reloc.c: Inlucde libc-internal.h.
24934         (_dl_try_allocate_static_tls): Call ALIGN_UP.
24935         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
24936         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
24937         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
24938         (grow_heap): Likewise.
24939         * malloc/malloc.c: Include libc-internal.h.
24940         (do_check_malloc): Call powerof2.
24941         (sysmalloc): Use pagesize. Call ALIGN_UP.
24942         (systrim): Use pagesize.
24943         (mremap_chunk): Use pagesize. Call ALIGN_UP.
24944         (__libc_valloc): Use pagesize.
24945         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
24947 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
24949         [BZ #17991]
24950         * include/sys/resource.h (__getrlimit64): Declare.  Use
24951         libc_hidden_proto.
24952         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
24953         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
24954         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
24955         getrlimit64.
24956         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
24957         __getrlimit64.
24958         [!getrlimit64] (getrlimit64): Define as weak alias of
24959         __getrlimit64.  Use libc_hidden_weak.
24960         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
24961         using __getrlimit64 not __new_getrlimit64.
24962         (__GI_getrlimit64): Likewise.
24963         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
24964         Likewise.
24965         (__GI_getrlimit64): Likewise.
24966         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
24967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
24968         (getrlimit): Add __getrlimit64 alias.
24969         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
24970         Likewise.
24971         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
24972         Remove variable.
24973         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
24974         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
24976 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
24978         * libio/fileops.c: Add missing sys/mman.h
24979         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
24981 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
24983         * manual/math.texi (Errors in Math Functions): Clarify goals
24984         regarding inexact and underflow exceptions.
24986 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
24988         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
24989         * sysdeps/mips/memset.S: Ditto.
24991 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
24993         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
24995 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
24997         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
24998         (__v1longjmp): Remove versioned symbol.
24999         (__v1siglongjmp): Remove alias and versioned symbol.
25000         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
25001         (__v2siglongjmp): Likewise.
25003 2015-02-16  Torvald Riegel  <triegel@redhat.com>
25005         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
25007 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
25009         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
25011 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
25013         [BZ #17987]
25014         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
25015         zero result does not depend on the sign resulting from
25016         subtraction.
25017         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
25018         Likewise.
25019         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
25020         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
25021         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
25022         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
25023         * math/libm-test.inc (remquo_test_data): Add more tests.
25025 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
25027         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
25028         Problem reported by J William Piggott.
25030 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
25032         [BZ #17978]
25033         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
25034         products 4 * y and 2 * y where those would overflow.
25035         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
25036         Likewise.
25037         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
25038         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
25039         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
25040         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
25041         * math/libm-test.inc (remquo_test_data): Add more tests.
25043         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
25045         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
25046         [defined _COMPILING_NEWLIB].
25047         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
25048         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
25050         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
25051         [!defined __mips_isa_rev || __mips_isa_rev < 6].
25053 2015-02-16  Torvald Riegel  <triegel@redhat.com>
25055         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
25056         acquired.
25058 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
25060         [BZ #17792]
25061         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
25062         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
25063         HOST_STACK_END_ADDR): Likewise.
25065 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
25067         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
25068         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
25069         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
25071 2015-02-13  Roland McGrath  <roland@hack.frob.com>
25073         * sysdeps/generic/c++-types.data: New file.
25074         * sysdeps/generic/ld.abilist: New file.
25075         * sysdeps/generic/libBrokenLocale.abilist: New file.
25076         * sysdeps/generic/libanl.abilist: New file.
25077         * sysdeps/generic/libc.abilist: New file.
25078         * sysdeps/generic/libcrypt.abilist: New file.
25079         * sysdeps/generic/libdl.abilist: New file.
25080         * sysdeps/generic/libm.abilist: New file.
25081         * sysdeps/generic/libpthread.abilist: New file.
25082         * sysdeps/generic/libresolv.abilist: New file.
25083         * sysdeps/generic/librt.abilist: New file.
25085 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
25087         [BZ #17569]
25088         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
25089         Compute absolute value of x as modified by fmod, not original
25090         value of x.
25091         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
25092         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
25093         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
25094         RUN_TEST_ffI_f1_mod8.
25095         (remquo_test_data): Add more tests.
25097 2015-02-13  Roland McGrath  <roland@hack.frob.com>
25099         * sysdeps/init_array/pt-crti.S: New file.
25101 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
25103         [BZ #17967]
25104         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
25105         __builtin_fmaf instead of relying on contraction of a * b + c.
25107 2015-02-12  J William Piggott  <elseifthen@gmx.com>
25109         [BZ #17969]
25110         * manual/time.texi: correct the zoneinfo path in the TZ Variable
25111         node.
25113 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
25115         [BZ #17964]
25116         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
25117         __builtin_fma instead of relying on contraction of a * b + c.
25119 2015-02-12  Roland McGrath  <roland@hack.frob.com>
25121         * Makeconfig (ASFLAGS): Add -Werror=undef.
25122         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
25123         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
25124         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
25126         * Makeconfig (after-link): New variable.
25127         (+link-pie, +link-pie-tests): Use it.
25128         (+link-static, +link-static-tests): Likewise.
25129         (+link, +link-tests): Likewise.
25130         * Makerules (build-module, build-module-asneeded): Likewise.
25131         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
25132         Likewise.
25133         * elf/Makefile ($(objpfx)ld.so): Likewise.
25135 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
25137         [BZ #17965]
25138         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
25139         both struct timeval and struct timespec.
25141 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
25143         [BZ #16560]
25144         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25145         and redefine.
25146         (__ieee754_exp2l): Do not multiply small fractional parts by
25147         M_LN2l.
25148         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
25149         small argument.
25150         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
25151         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
25152         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
25153         * math/auto-libm-test-in: Add more tests of exp2.
25154         * math/auto-libm-test-out: Regenerated.
25156 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25158         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
25159         unaligned path.
25161 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25163         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
25164         little endian.
25166 2015-02-12  Andreas Schwab  <schwab@suse.de>
25168         [BZ #15790]
25169         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
25170         Filter out elision flags from value returned in kind.
25171         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
25172         * nptl/tst-pthread-mutexattr.c: New file.
25174 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25176         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
25177         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
25178         into gnu-gnu, and update comment to refer to abi-tags.
25180 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
25182         [BZ #15467]
25183         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
25184         (__sincos): Set errno to EDOM for infinite argument.
25185         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
25186         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
25187         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
25188         (__sincosl): Set errno to EDOM for infinite argument.
25189         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
25190         (__sincosl): Set errno to EDOM for infinite argument.
25191         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
25192         (__sincosl): Set errno to EDOM for infinite argument.
25193         * math/libm-test.inc (sincos_test_data): Test errno setting.
25195 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
25197         * string/strxfrm_l.c: Remove #define STRCMP.
25198         * string/strcoll_l.c: Remove #define STRLEN.
25199         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
25200         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
25202 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
25204         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
25205         * sysdeps/mips/mips32/sfp-machine.h: ... here.
25206         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
25207         * sysdeps/mips/mips64/Makefile: ... here.
25208         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
25209         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
25210         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
25211         * sysdeps/mips/mips64/sfp-machine.h: ... here.
25212         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
25213         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
25214         * sysdeps/mips/mips64/n64/Implies: Likewise.
25216 2015-02-10  Roland McGrath  <roland@hack.frob.com>
25218         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
25219         <sys/time.h>, <string.h>, and <errno.h>.
25220         (dest_offset, dest_address, value, zero): Remove unused variables.
25221         (ldouble): Remove typedef.
25222         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
25223         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
25224         1).  Fix code style.
25225         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
25226         (check): Function removed.
25227         (CHECK): New macro.
25228         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
25229         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
25230         Don't call set_sigaction_FP and remove_sigaction_FP here.
25231         (ldouble_test): Just use 'long double' as macro argument, no need for
25232         the 'ldouble' typedef.
25233         (do_test): Set up SIGFPE handler at start, using plain signal rather
25234         than sigaction.  Fix code style.
25236 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
25238         [BZ #17949]
25239         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
25240         jump label.
25242 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
25244         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
25245         * sysdeps/powerpc/powerpc32/configure: Regenerated.
25247         * sysdeps/powerpc/configure.ac: Remove file.
25248         * sysdeps/powerpc/configure: Likewise.
25250         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
25251         [sysdep_routines]: Remove wordcopy-power6 object.
25252         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
25253         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
25254         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
25255         (__memmove_ppc32): Likewise.
25256         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
25257         file.
25258         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
25259         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
25260         Remove preprocessor.
25262         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
25263         [sysdep_routines]: Remove wide chars objects.
25264         [wcsmbs]: New rule for wide char objects.
25266         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25267         Remove wordcopy-power6 obejct.
25268         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
25269         Use local call for wordcopy and memcpy symbols.
25270         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
25271         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
25272         implementation for loader.
25273         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
25275         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25276         Remove wordcopy-power7 object.
25277         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
25278         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
25279         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
25280         (_wordcopy_fwd_dest_aligned): Likewise.
25281         (_wordcopy_bwd_aligned): Likewise.
25282         (_wordcopy_bwd_dest_aligned): Likewise.
25284         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
25285         Rewrite to call __memmove_ppc instead of include default
25286         implementation.
25288         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25289         Remove wide chars objects.
25290         [wcsmbs]: New rule for wide char objects.
25292 2015-02-09  Andreas Schwab  <schwab@suse.de>
25294         [BZ #17912]
25295         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
25296         in terms of __O_DIRECTORY.
25298 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25300         * time/getdate.c: Include <stdbool.h>.
25301         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
25302         call PTR_MANGLE.
25303         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
25304         PTR_DEMANGLE.
25306 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
25308         Add ersatz _Static_assert on older C hosts
25309         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
25310         pre-C11 C platform that is not known to support _Static_assert.
25312 2015-02-07  Richard Braun  <rbraun@sceen.net>
25314         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
25315         sigstate.
25316         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
25318 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25320         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
25321         priority against unexistent AIO_PRIO_DELTA_MAX.
25322         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
25323         instead of int.
25324         * misc/fchflags.c (fchflags): Likewise.
25325         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
25326         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
25327         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
25328         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
25329         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
25330         Declare macros.
25331         [__USE_MISC] (chflags, fchflags): Declare functions.
25332         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
25333         EINVAL when nfds is greater than FD_SETSIZE.
25334         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
25335         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
25336         45.
25337         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
25338         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
25339         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
25340         MACH_RCV_TIMED_OUT.
25341         * hurd/hurd/signal.h (_hurd_self_sigstate,
25342         _hurd_critical_section_lock, _hurd_critical_section_unlock):
25343         Explicit casts from void *.
25344         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
25345         * abi-tags: Rename gnu-gnu os into gnu.
25347         [BZ #4719]
25348         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
25349         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
25350         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
25351         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
25352         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
25353         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
25355         [BZ #17944]
25356         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
25357         duplicates ADDR->sun_path with sockaddr LEN limitation.
25358         * sysdeps/mach/hurd/connect.c: Include <string.h>
25359         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
25360         * sysdeps/mach/hurd/sendmsg.c: Likewise.
25361         * sysdeps/mach/hurd/sendto.c: Likewise.
25362         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
25363         implementing it by hand.
25365 2015-02-06  Roland McGrath  <roland@hack.frob.com>
25367         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
25368         Use sfi_breg on ldr.
25369         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
25370         Likewise.
25372         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
25373         it's defined.
25374         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
25375         Test SIGSETXID only if it's defined.
25377         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
25379         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
25380         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
25382         * nptl/tst-align2.c: Moved ...
25383         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
25384         * nptl/Makefile (tests): Remove tst-align2.
25385         * sysdeps/unix/sysv/linux/Makefile
25386         [$(subdir) = nptl] (tests): Add tst-align-clone.
25387         * nptl/tst-getpid1.c: Moved ...
25388         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
25389         * nptl/tst-getpid2.c: Moved ...
25390         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
25391         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
25392         * sysdeps/unix/sysv/linux/Makefile
25393         [$(subdir) = nptl] (tests): ... here.
25394         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
25395         * sysdeps/unix/sysv/linux/Makefile
25396         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
25398         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
25399         Drop trailing \n from perror argument.  Use return rather than exit.
25401         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
25402         on [SA_SIGINFO].
25403         * nptl/tst-cancel21.c (do_test): Likewise.
25404         * debug/tst-backtrace6.c: Include <signal.h> first thing.
25405         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
25406         [!SA_SIGINFO]: Make it a stub test.
25408         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
25409         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
25411         * posix/tst-getlogin.c: Move to ...
25412         * login/tst-getlogin.c: ... here.
25413         * posix/Makefile (tests): Move tst-getlogin to ...
25414         * login/Makefile (tests): ... here.
25416         * libio/tst-atime.c (do_test): Move local variables SV and E
25417         inside [ST_NOATIME] conditional.
25419         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
25421         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
25423         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
25424         (wait_code): New function replaces macro.
25425         Call nanosleep rather than syscall.
25427         * nptl/pt-system.c: Rewritten.  Put everything under
25428         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
25429         Use IFUNC to redirect when possible.
25431         * nptl/pt-longjmp.c: Rewritten.  Put everything under
25432         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
25433         Use IFUNC to redirect when possible.
25435         * nptl/pt-fork.c: Rewritten.  Put everything under
25436         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
25437         Use IFUNC to redirect when possible.
25438         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
25440         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
25441         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
25442         unconditionally nowadays.  This included the only reference to
25443         __vdso_clock_gettime that appears outside libc proper.
25444         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
25445         Remove version set (containing only __vdso_clock_gettime).
25446         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
25447         Add attribute_hidden.
25448         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
25449         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
25450         libc_hidden_data_def.
25451         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
25452         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25454         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
25455         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
25456         setrpcent, and getrpcport to ...
25457         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
25458         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
25459         getrpcbynumber_r, and getrpcent_r to ...
25460         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
25461         * inet/getrpcbyname.c: Moved ...
25462         * sunrpc/getrpcbyname.c: ... here.
25463         * inet/getrpcbyname_r.c: Moved ...
25464         * sunrpc/getrpcbyname_r.c: ... here.
25465         * inet/getrpcbynumber.c: Moved ...
25466         * sunrpc/getrpcbynumber.c: ... here.
25467         * inet/getrpcbynumber_r.c: Moved ...
25468         * sunrpc/getrpcbynumber_r.c: ... here.
25469         * inet/getrpcent.c: Moved ...
25470         * sunrpc/getrpcent.c: ... here.
25471         * inet/getrpcent_r.c: Moved ...
25472         * sunrpc/getrpcent_r.c: ... here.
25473         * inet/Makefile (routines): Move those to ...
25474         * sunrpc/Makefile (routines): ... here.
25475         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
25476         the $(subdirs) list.
25477         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
25478         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
25479         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
25480         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
25482         * elf/Makefile (routines): Include $(all-dl-routines), not just
25483         $(dl-routines).
25484         (rtld-routines): Likewise.  Use = rather than :=.
25485         * sysdeps/aarch64/Makefile [$(subdir) = elf]
25486         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
25487         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
25488         * sysdeps/arm/Makefile: Likewise.
25489         * sysdeps/i386/Makefile: Likewise.
25490         * sysdeps/x86_64/Makefile: Likewise.
25491         * sysdeps/hppa/Makefile [$(subdir) = elf]
25492         (sysdep_routines, sysdep-rtld-routines): Don't add
25493         $(sysdep-dl-routines) to these.
25494         * sysdeps/ia64/Makefile: Likewise.
25495         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
25496         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
25497         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
25498         Don't add dl-static to these; sysdep-dl-routines alone is enough.
25499         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
25500         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
25501         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
25502         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
25503         * sysdeps/powerpc/Makefile [$(subdir) = elf]
25504         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
25505         these; sysdep-dl-routines alone is enough.
25507 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
25509         [BZ #17932]
25510         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
25511         where multiplication results in zero and third argument is finite
25512         and nonzero.
25513         * math/auto-libm-test-in: Add more tests of fma.
25514         * math/auto-libm-test-out: Regenerated.
25516         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
25517         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
25518         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
25519         (_FP_CMP_EQ): Likewise.
25520         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
25522         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
25523         extra argument CHECK_NAN.  Redefine as wrapper around
25524         _FP_EXTEND_CNAN.
25526 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
25528         * version.h (RELEASE): Set to "stable".
25529         (VERSION): Set to "2.21"
25530         * include/features.h (__GLIBC_MINOR__): Set to 21.
25532         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
25534 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
25535             Paul Eggert  <eggert@cs.ucla.edu>
25537         [BZ #16618]
25538         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
25539         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
25540         size in bytes. Store needed elements in wpmax. Use needed size
25541         in bytes for extend_alloca.
25543 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
25545         * manual/install.texi: Latest tested versions are GCC 4.9.2,
25546         binutls 2.25, and texinfo 5.2.
25547         * INSTALL: Regenerate.
25548         * sysdeps/nios2/configure: Regenerate.
25549         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
25550         * manual/contrib.texi: Update.
25551         * po/be.po: Update.
25552         * po/bg.po: Update.
25553         * po/ca.po: Update.
25554         * po/cs.po: Update.
25555         * po/da.po: Update.
25556         * po/de.po: Update.
25557         * po/el.po: Update.
25558         * po/eo.po: Update.
25559         * po/es.po: Update.
25560         * po/fi.po: Update.
25561         * po/fr.po: Update.
25562         * po/gl.po: Update.
25563         * po/hr.po: Update.
25564         * po/hu.po: Update.
25565         * po/ia.po: Update.
25566         * po/id.po: Update.
25567         * po/it.po: Update.
25568         * po/ja.po: Update.
25569         * po/ko.po: Update.
25570         * po/lt.po: Update.
25571         * po/nb.po: Update.
25572         * po/nl.po: Update.
25573         * po/pl.po: Update.
25574         * po/pt_BR.po: Update.
25575         * po/ru.po: Update.
25576         * po/rw.po: Update.
25577         * po/sk.po: Update.
25578         * po/sl.po: Update.
25579         * po/sv.po: Update.
25580         * po/tr.po: Update.
25581         * po/uk.po: Update.
25582         * po/vi.po: Update.
25583         * po/zh_CN.po: Update.
25584         * po/zh_TW.po: Update.
25586         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
25587         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
25588         * sysdeps/hppa/dl-irel.h: Remove #warning.
25589         * sysdeps/hppa/entry.h: Provide prototype for
25590         __canonicalize_funcptr_for_compare and cast argument.
25591         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
25592         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
25593         * sysdeps/hppa/sotruss-lib.c: New file.
25594         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
25595         (atomic_compare_and_exchange_val_acq): Use __typeof__.
25596         (atomic_compare_and_exchange_bool_acq): Likewise.
25597         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
25598         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
25600         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
25601         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
25602         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
25604 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
25606         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
25607         called function in non-PIC case.
25609 2015-01-31  David S. Miller  <davem@davemloft.net>
25611         * sysdeps/sparc/sparc32/bits/atomic.h
25612         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
25613         unlock not after it.
25614         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
25615         volatile register usage warnings from the compiler.
25617         * sysdeps/sparc/nptl/sem_init.c: Delete.
25618         * sysdeps/sparc/nptl/sem_post.c: Delete.
25619         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
25620         * sysdeps/sparc/nptl/sem_wait.c: Delete.
25621         * sysdeps/sparc/sparc32/sem_init.c: New file.
25622         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
25623         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
25624         padding explicitly initialized.
25625         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
25626         padding for in-semaphore spinlock.
25627         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
25628         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
25629         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
25630         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
25631         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
25632         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
25633         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
25634         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
25635         version.
25636         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
25637         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
25639 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
25641         [BZ #17801]
25642         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25643         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
25644         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
25645         New.
25646         (index_AVX_Fast_Unaligned_Load): Likewise.
25647         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
25648         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
25649         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
25650         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
25651         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
25652         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
25653         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
25654         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
25655         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
25657 2015-01-29  Andreas Schwab  <schwab@suse.de>
25659         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
25661 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
25663         [BZ #17892]
25664         * nscd/nscd_stat.c (send_stats): Initialize DATA.
25666 2015-01-28  Martin Sebor  <msebor@redhat.com>
25668         * math/README.libm-test: Clarify. Add "How to read the test output."
25670 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
25672         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
25673         Define to 0.
25675 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
25677         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
25678         (__HAVE_64B_ATOMICS): Define to 0.
25680 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
25682         [BZ #17885]
25683         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
25684         value to set as new flag.
25686         [BZ #16576]
25687         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
25688         and use _ARCH_PPCSQ instead.
25689         (__ieee754_sqrt): Likewise.
25690         (__ieee754_sqrtf): Likewise.
25691         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
25692         _ARCH_PPCSQ is defined.
25693         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
25694         fsqrt instruction.
25695         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
25696         _ARCH_PPCSQ is defined.
25697         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
25698         fsqrts instruction.
25699         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
25701 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25703         * iconv/loop.c: Suppress array out of bound warning caused by GCC
25704         bug (GCC BZ #64739).
25706 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
25708         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
25709         Mark _retval as used.
25710         (lll_futex_wake_unlock): Likewise.
25711         (lll_futex_timed_wait_requeue_pi): Likewise.
25713         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
25714         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
25715         register variables.
25717         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
25718         libm_hidden_def.
25720         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
25721         (__bswap_64): Mark as __always_inline.
25723 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
25725         [BZ #15378]
25726         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
25727         when none of the search directories exist.
25729 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
25731         [BZ #17869]
25732         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
25733         power8 in .machine directive.
25735         [BZ #17868]
25736         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
25737         set dependency from opd value.
25739 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
25741         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25742         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
25743         architecture.
25745 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
25747         [BZ #17870]
25748         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
25749         with uint64_t.
25750         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
25751         (uint64_t) 1.
25752         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
25753         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
25754         Replace 1UL with (uint64_t) 1.
25755         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
25756         int with uint64_t.
25758 2015-01-23  Roland McGrath  <roland@hack.frob.com>
25760         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
25761         (if_freenameindex): Likewise.
25763         * resource/getrlimit64.c: Add missing libc_hidden_def.
25765 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
25767         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
25768         __label__.
25769         (_FP_FMA): Likewise.
25770         (_FP_TO_INT_ROUND): Likewise.
25771         (_FP_FROM_INT): Likewise.
25773 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25775         [BZ #16418]
25776         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
25777         Make code racy and cancel safe.
25779 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
25781         * sysdeps/arm/unwind-resume.h: Fix copyright year.
25782         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
25783         attribution.
25785         * pwd/tst-getpw.c: Rewrite.
25787         [BZ #17702]
25788         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
25789         (modules-names): Add moddummy1 and moddummy2.
25790         ($(objpfx)tst-rec-dlopen): Define.
25791         * dlfcn/moddummy1.c: New file.
25792         * dlfcn/moddummy2.c: New file.
25793         * dlfcn/tst-rec-dlopen.c: New file.
25794         * elf/dl-cache.c (_dl_load_cache_lookup):
25795         Return char*. Copy result with alloca/strcpy/strdup.
25796         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
25797         returns char*. Free cached. If not saving realname
25798         free cached.
25799         * elf/dl-open.c (dl_open_worker): Do not assert that
25800         _r_debug->r_state is RT_CONSISTENT.
25801         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
25802         returns char*.
25804 2015-01-21  Torvald Riegel  <triegel@redhat.com>
25805             Carlos O'Donell  <carlos@redhat.com>
25807         [BZ #12674]
25808         * nptl/sem_waitcommon.c: New file.
25809         * nptl/sem_wait.c: Include sem_waitcommon.c.
25810         (__sem_wait_cleanup, do_futex_wait): Remove.
25811         (__new_sem_wait): Adapt.
25812         (__new_sem_trywait): New function.
25813         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
25814         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
25815         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
25816         (sem_timedwait): Adapt.
25817         * nptl/sem_post.c (__new_sem_post): Adapt.
25818         (futex_wake): New function.
25819         (__old_sem_post): Add release MO fence.
25820         * nptl/sem_open.c (sem_open): Adapt.
25821         * nptl/sem_init.c (__new_sem_init): Adapt.
25822         (futex_private_if_supported): New function.
25823         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
25824         (__old_sem_getvalue): Add using previous code.
25825         * sysdeps/nptl/internaltypes.h: Adapt.
25826         * nptl/tst-sem13.c (do_test): Adapt.
25827         * nptl/tst-sem11.c (main): Adapt.
25828         * nptl/sem_trywait.c: Remove.
25829         * nptl/DESIGN-sem.txt: Remove.
25830         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
25831         (gen-as-const-headers): Remove structsem.sym.
25832         * nptl/structsem.sym: Remove.
25833         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
25834         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
25835         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
25836         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
25837         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
25838         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
25839         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
25840         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
25841         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
25842         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
25843         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
25844         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
25845         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
25846         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
25847         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
25848         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
25849         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
25850         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
25851         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
25852         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
25853         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
25854         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
25856 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
25858         * INSTALL: Regenerated.
25860         * po/libc.pot: Regenerated.
25862 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
25863             Sandra Loosemore  <sandra@codesourcery.com>
25864             Andrew Jenner  <andrew@codesourcery.com>
25865             Joseph Myers  <joseph@codesourcery.com>
25866             Nathan Sidwell  <nathan@codesourcery.com>
25868         * NEWS: Mention new Nios II port.
25869         * sysdeps/nios2/Implies: New file.
25870         * sysdeps/nios2/Makefile: New file.
25871         * sysdeps/nios2/Subdirs: New file.
25872         * sysdeps/nios2/Versions: New file.
25873         * sysdeps/nios2/__longjmp.S: New file.
25874         * sysdeps/nios2/abort-instr.h: New file.
25875         * sysdeps/nios2/backtrace.c: New file.
25876         * sysdeps/nios2/bits/endian.h: New file.
25877         * sysdeps/nios2/bits/fenv.h: New file.
25878         * sysdeps/nios2/bits/link.h: New file.
25879         * sysdeps/nios2/bits/setjmp.h: New file.
25880         * sysdeps/nios2/bsd-_setjmp.S: New file.
25881         * sysdeps/nios2/bsd-setjmp.S: New file.
25882         * sysdeps/nios2/configure: New generated file.
25883         * sysdeps/nios2/configure.ac: New file.
25884         * sysdeps/nios2/crti.S: New file.
25885         * sysdeps/nios2/crtn.S: New file.
25886         * sysdeps/nios2/dl-init.c: New file.
25887         * sysdeps/nios2/dl-machine.h: New file.
25888         * sysdeps/nios2/dl-sysdep.h: New file.
25889         * sysdeps/nios2/dl-tls.h: New file.
25890         * sysdeps/nios2/dl-trampoline.S: New file.
25891         * sysdeps/nios2/gccframe.h: New file.
25892         * sysdeps/nios2/gmp-mparam.h: New file.
25893         * sysdeps/nios2/jmpbuf-offsets.h: New file.
25894         * sysdeps/nios2/jmpbuf-unwind.h: New file.
25895         * sysdeps/nios2/ldsodefs.h: New file.
25896         * sysdeps/nios2/libc-tls.c: New file.
25897         * sysdeps/nios2/libm-test-ulps: New file.
25898         * sysdeps/nios2/machine-gmon.h: New file.
25899         * sysdeps/nios2/math-tests.h: New file.
25900         * sysdeps/nios2/math_private.h: New file.
25901         * sysdeps/nios2/memusage.h: New file.
25902         * sysdeps/nios2/nptl/Makefile: New file.
25903         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
25904         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
25905         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
25906         * sysdeps/nios2/nptl/pthreaddef.h: New file.
25907         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
25908         * sysdeps/nios2/nptl/tls.h: New file.
25909         * sysdeps/nios2/preconfigure: New file.
25910         * sysdeps/nios2/s_fma.c: New file.
25911         * sysdeps/nios2/s_fmaf.c: New file.
25912         * sysdeps/nios2/setjmp.S: New file.
25913         * sysdeps/nios2/sfp-machine.h: New file.
25914         * sysdeps/nios2/sotruss-lib.c: New file.
25915         * sysdeps/nios2/stackguard-macros.h: New file.
25916         * sysdeps/nios2/stackinfo.h: New file.
25917         * sysdeps/nios2/start.S: New file.
25918         * sysdeps/nios2/sysdep.h: New file.
25919         * sysdeps/nios2/tls-macros.h: New file.
25920         * sysdeps/nios2/tst-audit.h: New file.
25921         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
25922         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
25923         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
25924         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
25925         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
25926         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
25927         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
25928         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
25929         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
25930         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
25931         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
25932         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
25933         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
25934         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
25935         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
25936         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
25937         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
25938         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
25939         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
25940         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
25941         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
25942         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
25943         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
25944         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
25945         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
25946         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
25947         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
25948         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
25949         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
25950         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
25951         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
25952         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
25953         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
25954         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
25955         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
25956         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
25957         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
25958         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
25959         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
25960         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
25961         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
25962         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
25963         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
25964         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
25966 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
25968         [BZ #17844]
25969         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
25970         (getutent): Use weak_alias in non SHARED case
25971         and default_symbol_version in SHARED case.
25972         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
25973         (getutent_r, pututline): Likewise.
25974         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
25975         (getutid): Likewise.
25976         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
25977         (getutid_r): Likewise.
25978         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
25979         (getutline): Likewise.
25980         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
25981         (getutline_r): Likewise.
25982         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
25983         (updwtmp): Likewise.
25985 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
25987         [BZ #17848]
25988         * sysdeps/s390/s390-32/memcmp.S
25989         (memcmp_g5): Rename to __memcmp_g5.
25990         * sysdeps/s390/s390-32/memcpy.S
25991         (memcpy_g5): Rename to __memcpy_g5.
25992         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25993         (memcpy_mvcle) Rename to __memcpy_mvcle.
25994         * sysdeps/s390/s390-32/memset.S
25995         (memset_g5): Rename to __memset_g5.
25996         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
25997         (IFUNC_RESOLVE): Prefix ifunc-resolve function
25998         and use prefixed functions.
25999         * sysdeps/s390/s390-32/multiarch/memcmp.S
26000         (memcmp_z196): Rename to __memcmp_z196.
26001         (memcmp_z10): Rename to __memcmp_z10.
26002         (memcmp): Set alias to __memcmp_g5.
26003         (bcmp): Set alias to __memcmp_g5.
26004         * sysdeps/s390/s390-32/multiarch/memcpy.S
26005         (memcpy_z196): Rename to __memcpy_z196.
26006         Jump to __memcpy_mvcle instead of memcpy_mvcle.
26007         (memcpy_z10): Rename to __memcpy_z10.
26008         Jump to __memcpy_mvcle instead of memcpy_mvcle.
26009         (memcpy): Set alias to __memcpy_g5.
26010         * sysdeps/s390/s390-32/multiarch/memset.S
26011         (memset_z196): Rename to __memset_z196.
26012         Jump to __memset_mvcle instead of memset_mvcle.
26013         (memset_z10): Rename to __memset_z10.
26014         Jump to __memset_mvcle instead of memset_mvcle.
26015         (memset_mvcle) Rename to __memset_mvcle.
26016         (memset): Set alias to __memset_g5.
26017         * sysdeps/s390/s390-64/memcmp.S
26018         (memcmp_z900): Rename to __memcmp_z900.
26019         * sysdeps/s390/s390-64/memcpy.S
26020         (memcpy_z900): Rename to __memcpy_z900.
26021         Jump to __memcpy_mvcle instead of memcpy_mvcle.
26022         (memcpy_mvcle) Rename to __memcpy_mvcle.
26023         * sysdeps/s390/s390-64/memset.S
26024         (memset_z900): Rename to __memset_z900.
26025         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
26026         (IFUNC_RESOLVE): Prefix ifunc-resolve function
26027         and use prefixed functions.
26028         * sysdeps/s390/s390-64/multiarch/memcmp.S
26029         (memcmp_z196): Rename to __memcmp_z196.
26030         (memcmp_z10): Rename to __memcmp_z10.
26031         (memcmp): Set alias to __memcmp_z900.
26032         (bcmp): Set alias to __memcmp_z900.
26033         * sysdeps/s390/s390-64/multiarch/memcpy.S
26034         (memcpy_z196): Rename to __memcpy_z196.
26035         Jump to __memcpy_mvcle instead of memcpy_mvcle.
26036         (memcpy_z10): Rename to __memcpy_z10.
26037         Jump to __memcpy_mvcle instead of memcpy_mvcle.
26038         (memcpy): Set alias to __memcpy_z900.
26039         * sysdeps/s390/s390-64/multiarch/memset.S
26040         (memset_z196): Rename to __memset_z196.
26041         Jump to __memset_mvcle instead of memset_mvcle.
26042         (memset_z10): Rename to __memset_z10.
26043         Jump to __memset_mvcle instead of memset_mvcle.
26044         (memset_mvcle) Rename to __memset_mvcle.
26045         (memset): Set alias to __memset_z900.
26047 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
26049         [BZ #17748]
26050         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
26051         __fesetenv instead of fesetenv.
26053 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26055         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
26056         macro.
26058 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26060         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
26061         regression on LE.
26063         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
26064         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
26065         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
26066         strncmp-power8 object.
26067         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26068         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
26069         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
26070         * NEWS: Update.
26072 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26073             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26075         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
26076         trailing byte check.
26078 2015-01-13  David S. Miller  <davem@davemloft.net>
26080         * include/signal.h (__sigreturn): Guard with __USE_MISC.
26082 2015-01-13  Roland McGrath  <roland@hack.frob.com>
26084         * login/logout.c (logout): Use memset rather than bzero.
26085         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
26086         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
26087         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
26088         (_gethtbyaddr): Likewise.
26089         * locale/programs/simple-hash.c (bcopy): Macro removed.
26091 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26093         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26094         Add strcmp-power8 object.
26095         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26096         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
26097         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
26098         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
26099         __strcmp_power8 implementation.
26100         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
26101         * NEWS: Update.
26103         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26104         Add strncpy-power8 and stpncpy-power8 objects.
26105         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26106         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
26107         implementations.
26108         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
26109         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
26110         __stpncpy_power8 implementation.
26111         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
26112         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
26113         __strncpy_power8 implementation.
26114         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
26115         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
26116         * NEWS: Update.
26118         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
26119         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
26120         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
26122         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
26123         strncat-power8 object.
26124         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
26125         __strcat_power8 implementation.
26126         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26127         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
26128         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
26129         optimized strcat for power8.
26131         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
26132         strcpy-power8 and stpcpy-power8 objects.
26133         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26134         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
26135         implementations.
26136         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
26137         multiarch stpcpy implementation for POWER8.
26138         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
26139         multiarch strcpy implementation for POWER8.
26140         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
26141         __strcpy_power8 function.
26142         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
26143         stpcpy for POWER8.
26144         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
26145         strcpy for POWER8.
26146         * NEWS: Update.
26148 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
26150         [BZ #16009]
26151         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
26152         weights and rules. Use do_xfrm_cached if data fits in cache,
26153         do_xfrm otherwise.  Moved former main loop to...
26154         * (do_xfrm_cached): New function.
26155         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
26156         find_idx, find_position and stack_push.
26157         * (find_idx): New function.
26158         * (find_position): Likewise.
26159         * localedata/sort-test.sh: Added test run for do_xfrm.
26160         * localedata/xfrm-test.c (main): Added command line option
26161         -nocache to run the test with strings that are too large for
26162         the STRXFRM cache.
26164 2015-01-13  Torvald Riegel  <triegel@redhat.com>
26166         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
26167         variable to lll_futex_wake call, not the value itself.
26169 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
26171         [BZ #17803]
26172         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
26173         twom64.  Adjust value to 0x1p-64L.
26174         (__scalblnl): Only return standard underflowing result for K <=
26175         -64 not K <= -63; adjust exponent for underflowing result by 64
26176         not 63.
26177         * math/libm-test.inc (scalbn_test_data): Add more tests.
26178         (scalbln_test_data): Likewise.
26180         [BZ #17834]
26181         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
26182         0x1p63L.
26183         (__scalblnl): Get new exponent of adjusted subnormal value from ES
26184         not HX.
26185         * math/libm-test.inc (scalbn_test_data): Add more tests.
26186         (scalbln_test_data): Likewise.
26188 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26189             Stefani Seibold  <stefani@seibold.net>
26191         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
26192         (sysdep_routines): Add dl-vdso here, ...
26193         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
26194         (sysdep_routines): ... not here.
26195         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
26196         fallback when vDSO is not presented.
26197         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
26198         Define with libc_hidden_proto/libc_hidden_data_def definitions.
26199         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
26200         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
26201         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
26202         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
26203         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
26204         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
26205         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
26206         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
26207         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
26208         fallback configurable symbol when vDSO is not available.
26209         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
26210         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
26211         be able to redefine fallback symbol when vDSO is not available.
26212         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
26213         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
26215 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26217         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
26218         (TLS_INIT_TP): Add tm_capable initialization.
26219         (TLS_DEFINE_INIT_TP): Likewise.
26220         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
26221         TCB.
26222         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
26223         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
26224         calculation.
26225         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
26226         transactoion is lock elision is built and TCB tm_capable is set.
26227         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
26228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26229         (INTERNAL_SYSCALL_NCS): Likewise.
26230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26231         (INTERNAL_SYSCALL_NCS): Likewise.
26232         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
26234         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
26235         for powerpc.
26236         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
26237         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
26238         and remove it for 32 bits case.
26239         [pthread_rwlock_t] (__rwelision): New field for lock elision.
26240         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
26241         initialization.
26242         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
26243         Disable lock elision with rdlocks if elision is not available.
26245         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
26246         (sysdep_routines): Add lock elision objects.
26247         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
26248         [pthread_mutex_t] (__spins): Rework to add lock elision field.
26249         [pthread_mutex_t] (__elision): Add field.
26250         [__PTHREAD_SPINS]: Adjust to init lock elision field.
26251         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
26252         elision definitions for powerpc.
26253         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
26254         implementation of lock elision for powerpc.
26255         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
26256         implementation of timed lock elision for powerpc.
26257         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
26258         implementation of trylock with lock elision for powerpc.
26259         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
26260         implementaion of unlock for lock elision for powerpc.
26261         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
26262         automatic enable lock elision for mutexes.
26263         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
26264         transaction execution definitions for powerpc.
26265         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
26266         definitions.
26267         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
26268         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
26269         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
26270         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
26271         * NEWS: Update.
26273 2015-01-09  Roland McGrath  <roland@hack.frob.com>
26275         * sysdeps/posix/shm-directory.c: Use <> rather than ""
26276         for #include of <shm-directory.h>.
26278 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
26280         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
26281         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
26283 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
26285         [BZ #17791]
26286         * NEWS: Mention bug fix.
26287         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
26288         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
26289         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
26291 2015-01-09  Torvald Riegel <triegel@redhat.com>
26293         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
26295 2015-01-09  Torvald Riegel <triegel@redhat.com>
26297         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
26299 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
26301         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
26302         pointer and cast to uintptr_t.
26304 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
26306         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
26307         removed.
26308         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
26310 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
26312         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
26313         of 0.
26315 2015-01-08  Roland McGrath  <roland@hack.frob.com>
26317         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
26318         <nptl/pthreadP.h> instead.
26319         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
26321         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
26322         already defined.
26323         [__SIGRTMIN] (init): Function removed.
26324         [__SIGRTMIN] (initialized): Variable removed.
26325         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
26326         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
26327         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
26328         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
26329         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
26330         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
26331         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
26332         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
26333         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
26334         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
26335         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
26336         * sysdeps/nptl/allocrtsig.c: New file.
26337         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
26338         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
26339         * sysdeps/generic/testrtsig.h: File removed.
26341         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
26342         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
26344         * nptl/nptl-init.c (pthread_functions): Conditionalize
26345         .ptr__nptl_setxid initialization on [SIGSETXID].
26347         * sysdeps/nptl/sys/procfs.h: New file.
26348         * nptl_db/Makefile (headers): Add it.
26349         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
26351         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
26352         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
26353         * nptl/pthread_attr_setaffinity.c: Include it.
26354         * nptl/pthread_setattr_default_np.c: Likewise.
26355         * nptl/check-cpuset.h: New file.
26357 2015-01-08  Richard Henderson  <rth@redhat.com>
26359         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
26360         (CFLAGS-tst-execstack-prog.c): Likewise.
26361         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
26363 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
26364             Sandra Loosemore  <sandra@codesourcery.com>
26365             Andrew Jenner  <andrew@codesourcery.com>
26366             Joseph Myers  <joseph@codesourcery.com>
26367             Nathan Sidwell  <nathan@codesourcery.com>
26369         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
26370         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
26371         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
26372         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
26373         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
26374         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
26375         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
26376         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
26377         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
26378         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
26379         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
26380         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
26381         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
26382         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
26383         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
26384         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
26385         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
26387 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26389         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
26390         timespec struct member in syscall macro.
26391         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
26392         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
26393         first timeval struct member in syscall macro.
26394         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
26396 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
26398         [BZ #17748]
26399         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
26400         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
26401         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
26402         __feupdateenv and define as weak alias of __feupdateenv.  Use
26403         libm_hidden_weak.
26404         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
26405         libm_hidden_def.
26406         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
26407         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
26408         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
26409         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
26410         libm_hidden_def.
26411         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
26412         __feupdateenv and define as weak alias of __feupdateenv.  Use
26413         libm_hidden_weak.
26414         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
26415         libm_hidden_def.
26416         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
26417         __feupdateenv and define as weak alias of __feupdateenv.  Use
26418         libm_hidden_weak.
26419         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
26420         libm_hidden_def.
26421         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
26422         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
26423         (__feupdateenv): Likewise.
26424         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
26425         __feupdateenv and define as weak alias of __feupdateenv.  Use
26426         libm_hidden_weak.
26427         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26428         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
26429         libm_hidden_def.
26430         * sysdeps/tile/math_private.h (__feupdateenv): New inline
26431         function.
26432         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
26433         libm_hidden_def.
26434         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
26435         __feupdateenv instead of feupdateenv.
26436         (default_libc_feupdateenv_test): Likewise.
26437         (libc_feresetround_ctx): Likewise.
26439 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26441         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
26442         prototype.
26444 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
26446         * posix/regcomp.c (parse_bracket_exp): Initialize type to
26447         COLL_SYM in a couple of places to avoid uninitialized variable
26448         wanings on tilegx gcc 4.8.2.
26450 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
26452         * sysdeps/aarch64/strcpy.S: New file.
26453         * sysdeps/aarch64/stpcpy.S: New file.
26454         * NEWS: Updated.
26456 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
26458         * sysdeps/aarch64/strrchr.S: New file.
26459         * NEWS: Updated.
26461 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
26463         [BZ #17658]
26464         * stdlib/setenv.c: Fix memory leak when setting large,
26465         duplicate string.
26467 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
26469         [BZ #17273]
26470         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
26471         and tabs from buffer before parsing fstab entry.
26472         * misc/tst-mntent.c (main): Add test for mount entry with
26473         trailing spaces and tabs.
26475 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
26477         [BZ #17748]
26478         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
26479         * math/fesetround.c (fesetround): Rename to __fesetround and
26480         define as weak alias of __fesetround.  Use libm_hidden_weak.
26481         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
26482         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
26483         * sysdeps/arm/fesetround.c (fesetround): Likewise.
26484         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
26485         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
26486         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
26487         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
26488         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
26489         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
26490         __fesetround_inline.
26491         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
26492         __fesetround_inline instead of __fesetround.
26493         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
26494         __fesetround and define as weak alias of __fesetround.  Use
26495         libm_hidden_weak.  Call __fesetround_inline instead of
26496         __fesetround.
26497         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
26498         __fesetround and define as weak alias of __fesetround.  Use
26499         libm_hidden_weak.
26500         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
26501         Likewise.
26502         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
26503         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26504         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
26505         * sysdeps/tile/math_private.h (__fesetround): New inline function.
26506         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
26507         __fesetround and define as weak alias of __fesetround.  Use
26508         libm_hidden_weak.
26509         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
26510         __fesetround instead of fesetround.
26511         (default_libc_feholdexcept_setround): Likewise.
26512         (libc_feholdsetround_ctx): Likewise.
26513         (libc_feholdsetround_noex_ctx): Likewise.
26515         [BZ #17748]
26516         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
26517         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
26518         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
26519         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
26520         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
26521         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
26522         define as weak alias of __fesetenv.  Use libm_hidden_weak.
26523         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
26524         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
26525         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
26526         define as weak alias of __fesetenv.  Use libm_hidden_weak.
26527         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
26528         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
26529         define as weak alias of __fesetenv.  Use libm_hidden_weak.
26530         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
26531         libm_hidden_def.
26532         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
26533         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
26534         Likewise.
26535         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
26536         define as weak alias of __fesetenv.  Use libm_hidden_weak.
26537         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
26538         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
26539         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
26540         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
26541         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
26542         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
26543         __fesetenv instead of fesetenv.
26544         (libc_feresetround_noex_ctx): Likewise.
26545         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
26546         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
26547         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
26548         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
26549         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
26550         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
26551         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
26552         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
26553         (__feupdateenv): Likewise.
26554         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26555         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26556         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
26557         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
26559 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
26561         [BZ #17806]
26562         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
26563         addresses have been freed.
26565 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
26567         * resolv/res_init.c (__res_vinit): Improve comments about nserv
26568         and nservall.
26570 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
26572         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
26573         Clean up check_pf allocation pattern. addresses
26575 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26577         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
26578         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
26579         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
26580         * nptl/pthread_exit.c (__pthread_exit): Likewise.
26581         * nptl/pthread_join.c (pthread_join): Likewise.
26582         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
26583         * sysdeps/posix/waitid.c (__waitid): Likewise.
26584         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
26585         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
26586         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
26587         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
26588         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
26589         Likewise.
26590         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
26591         (__libc_pread64): Likewise.
26592         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
26593         (__libc_pwrite): Likewise.
26594         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
26595         (__libc_pwrite64): Likewsie.
26596         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
26597         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
26598         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
26599         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
26600         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
26601         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
26602         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
26603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
26604         Likewise.
26605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
26606         (__libc_pread64): Likewise.
26607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
26608         Likewise.
26609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
26610         (__libc_pwrite64): Likewise.
26611         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
26612         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
26613         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
26614         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
26615         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
26616         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
26617         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
26618         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
26619         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
26620         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
26621         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
26622         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
26623         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
26624         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
26625         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
26626         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
26627         Likewise.
26629 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
26631         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
26632         (CFLAGS-test-double.c): Likewise.
26633         (CFLAGS-test-ldouble.c): Likewise.
26634         (CPPFLAGS-test-ifloat.c): Likewise.
26635         (CPPFLAGS-test-idouble.c): Likewise.
26636         (CPPFLAGS-test-ildoubl.c): Likewise.
26637         (CFLAGS-test-test-fenv.c): Remove variable.
26638         (CFLAGS-test-misc.c): Likewise.
26640 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
26642         [BZ #17797]
26643         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
26644         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
26645         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
26646         CLOCKS_PER_SEC == 1000000.
26647         * time/clocktest.c (main): Replace %ld with %jd and cast to
26648         intmax_t.
26650 2015-01-05  Roland McGrath  <roland@hack.frob.com>
26652         * sysdeps/generic/unwind-resume.h: New file.
26653         * sysdeps/gnu/unwind-resume.c: Include it.
26654         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
26655         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
26656         argument list.
26657         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
26658         global rather than static.
26659         (_Unwind_Resume): Update user.
26660         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
26661         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
26662         rather than static.  Add __attribute__ ((cold)).
26663         (_Unwind_Resume, __gcc_personality_v0): Update callers.
26664         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
26665         * sysdeps/arm/arm-unwind-resume.S: New file.
26666         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
26667         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
26668         * sysdeps/arm/Makefile [$(subdir) = csu]
26669         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
26670         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
26671         Add rt-arm-unwind-resume.
26672         [$(subdir) = nptl]
26673         (libpthread-sysdep_routines, libpthread-shared-only-routines):
26674         Add pt-arm-unwind-resume.
26675         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
26676         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
26678 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
26680         [BZ #17748]
26681         * include/fenv.h (__feholdexcept): Declare.  Use
26682         libm_hidden_proto.
26683         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
26684         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
26685         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26686         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
26687         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
26688         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
26689         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
26690         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26691         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
26692         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
26693         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
26694         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
26695         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
26696         (feholdexcept): Likewise.
26697         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26698         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
26699         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
26700         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26701         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
26702         __feholdexcept instead of feholdexcept.
26703         (default_libc_feholdexcept_setround): Likewise.
26705 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
26707         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
26708         to avoid using stl/str to align destination.
26710 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
26712         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
26714 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
26716         [BZ #17796]
26717         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
26718         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
26719         Define as weak alias not strong alias.
26721 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
26723         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
26724         bltzal with addiupc.
26725         (RTLD_START): Ditto.
26727 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
26729         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
26730         for __vdso_* functions in declarations.
26731         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
26732         definitions.
26733         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
26734         INTERNAL_VSYSCALL): Use struct return types to check for error.
26736         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
26737         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
26738         function with cast from llround().
26739         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
26740         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
26741         Define.
26743 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
26745         [BZ #17793]
26746         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
26747         Define as weak alias not strong alias.
26749         [BZ #17635]
26750         * ctype/ctype-c99.c: New file.  isblank implementation moved from
26751         ...
26752         * ctype/ctype-extn.c: ... here.
26753         (__isblank_l): Move to ...
26754         * ctype/ctype-c99_l.c: ... here.  New file.
26755         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
26756         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
26757         Remove variable.
26758         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
26759         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
26760         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
26761         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
26762         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
26764         [BZ #17777]
26765         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
26766         (posix_fadvise64): Define as weak alias not strong alias.
26767         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
26768         (posix_fallocate64): Likewise.
26769         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
26770         Remove variable.
26771         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
26772         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
26773         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
26774         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
26775         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
26777 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
26779         [BZ #16191]
26780         * NEWS: Mention bug fix.
26781         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
26782         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
26783         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
26784         (HOST_STACK_END_ADDR): Likewise.
26786 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
26788         [BZ #17748]
26789         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
26790         * math/fegetround.c (fegetround): Rename to __fegetround and
26791         define as weak alias of __fegetround.  Use libm_hidden_weak.
26792         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
26793         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
26794         * sysdeps/arm/fegetround.c (fegetround): Likewise.
26795         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
26796         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
26797         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
26798         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
26799         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
26800         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
26801         Undefine after rather than before function definition; use
26802         parentheses around function name in definition.
26803         (__fegetround): Also undefine macro after function definition.
26804         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
26805         __fegetround and define as weak alias of __fegetround.  Use
26806         libm_hidden_weak.  Do not undefine as macro.
26807         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
26808         Likewise.
26809         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
26810         __fegetround and define as weak alias of __fegetround.  Use
26811         libm_hidden_weak.
26812         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26813         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
26814         * sysdeps/tile/math_private.h (__fegetround): New inline function.
26815         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
26816         __fegetround and define as weak alias of __fegetround.  Use
26817         libm_hidden_weak.
26818         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
26819         __fegetround instead of fegetround.
26821         [BZ #17782]
26822         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
26823         Condition macro definition on [__USE_MISC].
26825         [BZ #17781]
26826         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
26827         (struct sigaction): Change type of sa_flags field to int.
26829         [BZ #17780]
26830         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
26831         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
26832         __glibc_reserved0.
26834         * nptl/version.c (banner): Use single year in copyright notice.
26836         * NEWS: Update copyright dates.
26837         * catgets/gencat.c (print_version): Likewise.
26838         * csu/version.c (banner): Likewise.
26839         * debug/catchsegv.sh: Likewise.
26840         * debug/pcprofiledump.c (print_version): Likewise.
26841         * debug/xtrace.sh (do_version): Likewise.
26842         * elf/ldconfig.c (print_version): Likewise.
26843         * elf/ldd.bash.in: Likewise.
26844         * elf/pldd.c (print_version): Likewise.
26845         * elf/sotruss.sh: Likewise.
26846         * elf/sprof.c (print_version): Likewise.
26847         * iconv/iconv_prog.c (print_version): Likewise.
26848         * iconv/iconvconfig.c (print_version): Likewise.
26849         * locale/programs/locale.c (print_version): Likewise.
26850         * locale/programs/localedef.c (print_version): Likewise.
26851         * login/programs/pt_chown.c (print_version): Likewise.
26852         * malloc/memusage.sh (do_version): Likewise.
26853         * malloc/memusagestat.c (print_version): Likewise.
26854         * malloc/mtrace.pl: Likewise.
26855         * manual/libc.texinfo: Likewise.
26856         * nptl/version.c (banner): Likewise.
26857         * nscd/nscd.c (print_version): Likewise.
26858         * nss/getent.c (print_version): Likewise.
26859         * nss/makedb.c (print_version): Likewise.
26860         * posix/getconf.c (main): Likewise.
26861         * scripts/test-installation.pl: Likewise.
26862         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
26864 2015-01-02  Will Newton  <will.newton@linaro.org>
26866         * sysdeps/arm/armv7/configure: Removed.
26867         * sysdeps/arm/armv7/configure.ac: Likewise.
26869 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
26871         * All files with FSF copyright notices: Update copyright dates
26872         using scripts/update-copyrights.
26873         * intl/plural.c: Regenerated.
26874         * locale/programs/charmap-kw.h: Likewise.
26875         * locale/programs/locfile-kw.h: Likewise.
26877 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26879         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
26881 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
26883         [BZ #17748]
26884         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
26885         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
26886         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
26887         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
26888         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
26889         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
26890         define as weak alias of __fegetenv.  Use libm_hidden_weak.
26891         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
26892         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
26893         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
26894         define as weak alias of __fegetenv.  Use libm_hidden_weak.
26895         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
26896         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
26897         define as weak alias of __fegetenv.  Use libm_hidden_weak.
26898         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
26899         libm_hidden_def.
26900         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
26901         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
26902         Likewise.
26903         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
26904         define as weak alias of __fegetenv.  Use libm_hidden_weak.
26905         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
26906         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
26907         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
26908         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
26909         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
26910         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
26911         __fegetenv instead of fegetenv.
26912         (libc_feholdsetround_noex_ctx): Likewise.
26914 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
26916         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
26917         (Elf_MIPS_ABIFlags_v0): New structure.
26918         (EF_MIPS_FP64): Define.
26919         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
26920         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
26921         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
26922         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
26923         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
26924         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
26925         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
26926         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
26927         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
26928         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
26929         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
26930         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
26931         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
26932         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
26933         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
26934         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
26935         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
26936         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
26937         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
26938         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
26939         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
26940         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
26941         field.
26942         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
26943         EF_MIPS_FP64.
26944         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
26945         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
26946         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
26947         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
26948         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
26949         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
26950         * sysdeps/mips/tst-abi-interlink.c: Likewise.
26951         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
26952         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
26953         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
26954         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
26955         record the current FP ABI extension.
26956         (mips-mode-switch): Define to show if kernel headers support mode
26957         switching.
26958         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
26959         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
26960         supported SYSV ABI version to 3.
26961         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
26962         feature.
26964 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26965             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26967         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
26968         path.
26969         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
26971 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
26973         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
26974         __fegetround and redefine to call __fegetround.  Remove condition
26975         on [!__NO_MATH_INLINES].
26976         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
26977         function.
26978         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
26979         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
26980         Remove macro.
26981         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
26982         instead of <fenv_libc.h>.
26983         (__llrintl): Call fegetround instead of __fegetround.
26984         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
26985         instead of <fenv_libc.h>.
26986         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
26987         (__lrintl): Call fegetround instead of __fegetround.
26988         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
26989         instead of <fenv_libc.h>.
26990         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
26991         (__rintl): Call fegetround instead of __fegetround.
26993 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26995         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
26996         arrays.
26998 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
27000         [BZ #17775]
27001         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
27002         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
27003         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
27005 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
27007         * sysdeps/i386/tls-macros.h: Include <features.h>.
27008         (TLS_LE): Use non-PIC version for GCC >= 5.0.
27009         (TLS_IE): Likewise.
27010         (TLS_LD): Likewise.
27011         (TLS_GD): Likewise.
27012         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
27013         define for GCC >= 5.0.
27015 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
27017         * math/test-fenv.c (test_single_exception, set_single_exc,
27018         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
27019         feexcp_mask_test, feenable_test, fe_single_test): Add
27020         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
27021         case where they are not used.
27022         * math/libm-test.inc: Likewise.
27023         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
27024         unused in the absence of FP rounding/exception support.
27025         * stdio-common/tst-printf-round.c: Likewise.
27026         * stdlib/tst-strtod-round.c: Likewise.
27027         * stdlib/tst-strtod-underflow.c: Likewise.
27029 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
27031         [BZ #17723]
27032         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
27033         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
27034         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
27035         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
27036         libm_hidden_weak.
27037         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
27038         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
27039         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
27040         libm_hidden_def.
27041         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
27042         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
27043         libm_hidden_weak.
27044         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
27045         Likewise.
27046         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
27047         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
27048         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
27049         libm_hidden_weak.
27050         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
27051         libm_hidden_def.
27052         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
27053         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
27054         (__feraiseexcept): Likewise.
27055         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
27056         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
27057         libm_hidden_weak.
27058         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
27059         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
27060         libm_hidden_def.
27061         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
27062         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
27063         Use libm_hidden_def.
27064         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
27065         libm_hidden_def.
27066         (feraiseexcept): Define as weak not strong alias.  Use
27067         libm_hidden_weak.
27068         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
27069         New inline function.  Factored out of ...
27070         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
27071         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
27072         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
27073         feraiseexcept.
27074         * math/w_acos.c (__acos): Likewise.
27075         * math/w_asin.c (__asin): Likewise.
27076         * math/w_ilogb.c (__ilogb): Likewise.
27077         * math/w_j0.c (y0): Likewise.
27078         * math/w_j1.c (y1): Likewise.
27079         * math/w_jn.c (yn): Likewise.
27080         * math/w_log.c (__log): Likewise.
27081         * math/w_log10.c (__log10): Likewise.
27082         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
27083         * sysdeps/aarch64/fpu/math_private.h
27084         (libc_feupdateenv_test_aarch64): Likewise.
27085         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
27086         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
27087         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
27088         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
27089         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
27090         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
27091         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
27092         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
27093         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27094         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
27096 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
27098         [BZ #17732]
27099         * io/test-utime.c (main): Replace %ld with %jd and cast to
27100         intmax_t.
27101         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
27102         * nptl/tst-mutex5.c: Include <stdint.h>.
27103         (do_test): Replace %ld with %jd and cast to intmax_t.
27104         * posix/tst-regex.c (run_test): Likewise.
27105         (run_test_backwards): Likewise.
27106         * rt/tst-clock.c: Include <stdint.h>.
27107         (clock_test): Replace %ld with %jd and cast to intmax_t.
27108         * rt/tst-cpuclock1.c: Include <stdint.h>.
27109         (do_test): Replace %lu with %ju and cast to uintmax_t.
27110         * rt/tst-cpuclock2.c: Include <stdint.h>.
27111         (do_test): Replace %lu with %ju and cast to uintmax_t.
27112         * rt/tst-mqueue1.c: Include <stdint.h>.
27113         (check_attrs): Replace %ld with %jd and cast to intmax_t.
27114         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
27115         intmax_t.
27116         * rt/tst-mqueue4.c (do_test): Likewise.
27117         * rt/tst-timer4.c: Include <stdint.h>.
27118         (check_ts): Replace %ld with %jd and cast to intmax_t.
27119         (do_test): Likewise.
27120         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
27121         and cast to intmax_t.
27122         * sysdeps/pthread/tst-timer.c (main): Likewise.
27123         * time/clocktest.c (main): Likewise.
27124         * time/tst-posixtz.c (do_test): Likewise.
27125         * timezone/tst-timezone.c (main): Likewise.
27127 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
27128             H.J. Lu  <hongjiu.lu@intel.com>
27130         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
27131         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
27132         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
27133         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
27134         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
27135         version if bit_Fast_Unaligned_Load is set.
27136         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27137         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27138         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27139         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27140         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27141         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27142         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27143         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
27144         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
27145         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
27146         to 4.
27147         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
27148         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
27149         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
27150         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
27152 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
27154         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
27155         instead of #if to avoid a Wundef warning.
27156         * stdlib/tst-limits.c (do_test): Likewise.
27158         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
27159         parallel other exception macros.
27160         (fegetenv): Convert from macro to extern inline so that it applies
27161         retroactively to inline functions already seen by the compiler.
27162         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
27164         * posix/Makefile (before-compile): Use $(objpfx) for
27165         posix-conf-vars-def.h.
27167 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27169         * posix/getconf.c (main): Use size_t for type of I.
27170         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
27171         NSPEC.
27173         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
27174         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
27175         * posix/posix-envs.def: Likewise.
27176         * sysdeps/posix/sysconf.c: Likewise.
27177         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
27178         (specs): Remove array.
27179         * scripts/gen-posix-conf-vars.awk: Support generation of specs
27180         array.
27182         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
27183         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
27184         (__sysconf): Use CONF_IS_* macros.
27186         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
27187         ($(objpfx)posix-conf-vars-def.h): New target.
27188         * posix/posix-conf-vars.list: New file.
27189         * posix/posix-conf-vars.h: New file.
27190         * posix/confstr.c: Include posix-conf-vars.h.
27191         (confstr): Use CONF_IS_* macros.
27192         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
27193         CONF_IS_* macros.
27194         * scripts/gen-posix-conf-vars.awk: New file.
27196 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
27198         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
27199         fegetround): Add no-op macros to avoid linknamespace issues.
27201         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
27202         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
27204         * sysdeps/unix/sysv/linux/tile/sysdep.h
27205         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
27206         assembly-specific section to avoid a redefinition warning.
27208         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
27209         long before casting to pointer to avoid a cast warning.
27211 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
27213         * sysdeps/tile/tilegx/Implies: New file.
27215 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
27217         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
27219 2014-12-23  Florian Weimer  <fweimer@redhat.com>
27221         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
27223 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
27225         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
27226         not define.
27227         * sysdeps/unix/sysv/linux/utimes.c: Do not include
27228         <kernel-features.h>.
27229         (__utimes) [__NR_utimes]: Make code unconditional.
27230         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
27231         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
27232         (__ASSUME_UTIMES): Do not undefine.
27233         * sysdeps/unix/sysv/linux/tile/kernel-features.h
27234         (__ASSUME_UTIMES): Likewise.
27235         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
27236         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
27237         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
27238         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
27240 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
27242         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
27244 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
27246         [BZ #17747]
27247         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
27248         alias to weak alias for j0l, y0l.
27249         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
27250         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
27252         [BZ #17746]
27253         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
27254         conversion.
27256 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
27258         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
27259         to zero if not already defined.
27261 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
27263         [BZ #17724]
27264         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
27265         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
27266         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
27267         (char *) casts added.
27268         * sysdeps/ieee754/k_standardf.c: New file.
27269         * sysdeps/ieee754/k_standardl.c: Likewise.
27270         * math/Makefile (libm-support): Remove k_standard.
27271         (libm-calls): Add k_standard.
27273 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
27275         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
27276         Optimize to avoid an unnecessary FPCR read.
27278 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
27280         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
27281         Optimize to reduce FPCR/FPSR accesses.
27283 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
27285         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
27286         Call libc_fetestexcept_aarch64.
27288 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
27290         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
27291         Call libc_fesetround_aarch64.
27293 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
27295         [BZ #17733]
27296         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
27297         (__bind): Do not define as weak alias.
27298         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
27299         define.
27300         (__getsockname): Do not define as weak alias.
27302 2014-12-22  Will Newton  <will.newton@linaro.org>
27304         * manual/install.texi: Document that we require bison 2.7
27305         or above.
27306         * INSTALL: Regenerate.
27307         * configure.ac: Use AC_CHECK_PROG_VER instead of
27308         AC_PATH_PROG when checking for bison and check for
27309         version 2.7 or above.
27310         * configure: Regenerate.
27312 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
27314         [BZ #17745]
27315         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
27316         * sysdeps/tile/ffsll.c (ffsll): To here.
27318         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
27320 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
27322         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
27323         if not defined.
27324         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
27325         definition.
27326         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
27327         hidden ___tls_get_addr.
27328         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
27329         hidden __tls_get_addr.
27330         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
27331         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
27332         Likewise.
27334 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
27336         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
27337         _dl_init call.
27339 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
27341         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
27342         from "call _dl_init@PLT".
27343         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
27345 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
27347         * manual/search.texi: (Array Sort Function): Clarify stable sorting
27348         guarantees.
27350 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
27352         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
27354 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
27356         [BZ #17744]
27357         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
27358         strnlen.
27360 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
27362         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
27363         of multu on MIPSr6.
27364         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
27365         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
27366         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
27367         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
27368         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
27370 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
27372         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
27373         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
27374         (PTR_SUBU): Use subu for mips32r6/mips64r6.
27375         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
27376         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
27377         mips32r6/mips64r6.
27378         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
27380 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
27382         * string/strncat.c (STRNCAT): Simplify implementation.
27384 2014-12-19  David S. Miller  <davem@davemloft.net>
27386         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
27387         access the quad as both a long double and as a series of 4 words.
27389         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
27390         link_map->l_info array access.
27392 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
27394         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
27396         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
27397         * math/atest-exp2.c (TIMEOUT): Likewise.
27398         * math/atest-sincos.c (TIMEOUT): Likewise.
27400 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
27402         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
27403         -Wno-error with -fno-builtin-lround.
27405 2014-12-19  Torvald Riegel  <triegel@redhat.com>
27407         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
27408         Contains futex constants and functions moved over from ...
27409         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
27410         <lowlevellock-futex.h>.
27411         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
27412         (lll_timedwait_tid): Add comments and parentheses around macro
27413         arguments.
27415 2014-12-19  Torvald Riegel  <triegel@redhat.com>
27417         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
27418         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
27419         (__lll_private_flag): Remove.
27420         (lll_futex_wait): Likewise.
27421         (lll_futex_timed_wait): Likewise.
27422         (lll_futex_wake): Likewise.
27423         (lll_futex_requeue): Likewise.
27424         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
27425         (__lll_timedwait_tid): Spell out argument names.
27426         (lll_timedwait_tid): Add comments and parentheses around macro
27427         arguments.
27428         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
27429         LLL_SHARED and LLL_PRIVATE usable from assembly code.
27431 2014-12-19  Torvald Riegel  <triegel@redhat.com>
27433         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
27434         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
27435         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27436         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
27437         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
27438         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
27439         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
27440         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
27441         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
27442         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
27443         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
27444         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
27445         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
27446         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
27447         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
27448         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
27449         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
27450         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
27451         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
27453 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
27455         * sysdeps/x86_64/x32/Makefile: New file.
27457 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
27459         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
27460         1L with (mp_limb_t) 1.
27462 2014-12-17  Roland McGrath  <roland@hack.frob.com>
27464         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
27465         * nptl/libc_pthread_init.c: ... here.
27466         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
27467         * nptl/register-atfork.c: ... here.
27469         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
27470         Use pthread_sigmask rather than INTERNAL_SYSCALL.
27471         Use assert_perror to check its return value.
27472         (__gai_create_helper_thread): Likewise.
27474         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
27476         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
27478 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
27480         [BZ #17725]
27481         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
27482         __profil_counter.
27483         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
27484         Likewise.
27485         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
27486         Likewise.
27487         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
27488         Likewise.
27489         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
27490         (profil_counter): Likewise.
27491         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
27492         (profil_counter): Likewise.
27493         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
27494         Likewise.
27495         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
27496         Likewise.
27497         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
27498         (profil_counter): Likewise.
27499         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
27500         Likewise.
27501         [!__profil_counter] (profil_counter): Define as weak alias of
27502         __profil_counter.
27503         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
27504         (profil_counter): Rename to __profil_counter.
27505         [!__profil_counter] (profil_counter): Define as weak alias of
27506         __profil_counter.
27507         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
27508         (profil_counter): Rename to __profil_counter.
27509         [!__profil_counter] (profil_counter): Define as weak alias of
27510         __profil_counter.
27511         * sysdeps/posix/profil.c: Update comment referring to
27512         profil_counter.
27513         (__profil): Use __profil_counter instead of profil_counter.
27514         * sysdeps/posix/sprofil.c (profil_counter): Rename to
27515         __profil_counter.  Use __profil_counter_ushort and
27516         __profil_counter_uint in definitions.
27517         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
27518         instead of profil_counter_uint and profil_counter_ushort.
27520         [BZ #17722]
27521         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
27522         define as weak alias of __inet_makeaddr.
27523         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
27524         as weak alias of __inet_addr.
27525         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
27526         as weak alias of __inet_pton.  Use libc_hidden_weak.
27527         * include/arpa/inet.h (__inet_pton): Declare.  Use
27528         libc_hidden_proto.
27529         (inet_makeaddr): Don't use libc_hidden_proto.
27530         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
27531         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
27532         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
27533         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
27534         Remove variable.
27535         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
27536         (test-xfail-POSIX/time.h/linknamespace): Likewise.
27538 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
27540         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
27542 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
27544         * stdio-common/bug-vfprintf-nargs.c (do_test):
27545         Cast value to intptr_t to avoid format warning
27546         for usage with PRIdPTR printing macro.
27548 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
27550         * libio/tst-widetext.c (do_test):
27551         Use format type %td instead of %Zd for ptrdiff_t
27552         in order to avoid format warning.
27554 2014-12-17  Andreas Schwab  <schwab@suse.de>
27556         * nscd/mem.c (gc): Add size_t cast to match printf format.
27558 2014-12-16  Roland McGrath  <roland@hack.frob.com>
27560         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
27561         (init): Apply PTR_MANGLE to pointers before storing them.
27562         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
27563         before using them.
27565 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
27567         [BZ #17719]
27568         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
27569         define as weak alias of __memrchr.
27570         (__memrchr): Do not define as strong alias of memrchr.
27571         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
27572         Remove variable.
27573         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
27574         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
27575         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
27577         [BZ #17717]
27578         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
27579         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
27580         (if_indextoname): Rename to __if_indextoname and define as weak
27581         alias of __if_indextoname.  Use libc_hidden_weak.
27582         (if_freenameindex): Rename to __if_freenameindex and define as
27583         weak alias of __if_freenameindex.
27584         (if_nameindex): Rename to __if_nameindex and define as weak alias
27585         of __if_nameindex.
27586         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
27587         __if_nametoindex and define as weak alias of __if_nametoindex.
27588         Use libc_hidden_weak.
27589         (if_freenameindex): Rename to __if_freenameindex and define as
27590         weak alias of __if_freenameindex.
27591         (if_nameindex): Rename to __if_nameindex and define as weak alias
27592         of __if_nameindex.
27593         (if_indextoname): Rename to __if_indextoname and define as weak
27594         alias of __if_indextoname.  Use libc_hidden_weak.
27595         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
27596         __if_nametoindex and define as weak alias of __if_nametoindex.
27597         Use libc_hidden_weak.
27598         (if_freenameindex): Rename to __if_freenameindex and define as
27599         weak alias of __if_freenameindex.  Use libc_hidden_weak.
27600         (if_nameindex_netlink): Use __if_freenameindex instead of
27601         if_freenameindex.
27602         (if_nameindex): Rename to __if_nameindex and define as weak alias
27603         of __if_nameindex.  Use libc_hidden_weak.
27604         (if_indextoname): Rename to __if_indextoname and define as weak
27605         alias of __if_indextoname.  Use libc_hidden_weak.
27606         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
27607         libc_hidden_proto.
27608         [!_ISOMAC] (__if_freenameindex): Likewise.
27609         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
27610         if_nametoindex.
27611         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
27612         variable.
27613         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
27614         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
27615         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
27616         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
27617         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
27618         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
27619         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
27621         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
27622         Remove variable.
27623         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
27624         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
27626 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27628         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
27629         subscript above bounds'
27631         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
27632         bounds.
27634 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
27636         * libio/tst-fopenloc.c: Use test-skeleton.c.
27638         * stdlib/tst-bsearch.c: Use test-skeleton.c.
27639         (entry): Rename to ITEM.
27640         (do_test, comp): Adjust.
27642         * stdio-common/tst-fseek.c: Use test-skeleton.c.
27644 2014-12-16  Torvald Riegel  <triegel@redhat.com>
27646         * string/tester.c: Include <libc-internal.h>.
27647         (test_memset): Ignore -Wmemset-transposed-args.
27649 2014-12-16  Torvald Riegel  <triegel@redhat.com>
27651         * misc/tst-mntent2.c (do_test): Fix warning.
27653 2014-12-16  Torvald Riegel  <triegel@redhat.com>
27655         * elf/tst-unique4lib.cc(a): Mark as used.
27657 2014-12-16  Florian Weimer  <fweimer@redhat.com>
27659         [BZ #17630]
27660         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
27661         names.
27663 2014-12-16  Allan McRae  <allan@archlinux.org>
27665         * stdio-common/Makefile (tests): Re-add bug26.
27667 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
27669         [BZ #17657]
27670         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
27671         static array.
27673 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
27675         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
27676         (__lll_lock_wait): Likewise.
27677         (__lll_timedlock_wait): Likewise.
27678         (__lll_timedwait_tid): Likewise.
27679         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
27680         (__lll_robust_timedlock_wait): Likewise.
27681         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
27682         (lll_cond_trylock): Likewise.
27683         (__lll_lock): Likewise.
27684         (__lll_robust_lock): Likewise.
27685         (__lll_cond_lock): Likewise.
27686         (lll_robust_cond_lock): Likewise.
27687         (__lll_timedlock): Likewise.
27688         (__lll_robust_timedlock): Likewise.
27689         (__lll_unlock): Likewise.
27690         (__lll_robust_unlock): Likewise.
27691         (lll_wait_tid): Likewise.
27692         (lll_timedwait_tid): Likewise.
27694 2014-12-15  Torvald Riegel  <triegel@redhat.com>
27696         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
27698 2014-12-15  Torvald Riegel  <triegel@redhat.com>
27700         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
27702 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
27704         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
27705         * stdio-common/tst-sprintf.c: Likewise.
27707 2014-12-15  Torvald Riegel  <triegel@redhat.com>
27709         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
27711 2014-12-15  Jeff Law  <law@redhat.com>
27713         [BZ #16617]
27714         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
27715         on the heap.  (CVE-2012-3406)
27716         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
27717         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
27718         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
27720 2014-12-15  Will Newton  <will.newton@linaro.org>
27722         * manual/install.texi: Bump required version of texinfo
27723         to 4.7 from 4.5.
27724         * INSTALL: Regenerated.
27725         * configure.ac: Check for makeinfo version 4.7 and above.
27726         * configure: Regenerated.
27728 2014-12-12  Roland McGrath  <roland@hack.frob.com>
27730         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
27731         PREFIX, string constant to insert between directory and name.
27732         * sysdeps/posix/shm_open.c: Update caller.
27733         * sysdeps/posix/shm_unlink.c: Likewise.
27734         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
27735         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
27736         (SEM_SHM_PREFIX): New macro.
27737         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
27738         [$(have-thread-library) = no].
27739         * nptl/Makefile (libpthread-routines): Add shm-directory.
27740         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
27741         * sysdeps/nptl/shm-directory.h: New file.
27742         * sysdeps/posix/shm-directory.c
27743         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
27744         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
27745         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
27746         INTERNAL_SYSCALL.
27747         (__where_is_shmfs): Function removed.
27748         (mountpoint, defaultmount, defaultdir, __namedsem_once):
27749         Variables removed.
27750         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
27751         Use SHM_GET_NAME.
27752         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
27754         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
27755         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
27756         unconditional for use inside libpthread.
27757         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
27759 2014-12-12  Roland McGrath  <roland@hack.frob.com>
27761         * nptl/pthread_getaffinity.c: New file.
27762         * nptl/pthread_setaffinity.c: New file.
27763         * nptl/pthread_getname.c: New file.
27764         * nptl/pthread_setname.c: New file.
27766         * nptl/pthread_create.c (START_THREAD_DEFN)
27767         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
27769 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
27770             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27772         * resolv/res_send.c (send_vc): Disable warning resplen may
27773         be used uninitialized.
27775 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
27777         * nptl/tst-mutex6.c
27778         (ATTR_NULL): New define checks ATTR against NULL.
27779         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
27780         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
27782 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
27784         [BZ #17581]
27785         * malloc/hooks.c
27786         (mem2mem_check): Revert my previous change.
27787         (malloc_check_get_size): Revert my previous change.
27788         (mem2chunk_check): Revert my previous change.
27790 2014-12-11  Roland McGrath  <roland@hack.frob.com>
27792         * sysdeps/posix/shm-directory.c: New file.
27793         * sysdeps/posix/shm-directory.h: New file.
27794         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
27795         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
27796         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
27797         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
27798         Transmute EPERM to EACCES.
27799         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
27800         from ...
27801         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
27802         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
27804 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27806         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
27807         pointer and cast to uintptr_t.
27808         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
27809         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
27810         Add cast to avoid warning.
27811         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
27813 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
27815         * nptl/semaphore.h: Move to ...
27816         * sysdeps/pthread/semaphore.h: ... here.
27817         * Makefile (installed-headers): Change nptl/semaphore.h to
27818         sysdeps/pthread/semaphore.h.
27820 2014-12-11  Roland McGrath  <roland@hack.frob.com>
27822         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
27823         generated error format strings.
27825         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
27826         -Wformat-extra-args warnings for scanf formats.
27827         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
27828         test of zero-length format (duh).
27829         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
27830         corner-case scanf format test.
27831         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
27832         generated fprintf format string.
27833         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
27834         corner-case sprintf format tests.
27835         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
27836         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
27837         -Wformat-extra-args warnings throughout.
27838         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
27839         (CFLAGS-scanf4.c): Likewise.
27840         (CFLAGS-scanf7.c): Likewise.
27841         (CFLAGS-tst-sprintf.c): Likewise.
27842         (CFLAGS-tst-printf.c): Likewise.
27843         (CFLAGS-tst-printfsz.c): Likewise.
27845 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
27847         * include/cpio.h: New file.
27848         * include/fmtmsg.h: Likewise.
27850         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
27851         corresponding format argument to size_t.
27852         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
27853         arguments.
27854         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
27855         corresponding format argument to size_t.
27856         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
27857         arguments.
27858         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
27859         corresponding format argument to size_t.
27860         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
27861         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
27862         (CFLAGS-tst-mbswcs2.c): Likewise.
27863         (CFLAGS-tst-mbswcs3.c): Likewise.
27864         (CFLAGS-tst-mbswcs4.c): Likewise.
27865         (CFLAGS-tst-mbswcs5.c): Likewise.
27866         (CFLAGS-tst-trans.c): Likewise.
27868 2014-12-11  Roland McGrath  <roland@hack.frob.com>
27870         * posix/regexbug1.c (main): Use "%s" format with regerror results,
27871         rather than assuming they won't contain any '%'s.
27873 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
27875         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
27876         inhibit_loop_to_libcall to avoid recursive calls.
27877         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
27878         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
27880 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
27882         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
27883         prototype.
27885 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
27887         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
27888         integer value instead of boolean.
27890 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
27892         * malloc/malloc.c: Fix powerof2 check.
27894 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
27896         * locale/programs/locfile.h (maybe_swap_uint32):
27897         Remove inline and add unused attribute.
27899 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
27901         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
27902         Truncating assembler expression to a .long expression.
27904 2014-12-11  Andreas Schwab  <schwab@suse.de>
27906         * elf/rtld.c (struct map_args): Constify str member.
27907         (do_preload): Constify fname argument.
27909 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27911         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
27912         constants definition.
27914 2014-12-11  Andreas Schwab  <schwab@suse.de>
27916         [BZ #16657]
27917         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
27918         FORCE_ELISION instead of DO_ELISION.
27919         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
27920         Remove.
27921         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
27922         Likewise.
27924         * iconvdata/gconv-modules: Remove duplicate entry.
27926 2014-12-11  Will Newton  <will.newton@linaro.org>
27928         Merge gettext 0.19.3 into intl/.
27930         This involves a number of cosmetic changes to comments
27931         and ANSI function definitions and prototypes throughout
27932         all the files. The gettext copyright header is used but
27933         with the date ranges taken from the glibc copy.
27935         * NEWS: Add gettext merge to 2.21.
27936         * intl/bindtextdom.c: Switch to gettext copyright.
27937         Use ANSI definitions and prototypes.
27938         Use gl_* locking primitives rather than __libc_* ones.
27939         Use __builtin_expect rather than __glibc_likely/unlikely.
27940         * intl/dcgettext.c: Switch to gettext copyright.
27941         Use ANSI definitions and prototypes.
27942         * intl/dcigettext.c: Switch to gettext copyright.
27943         Use ANSI definitions and prototypes.
27944         (INTDIV0_RAISES_SIGFPE): New define.
27945         Use gl_* locking primitives rather than __libc_* ones.
27946         Include eval-plural.h instead of plural-eval.c.
27947         Use __builtin_expect rather than __glibc_likely/unlikely.
27948         * intl/dcngettext.c: Switch to gettext copyright.
27949         Use ANSI definitions and prototypes.
27950         * intl/dgettext.c: Likewise.
27951         * intl/dngettext.c: Likewise.
27952         * intl/plural-eval.c: Renamed to...
27953         * intl/eval-plural.h: ...this.
27954         * intl/explodename.c: Switch to gettext copyright.
27955         Use ANSI definitions and prototypes.
27956         (_nl_explode_name): Use strchr instead of __rawmemchr.
27957         * intl/finddomain.c: Switch to gettext copyright.
27958         Use ANSI definitions and prototypes.
27959         Use gl_* locking primitives rather than __libc_* ones.
27960         (_nl_find_domain): Use malloc rather than alloca for
27961         allocation of temporary locale name.
27962         * intl/gettext.c: Switch to gettext copyright.
27963         Use ANSI definitions and prototypes.
27964         * intl/gettextP.h: Switch to gettext copyright.
27965         Use ANSI definitions and prototypes.
27966         Use gl_* locking primitives rather than __libc_* ones.
27967         * intl/gmo.h: Switch to gettext copyright.
27968         (struct sysdep_string): Move struct segment_pair outside of
27969         struct definition.
27970         * intl/hash-string.c: Use ANSI definitions and prototypes.
27971         * intl/hash-string.h: Switch to gettext copyright.
27972         Use ANSI definitions and prototypes.
27973         * intl/l10nflist.c: Switch to gettext copyright.
27974         Use ANSI definitions and prototypes.
27975         (_nl_normalize_codeset): Avoid integer overflow.
27976         * intl/loadinfo.h: Switch to gettext copyright.
27977         Use ANSI definitions and prototypes.
27978         (LIBINTL_DLL_EXPORTED): New define.
27979         (PATH_SEPARATOR): New define.
27980         * intl/loadmsgcat.c: Switch to gettext copyright.
27981         * intl/localealias.c: Switch to gettext copyright.
27982         Use ANSI definitions and prototypes.
27983         (_nl_expand_alias): Use PATH_SEPARATOR.
27984         * intl/ngettext.c: Switch to gettext copyright.
27985         Use ANSI definitions and prototypes.
27986         * intl/plural-exp.c: Likewise.
27987         * intl/plural-exp.h: Switch to gettext copyright.
27988         Use ANSI definitions and prototypes.
27989         (struct expression): Move definition of enum operator outside
27990         of struct definition.
27991         * intl/plural.c: Regenerate.
27992         * intl/plural.y: Switch to gettext copyright.
27993         Use ANSI definitions and prototypes.
27994         Port to bison 3.0.
27995         * intl/textdomain.c: Switch to gettext copyright.
27996         Use ANSI definitions and prototypes.
27997         Use gl_* locking primitives rather than __libc_* ones.
27999 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
28001         * debug/warning-nop.c: Add used atrribute.
28003 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
28005         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
28007         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
28008         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
28009         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
28011 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
28012             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28014         [BZ #17634]
28015         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
28016         Undefine after defining function.  Define as weak alias of
28017         __wcschr.  Use libc_hidden_weak.
28018         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
28019         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
28020         (libc_hidden_def): Also define __GI___wcschr alias.
28021         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
28022         __wcschr and define as weak alias of __wcschr.
28023         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
28024         __wcschr.
28025         [!WCSCHR] (DEFAULT_WCSCHR): Define.
28026         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
28027         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
28028         libc_hidden_weak.  Do not use libc_hidden_def.
28029         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
28030         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
28031         __GI___wcschr alias.
28032         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
28033         [IS_IN (libc)] (wcschr): Define as macro expanding to
28034         __redirect_wcschr.
28035         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
28036         [IS_IN (libc)] (__wcschr_power6): Likewise.
28037         [IS_IN (libc)] (__wcschr_power7): Likewise.
28038         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
28039         instead of wcschr.
28040         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
28041         __libc_wcschr.
28042         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
28043         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
28044         __wcschr and define as weak alias of __wcschr.  Use
28045         libc_hidden_builtin_def.
28046         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
28047         as weak alias of __wcschr.  Use libc_hidden_weak.
28048         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
28049         wcschr.
28050         * time/era.c (_nl_init_era_entries): Likewise.
28051         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
28052         variable.
28053         (test-xfail-XPG3/time.h/linknamespace): Likewise.
28054         (test-xfail-XPG4/time.h/linknamespace): Likewise.
28056 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
28058         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
28059         format for long int variable.
28061 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
28063         [BZ #10672]
28064         * manual/search.texi: (Array Sort Function): Remove claim how to make
28065         qsort stable.
28067 2014-12-10  Andreas Schwab  <schwab@suse.de>
28069         [BZ #12847]
28070         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
28071         user-controlled locks.
28073 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
28075         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
28076         register.
28078 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
28080         * configure.ac (--disable-werror): New configure option.
28081         (enable_werror): New AC_SUBST.
28082         * configure: Regenerated.
28083         * config.make.in (enable-werror): New variable.
28084         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
28085         -Wno-error=undef.
28086         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
28087         * manual/install.texi (Configuring and compiling): Document
28088         --disable-werror.
28089         * INSTALL: Regenerated.
28090         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
28091         (CFLAGS-tst-chk2.c): Likewise.
28092         (CFLAGS-tst-chk3.c): Likewise.
28093         (CFLAGS-tst-chk4.cc): Likewise.
28094         (CFLAGS-tst-chk5.cc): Likewise.
28095         (CFLAGS-tst-chk6.cc): Likewise.
28096         (CFLAGS-tst-lfschk1.c): Likewise.
28097         (CFLAGS-tst-lfschk2.c): Likewise.
28098         (CFLAGS-tst-lfschk3.c): Likewise.
28099         (CFLAGS-tst-lfschk4.cc): Likewise.
28100         (CFLAGS-tst-lfschk5.cc): Likewise.
28101         (CFLAGS-tst-lfschk6.cc): Likewise.
28103         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
28104         (main): Disable -Wdeprecated-declarations around calls to
28105         register_printf_function.
28107         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
28108         (do_test): Disable -Wdiv-by-zero around some calls to
28109         fwrite_unlocked and fread_unlocked.
28111         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
28112         (DIAG_POP_NEEDS_COMMENT): Likewise.
28113         (_DIAG_STR1): Likewise.
28114         (_DIAG_STR): Likewise.
28115         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
28116         * stdio-common/bug21.c: Include <libc-internal.h>.
28117         (do_test): Disable -Wformat around call to sscanf.
28118         * stdio-common/scanf14.c: Include <libc-internal.h>.
28119         (main): Disable -Wformat around some calls to scanf functions.
28121 2014-12-09  Torvald Riegel  <triegel@redhat.com>
28123         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
28125 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28127         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
28128         stack variable alignment.
28130 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
28132         [BZ #17682]
28133         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
28134         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
28135         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
28136         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
28137         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
28138         __getrlimit instead of getrlimit.
28139         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
28140         __gettimeofday instead of gettimeofday.
28141         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
28142         Likewise.
28143         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
28144         Likewise.
28145         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
28146         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
28147         Remove variable.
28148         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
28149         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
28151 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28153         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
28154         for wide-character tests.
28156 2014-12-04  Roland McGrath  <roland@hack.frob.com>
28158         * io/openat64.c: #include <libc-internal.h>
28159         (__openat64): Prototypify.  Use ignore_value on MODE.
28160         * io/openat.c: Likewise.
28161         * misc/reboot.c: #include <libc-internal.h>
28162         (reboot): Prototypify.  Use ignore_value on HOWTO.
28163         * misc/ptrace.c: #include <libc-internal.h>
28164         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
28166 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
28168         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
28169         XPG4, UNIX98 and XOPEN2K.
28170         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
28171         Remove variable.
28172         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
28174 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28176         * libio/fileops.c: Use ISO C style for function definitions.
28177         * libio/iofopen.c: Likewise.
28178         * libio/wfileops.c: Likewise.
28180         [BZ #17653]
28181         * libio/fileops.c (_IO_new_file_underflow): Unset cached
28182         offset on EOF.
28183         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
28184         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
28185         (fgets_func): Function pointer to fgets and fgetws.
28186         (do_ftell_test): Add test to verify ftell value after read
28187         EOF.
28188         (do_test): Set fgets_func.
28190         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
28191         O_TRUNC flag for w and w+ modes.
28192         (do_rewind_test): Likewise.
28193         (do_ftell_test): Likewise.
28194         (do_write_test): Likewise.
28196         [BZ #17647]
28197         * libio/fileops.c (do_ftell): Seek only when there are
28198         unflushed writes.
28199         * libio/wfileops.c (do_ftell_wide): Likewise.
28200         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
28201         test case.
28202         (do_one_test): Call it.
28204 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
28206         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
28207         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
28208         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
28209         Remove variable.
28210         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
28211         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
28212         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
28214 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
28216         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
28217         Remove variable.
28218         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
28220         [BZ #17668]
28221         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
28222         as weak alias of __getifaddrs.  Use libc_hidden_weak.
28223         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
28224         __freeifaddrs.  Use libc_hidden_weak.
28225         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
28226         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
28227         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
28228         __freeifaddrs.  Use libc_hidden_weak.
28229         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
28230         __getifaddrs and define as weak alias of __getifaddrs.  Use
28231         libc_hidden_weak.
28232         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
28233         __freeifaddrs.  Use libc_hidden_weak.
28234         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
28235         Remove variable.
28236         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
28237         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
28239 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
28241         [BZ #17601]
28242         * sysdeps/mips/start.S (__start): Use indirect jump to call
28243         __libc_start_main.
28245 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
28247         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
28249         * nptl/tst-mutex1.c: Include <stdbool.h>.
28250         [!ATTR] (ATTR_NULL): New macro.
28251         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
28252         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
28253         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
28255         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
28256         to char *.
28258         [BZ #17665]
28259         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
28260         Change conditional to [__USE_MISC].
28262         [BZ #17664]
28263         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
28264         fgets_unlocked.
28265         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
28266         __fgets_unlocked.
28267         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
28268         fgets_unlocked.
28269         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
28270         Remove variable.
28271         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
28272         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
28273         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
28274         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
28275         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
28276         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
28277         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
28278         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
28279         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
28281         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
28283 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28285         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28286         Remove strpbrk objects.
28287         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28288         (__libc_ifunc_impl_list): Remove strpbrk implementation.
28289         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
28290         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
28291         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
28292         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
28294         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28295         Remove strcspn objects.
28296         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28297         (__libc_ifunc_impl_list): Remove strcspn implementation.
28298         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
28299         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
28300         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
28301         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
28303         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28304         Remove strspn objetcs.
28305         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28306         (__libc_ifunc_impl_list): Remove strspn implementation.
28307         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
28308         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
28309         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
28310         * sysdeps/powerpc/powerpc64/strspn.S: New file.
28312 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
28314         [BZ #17581]
28315         * malloc/hooks.c
28316         (mem2mem_check): Add a terminator to the chain of checking blocks.
28317         (malloc_check_get_size): Use it here.
28318         (mem2chunk_check): Ditto.
28320 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28322         * sysdeps/powerpc/powerpc64/strtok.S: New file.
28323         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
28325 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
28327         * bits/ioctl-types.h: Indent preprocessor directives correctly.
28329         * nptl/nptl-init.c: Include libc-internal.h.
28330         (__pthread_initialize_minimal_internal): Use ROUND_UP.
28332         * elf/ldconfig.c (search_dir): Expand comment.
28334 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
28336         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
28337         variable.
28338         (linknamespace-symlist-stdlibs-tests): Likewise.
28339         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
28340         instead of $(objpfx)symlist-stdlibs.
28341         (linknamespace-libs-isoc): New variable.
28342         (linknamespace-libs): Use $(linknamespace-libs-isoc).
28343         (linknamespace-libs-ISO): New variable.
28344         (linknamespace-libs-ISO99): Likewise.
28345         (linknamespace-libs-ISO11): Likewise.
28346         (linknamespace-libs-XPG3): Likewise.
28347         (linknamespace-libs-XPG4): Likewise.
28348         (linknamespace-libs-POSIX): Likewise.
28349         (linknamespace-libs-UNIX98): Likewise.
28350         (linknamespace-libs-XOPEN2K): Likewise.
28351         (linknamespace-libs-POSIX2008): Likewise.
28352         (linknamespace-libs-XOPEN2K8): Likewise.
28353         ($(objpfx)symlist-stdlibs): Replace by
28354         $(linknamespace-symlist-stdlibs-tests).  Use
28355         $(linknamespace-libs-$*) as set of libraries.
28356         ($(linknamespace-header-tests)): Update dependencies.  Use
28357         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
28358         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
28359         * conform/linknamespace.pl: Remove comment about considering
28360         definitions of symbols from irrelevant libraries.
28362 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
28364         [BZ #13862]
28365         * elf/dl-tls.c: Include <atomic.h>.
28366         (oom): Remove #ifdef SHARED/#endif.
28367         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
28368         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
28369         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
28370         big enough.
28371         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
28372         * nptl/Makefile (tests): Add tst-stack4.
28373         (modules-names): Add tst-stack4mod.
28374         ($(objpfx)tst-stack4): New.
28375         (tst-stack4mod.sos): Likewise.
28376         ($(objpfx)tst-stack4.out): Likewise.
28377         ($(tst-stack4mod.sos)): Likewise.
28378         (clean): Likewise.
28379         * nptl/tst-stack4.c: New file.
28380         * nptl/tst-stack4mod.c: Likewise.
28382 2014-11-27  J. Brown  <jb999@gmx.de>
28384         * sysdeps/x86/bits/string.h: Add recent CPUs.
28386 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
28388         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
28389         sigblock.
28391         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
28392         feof.
28394         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
28395         variable.
28397 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
28399         * nscd/connections.c: Include libc-internal.h because of macro
28400         usage ignore_value.
28402 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28404         * string/bits/string3.h (__warn_memset_zero_len): Don't
28405         declare for gcc newer than 5.0.
28406         (memset): Don't test for zero-length __LEN for gcc newer than
28407         5.0.
28409 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
28411         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
28412         size_t for %zu format.
28414         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
28415         difference, not %ju.
28417 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
28419         * include/libc-internal.h (ignore_value): New macro.
28420         * nscd/connections.c (restart): Wrap calls to setuid and setgid
28421         with ignore_value.
28423         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
28424         definition.
28426         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
28427         pthread_cleanup_push to void *.
28429         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
28430         Undefine.
28432         [BZ #16619]
28433         [BZ #16740]
28434         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
28435         instead of 1L << 52.
28437         * libio/bug-rewind.c (do_test): Check fwscanf return values.
28438         * libio/bug-rewind2.c (do_test): Likewise.
28440         * debug/test-stpcpy_chk-ifunc.c: Remove file.
28441         * debug/test-strcpy_chk-ifunc.c: Likewise.
28442         * wcsmbs/test-wcschr-ifunc.c: Likewise.
28443         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
28444         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
28445         * wcsmbs/test-wcslen-ifunc.c: Likewise.
28446         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
28447         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
28448         * Rules [$(multi-arch) = no] (tests): Do not filter out
28449         $(tests-ifunc).
28450         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
28451         * debug/Makefile (tests-ifunc): Remove variable.
28452         (tests): Do not add $(tests-ifunc).
28453         * wcsmbs/Makefile (tests-ifunc): Remove variable.
28454         (tests): Do not add $(tests-ifunc).
28455         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
28456         [TEST_IFUNC]: Remove conditionals.
28457         * string/test-string.h (TEST_IFUNC): Remove macro.
28458         [TEST_IFUNC]: Remove conditionals.
28460         * string/test-strchr.c [!WIDE] (L): New macro.
28461         [WIDE] (L): Likewise.
28462         (check1): Use CHAR instead of char.  Use L on string and character
28463         constants.
28465 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
28467         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
28468         tests.
28469         * sysdeps/powerpc/bits/atomic.h
28470         (__arch_atomic_exchange_and_add_32_acq): Add definition.
28471         (__arch_atomic_exchange_and_add_32_rel): Likewise.
28472         (atomic_exchange_and_add_acq): Likewise.
28473         (atomic_exchange_and_add_rel): Likewise.
28474         * sysdeps/powerpc/powerpc32/bits/atomic.h
28475         (__arch_atomic_exchange_and_add_64_acq): Add definition.
28476         (__arch_atomic_exchange_and_add_64_rel): Likewise.
28477         * sysdeps/powerpc/powerpc64/bits/atomic.h
28478         (__arch_atomic_exchange_and_add_64_acq): Add definition.
28479         (__arch_atomic_exchange_and_add_64_rel): Likewise.
28481 2014-11-26  Torvald Riegel  <triegel@redhat.com>
28483         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
28484         Change synchronization of __sched_fifo_min_prio and
28485         __sched_fifo_max_prio.
28486         * nptl/pthread_mutexattr_getprioceiling.c
28487         (pthread_mutexattr_getprioceiling): Likewise.
28488         * nptl/pthread_mutexattr_setprioceiling.c
28489         (pthread_mutexattr_setprioceiling): Likewise.
28490         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
28491         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
28492         Likewise.
28494 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
28496         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
28497         void.
28499 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
28501         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
28502         third argument const.
28504 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
28506         fnmatch: work around GCC compiler warning bug with uninit var
28507         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
28508         This works around a bug with x86-64 GCC 4.9.2 and earlier
28509         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
28510         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
28511         used uninitialized in this function [-Wmaybe-uninitialized]".
28513 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
28515         * posix/bug-regex31.c (main): Return RES not 0.
28517 2014-11-25  Anton Blanchard <anton@samba.org>
28519         * sysdeps/powerpc/bits/atomic.h
28520         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
28522 2014-11-24  Sterling Augustine  <saugustine@google.com>
28524         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
28526 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
28528         [BZ #17608]
28529         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
28531 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
28533         [BZ #17633]
28534         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
28535         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
28536         variable.
28537         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
28538         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
28540 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
28542         * string/strncpy.c (strncpy): Improve performance by using memset.
28544 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
28546         * string/strcpy.c (strcpy):
28547         Improve performance by using strlen and memcpy.
28549 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
28551         * string/strcoll_l.c (get_next_seq): __always_inline.
28552         * string/strcoll_l.c (do_compare): __always_inline.
28554 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28556         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
28557         defined.
28558         * include/mqueue.h: Likewise.
28559         * include/stdlib.h: Likewise.
28561         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
28562         (get_null_defines): Adjust.
28563         * sunrpc/Makefile: Adjust comment.
28564         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
28565         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
28566         (CFLAGS-interp.c): Likewise.
28567         (CFLAGS-ldconfig.c): Likewise.
28568         (CPPFLAGS-.os): Likewise.
28569         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
28570         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
28571         * extra-modules.mk (extra-modules.mk): Likewise.
28572         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
28573         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
28574         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
28575         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
28576         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
28577         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
28578         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
28579         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
28580         * iconvdata/Makefile (CPPFLAGS): Likewise.
28581         (cpp-srcs-left): Add libof for all iconvdata routines.
28582         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
28583         * include/assert.h: Likewise.
28584         * include/ctype.h: Likewise.
28585         * include/errno.h: Likewise.
28586         * include/libc-symbols.h: Likewise.
28587         * include/math.h: Likewise.
28588         * include/netdb.h: Likewise.
28589         * include/resolv.h: Likewise.
28590         * include/stdio.h: Likewise.
28591         * include/stdlib.h: Likewise.
28592         * include/string.h: Likewise.
28593         * include/sys/stat.h: Likewise.
28594         * include/wctype.h: Likewise.
28595         * intl/l10nflist.c: Likewise.
28596         * libidn/idn-stub.c: Likewise.
28597         * libio/libioP.h: Likewise.
28598         * nptl/libc_multiple_threads.c: Likewise.
28599         * nptl/pthreadP.h: Likewise.
28600         * posix/regex_internal.h: Likewise.
28601         * resolv/res_hconf.c: Likewise.
28602         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
28603         * sysdeps/arm/memmove.S: Likewise.
28604         * sysdeps/arm/sysdep.h: Likewise.
28605         * sysdeps/generic/_itoa.h: Likewise.
28606         * sysdeps/generic/symbol-hacks.h: Likewise.
28607         * sysdeps/gnu/errlist.awk: Likewise.
28608         * sysdeps/gnu/errlist.c: Likewise.
28609         * sysdeps/i386/i586/memcpy.S: Likewise.
28610         * sysdeps/i386/i586/memset.S: Likewise.
28611         * sysdeps/i386/i686/memcpy.S: Likewise.
28612         * sysdeps/i386/i686/memmove.S: Likewise.
28613         * sysdeps/i386/i686/mempcpy.S: Likewise.
28614         * sysdeps/i386/i686/memset.S: Likewise.
28615         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
28616         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28617         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
28618         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
28619         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28620         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28621         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
28622         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28623         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
28624         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28625         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28626         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28627         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28628         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28629         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28630         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28631         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
28632         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
28633         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
28634         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28635         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28636         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28637         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28638         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28639         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28640         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28641         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
28642         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28643         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
28644         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
28645         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28646         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28647         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28648         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28649         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28650         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28651         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28652         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28653         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28654         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28655         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28656         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28657         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28658         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
28659         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28660         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28661         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
28662         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
28663         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28664         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
28665         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28666         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
28667         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
28668         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28669         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
28670         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
28671         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28672         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
28673         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
28674         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28675         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
28676         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28677         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
28678         * sysdeps/nptl/bits/libc-lock.h: Likewise.
28679         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
28680         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
28681         * sysdeps/posix/closedir.c: Likewise.
28682         * sysdeps/posix/opendir.c: Likewise.
28683         * sysdeps/posix/readdir.c: Likewise.
28684         * sysdeps/posix/rewinddir.c: Likewise.
28685         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
28686         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
28687         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
28688         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
28689         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28690         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
28691         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
28692         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
28693         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
28694         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
28695         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
28696         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
28697         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
28698         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
28699         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
28700         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
28701         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
28702         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
28703         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
28704         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
28705         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
28706         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
28707         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
28708         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
28709         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
28710         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
28711         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
28712         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
28713         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
28714         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
28715         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
28716         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
28717         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
28718         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
28719         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
28720         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
28721         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
28722         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28723         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
28724         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
28725         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
28726         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
28727         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
28728         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
28729         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
28730         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
28731         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
28732         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
28733         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
28734         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
28735         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
28736         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
28737         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
28738         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
28739         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
28740         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
28741         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
28742         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
28743         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
28744         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
28745         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
28746         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
28747         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
28748         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
28749         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
28750         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
28751         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
28752         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
28753         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
28754         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
28755         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
28756         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
28757         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
28758         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
28759         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
28760         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
28761         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
28762         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
28763         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
28764         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
28765         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
28766         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
28767         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
28768         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
28769         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
28770         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
28771         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
28772         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
28773         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28774         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28775         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
28776         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
28777         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
28778         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
28779         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28780         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
28781         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
28782         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28783         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
28784         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
28785         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28786         * sysdeps/unix/alpha/sysdep.S: Likewise.
28787         * sysdeps/unix/alpha/sysdep.h: Likewise.
28788         * sysdeps/unix/make-syscalls.sh: Likewise.
28789         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
28790         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28791         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28792         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
28793         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28794         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
28795         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
28796         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28797         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
28798         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
28799         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28800         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
28801         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28802         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
28803         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
28804         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
28805         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28806         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
28807         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
28808         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
28809         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
28810         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28811         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
28812         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
28813         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
28814         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
28815         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
28817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
28818         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
28819         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28820         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
28821         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
28822         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28823         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
28824         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
28825         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
28826         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28827         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
28828         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
28829         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28830         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
28831         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28832         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
28833         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28834         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
28835         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28836         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28837         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
28838         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28839         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28840         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
28841         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
28842         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
28843         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
28844         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28845         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
28846         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28847         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
28848         * sysdeps/x86_64/memcpy.S: Likewise.
28849         * sysdeps/x86_64/memmove.c: Likewise.
28850         * sysdeps/x86_64/memset.S: Likewise.
28851         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
28852         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28853         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
28854         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
28855         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
28856         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28857         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28858         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28859         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28860         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28861         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28862         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28863         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
28864         * sysdeps/x86_64/multiarch/memset.S: Likewise.
28865         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28866         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
28867         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
28868         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28869         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28870         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28871         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
28872         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28873         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28874         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28875         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28876         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28877         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28878         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
28879         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
28880         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28881         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
28882         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28883         * sysdeps/x86_64/strcmp.S: Likewise.
28885         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
28887         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
28888         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
28889         * elf/rtld-Rules: Likewise.
28890         * elf/setup-vdso.h: Likewise.
28891         * include/assert.h: Likewise.
28892         * include/bits/stdlib-float.h: Likewise.
28893         * include/errno.h: Likewise.
28894         * include/sys/stat.h: Likewise.
28895         * include/unistd.h: Likewise.
28896         * sysdeps/aarch64/setjmp.S: Likewise.
28897         * sysdeps/alpha/setjmp.S: Likewise.
28898         * sysdeps/arm/__longjmp.S: Likewise.
28899         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
28900         * sysdeps/arm/setjmp.S: Likewise.
28901         * sysdeps/arm/sysdep.h: Likewise.
28902         * sysdeps/generic/_itoa.h: Likewise.
28903         * sysdeps/generic/dl-sysdep.h: Likewise.
28904         * sysdeps/generic/ldsodefs.h: Likewise.
28905         * sysdeps/i386/dl-tls.h: Likewise.
28906         * sysdeps/i386/setjmp.S: Likewise.
28907         * sysdeps/m68k/setjmp.c: Likewise.
28908         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
28909         * sysdeps/mach/hurd/opendir.c: Likewise.
28910         * sysdeps/posix/getcwd.c: Likewise.
28911         * sysdeps/posix/opendir.c: Likewise.
28912         * sysdeps/posix/profil.c: Likewise.
28913         * sysdeps/powerpc/dl-procinfo.h: Likewise.
28914         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28915         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
28916         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
28917         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
28918         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
28919         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
28920         * sysdeps/s390/dl-tls.h: Likewise.
28921         * sysdeps/s390/s390-32/setjmp.S: Likewise.
28922         * sysdeps/s390/s390-64/setjmp.S: Likewise.
28923         * sysdeps/sh/sh3/setjmp.S: Likewise.
28924         * sysdeps/sh/sh4/setjmp.S: Likewise.
28925         * sysdeps/unix/alpha/sysdep.h: Likewise.
28926         * sysdeps/unix/arm/sysdep.S: Likewise.
28927         * sysdeps/unix/i386/sysdep.S: Likewise.
28928         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28929         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
28930         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28931         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28932         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28933         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
28934         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
28935         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28936         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
28937         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
28938         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
28939         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28940         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28943         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28944         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28945         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28946         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28947         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28948         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28949         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28950         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28951         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28952         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
28953         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28954         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28955         * sysdeps/unix/x86_64/sysdep.S: Likewise.
28956         * sysdeps/x86_64/setjmp.S: Likewise.
28958         * include/math.h: Use IS_IN instead of IS_IN_libm.
28959         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
28960         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28961         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28962         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
28963         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28964         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28965         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28966         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28967         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28968         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28969         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
28970         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
28971         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
28972         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
28973         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
28974         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
28975         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
28976         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
28977         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
28978         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
28979         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
28980         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
28981         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
28982         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
28983         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
28984         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
28985         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
28986         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
28987         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
28988         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
28989         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
28990         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
28991         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
28992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
28993         Likewise.
28994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
28995         Likewise.
28996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
28997         Likewise.
28998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
28999         Likewise.
29000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
29001         Likewise.
29002         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
29003         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
29004         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
29005         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29006         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29007         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
29009         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
29010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
29011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
29012         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
29013         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
29014         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
29015         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
29016         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
29017         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
29018         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
29019         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
29020         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
29021         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
29022         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
29023         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
29024         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
29025         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
29026         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
29027         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
29028         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
29030         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
29031         * nptl/pthreadP.h: Likewise.
29032         * nptl_db/structs.def: Likewise.
29033         * sysdeps/arm/sysdep.h: Likewise.
29034         * sysdeps/nptl/bits/libc-lock.h: Likewise.
29035         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
29036         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
29037         * sysdeps/unix/alpha/sysdep.h: Likewise.
29038         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
29039         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
29040         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
29041         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
29042         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
29043         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
29044         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29045         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
29046         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29047         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
29048         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
29049         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
29050         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
29051         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
29052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
29053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
29054         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
29055         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
29056         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
29057         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
29058         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
29059         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
29060         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
29061         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
29062         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
29063         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
29065         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
29066         * nptl/pthreadP.h: Likewise.
29067         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
29068         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
29069         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
29070         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
29071         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
29072         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
29073         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29074         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
29075         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
29076         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
29077         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
29078         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
29079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
29080         Likewise.
29081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
29082         Likewise.
29083         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
29084         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
29085         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
29086         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
29087         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
29088         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
29089         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
29090         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
29092         * dlfcn/dladdr.c: Use IS_IN.
29093         * dlfcn/dladdr1.c: Likewise.
29094         * dlfcn/dlclose.c: Likewise.
29095         * dlfcn/dlerror.c: Likewise.
29096         * dlfcn/dlinfo.c: Likewise.
29097         * dlfcn/dlmopen.c: Likewise.
29098         * dlfcn/dlopen.c: Likewise.
29099         * dlfcn/dlsym.c: Likewise.
29100         * dlfcn/dlvsym.c: Likewise.
29102         * include/ifaddrs.h: Use IS_IN.
29103         * inet/check_pf.c: Likewise.
29104         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
29105         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
29107         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
29108         IS_IN_ldconfig.
29109         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
29110         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
29112         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
29113         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
29114         IS_IN (libc).
29116         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
29118         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
29119         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
29120         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
29121         * include/libc-symbols.h (IS_IN_LIB): New macro.
29122         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
29123         * include/netdb.h: Likewise.
29124         * include/stap-probe.h: Remove all uses of IN_LIB.
29126         * Makeconfig (module-cppflags-real): Define MODULE_NAME
29127         instead of IN_MODULE.
29128         * include/libc-symbols.h (IN_MODULE): Define using
29129         MODULE_NAME.
29130         (PASTE_NAME, PASTE_NAME1): New macros.
29131         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
29132         of IN_LIB.
29133         (STAP_PROBE_ASM): Likewise.
29135 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29137         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
29138         __mach_init in dlopened libc.
29140 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
29142         * sysdeps/arm/preconfigure.ac: Delete EABI check.
29143         * sysdeps/arm/preconfigure: Regenerate.
29145 2014-11-21  Roland McGrath  <roland@hack.frob.com>
29147         * nptl/pthread_create.c (__pthread_create_2_1): Set
29148         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
29149         when copying values from IATTR into PD.
29151 2014-11-21  Will Newton  <will.newton@linaro.org>
29152             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
29154         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
29155         Refactor inline-asm.  Also add comment.
29157         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
29158         ElfW macro instead of hardcoded Elf64 types.
29159         (la_aarch64_gnu_pltenter): Likewise.
29160         * sysdeps/aarch64/dl-machine.h
29161         (elf_machine_runtime_setup): Use ElfW(Addr).
29163         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
29164         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
29165         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
29166         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
29167         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
29168         (R_AARCH64_TLS_DTPMOD64): Rename to ..
29169         (R_AARCH64_TLS_DTPMOD): This.
29170         (R_AARCH64_TLS_DTPREL64): Rename to ...
29171         (R_AARCH64_TLS_DTPREL): This.
29172         (R_AARCH64_TLS_TPREL64): Rename to ...
29173         (R_AARCH64_TLS_TPREL): This.
29174         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
29175         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
29176         R_AARCH64_TLS_TPREL64.
29177         (elf_machine_rela): Likewise.
29179 2014-11-21  Torvald Riegel  <triegel@redhat.com>
29181         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
29182         by setting it to 0.  64b atomics are not supported currently.
29184 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
29186         [BZ #16469]
29187         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
29188         search domain names.
29190 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
29192         [BZ #16469]
29193         * NEWS: Update.
29194         * resolv/res_query.c (__libc_res_nquerydomain): Retain
29195         trailing dot.
29196         * posix/tst-getaddrinfo5.c: New.
29197         * posix/Makefile (tests): Add it.
29199 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
29201         [BZ #14498]
29202         * NEWS: Fixed.
29203         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
29204         after parsing line but before break_if_match.
29205         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
29206         if there is a protocol mismatch.
29208 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
29210         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
29211         because the potential race is on the user-supplied stream.
29213 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
29215         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
29216         string literal if not passed a buffer.
29217         * manual/job.texi (ctermid): Update reasoning, note deviation
29218         from posix, suggest mtasurace when not passed a buffer, for
29219         future non-preliminary safety notes.
29221 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
29223         * manual/users.texi (cuserid): Fix MT-Safety note for the case
29224         of not passing it a buffer.
29225         Reported by Peng Haitao.
29227 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
29229         * manual/Makefile ($(objpfx)stamp-summary): Require
29230         check-safety.sh to pass.
29231         * manual/check-safety.sh: Wish for verification that every
29232         @deftypefn and @deftypefun is followed by a @safety remark.
29234 2014-11-20  Roland McGrath  <roland@hack.frob.com>
29236         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
29238         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
29239         PTHREAD_CANCEL_ASYNCHRONOUS.
29240         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
29241         send SIGCANCEL.
29243         * nptl/default-sched.h: New file.
29244         * sysdeps/unix/sysv/linux/default-sched.h: New file.
29245         * nptl/pthread_create.c: Include it.
29246         (__pthread_create_2_1): Use collect_default_sched instead of making
29247         Linux syscalls here directly.
29249 2014-11-20  Torvald Riegel  <triegel@redhat.com>
29251         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
29252         __pthread_once): Use C11 atomics.
29254 2014-11-20  Torvald Riegel  <triegel@redhat.com>
29256         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
29258 2014-11-20  Torvald Riegel  <triegel@redhat.com>
29260         * include/atomic.h (__atomic_link_error, __atomic_check_size,
29261         atomic_thread_fence_acquire, atomic_thread_fence_release,
29262         atomic_thread_fence_seq_cst, atomic_load_relaxed,
29263         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
29264         atomic_compare_exchange_weak_relaxed,
29265         atomic_compare_exchange_weak_acquire,
29266         atomic_compare_exchange_weak_release,
29267         atomic_exchange_acquire, atomic_exchange_release,
29268         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
29269         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
29270         atomic_fetch_and_acquire,
29271         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
29273 2014-11-20  Torvald Riegel  <triegel@redhat.com>
29275         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
29276         USE_ATOMIC_COMPILER_BUILTINS): Define.
29277         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
29278         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29279         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
29280         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29281         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
29282         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29283         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
29284         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29285         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
29286         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29287         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
29288         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29289         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
29290         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29291         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
29292         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29293         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
29294         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29295         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
29296         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29297         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
29298         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29299         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
29300         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29301         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
29302         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29303         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
29304         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29305         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
29306         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29307         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
29308         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29309         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
29310         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29311         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
29312         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29313         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
29314         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29315         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
29316         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29318 2014-11-19  Roland McGrath  <roland@hack.frob.com>
29320         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
29321         the sched_priority value here.  It was already checked when the user
29322         called pthread_attr_setschedparam.
29324         * nptl/tst-bad-schedattr.c: New file.
29325         * nptl/Makefile (tests): Add it.
29327 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
29328             Florian Weimer  <fweimer@redhat.com>
29329             Joseph Myers  <joseph@codesourcery.com>
29330             Adam Conrad  <adconrad@0c3.net>
29331             Andreas Schwab  <schwab@suse.de>
29332             Brooks  <bmoses@google.com>
29334         [BZ #17625]
29335         * wordexp-test.c (__dso_handle): Add prototype.
29336         (__register_atfork): Likewise.
29337         (__app_register_atfork): New function.
29338         (registered_forks): New global.
29339         (register_fork): New function.
29340         (test_case): Add 3 new tests for WRDE_CMDSUB.
29341         (main): Call __app_register_atfork.
29342         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
29343         fork count is non-zero fail the test.
29344         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
29345         is set.
29346         (parse_dollars): Remove check for WRDE_NOCMD.
29347         (parse_dquote): Likewise.
29349 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29351         * Makeconfig (built-modules): List non-library modules to be
29352         built.
29353         (module-cppflags): Include libc-modules.h for
29354         everything except shlib-versions.v.i.
29355         (CPPFLAGS): Use it.
29356         (before-compile): Add libc-modules.h.
29357         ($(common-objpfx)libc-modules.h,
29358         $(common-objpfx)libc-modules.stmp): New targets.
29359         (common-generated): Add libc-modules.h and libc-modules.stmp.
29360         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
29361         * include/libc-symbols.h: Don't include libc-modules.h.
29362         * include/libc-modules.h: Remove file.
29363         * scripts/gen-libc-modules.awk: New script to generate
29364         libc-modules.h.
29365         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
29366         Depend on libc-modules.stmp.
29368         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
29370         * Makeconfig (in-module): Get value of libof set for the
29371         translation unit.
29372         (CPPFLAGS): Use $(in-module).
29373         * Makerules: Don't suffix routine names for nonlib.
29374         * include/libc-modules.h: New file.
29375         * include/libc-symbols.h: Include libc-modules.h
29376         (IS_IN): New macro to replace IS_IN_* macros.
29377         * elf/Makefile: Set libof-* for each routine.
29378         * elf/rtld-Rules: Likewise.
29379         * extra-modules.mk: Likewise.
29380         * iconv/Makefile: Likewise.
29381         * iconvdata/Makefile: Likewise.
29382         * locale/Makefile: Likewise.
29383         * malloc/Makefile: Likewise.
29384         * nss/Makefile: Likewise.
29385         * sysdeps/gnu/Makefile: Likewise.
29386         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
29387         * sysdeps/unix/sysv/linux/Makefile: Likewise.
29388         * sysdeps/s390/s390-64/Makefile: Likewise.
29389         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
29390         CPPFLAGS for nscd instead of nonlib.
29392 2014-11-18  Roland McGrath  <roland@hack.frob.com>
29394         * nptl/createthread.c: New file.
29396         * nptl/createthread.c: Moved ...
29397         * sysdeps/unix/sysv/linux/createthread.c: ... here.
29399         * nptl/createthread.c: Add proper top-line comment.
29400         (do_clone): Folded into ...
29401         (create_thread): ... here.  Take new arguments STOPPED_START and
29402         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
29403         increment __nptl_threads, do event-reporting logic, do
29404         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
29405         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
29406         resource cleanup if sched_setaffinity or sched_setscheduler fails,
29407         just send SIGCANCEL.
29408         * nptl/pthread_create.c: Forward-declare create_thread before
29409         including createthread.c.
29410         (start_thread): Use new macro START_THREAD_DEFN to replace defining
29411         declaration, and new macro START_THREAD_SELF to replace argument.
29412         Remove return statement.
29413         (report_thread_creation): New function.
29414         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
29415         synchronization logic, and __nptl_nthreads increment here, around
29416         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
29417         PD->parent_cancelhandling here, before create_thread.  When
29418         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
29419         __deallocate_stack, and ENOMEM translation here.
29421 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
29423         [BZ #17616]
29424         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
29425         (mptwo): Rename to __mptwo.
29426         (__inv): Use __mptwo instead of mptwo.
29427         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
29428         (mptwo): Rename to __mptwo.
29429         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
29430         of mpone and __mptwo instead of mptwo.
29431         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
29432         instead of mpone.
29433         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29434         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
29435         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
29436         of mpone and __mptwo instead of mptwo.
29437         (__mpranred): Use __mpone instead of mpone.
29438         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
29439         variable.
29440         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
29441         (test-xfail-ISO99/math.h/linknamespace): Likewise.
29442         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
29443         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
29444         (test-xfail-ISO11/math.h/linknamespace): Likewise.
29445         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
29446         (test-xfail-XPG3/math.h/linknamespace): Likewise.
29447         (test-xfail-XPG4/math.h/linknamespace): Likewise.
29448         (test-xfail-POSIX/math.h/linknamespace): Likewise.
29449         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
29450         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
29451         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
29452         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
29453         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
29454         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
29455         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
29456         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
29457         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
29458         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
29460 2014-11-18  Tom de Vries  <tom@codesoucery.com>
29462         * manual/signal.texi (Primitives Interrupted by Signals): In section,
29463         replace BSD Handler xref with BSD Signal Handling.
29465 2014-11-17  Richard Henderson  <rth@redhat.com>
29467         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
29468         (_FP_PACK_RAW_2): Remove.
29469         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
29470         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
29471         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
29472         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
29473         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
29474         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
29475         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
29476         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
29477         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
29478         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
29479         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
29480         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
29481         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
29482         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
29483         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
29484         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
29486 2014-11-14  Roland McGrath  <roland@hack.frob.com>
29488         * signal/signal.h [__USE_MISC]
29489         (struct sigvec): Remove type.
29490         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
29491         (sigvec): Remove declaration.
29492         * sysdeps/posix/sigvec.c: Moved ...
29493         * signal/sigvec.c: ... here, replacing old file.
29494         (struct sigvec): New type, copied from old signal.h definition.
29495         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
29496         (__sigvec): Convert definition to prototype.
29497         (sigvec): Replace weak_alias with compat_symbol.
29498         * signal/Versions (libc: GLIBC_2.21): New version set.
29499         * include/signal.h: Remove __sigvec declaration.
29500         * sysdeps/unix/bsd/sigvec.c: Remove file.
29501         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
29502         * manual/signal.texi (BSD Handler): Remove subsection.
29503         Move siginterrupt up to ...
29504         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
29505         (Blocking in BSD): Fold subsection into its parent.
29506         * NEWS: Mention sigvec removal.
29508 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
29510         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
29511         (DLA_FMS): Make definition conditional only on [__FMA4__].
29512         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
29513         definition.
29515         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
29516         Make definition conditional only on [PROF].
29517         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
29518         definition.
29519         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
29520         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
29522         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
29523         !__GNUC__].
29524         * include/signal.h (__sigpause): Move declaration above call to
29525         libc_hidden_proto.
29526         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
29527         variable.
29528         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
29529         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
29531 2014-11-14  David S. Miller  <davem@davemloft.net>
29533         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
29534         Define before including <string/memcpy.c> and <string/mempcpy.c>.
29536 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
29538         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
29539         * configure: Regenerated.
29540         * manual/install.texi (Tools for Compilation): Document a
29541         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
29542         compiler verified to work.
29543         * INSTALL: Regenerated.
29545         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
29546         redeclare with asm name.
29547         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
29548         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
29549         including <string.h>.
29550         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
29551         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
29552         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
29553         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
29554         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
29555         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
29556         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
29558 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
29560         * stdlib/strtol.c (__strtol): Use prototype definition.
29562         [BZ #17594]
29563         * stdlib/strtol.c (SYM__): New macro.
29564         (SYM__1): Likewise.
29565         (__strtol): Likewise.
29566         (strtol): Rename to __strtol and define as weak alias of
29567         __strtol.  Use libc_hidden_weak.
29569 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29571         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
29572         Use numbered labels in inline assembly.
29574 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29576         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
29577         Add setjmp LIBC_PROBE.
29578         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
29579         Likewise.
29580         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
29581         Add longjmp, longjmp_target LIBC_PROBE.
29582         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
29583         Likewise.
29585 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29587         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
29588         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
29589         to get rid of unused variable warning.
29591 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29593         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
29594         Check for unwind_backtrace ==  NULL only in SHARED case.
29595         (__backchain_backtrace): Compile only in SHARED case.
29596         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
29597         Likewise.
29598         (__backchain_backtrace): Declare as static.
29600 2014-11-12  Roland McGrath  <roland@hack.frob.com>
29602         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
29603         (__libc_multiple_threads_ptr): Variable moved ...
29604         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
29606 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
29608         * conform/GlibcConform.pm: New file.
29609         * conform/conformtest.pl: Use GlibcConform module.
29610         * conform/linknamespace.pl: New file.
29611         * conform/list-header-symbols.pl: Likewise.
29612         * conform/Makefile (linknamespace-symlists-base): New variable.
29613         (linknamespace-symlists-tests): Likewise.
29614         (linknamespace-header-base): Likewise.
29615         (linknamespace-header-tests): Likewise.
29616         (tests-special): Add new tests.
29617         ($(linknamespace-symlists-tests)): New rule.
29618         (linknamespace-libs): New variable.
29619         ($(objpfx)symlist-stdlibs): New rule.
29620         ($(linknamespace-header-tests)): Likewise.
29621         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
29622         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
29623         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
29624         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
29625         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
29626         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
29627         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
29628         (test-xfail-ISO/math.h/linknamespace): Likewise.
29629         (test-xfail-ISO/signal.h/linknamespace): Likewise.
29630         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
29631         (test-xfail-ISO/time.h/linknamespace): Likewise.
29632         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
29633         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
29634         (test-xfail-ISO99/math.h/linknamespace): Likewise.
29635         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
29636         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
29637         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
29638         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
29639         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
29640         (test-xfail-ISO11/math.h/linknamespace): Likewise.
29641         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
29642         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
29643         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
29644         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
29645         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
29646         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
29647         (test-xfail-XPG3/math.h/linknamespace): Likewise.
29648         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
29649         (test-xfail-XPG3/search.h/linknamespace): Likewise.
29650         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
29651         (test-xfail-XPG3/time.h/linknamespace): Likewise.
29652         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
29653         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
29654         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
29655         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
29656         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
29657         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
29658         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
29659         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
29660         (test-xfail-XPG4/math.h/linknamespace): Likewise.
29661         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
29662         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
29663         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
29664         (test-xfail-XPG4/search.h/linknamespace): Likewise.
29665         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
29666         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
29667         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
29668         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
29669         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
29670         (test-xfail-XPG4/time.h/linknamespace): Likewise.
29671         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
29672         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
29673         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
29674         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
29675         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
29676         (test-xfail-POSIX/math.h/linknamespace): Likewise.
29677         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
29678         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
29679         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
29680         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
29681         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
29682         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
29683         (test-xfail-POSIX/time.h/linknamespace): Likewise.
29684         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
29685         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
29686         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
29687         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
29688         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
29689         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
29690         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
29691         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
29692         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
29693         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
29694         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
29695         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
29696         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
29697         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
29698         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
29699         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
29700         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
29701         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
29702         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
29703         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
29704         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
29705         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
29706         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
29707         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
29708         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
29709         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
29710         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
29711         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
29712         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
29713         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
29714         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
29715         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
29716         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
29717         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
29718         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
29719         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
29720         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
29721         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
29722         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
29723         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
29724         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
29725         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
29726         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
29727         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
29728         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
29729         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
29730         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
29731         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
29732         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
29733         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
29734         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
29735         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
29736         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
29737         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
29738         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
29739         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
29740         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
29741         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
29742         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
29743         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
29744         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
29745         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
29746         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
29747         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
29748         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
29749         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
29750         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
29751         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
29752         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
29753         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
29754         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
29755         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
29756         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
29757         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
29758         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
29759         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
29760         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
29761         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
29762         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
29763         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
29764         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
29765         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
29766         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
29767         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
29768         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
29769         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
29770         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
29771         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
29772         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
29773         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
29774         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
29775         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
29776         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
29777         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
29778         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
29779         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
29780         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
29781         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
29783         [BZ #17589]
29784         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
29785         of fgets_unlocked.
29787         [BZ #17585]
29788         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
29789         (memmem): Rename to __memmem and define as weak alias of
29790         __memmem.  Use libc_hidden_weak.
29791         (__memmem): Use libc_hidden_def.
29792         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
29793         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
29794         memmem.
29796         [BZ #17582]
29797         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
29798         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
29799         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
29800         and define as weak alias of __fgets_unlocked.  Use
29801         libc_hidden_weak.
29802         (__fgets_unlocked): Use libc_hidden_def.
29803         * include/stdio.h (__fgets_unlocked): Declare.  Use
29804         libc_hidden_proto.
29805         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
29806         __fgets_unlocked instead of fgets_unlocked.
29807         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
29808         (GET_NPROCS_CONF_PARSER): Likewise.
29809         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
29810         (GET_NPROCS_CONF_PARSER): Likewise.
29812         [BZ #17574]
29813         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
29814         weak alias of __wmemset.  Use libc_hidden_weak.
29815         (__wmemset): Use libc_hidden_def.
29816         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
29817         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
29818         of wmemset.
29820         [BZ #17573]
29821         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
29822         with asm name __mempcpy.
29823         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
29825         [BZ #17572]
29826         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
29827         and define as weak alias of __rawmemchr.
29828         (__rawmemchr): Do not define as strong alias of rawmemchr.
29830         [BZ #17571]
29831         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
29832         alias of __qsort_r.
29833         (qsort): Call __qsort_r instead of qsort_r.
29834         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
29835         (__qsort_r): Declare.  Call libc_hidden_proto.
29836         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
29837         instead of qsort_r.
29838         * nscd/gai.c (__qsort_r): Define to qsort_r.
29839         * posix/tst-rfc3484.c (__qsort_r): Likewise.
29840         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
29841         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
29843         [BZ #17570]
29844         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
29845         define as weak alias of __malloc_info.
29847         [BZ #17584]
29848         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
29849         as weak alias of __rewinddir.  Don't use libc_hidden_def.
29850         (__rewinddir): Use libc_hidden_def.
29851         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
29852         as weak alias of __rewinddir.  Don't use libc_hidden_def.
29853         (__rewinddir): Use libc_hidden_def.
29854         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
29855         weak alias of __rewinddir.  Don't use libc_hidden_def.
29856         (__rewinddir): Use libc_hidden_def.
29857         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
29858         (__rewinddir): Use libc_hidden_proto.
29859         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
29860         rewinddir.
29861         (__getcwd): Use __rewinddir instead of rewinddir.
29863         [BZ #17583]
29864         * libio/fileno.c (fileno): Rename to __fileno and define as weak
29865         alias of __fileno.  Use libc_hidden_weak.
29866         (__fileno): Use libc_hidden_def.
29867         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
29868         * libio/ftello.c (ftello): Rename to __ftello and define as weak
29869         alias of __ftello.
29870         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
29871         __ftello.
29872         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
29873         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
29874         libc_hidden_def.
29875         (fread_unlocked): Don't use libc_hidden_ver.
29876         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
29877         and define as weak alias of __fread_unlocked.  Don't use
29878         libc_hidden_def.
29879         (__fread_unlocked): Use libc_hidden_def.
29880         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
29881         (ftello): Don't use libc_hidden_proto.
29882         (__ftello): Declare.  Use libc_hidden_proto.
29883         (fread_unlocked): Don't use libc_hidden_proto.
29884         (__fread_unlocked): Declare.  Use libc_hidden_proto.
29885         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
29886         and __ftello instead of fileno, fread_unlocked and ftello.
29888 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29890         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
29891         GOT12.
29892         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
29893         Likewise.
29894         (_dl_start_user): Likewise.
29895         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
29897 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
29898             Siddhesh Poyarekar  <siddhesh@redhat.com>
29900         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
29901         Move argv and envp down instead of moving argc up.
29902         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
29904 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
29906         [BZ #17506]
29907         * test-skeleton.c (main): Return successful if one of
29908         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
29909         * string/tst-strcoll-overflow.c: Define expected status.
29911 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
29913         [BZ #17475]
29914         * locale/iso-639.def: Define Bhili and Tulu language codes.
29916 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
29918         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
29920 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
29922         [BZ #17555]
29923         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
29925 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
29927         * configure.ac: Updated check of minimal required version to
29928         2.22.
29929         * manual/install.texi (Tools for Compilation): Updated version
29930         number.
29931         * configure: Regenerated.
29932         * INSTALL: Likewise.
29934 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
29936         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
29937         __tls_get_addr.
29939 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
29941         * include/sys/wait.h (__libc_waitpid): Remove declaration.
29942         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
29943         (__waitpid): Don't define as alias.  Use libc_hidden_def not
29944         libc_hidden_weak.
29945         (waitpid): Define as alias of __waitpid.
29946         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
29947         __waitpid.
29948         (__waitpid): Don't define as alias.  Use libc_hidden_def not
29949         libc_hidden_weak.
29950         (waitpid): Define as alias of __waitpid.
29951         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
29952         __libc_waitpid alias.
29953         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
29954         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
29955         Likewise.
29956         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
29957         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
29958         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
29959         alias.
29960         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
29961         __waitpid.
29962         (__waitpid): Don't define as alias.  Use libc_hidden_def not
29963         libc_hidden_weak.
29964         (waitpid): Define as alias of __waitpid.
29966 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
29968         * manual/llio.texi: Add comment that write safety has been
29969         fixed in Linux.
29971         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
29972         (localplt-build-dso): Add elf/ld.so.
29973         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
29974         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
29975         and free for ld.so.
29976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
29977         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
29978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
29979         Likewise.
29980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
29981         Likewise.
29982         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
29983         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
29984         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
29985         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
29986         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
29987         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
29988         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
29989         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
29990         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
29991         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
29992         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
29994 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
29996         [BZ #14132]
29997         * include/libc-symbols.h (INTUSE): Remove macro.
29998         (INTDEF): Likewise.
29999         (INTVARDEF): Likewise.
30000         (_INTVARDEF): Likewise.
30001         (INTDEF2): Likewise.
30002         (INTVARDEF2): Likewise.
30003         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
30004         rtld_hidden_def instead of INTVARDEF.
30005         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
30006         (_dl_starting_up_internal): Remove declaration.
30007         (_dl_starting_up): Use rtld_hidden_proto.
30008         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
30009         declaration.
30010         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
30011         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
30012         _dl_starting_up.
30013         * elf/dl-writev.h (_dl_writev): Likewise.
30014         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
30015         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
30016         _dl_starting_up_internal.
30018 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30020         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
30021         test-skeleton.c.
30023 2014-11-05  Will Newton  <will.newton@linaro.org>
30025         * benchtests/Makefile: (bench-malloc): Add malloc thread
30026         scalability benchmark.
30027         * benchtests/bench-malloc-threads.c: New file.
30029 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
30031         * sysdeps/aarch64/strchrnul.S: New file.
30033 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30035         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
30036         definition.
30037         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
30038         Likwise.
30039         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
30040         Likewise.
30041         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
30042         Likewise.
30043         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
30044         Likewise.
30045         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
30046         Likewise.
30048 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
30050         * catgets/test-gencat.c: Use test-skeleton.c.
30051         * catgets/tst-catgets.c: Likewise.
30052         * csu/tst-empty.c: Likewise.
30053         * elf/tst-audit2.c: Likewise.
30054         * elf/tst-global1.c: Likewise.
30055         * elf/tst-pathopt.c: Likewise.
30056         * elf/tst-piemod1.c: Likewise.
30057         * elf/tst-tls10.c: Likewise.
30058         * elf/tst-tls11.c: Likewise.
30059         * elf/tst-tls12.c: Likewise.
30060         * gnulib/tst-gcc.c: Likewise.
30061         * iconvdata/tst-e2big.c: Likewise.
30062         * iconvdata/tst-loading.c: Likewise.
30063         * iconv/tst-iconv1.c: Likewise.
30064         * iconv/tst-iconv2.c: Likewise.
30065         * inet/test-inet6_opt.c: Likewise.
30066         * inet/tst-gethnm.c: Likewise.
30067         * inet/tst-network.c: Likewise.
30068         * inet/tst-ntoa.c: Likewise.
30069         * intl/tst-codeset.c: Likewise.
30070         * intl/tst-gettext2.c: Likewise.
30071         * intl/tst-gettext3.c: Likewise.
30072         * intl/tst-ngettext.c: Likewise.
30073         * intl/tst-translit.c: Likewise.
30074         * io/test-stat.c: Likewise.
30075         * libio/test-fmemopen.c: Likewise.
30076         * libio/tst-freopen.c: Likewise.
30077         * libio/tst-sscanf.c: Likewise.
30078         * libio/tst-ungetwc1.c: Likewise.
30079         * libio/tst-ungetwc2.c: Likewise.
30080         * libio/tst-widetext.c: Likewise.
30081         * localedata/tst-ctype.c: Likewise.
30082         * localedata/tst-digits.c: Likewise.
30083         * localedata/tst-leaks.c: Likewise.
30084         * localedata/tst-mbswcs1.c: Likewise.
30085         * localedata/tst-mbswcs2.c: Likewise.
30086         * localedata/tst-mbswcs3.c: Likewise.
30087         * localedata/tst-mbswcs4.c: Likewise.
30088         * localedata/tst-mbswcs5.c: Likewise.
30089         * localedata/tst-setlocale.c: Likewise.
30090         * localedata/tst-trans.c: Likewise.
30091         * localedata/tst-wctype.c: Likewise.
30092         * localedata/tst-xlocale1.c: Likewise.
30093         * login/tst-grantpt.c: Likewise.
30094         * malloc/tst-calloc.c: Likewise.
30095         * malloc/tst-malloc.c: Likewise.
30096         * malloc/tst-mallocstate.c: Likewise.
30097         * malloc/tst-mcheck.c: Likewise.
30098         * malloc/tst-mtrace.c: Likewise.
30099         * malloc/tst-obstack.c: Likewise.
30100         * math/atest-exp2.c: Likewise.
30101         * math/atest-exp.c: Likewise.
30102         * math/atest-sincos.c: Likewise.
30103         * math/test-matherr.c: Likewise.
30104         * math/test-misc.c: Likewise.
30105         * math/test-powl.c: Likewise.
30106         * math/tst-definitions.c: Likewise.
30107         * misc/tst-dirname.c: Likewise.
30108         * misc/tst-efgcvt.c: Likewise.
30109         * misc/tst-fdset.c: Likewise.
30110         * misc/tst-hsearch.c: Likewise.
30111         * misc/tst-mntent2.c: Likewise.
30112         * nptl/tst-sem7.c: Likewise.
30113         * nptl/tst-sem8.c: Likewise.
30114         * nptl/tst-sem9.c: Likewise.
30115         * nss/test-netdb.c: Likewise.
30116         * posix/tst-fnmatch.c: Likewise.
30117         * posix/tst-getlogin.c: Likewise.
30118         * posix/tst-gnuglob.c: Likewise.
30119         * posix/tst-mmap.c: Likewise.
30120         * pwd/tst-getpw.c: Likewise.
30121         * resolv/tst-inet_ntop.c: Likewise.
30122         * rt/tst-timer.c: Likewise.
30123         * stdio-common/test-fseek.c: Likewise.
30124         * stdio-common/test-popen.c: Likewise.
30125         * stdio-common/test-vfprintf.c: Likewise.
30126         * stdio-common/tst-cookie.c: Likewise.
30127         * stdio-common/tst-fileno.c: Likewise.
30128         * stdio-common/tst-gets.c: Likewise.
30129         * stdio-common/tst-obprintf.c: Likewise.
30130         * stdio-common/tst-perror.c: Likewise.
30131         * stdio-common/tst-sprintf2.c: Likewise.
30132         * stdio-common/tst-sprintf3.c: Likewise.
30133         * stdio-common/tst-sprintf.c: Likewise.
30134         * stdio-common/tst-swprintf.c: Likewise.
30135         * stdio-common/tst-tmpnam.c: Likewise.
30136         * stdio-common/tst-unbputc.c: Likewise.
30137         * stdio-common/tst-wc-printf.c: Likewise.
30138         * stdlib/tst-environ.c: Likewise.
30139         * stdlib/tst-fmtmsg.c: Likewise.
30140         * stdlib/tst-limits.c: Likewise.
30141         * stdlib/tst-rand48-2.c: Likewise.
30142         * stdlib/tst-rand48.c: Likewise.
30143         * stdlib/tst-random2.c: Likewise.
30144         * stdlib/tst-random.c: Likewise.
30145         * stdlib/tst-strtol.c: Likewise.
30146         * stdlib/tst-strtoll.c: Likewise.
30147         * stdlib/tst-tls-atexit.c: Likewise.
30148         * stdlib/tst-xpg-basename.c: Likewise.
30149         * string/test-ffs.c: Likewise.
30150         * string/tst-bswap.c: Likewise.
30151         * string/tst-inlcall.c: Likewise.
30152         * string/tst-strtok.c: Likewise.
30153         * string/tst-strxfrm.c: Likewise.
30154         * sysdeps/x86_64/tst-audit10.c: Likewise.
30155         * sysdeps/x86_64/tst-audit3.c: Likewise.
30156         * sysdeps/x86_64/tst-audit4.c: Likewise.
30157         * sysdeps/x86_64/tst-audit5.c: Likewise.
30158         * time/tst-ftime_l.c: Likewise.
30159         * time/tst-getdate.c: Likewise.
30160         * time/tst-mktime3.c: Likewise.
30161         * time/tst-mktime.c: Likewise.
30162         * time/tst-posixtz.c: Likewise.
30163         * time/tst-strptime2.c: Likewise.
30164         * time/tst-strptime3.c: Likewise.
30165         * wcsmbs/tst-btowc.c: Likewise.
30166         * wcsmbs/tst-mbrtowc.c: Likewise.
30167         * wcsmbs/tst-mbsrtowcs.c: Likewise.
30168         * wcsmbs/tst-wchar-h.c: Likewise.
30169         * wcsmbs/tst-wcpncpy.c: Likewise.
30170         * wcsmbs/tst-wcrtomb.c: Likewise.
30171         * wcsmbs/tst-wcsnlen.c: Likewise.
30172         * wcsmbs/tst-wcstof.c: Likewise.
30174 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
30176         [BZ #14132]
30177         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
30178         INTDEF.
30179         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
30180         declaration.
30181         (_dl_mcount): Use rtld_hidden_proto.
30182         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
30183         _dl_mcount.
30184         * elf/rtld.c (_rtld_global_ro): Likewise.
30186         [BZ #14132]
30187         * elf/dl-init.c (_dl_init): Don't use INTDEF.
30188         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
30189         of _dl_init_internal.
30190         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
30191         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
30192         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
30193         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
30194         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
30195         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
30196         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
30197         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
30198         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
30199         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
30200         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
30201         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
30202         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30203         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
30204         * sysdeps/tile/dl-start.S (_start): Likewise.
30205         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
30206         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
30208         [BZ #14132]
30209         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
30210         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
30211         (rtld_progname): Make macro definition unconditional.
30212         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
30213         INTDEF.
30214         (dlmopen_doit): Do not use INTUSE with _dl_argv.
30215         (dl_main): Likewise.
30216         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
30217         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
30218         instead of _dl_argv_internal.
30219         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
30220         __GI__dl_argv instead of INTUSE(_dl_argv).
30221         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
30222         __GI__dl_argv instead of _dl_argv_internal.
30224         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
30225         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
30226         macro.
30227         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
30228         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
30229         New macro.
30230         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
30231         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
30232         macro.
30233         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
30234         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
30236 2014-11-04  Andreas Schwab  <schwab@suse.de>
30238         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
30240 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30242         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
30243         mtvsrd instruction in binary form.
30245 2014-11-03  Andreas Schwab  <schwab@suse.de>
30247         [BZ #17522]
30248         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
30249         for less than MB_LEN_MAX use a local buffer of that size.
30250         * libio/tst-fputws.c: New file.
30251         * libio/Makefile (tests): Add tst-fputws.
30253 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
30255         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
30256         the size of the fpu_fr.fpu_dregs[] array.
30258 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
30260         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
30261         (__nanosleep): Do not define as alias.
30262         (nanosleep): Define as alias of __nanosleep.
30263         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
30264         __libc_nanosleep name.
30266 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
30268         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
30269         install.texi in comment.
30271 2014-10-31  Torvald Riegel  <triegel@redhat.com>
30273         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
30274         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
30275         ... add here and use lwsync or sync ...
30276         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
30277         ... and add here using lwsync.
30279 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
30281         * elf/dl-machine-reject-phdr.h: New file.
30282         * elf/dl-load.c: #include that.
30283         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
30284         if that returned true.
30286 2014-10-31  Roland McGrath  <roland@hack.frob.com>
30288         [BZ #17496]
30289         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
30290         gen-as-const-headers chunk.  Add a big scare comment after the last
30291         safe place to touch before-compile.
30293 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
30295         * manual/install.texi (Tools for Compilation): Update autoconf
30296         version requirements.
30297         * INSTALL: Regenerated.
30299         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
30300         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
30301         (__libc_pselect): Likewise.
30303         [BZ #14138]
30304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
30305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
30306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
30307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
30309 2014-10-31  Torvald Riegel  <triegel@redhat.com>
30311         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
30312         correct barrier instruction.
30313         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
30314         Likewise.
30315         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
30316         Likewise.
30318 2014-10-30  Roland McGrath  <roland@hack.frob.com>
30320         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
30321         after defining inlines.  Instead, just use parens to defeat macro
30322         expansion of __isctype in its declaration.
30324 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
30326         * include/sys/uio.h (__libc_readv): Remove declaration.
30327         (__libc_writev): Likewise.
30328         * misc/readv.c (__libc_readv): Rename to __readv.
30329         (__readv): Do not define as alias.
30330         (readv): Define as alias of __readv.
30331         * misc/writev.c (__libc_writev): Rename to __writev.
30332         (__writev): Do not define as alias.
30333         (writev): Define as alias of __writev.
30334         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
30335         (__readv): Do not define as alias.
30336         (readv): Define unconditionally as alias of __readv.
30337         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
30338         (__writev): Do not define as alias.
30339         (writev): Define unconditionally as alias of __writev.
30340         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
30341         name.
30342         (writev): Do not define __libc_writev name.
30344 2014-10-30  Roland McGrath  <roland@hack.frob.com>
30346         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
30347         (convert_charseq): New function, broken out of ...
30348         (use_from_charmap): ... here.  Call it.
30349         (use_to_charmap): Use convert_charseq and free instead of duplicating
30350         its code with a variable-length stack struct.
30352 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
30354         * include/fcntl.h (__libc_creat): Remove declaration.
30355         * io/creat.c (__libc_creat): Rename to creat.
30356         (creat): Do not define as alias.
30357         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
30358         of creat instead of __libc_creat.
30359         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
30360         to creat.
30361         (creat): Do not define as alias.
30362         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
30363         __libc_creat.
30364         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
30365         __libc_creat name.
30366         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
30367         Likewise.
30369 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
30371         * manual/llio.texi: Add comments discussing why write() may be
30372         considered MT-unsafe on Linux.
30374 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
30376         * dl-load.c (local_strdup): Remove.
30377         (expand_dynamic_string_token): Use __strdup.
30378         (decompose_rpath): Likewise.
30379         (_dl_map_object): Likewise.
30381 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
30383         [BZ #14132]
30384         * sysdeps/generic/unwind-dw2-fde.c
30385         (__register_frame_info_bases_internal): Do not declare.
30386         (__register_frame_info_table_bases_internal): Likewise.
30387         (__deregister_frame_info_bases_internal): Likewise.
30388         (__register_frame_info_bases): Declare and use hidden_proto before
30389         definition.  Use hidden_def instead of INTDEF.
30390         (__register_frame_info_table_bases): Likewise.
30391         (__deregister_frame_info_bases): Likewise.
30392         (__register_frame_info): Do not use INTUSE.
30393         (__register_frame): Likewise.
30394         (__register_frame_info_table): Likewise.
30395         (__register_frame_table): Likewise.
30396         (__deregister_frame_info): Likewise.
30397         (__deregister_frame): Likewise.
30399 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
30401         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30402         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
30403         not undefine.
30404         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
30405         Likewise.
30406         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
30407         Likewise.
30409 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
30411         [BZ #14138]
30412         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
30413         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
30414         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
30415         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
30416         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
30417         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
30418         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
30419         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
30420         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
30421         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
30422         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
30423         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
30424         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
30425         syscall.
30426         (setfsuid): Likewise.
30427         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
30428         (setfsuid): Likewise.
30429         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
30430         (setfsuid): Likewise.
30431         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
30432         Likewise.
30433         (setfsuid): Likewise.
30434         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
30435         (setfsuid): Likewise.
30436         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
30437         Likewise.
30438         (setfsuid): Likewise.
30440 2014-10-27  Andreas Schwab  <schwab@suse.de>
30442         [BZ #17501]
30443         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
30444         check for Slow_SSE4_2 feature bit.
30445         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
30446         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
30447         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
30448         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
30450 2014-10-24  Roland McGrath  <roland@hack.frob.com>
30452         * configure.ac: Validate compiler version with a empirical test of
30453         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
30454         $CC -v output.
30455         * configure: Regenerated.
30457         * inet/htons.c (htons): Prototypify.
30458         * inet/htonl.c (htonl): Likewise.
30460 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30462         * string/strncat.c (strncat): Improve performance by using strlen.
30464 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30466         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
30468 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30470         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
30471         Call libc_fetestexcept_aarch64.
30473 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30475         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
30476         Call libc_feholdexcept_aarch64.
30478 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30480         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
30481         Call get_rounding_mode.
30483 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30485         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
30486         Simplify logic.
30488 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30490         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
30491         Simplify logic.
30493 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
30495         [BZ #14138]
30496         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
30497         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
30498         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
30499         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
30500         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
30501         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
30502         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
30503         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
30504         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
30505         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
30506         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
30507         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
30508         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
30509         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
30510         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
30511         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
30512         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
30513         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
30514         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
30515         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
30516         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
30517         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
30518         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
30519         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
30520         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
30521         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
30522         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
30523         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
30524         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
30525         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
30526         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
30527         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
30528         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
30529         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
30530         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
30531         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
30532         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
30533         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
30534         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
30535         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
30536         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
30537         syscall.
30538         (geteuid): Likewise.
30539         (getgid): Likewise.
30540         (getuid): Likewise.
30541         (getresgid): Likewise.
30542         (getresuid): Likewise.
30543         (getgroups): Likewise.
30544         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
30545         (geteuid): Likewise.
30546         (getgid): Likewise.
30547         (getuid): Likewise.
30548         (getresgid): Likewise.
30549         (getresuid): Likewise.
30550         (getgroups): Likewise.
30551         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
30552         (geteuid): Likewise.
30553         (getgid): Likewise.
30554         (getuid): Likewise.
30555         (getresgid): Likewise.
30556         (getresuid): Likewise.
30557         (getgroups): Likewise.
30558         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
30559         Likewise.
30560         (geteuid): Likewise.
30561         (getgid): Likewise.
30562         (getuid): Likewise.
30563         (getresgid): Likewise.
30564         (getresuid): Likewise.
30565         (getgroups): Likewise.
30566         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
30567         (geteuid): Likewise.
30568         (getgid): Likewise.
30569         (getuid): Likewise.
30570         (getresgid): Likewise.
30571         (getresuid): Likewise.
30572         (getgroups): Likewise.
30573         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
30574         Likewise.
30575         (geteuid): Likewise.
30576         (getgid): Likewise.
30577         (getuid): Likewise.
30578         (getgroups): Likewise.
30580         [BZ #14138]
30581         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
30582         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
30583         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
30584         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
30585         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
30586         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
30587         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
30588         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
30589         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
30590         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
30591         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
30592         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
30593         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
30594         __chown.
30595         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
30596         (lchown): Likewise.
30597         (fchown): Likewise.
30598         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
30599         Likewise.
30600         (lchown): Likewise.
30601         (fchown): Likewise.
30602         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
30603         (lchown): Likewise.
30604         (fchown): Likewise.
30605         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
30606         Likewise.
30607         (lchown): Likewise.
30608         (fchown): Likewise.
30610 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
30612         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
30613         Simplify logic.
30615 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
30617         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
30618         Cleanup logic.
30620 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
30622         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
30623         Remove unused include.
30625 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
30627         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
30628         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
30629         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
30630         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
30632 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
30633             Helge Deller <deller@gmx.de>
30635         [BZ #17508]
30636         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
30637         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
30638         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
30640 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
30642         [BZ #14132]
30643         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
30644         Remove macro definition.
30645         (__ashrdi3_v_glibc20): Likewise.
30646         (__lshrdi3_v_glibc20): Likewise.
30647         (__cmpdi2_v_glibc20): Likewise.
30648         (__ucmpdi2_v_glibc20): Likewise.
30649         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
30650         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
30651         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
30652         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
30653         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
30654         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
30656 2014-10-22  Roland McGrath  <roland@hack.frob.com>
30658         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
30659         old GNU extension [0] syntax.
30660         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
30661         alloca rather than an array member with variable length.
30662         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
30663         * nscd/nscd.c (invalidate_db): New function, broken out of ...
30664         (parse_opt): ... here.  Likewise use alloca there.
30665         Validate the -i argument before checking for rootness.
30666         (send_shutdown): New function, broken out of ...
30667         (parse_opt): ... here.
30669 2014-10-22  Roland McGrath  <roland@hack.frob.com>
30671         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
30672         macro to get at the _rt_local_ro field.
30673         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
30674         ([PIC] case) or _dl_hwcap ([!PIC] case).
30675         * sysdeps/arm/setjmp.S: Likewise.
30677         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
30678         * sysdeps/arm/configure.ac: New check to define it.
30679         * sysdeps/arm/configure: Regenerated.
30680         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
30681         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
30682         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
30683         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
30684         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
30685         Use move/movt pair instead of a load.
30686         (LDST_GLOBAL): Macro removed.
30687         (LDR_GLOBAL): New macro replaces it.
30688         (LDR_HIDDEN): New macro.
30689         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
30690         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
30692         * setjmp/tst-setjmp-static.c: New file.
30693         * setjmp/Makefile (tests): Add it.
30694         (tests-static): New variable.
30696 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
30698         [BZ #17485]
30699         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
30701 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
30703         [BZ #14132]
30704         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
30706 2014-10-21  Roland McGrath  <roland@hack.frob.com>
30708         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
30710 2014-10-20  Roland McGrath  <roland@hack.frob.com>
30712         * io/fts.c (dirent_not_directory): New function.
30713         (fts_build): Call it.
30715 2014-10-20  Roland McGrath  <roland@hack.frob.com>
30717         * nptl/version.c (__nptl_main): Use normal __write rather than
30718         INTERNAL_SYSCALL.
30719         (banner): Update copyright years.
30721         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
30722         gettimeofday.
30723         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
30724         * nptl/pthread_cond_timedwait.c: Likewise.
30725         * nptl/pthread_mutex_timedlock.c: Likewise.
30726         * nptl/sem_timedwait.c: Likewise.
30728         * sysdeps/nptl/bits/libc-lock.h
30729         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
30730         (__libc_lock_init_recursive): Return void, not 0.
30731         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
30732         (__libc_rwlock_init): Likewise.
30733         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
30735 2014-10-20  Torvald Riegel  <triegel@redhat.com>
30737         [BZ #15215]
30738         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
30739         (__pthread_once_slow): ... here.
30740         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
30741         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
30743 2014-10-20  Torvald Riegel  <triegel@redhat.com>
30745         [BZ #15215]
30746         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
30747         __PTHREAD_ONCE_FORK_GEN_INCR): New.
30748         * sysdeps/nptl/fork.c (__libc_fork): Use them.
30749         * nptl/pthread_once.c (__pthread_once): Likewise.
30750         Update comments.
30752 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
30754         [BZ #14138]
30755         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
30756         name.
30757         (writev): Use __libc_writev as strong name.
30758         * sysdeps/unix/sysv/linux/readv.c: Remove file.
30759         * sysdeps/unix/sysv/linux/writev.c: Likewise.
30761 2014-10-17  Roland McGrath  <roland@hack.frob.com>
30763         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
30765         * sysdeps/i386/nptl/tls.h
30766         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
30767         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
30768         New macros.
30769         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
30770         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
30771         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
30772         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
30773         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
30774         Call CHECK_THREAD_SYSINFO instead of doing an assert.
30776         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
30777         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
30778         on [__NR_futex].
30779         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
30780         broken out of ...
30781         (__pthread_mutex_init): ... here.  Call it.
30782         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
30783         Conditionalize PI cases on [__NR_futex].
30784         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
30785         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
30786         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
30788         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
30789         conditional on [SIGSETXID].
30790         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
30791         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
30792         is defined.  Likewise for SIGSETXID.
30793         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
30794         Conditionalize definitions on [SIGSETXID].
30795         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
30796         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
30797         unblocking on [SIGCANCEL].
30799         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
30800         [__NR_set_robust_list].
30802 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
30804         * string/strcoll_l.c (get_next_seq): Fix up formatting.
30805         (do_compare): Likewise.
30807 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
30809         [BZ #15884]
30810         * string/strcoll_l.c: Don't include stdio.h.
30811         (coll_seq): Remove members idxarr and rulearr.
30812         (get_next_seq_cached): Remove function.
30813         (get_next_seq): Likewise.
30814         (get_next_seq_nocache): Rename to get_next_seq.
30815         (do_compare): Remove function.
30816         (do_compare_nocache): Rename to do_compare.
30817         (STRCOLL): Remove weight and rules cache.
30819 2014-10-16  Roland McGrath  <roland@hack.frob.com>
30821         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
30822         * sysdeps/arm/sfp-machine.h: ... to here.
30823         * sysdeps/arm/Implies: Remove arm/soft-fp.
30825 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
30827         * conform/data/sys/utsname.h-data (*_t): Allow.
30828         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
30829         [POSIX] (WEXITED): Do not expect constant.
30830         [POSIX] (WSTOPPED): Likewise.
30831         [POSIX] (WNOHANG): Likewise.
30832         [POSIX] (WNOWAIT): Likewise.
30833         [POSIX] (siginfo_t): Do not expect type or elements.
30834         [POSIX] (pid_t): Do not expect type.
30835         [POSIX] (signal.h): Do not allow header.
30836         [POSIX] (sys/resource.h): Likewise.
30837         [POSIX] (si_*): Do not allow pattern.
30838         [POSIX] (W*): Likewise.
30839         [POSIX] (P_*): Likewise.
30840         [POSIX] (BUS_*): Likewise.
30841         [POSIX] (CLD_*): Likewise.
30842         [POSIX] (FPE_*): Likewise.
30843         [POSIX] (ILL_*): Likewise.
30844         [POSIX] (POLL_*): Likewise.
30845         [POSIX] (SEGV_*): Likewise.
30846         [POSIX] (SI_*): Likewise.
30847         [POSIX] (TRAP_*): Likewise.
30848         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
30849         variable.
30851 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
30853         [BZ #12926]
30854         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
30855         infinite loop when __recvmsg returns 0.
30857 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
30859         * CANCEL-FCT-WAIVE: Remove file.
30860         * CANCEL-FILE-WAIVE: Likewise.
30862         [BZ #14132]
30863         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
30864         instead of INTVARDEF.
30865         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
30866         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
30867         rtld_hidden_data_def instead of INTVARDEF.
30868         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
30869         * elf/dl-deps.c (expand_dst): Likewise.
30870         * elf/dl-load.c (_dl_dst_count): Likewise.
30871         (_dl_dst_substitute): Likewise.
30872         (decompose_rpath): Likewise.
30873         (_dl_init_paths): Likewise.
30874         (open_path): Likewise.
30875         (_dl_map_object): Likewise.
30876         * elf/rtld.c (dl_main): Likewise.
30877         (process_dl_audit): Likewise.
30878         (process_envvars): Likewise.
30879         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
30880         Remove declaration.
30881         (__libc_enable_secure): Use rtld_hidden_proto.
30883 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30885         * elf/dl-load.c
30886         (add_path): New function broken out of _dl_rtld_di_serinfo.
30887         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
30889 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
30891         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
30892         parentheses around macro arguments.
30893         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
30894         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
30895         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
30896         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
30897         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
30898         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
30899         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
30900         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
30901         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
30902         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
30903         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
30904         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
30905         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
30906         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
30907         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
30908         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
30909         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
30910         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
30911         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
30912         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
30913         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
30914         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
30915         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
30916         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
30917         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
30918         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
30919         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
30920         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
30921         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
30922         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
30923         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
30924         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
30925         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
30926         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
30927         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
30928         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
30929         Likewise.
30930         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
30931         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
30932         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
30933         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
30934         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
30935         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
30936         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
30937         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
30938         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
30939         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
30940         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
30941         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
30942         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
30943         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
30944         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
30945         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
30946         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
30947         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
30948         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
30949         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
30950         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
30951         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
30952         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
30953         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
30954         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
30955         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
30956         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
30957         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
30958         (_FP_FRAC_SRS_1): Likewise.
30959         (_FP_FRAC_CLZ_1): Likewise.
30960         (_FP_MUL_MEAT_1_imm): Likewise.
30961         (_FP_MUL_MEAT_1_wide): Likewise.
30962         (_FP_MUL_MEAT_1_hard): Likewise.
30963         (_FP_SQRT_MEAT_1): Likewise.
30964         (_FP_FRAC_ASSEMBLE_1): Likewise.
30965         (_FP_FRAC_DISASSEMBLE_1): Likewise.
30966         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
30967         (__FP_CLZ_2): Likewise.
30968         (_FP_MUL_MEAT_2_wide): Likewise.
30969         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
30970         (_FP_MUL_MEAT_2_gmp): Likewise.
30971         (_FP_MUL_MEAT_2_120_240_double): Likewise.
30972         (_FP_SQRT_MEAT_2): Likewise.
30973         (_FP_FRAC_ASSEMBLE_2): Likewise.
30974         (_FP_FRAC_DISASSEMBLE_2): Likewise.
30975         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
30976         (_FP_FRAC_CLZ_4): Likewise.
30977         (_FP_MUL_MEAT_4_wide): Likewise.
30978         (_FP_MUL_MEAT_4_gmp): Likewise.
30979         (_FP_SQRT_MEAT_4): Likewise.
30980         (_FP_FRAC_ASSEMBLE_4): Likewise.
30981         (_FP_FRAC_DISASSEMBLE_4): Likewise.
30982         * soft-fp/op-common.h (_FP_CMP): Likewise.
30983         (_FP_CMP_EQ): Likewise.
30984         (_FP_CMP_UNORD): Likewise.
30985         (_FP_TO_INT): Likewise.
30986         (_FP_FROM_INT): Likewise.
30987         [!__FP_CLZ] (__FP_CLZ): Likewise.
30988         (_FP_DIV_HELP_imm): Likewise.
30989         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
30990         Likewise.
30991         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
30992         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
30993         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
30994         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
30995         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
30996         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
30997         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
30998         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
30999         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
31000         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
31001         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
31002         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
31003         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
31004         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
31005         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
31006         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
31007         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
31008         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
31009         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
31010         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
31011         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
31012         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
31013         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
31014         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
31015         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
31016         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
31017         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
31018         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
31019         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
31020         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
31021         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
31022         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
31023         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
31024         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
31025         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
31026         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
31027         (FP_UNPACK_RAW_SP): Likewise.
31028         (FP_PACK_RAW_S): Likewise.
31029         (FP_PACK_RAW_SP): Likewise.
31030         (FP_UNPACK_S): Likewise.
31031         (FP_UNPACK_SP): Likewise.
31032         (FP_UNPACK_SEMIRAW_S): Likewise.
31033         (FP_UNPACK_SEMIRAW_SP): Likewise.
31034         (FP_PACK_S): Likewise.
31035         (FP_PACK_SP): Likewise.
31036         (FP_PACK_SEMIRAW_S): Likewise.
31037         (FP_PACK_SEMIRAW_SP): Likewise.
31038         (_FP_SQRT_MEAT_S): Likewise.
31039         (FP_CMP_S): Likewise.
31040         (FP_CMP_EQ_S): Likewise.
31041         (FP_CMP_UNORD_S): Likewise.
31042         (FP_TO_INT_S): Likewise.
31043         (FP_FROM_INT_S): Likewise.
31045         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
31047         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
31048         (FP_EX_INVALID_IMZ): Likewise.
31049         (FP_EX_INVALID_IMZ_FMA): Likewise.
31050         (FP_EX_INVALID_ISI): Likewise.
31051         (FP_EX_INVALID_ZDZ): Likewise.
31052         (FP_EX_INVALID_IDI): Likewise.
31053         (FP_EX_INVALID_SQRT): Likewise.
31054         (FP_EX_INVALID_CVI): Likewise.
31055         (FP_EX_INVALID_VC): Likewise.
31056         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
31057         "invalid" exceptions.
31058         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
31059         (_FP_ADD_INTERNAL): Likewise.
31060         (_FP_MUL): Likewise.
31061         (_FP_FMA): Likewise.
31062         (_FP_DIV): Likewise.
31063         (_FP_CMP_CHECK_NAN): Likewise.
31064         (_FP_SQRT): Likewise.
31065         (_FP_TO_INT): Likewise.
31066         (FP_EXTEND): Likewise.
31068 2014-10-09  Allan McRae  <allan@archlinux.org>
31070         * po/fr.po: Update French translation from translation project.
31072 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
31074         [BZ #14132]
31075         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
31076         of INTDEF.
31077         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
31078         (__cxa_atexit): Use libc_hidden_proto.
31079         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
31081         [BZ #14132]
31082         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
31083         declaration.
31084         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
31085         [!_ISOMAC] (__iswspace_l_internal): Likewise.
31086         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
31087         [!_ISOMAC] (__iswctype_internal): Likewise.
31088         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
31089         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
31090         alias.
31091         (fcntl): Remove __fcntl_internal alias.
31092         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
31093         __connect_internal alias.
31094         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
31095         Likewise.
31097         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
31098         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
31099         FP_DENORM_ZERO.
31100         (_FP_CHECK_FLUSH_ZERO): New macro.
31101         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
31102         (_FP_CMP): Likewise.
31103         (_FP_CMP_EQ): Likewise.
31104         (_FP_TO_INT): Do not set inexact for subnormal arguments if
31105         FP_DENORM_ZERO.
31106         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
31107         (FP_TRUNC): Likewise.
31109         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
31110         treated as invalid conversion, not as normal exponent.
31112         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
31113         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
31114         (_FP_CMP_EQ): Likewise.
31115         (_FP_CMP_UNORD): Likewise.
31116         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
31117         (FP_CMP_EQ_D): Likewise.
31118         (FP_CMP_UNORD_D): Likewise.
31119         * soft-fp/extended.h (FP_CMP_E): Likewise.
31120         (FP_CMP_EQ_E): Likewise.
31121         (FP_CMP_UNORD_E): Likewise.
31122         * soft-fp/quad.h (FP_CMP_Q): Likewise.
31123         (FP_CMP_EQ_Q): Likewise.
31124         (FP_CMP_UNORD_Q): Likewise.
31125         * soft-fp/single.h (FP_CMP_S): Likewise.
31126         (FP_CMP_EQ_S): Likewise.
31127         (FP_CMP_UNORD_S): Likewise.
31128         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
31129         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
31130         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
31131         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
31132         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
31133         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
31134         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
31135         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
31136         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
31137         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
31138         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
31139         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
31140         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
31141         to FP_CMP_Q.
31142         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
31143         FP_CMP_Q.
31144         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
31145         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
31146         FP_CMP_EQ_Q.
31147         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
31148         FP_CMP_Q.
31149         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
31150         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
31151         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
31152         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
31153         FP_CMP_EQ_Q.
31154         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
31155         FP_CMP_Q.
31156         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
31157         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
31158         FP_CMP_EQ_Q.
31159         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
31160         FP_CMP_Q.
31161         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
31162         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
31163         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
31164         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
31165         FP_CMP_EQ_Q.
31167         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
31168         a subnormal result, set the underflow exception if trapping on
31169         underflow is enabled.
31170         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
31171         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
31172         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
31173         redefine to 0.
31174         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
31175         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
31176         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
31177         * soft-fp/extendxftf2.c (__extendxftf2): Use
31178         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
31180         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
31181         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
31182         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
31183         FP_HANDLE_EXCEPTIONS.
31184         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
31185         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
31186         FP_HANDLE_EXCEPTIONS.
31187         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
31188         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
31189         FP_HANDLE_EXCEPTIONS.
31190         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
31191         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
31192         FP_HANDLE_EXCEPTIONS.
31194 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
31196         [BZ #14132]
31197         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
31198         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
31199         use INTUSE.
31200         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
31201         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
31202         Remove alias.
31203         (__adjtimex): Define using libc_hidden_ver.
31204         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
31205         Remove declaration.
31206         (ntp_gettime): Call __adjtimex directly.
31207         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
31208         Remove declaration.
31209         (ntp_gettimex): Call __adjtimex directly.
31210         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
31211         __adjtimex_internal alias.
31213 2014-10-08  Roland McGrath  <roland@hack.frob.com>
31215         [BZ #17460]
31216         * nscd/nscd.c (more_help): Rewrite list of tables collection
31217         using xstrdup and asprintf.
31219         * nscd/nscd_conf.c: Remove local xstrdup declaration.
31221 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31222             Roland McGrath  <roland@hack.frob.com>
31224         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
31225         (do_lookup_unique): ... local function 'enter' here; update callers.
31227 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
31229         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
31230         compat_symbol calls on [SHARED].
31231         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
31232         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
31233         Remove.
31234         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
31235         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
31236         (oldsetrlimit): Remove.
31237         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
31238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
31239         (lchown): New syscall entry.
31240         (oldsetrlimit): Remove.
31241         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
31242         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
31243         (oldsetrlimit): Remove.
31244         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
31246         [BZ #14138]
31247         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
31248         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
31249         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
31250         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
31251         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
31252         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
31253         (fchown): Likewise.
31254         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
31255         (fchown): Likewise.
31256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
31257         Likewise.
31259 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31261         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
31262         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
31263         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
31264         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
31265         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
31266         Likewise.
31267         (__old_sem_post): Likewise.
31269 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
31271         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
31272         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
31273         HAVE_CLOCK_GETTIME_VSYSCALL macros.
31274         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
31275         Use INLINE_VSYSCALL macro.
31276         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
31277         __vdso_clock_gettime.
31278         * sysdeps/unix/sysv/linux/tile/init-first.c
31279         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
31280         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
31281         __vdso_clock_gettime.
31283         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
31284         to set up frame more cleanly.
31286         * sysdeps/tile/memcmp.c: New file.
31288         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
31290         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
31291         * sysdeps/tile/tilegx/strcasestr.c: New file.
31292         * sysdeps/tile/tilegx/strnlen.c: New file.
31293         * sysdeps/tile/tilegx/strstr.c: New file.
31295         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
31297 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
31299         * nptl/tst-setuid3.c: Write errors to stdout.
31301 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31303         * elf/dl-deps.c
31304         (preload): New functions broken out of _dl_map_object_deps.
31305         (_dl_map_object_deps):  Remove a nested function. Update call sites.
31307 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
31309         [BZ #14138]
31310         * sysdeps/unix/sysv/linux/execve.c: Remove file.
31311         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
31313 2014-10-01  Steve Ellcey  <sellcey@mips.com>
31315         * sysdeps/mips/strcmp.S: New.
31317 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
31319         [BZ #14138]
31320         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
31321         (linkat): Likewise.
31322         (mkdirat): Likewise.
31323         (readlinkat): Likewise.
31324         (renameat): Likewise.
31325         (symlinkat): Likewise.
31326         (unlinkat): Likewise.
31327         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
31328         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
31329         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
31330         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
31331         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
31332         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
31333         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
31335 2014-09-30  Will Newton  <will.newton@linaro.org>
31337         * math/math.h: Define long double math functions if
31338         _LIBC_TEST is defined.
31339         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
31341         * localedata/Makefile: Move assignment to tests-special
31342         into an ifdef testing run-built-tests.
31343         * timezone/Makefile: Likewise.
31345 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
31347         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
31348         with $(BASH) not $(SHELL).
31350 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
31351             Matthew LeGendre  <legendre1@llnl.gov>
31353         [BZ #17411]
31354         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
31355         l_reloc_result.
31357 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31359         * stdio-common/printf_fp.c
31360         (hack_digit): New function, broken out of ...
31361         (__printf_fp): ... local function here.  Update call sites.
31362         hack_digit now takes an additional parameter that is a pointer
31363         to a struct of the referenced locals.  Those locals moved inside
31364         the struct and references updated.
31366 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
31368         * aclocal.m4: Require autoconf 2.69.
31369         * configure: Regenerated.
31370         * sysdeps/aarch64/configure: Likewise.
31371         * sysdeps/alpha/configure: Likewise.
31372         * sysdeps/arm/armv7/configure: Likewise.
31373         * sysdeps/arm/configure: Likewise.
31374         * sysdeps/ia64/configure: Likewise.
31375         * sysdeps/mach/configure: Likewise.
31376         * sysdeps/mips/configure: Likewise.
31377         * sysdeps/s390/configure: Likewise.
31378         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
31379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
31381         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
31382         file.
31383         * sysdeps/ia64/configure.ac: Likewise.
31385 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
31387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
31388         specify symbol version for ld.so.  Do not include entry for
31389         libpthread.
31390         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
31391         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
31392         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
31394         [BZ #14171]
31395         * Makeconfig [$(build-shared) = yes]
31396         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
31397         makefiles.
31398         [$(build-shared) = yes && $(soversions.mk-done) = t]
31399         ($(common-objpfx)gnu/lib-names.h): Remove rule.
31400         [$(build-shared) = yes && $(soversions.mk-done) = t]
31401         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
31402         to Makerules.
31403         [$(build-shared) = yes && $(soversions.mk-done) = t]
31404         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
31405         here.
31406         [$(build-shared) = yes && $(soversions.mk-done) = t]
31407         (common-generated): Don't append gnu/lib-names.h and
31408         gnu/lib-names.stmp here.
31409         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
31410         (lib-names-h-abi): New variable.
31411         [$(build-shared) = yes && $(soversions.mk-done) = t]
31412         (lib-names-stmp-abi): Likewise.
31413         [$(build-shared) = yes && $(soversions.mk-done) = t &&
31414         abi-variants] (before-compile): Append
31415         $(common-objpfx)$(lib-names-h-abi).
31416         [$(build-shared) = yes && $(soversions.mk-done) = t &&
31417         abi-variants] (common-generated): Append gnu/lib-names.h.
31418         [$(build-shared) = yes && $(soversions.mk-done) = t &&
31419         abi-variants] (install-others-nosubdir): Depend on
31420         $(inst_includedir)/$(lib-names-h-abi).
31421         [$(build-shared) = yes && $(soversions.mk-done) = t &&
31422         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
31423         [$(build-shared) = yes && $(soversions.mk-done) = t]
31424         ($(common-objpfx)$(lib-names-h-abi)): New rule.
31425         [$(build-shared) = yes && $(soversions.mk-done) = t]
31426         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
31427         [$(build-shared) = yes && $(soversions.mk-done) = t]
31428         (common-generated): Append $(lib-names-h-abi) and
31429         $(lib-names-stmp-abi).
31430         * scripts/lib-names.awk: Do not handle multi being set.
31431         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
31432         Remove variable.
31433         (abi-lp64_be-ld-soname): Likewise.
31434         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
31435         Likewise.
31436         (abi-hard-ld-soname): Likewise.
31437         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
31438         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
31439         Remove variable.
31440         (abi-o32_hard-ld-soname): Likewise.
31441         (abi-o32_soft_2008-ld-soname): Likewise.
31442         (abi-o32_hard_2008-ld-soname): Likewise.
31443         (abi-n32_soft-ld-soname): Likewise.
31444         (abi-n32_hard-ld-soname): Likewise.
31445         (abi-n32_soft_2008-ld-soname): Likewise.
31446         (abi-n32_hard_2008-ld-soname): Likewise.
31447         (abi-n64_soft-ld-soname): Likewise.
31448         (abi-n64_hard-ld-soname): Likewise.
31449         (abi-n64_soft_2008-ld-soname): Likewise.
31450         (abi-n64_hard_2008-ld-soname): Likewise.
31451         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
31452         Likewise.
31453         (abi-64-v2-ld-soname): Likewise.
31454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
31455         ld.so entries.
31456         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
31457         variable.
31458         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
31459         entry.
31460         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
31461         variable.
31462         (abi-64-ld-soname): Likewise.
31463         (abi-x32-ld-soname): Likewise.
31464         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
31465         entry.
31466         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
31468 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
31470         [BZ #14138]
31471         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
31472         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
31473         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
31474         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
31475         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
31476         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
31477         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
31478         syscall entry for GLIBC_2.2 symbol version.
31479         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
31480         Likewise.
31481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
31482         (setrlimit): Likewise.
31483         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
31484         Likewise.
31486 2014-09-23  Will Newton  <will.newton@linaro.org>
31488         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
31489         _LINUX_ARM_SYSDEP_H include guard too.
31490         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
31491         define.
31493 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
31495         * sysdeps/unix/sysv/linux/eventfd.c:
31496         Make first argument unsigned.
31497         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
31498         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
31500 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
31502         [BZ #16852]
31503         * socket/recvmmsg.c (recvmmsg): Drop const argument.
31504         * socket/sys/socket.h: Likewise.
31505         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
31507 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31509         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
31511 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
31513         * time/tst-ftime.c: New test.
31514         * time/Makefile (tests): Add tst-ftime.
31516 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
31518         * soft-fp/extended.h: Fix comment formatting.
31519         * soft-fp/op-1.h: Likewise.
31520         * soft-fp/op-2.h: Likewise.
31521         * soft-fp/op-4.h: Likewise.
31522         * soft-fp/op-8.h: Likewise.
31523         * soft-fp/op-common.h: Likewise.
31524         * soft-fp/soft-fp.h: Likewise.
31526         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
31528 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
31530         [BZ #6652]
31531         * Makeconfig (soversions-default-setname): Remove variable.
31532         ($(common-objpfx)soversions.i): Don't pass default_setname to
31533         soversions.awk.
31534         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
31535         oldest_abi to abi-versions.awk.
31536         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
31537         * config.make.in (oldest-abi): Remove variable.
31538         * configure.ac (--enable-oldest-abi): Remove configure option.
31539         * configure: Regenerated.
31540         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
31541         text.
31542         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
31543         * scripts/soversions.awk: Do not handle default_setname variable.
31544         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
31545         variable.
31546         * sysdeps/mach/hurd/configure: Regenerated.
31547         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
31548         variable.
31549         * sysdeps/unix/sysv/linux/configure: Regenerated.
31551 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31553         * elf/Makefile (CFLAGS-interp.c): Remove.
31554         ($(elf-objpfx)runtime-linker.h): Generate header with linker
31555         path string.
31556         * elf/interp.c: Include generated runtime-linker.h
31558         * Makerules (lib%.so): Don't include $(+interp) in
31559         prerequisites.
31560         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
31561         * dlfcn/eval.c: Remove file.
31563         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
31564         macros.
31566         [BZ #17266]
31567         * misc/sys/cdefs.h: Define __extern_always_inline for clang
31568         4.2 and newer.
31570         [BZ #17370]
31571         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
31573 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31574             Jakub Jelinek  <jakub@redhat.com>
31576         [BZ #17266]
31577         * libio/stdio.h: Check definition of __fortify_function
31578         instead of __extern_always_inline to include bits/stdio2.h.
31579         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
31580         check if __extern_always_inline is defined.
31581         [__USE_MISC || __USE_XOPEN]: Likewise.
31582         [__USE_ISOC99] Likewise.
31583         * misc/sys/cdefs.h (__fortify_function): Define only if
31584         __extern_always_inline is defined.
31585         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
31586         __extern_always_inline and __extern_inline only for g++-4.3
31587         and newer or a compatible gcc.
31589 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
31591         [BZ #17371]
31592         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
31593         last change to handle zero prefix length.
31595 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31597         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
31598         _SC_REGEX_VERSION.
31600         * posix/getconf.c (vars): Add _POSIX_IPV6 and
31601         _POSIX_RAW_SOCKETS.
31603 2014-09-13  Allan McRae  <allan@archlinux.org>
31605         * po/ru.po: Update Russian translation from translation project.
31607 2014-09-12  Roland McGrath  <roland@hack.frob.com>
31609         * locale/programs/locale.c (show_locale_vars): Inline local function
31610         into its sole call site.  Clean up some style nits.
31611         (print_item): New function, broken out of ...
31612         (show_info): ... local function here.  Clean up style nits.
31614         * locale/programs/ld-ctype.c (set_one_default): New function, broken
31615         out of ...
31616         (set_class_defaults): ... local function set_default here.
31617         Define set_default as a macro locally to pass constant parameters.
31618         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
31619         rather than a shared local.
31621         * stdlib/rpmatch.c (try): New function, broken out of ...
31622         (rpmatch): ... local function here.  Also, prototypify definition.
31624 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
31626         * scripts/soversions.awk: Do not handle configuration names.
31627         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
31628         vendor and os variables to soversions.awk.
31629         * configure.ac: Do not modify gnu-* host_os.
31630         * configure: Regenerated
31631         * shlib-versions: Remove first column with configuration names.
31632         * nptl/shlib-versions: Likewise.
31633         * nptl_db/shlib-versions: Likewise.
31634         * sysdeps/hppa/shlib-versions: Likewise.
31635         * sysdeps/m68k/shlib-versions: Likewise.
31636         * sysdeps/mach/hurd/shlib-versions: Likewise.
31637         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
31638         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
31639         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
31640         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
31641         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
31642         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
31643         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
31644         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
31645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
31646         Likewise.
31647         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
31648         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
31649         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
31650         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
31651         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
31652         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
31653         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
31654         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
31656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
31657         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
31658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
31659         Regenerated.
31660         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
31661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
31662         Condition symbol version definitions on [HAVE_ELFV2_ABI].
31664         * shlib-versions: Remove OS-specific entries.  Moved to files in
31665         sysdeps.
31666         * sysdeps/mach/hurd/shlib-versions: New file.
31667         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
31669         * nptl/shlib-versions: Remove architecture-specific entries.
31670         Moved to files in sysdeps.
31671         * shlib-versions: Likewise.
31672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
31673         file.
31674         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
31675         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
31676         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
31677         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
31679         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
31680         (UDP_NO_CHECK6_RX): Likewise.
31682 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31684         * sysdeps/posix/sysconf.c (__sysconf): Spell
31685         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
31687 2014-08-12  Florian Weimer  <fweimer@redhat.com>
31689         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
31690         loading.
31691         * iconv/Versions (__gconv_transliterate): Export for use from
31692         gconv modules.
31693         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
31694         (struct __gconv_trans_data, __gconv_trans_fct,
31695         __gconv_trans_context_fct, __gconv_trans_query_fct,
31696         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
31697         definitions.
31698         (struct __gconv_step_data): Remove __trans member.
31699         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
31700         longer hidden.  Remove unused trans_data argument.
31701         * iconv/gconv_int.h (struct trans_struct): Remove definition.
31702         (__gconv_translit_find): Remove declaration.
31703         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
31704         prototype.
31705         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
31706         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
31707         trans_data argument.  Add hidden definition.
31708         (__gconv_translit_find): Remove.
31709         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
31710         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
31711         * iconv/skeleton.c: Remove transliteration initialization.
31712         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
31713         __gconv_step_data initialization.
31714         * libio/iofwide.c (__libio_translit_): Remove.
31715         (_IO_fwide): Adjust struct __gconv_step_data initialization.
31716         * wcsmbs/btowc.c (__btowc): Likewise.
31717         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
31718         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
31719         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
31720         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
31721         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
31722         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
31723         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
31724         * wcsmbs/wctob.c (wctob): Likewise.
31726 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31728         [BZ #16194]
31729         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
31730         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
31731         register usage.
31732         * sysdeps/x86/Makefile: Adjust.
31734 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31735             Roland McGrath  <roland@hack.frob.com>
31737         * locale/weight.h: Add include guard.
31738         (findidx): Make static rather than auto; take new parameters
31739         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
31740         * locale/weightwc.h: Likewise.
31741         * posix/fnmatch_loop.c
31742         (FCT): Change type of EXTRA from int32_t to wint_t.
31743         Don't include either header inside the function.
31744         Call FINDIDX rather than findidx, and pass new arguments.
31745         #undef FINDIDX at the end of the file.
31746         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
31747         FINDIDX before including fnmatch_loop.c for the non-wide version.
31748         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
31749         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
31750         for the wide version.
31751         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
31752         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
31753         Pass new arguments to findidx.
31754         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
31755         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
31756         Don't #include it inside the function.  Pass new arguments to findidx.
31757         * posix/regex_internal.h
31758         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
31759         (re_string_elem_size_at): Don't #include it inside the function.
31760         Pass new arguments to findidx.
31761         * string/strcoll_l.c: #include WEIGHT_H at top level.
31762         (get_next_seq): Don't #include it inside the function.
31763         Pass new arguments to findidx.
31764         (get_next_seq_nocache): Likewise.
31765         * string/strxfrm_l.c: #include WEIGHT_H at top level.
31766         (STRXFRM): Don't #include it inside the function.
31767         Pass new arguments to findidx.
31769 2014-09-11  Florian Weimer  <fweimer@redhat.com>
31771         [BZ #17344]
31772         * malloc/malloc.c (unlink): Turn asserts into a call to
31773         malloc_printerr.
31775 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
31777         [BZ #17370]
31778         * libio/wfileops (do_ftell_wide): Free OUT.
31780 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
31782         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
31784 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31786         [BZ #17363]
31787         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
31788         group if the current group is empty.
31790 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31792         * benchtests/bench-memset.c (test_main): Add more test from size
31793         from 32 to 512 bytes.
31794         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31795         Add POWER8 memset object.
31796         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31797         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
31798         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
31799         implementation.
31800         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
31801         Likewise.
31802         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
31803         multiarch POWER8 memset optimization.
31804         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
31805         POWER8 memset optimization.
31807         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31808         Remove bzero multiarch objects.
31809         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
31810         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
31811         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
31812         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
31813         Remove define.
31814         [__bzero]: Redefine to specific name.
31815         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
31816         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
31817         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
31818         define.
31819         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
31820         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
31822 2014-09-10  Florian Weimer  <fweimer@redhat.com>
31824         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
31825         warnings into errors.
31827         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
31828         __cxa_thread_atexit_impl prototype.
31830 2014-09-09  Steve Ellcey  <sellcey@mips.com>
31832         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
31833         Fix capitalization of error message.
31835 2014-09-09  Steve Ellcey  <sellcey@mips.com>
31837         * sysdeps/mips/preconfigure: Modify ABI tests.
31839 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
31841         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
31843 2014-09-07  Roland McGrath  <roland@hack.frob.com>
31844             Carlos O'Donell  <carlos@systemhalted.org>
31846         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
31847         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
31848         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
31849         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
31850         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
31851         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
31852         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
31853         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
31854         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
31855         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
31856         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
31857         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
31858         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
31859         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
31860         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
31861         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
31862         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
31863         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
31864         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
31865         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
31866         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
31867         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
31868         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
31869         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
31870         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
31871         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
31872         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
31873         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
31874         Deconditionalize the code that was previously under [RESET_PID].
31875         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
31876         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
31877         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
31878         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
31879         include sysdep.h.
31881 2014-09-08  Allan McRae  <allan@archlinux.org>
31883         * version.h (RELEASE): Set to "development".
31884         (VERSION): Set to "2.20.90"
31886 2014-09-07  Allan McRae  <allan@archlinux.org
31888         * version.h (RELEASE): Set to "stable".
31889         (VERSION): Set to "2.20"
31890         * include/features.h (__GLIBC_MINOR__): Set to 20.
31892         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
31893         Liebler.
31895         * po/ko.po: Update Korean translation from translation project.
31897 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
31899         [BZ #17354]
31900         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
31901         macro for handling signed relocations.
31903 2014-09-03  Florian Weimer  <fweimer@redhat.com>
31905         [BZ #17325]
31906         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
31907         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
31908         assert.
31909         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
31910         * iconvdata/ibm935.c (BODY): Likewise.
31911         * iconvdata/ibm937.c (BODY): Likewise.
31912         * iconvdata/ibm939.c (BODY): Likewise.
31913         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
31914         assert.
31915         * iconvdata/Makefile (iconv-test.out): Pass module list to test
31916         script.
31917         * iconvdata/run-iconv-test.sh: New test loop for checking for
31918         decoder crashers.
31920 2014-09-02  Khem Raj  <raj.khem@gmail.com>
31922         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
31923         libm_hidden_ver.
31925 2014-09-01  Allan McRae  <allan@archlinux.org>
31927         * po/eo.po: Update Esperanto translation from translation project.
31929         * po/ca.po: Update Catalan translation from translation project.
31931 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31933         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
31934         __proc_dostop call.
31936 2014-08-27  Mark Wielaard  <mjw@redhat.com>
31938         [BZ #17319]
31939         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
31940         to call set_thread_area instead of hand written asm.
31941         (__NR_set_thread_area): Removed define.
31942         (TLS_FLAG_WRITABLE): Likewise.
31943         (__ASSUME_SET_THREAD_AREA): Remove check.
31944         (TLS_EBX_ARG): Remove define.
31945         (TLS_LOAD_EBX): Likewise.
31947 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31949         Simplify atomicity of socket creation in bind.
31951         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
31952         looking up the name after linking the file.
31954 2014-08-27  Allan McRae  <allan@archlinux.org>
31956         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
31958 2014-08-26  Florian Weimer  <fweimer@redhat.com>
31960         [BZ #17187]
31961         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
31962         trans_compare, open_translit, __gconv_translit_find):
31963         Remove module loading code.
31965 2014-08-26  Allan McRae  <allan@archlinux.org>
31967         * po/vi.po: Update Vietnamese translation from translation project.
31969         * po/uk.po: Update Ukrainian translation from translation project.
31971         * po/fr.po: Update French translation from translation project.
31973         * po/ru.po: Update Russian translation from translation project.
31975         * po/pl.po: Update Polish translation from translation project.
31977         * po/cs.po: Update Czech translation from translation project.
31979         * po/de.po: Update German translation from translation project.
31981         * po/bg.po: Update Bulgarian translation from translation project.
31983         * po/sv.po: Update Sweedish translation from translation project.
31985         * po/nl.po: Update Dutch translation from translation project.
31987         * po/es.po: Update Spanish translation from translation project.
31989 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31991         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
31993         * catgets/Makefile (CPPFLAGS-gencat): Remove.
31994         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
31995         (CPPFLAGS-iconvconfig): Likewise.
31996         * timezone/Makefile (CPPFLAGS-zic): Likewise.
31998         * include/libc-symbols.h: Remove unnecessary check for
31999         NOT_IN_libc.
32000         * nptl/pthreadP.h: Likewise.
32001         * sysdeps/aarch64/setjmp.S: Likewise.
32002         * sysdeps/alpha/setjmp.S: Likewise.
32003         * sysdeps/arm/sysdep.h: Likewise.
32004         * sysdeps/i386/setjmp.S: Likewise.
32005         * sysdeps/m68k/setjmp.c: Likewise.
32006         * sysdeps/posix/getcwd.c: Likewise.
32007         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
32008         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
32009         * sysdeps/s390/s390-32/setjmp.S: Likewise.
32010         * sysdeps/s390/s390-64/setjmp.S: Likewise.
32011         * sysdeps/sh/sh3/setjmp.S: Likewise.
32012         * sysdeps/sh/sh4/setjmp.S: Likewise.
32013         * sysdeps/unix/alpha/sysdep.h: Likewise.
32014         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
32015         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32016         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
32017         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
32019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32020         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32021         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32022         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32023         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32024         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32025         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
32026         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32027         * sysdeps/x86_64/setjmp.S: Likewise.
32029 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
32031         [BZ #17263]
32032         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
32033         <stdint.h>.
32034         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
32035         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
32037 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32039         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
32041         [BZ #17262]
32042         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
32043         and __x86_64__ when disabling x87 inline functions.
32045 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
32047         [BZ #17259]
32048         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
32049         asm statement with __cpuid_count.
32051 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
32053         * configure.ac: Change __ehdr_start code to dereference the struct.
32054         Run readelf on the output to look for relocations.
32055         * configure: Regenerated.
32057 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
32059         [BZ #17261]
32060         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
32061         value to 0.
32062         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
32064 2014-08-12  Roland McGrath  <roland@hack.frob.com>
32066         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
32068 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
32070         [BZ #16892]
32071         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
32072         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
32074 2014-08-12  Sean Anderson  <seanga2@gmail.com>
32076         * malloc/malloc.c: Fix typo in comment.
32078 2014-08-09  Allan McRae  <allan@archlinux.org>
32080         * Regenerate libc.po.
32082 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
32084         * intl/tst-gettext2.sh: Check every lang file for creation.
32086 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
32088         * sysdeps/aarch64/fpu/math_private.h
32089         (libc_feholdsetround_noex_aarch64_ctx): New function.
32091 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
32093         * sysdeps/arm/armv6/strcpy.S (strcpy):
32094         Fix performance issue in misaligned cases.
32096 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32098         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
32099         Move definition from termios.h.
32100         (struct termio): Likewise.
32101         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
32102         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
32103         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
32104         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
32105         Likewise.
32106         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
32107         Move definition to ioctl-types.h
32108         (struct termio): Likewise.
32109         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
32110         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
32111         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
32112         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
32113         Likewise.
32115 2014-08-05  Richard Henderson  <rth@redhat.com>
32117         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
32118         exceptions.
32119         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
32120         Add fraiseexcpt.
32121         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
32122         Use __feraiseexcept.
32123         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
32124         Protect libm symbols with IS_IN_libm.
32126         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
32128 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
32130         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
32132 2014-08-04  Will Newton  <will.newton@linaro.org>
32134         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
32135         file.
32137 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
32139         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
32140         variants for each function.
32142 2014-08-04  Roland McGrath  <roland@hack.frob.com>
32144         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
32145         appended ...
32146         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
32147         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
32148         appended ...
32149         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
32150         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
32151         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
32152         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
32153         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
32154         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
32155         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
32156         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
32157         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
32158         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
32159         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
32160         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
32161         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
32162         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
32163         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
32164         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
32165         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
32166         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
32167         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
32168         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
32169         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
32170         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
32171         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
32172         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
32173         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
32174         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
32175         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
32176         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
32177         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
32178         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
32179         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
32180         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
32181         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
32182         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
32183         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
32184         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
32185         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
32186         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
32187         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
32188         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
32189         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
32190         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
32191         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
32192         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
32193         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
32194         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
32195         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
32196         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
32197         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
32198         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
32199         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
32200         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
32201         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
32202         Update #include.
32203         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
32204         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
32206 2014-08-04  Roland McGrath  <roland@hack.frob.com>
32208         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
32209         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
32210         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
32211         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
32212         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
32213         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
32215 2014-08-04  Roland McGrath  <roland@hack.frob.com>
32217         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
32218         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
32219         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32220         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
32222 2014-08-04  Roland McGrath  <roland@hack.frob.com>
32224         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
32225         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
32226         (__libc_vfork): Define function under this name.
32227         (__vfork): Define as an alias.
32228         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
32229         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
32231 2014-08-04  Roland McGrath  <roland@hack.frob.com>
32233         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
32234         that was previously under [RESET_PID].
32235         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
32237 2014-08-04  Andreas Schwab  <schwab@suse.de>
32239         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
32241 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
32243         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
32244         (main): Likewise.
32246 2014-08-01  Roland McGrath  <roland@hack.frob.com>
32248         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
32250 2014-08-01  Richard Henderon  <rth@redhat.com>
32252         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
32253         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
32254         typo in exact zero test.
32255         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32256         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32257         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32259 2014-08-01  Roland McGrath  <roland@hack.frob.com>
32261         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
32262         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
32263         * sysdeps/arm/sysdep.h: ... here.
32264         [!__ASSEMBLER__]: Include <stdint.h>.
32266 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
32268         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
32269         (HAVE_WCTYPE_H): Likewise.
32270         (HAVE_ISWCTYPE): Likewise.
32271         (ENABLE_NLS): Likewise.
32272         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
32273         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
32275         * posix/regex_internal.c: Check if DEBUG is defined and is
32276         set.
32278         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
32279         (HAVE_MBSRTOWCS): Likewise.
32280         * posix/fnmatch.c: Include string.h unconditionally.
32282 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
32284         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
32285         reversal.
32287 2014-07-31  Roland McGrath  <roland@hack.frob.com>
32289         * sysdeps/generic/safe-fatal.h: New file.
32290         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
32291         * nptl/forward.c: Include it.
32292         (__pthread_unwind): Use __safe_fatal as default action, rather
32293         than a bogus use of INTERNAL_SYSCALL that could never work.
32295         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
32296         * configure.ac (libc_cv_builtin_trap): New test.
32297         * configure: Regenerated.
32298         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
32299         (ABORT_INSTRUCTION): Define using __builtin_trap.
32301         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
32302         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
32303         * sysdeps/nptl/nptl-signals.h: New file.
32304         * nptl/pthreadP.h: Include <nptl-signals.h>.
32306 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
32308         * sysdeps/s390/s390-64/utf16-utf32-z9.c
32309         (ONE_DIRECTION): Define.
32310         * sysdeps/s390/s390-64/utf8-utf16-z9.c
32311         (ONE_DIRECTION): Define.
32312         * sysdeps/s390/s390-64/utf8-utf32-z9.c
32313         (ONE_DIRECTION): Define.
32315 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
32317         * sysdeps/s390/Makefile: Delete file.
32318         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
32319         * sysdeps/s390/__longjmp.c: Delete file.
32320         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
32321         Remove fields __flags and __reserved.
32322         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
32323         and add versioning.
32324         * sysdeps/s390/rtld-__longjmp.c: Delete file.
32325         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
32326         * sysdeps/s390/rtld-setjmp.S: Likewise.
32327         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
32328         * sysdeps/s390/s390-32/__longjmp.c: ... here.
32329         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
32330         * sysdeps/s390/s390-32/setjmp.S: ... here.
32331         Add versioning.
32332         (__sigsetjmp): Remove setting __flags field.
32333         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
32334         * sysdeps/s390/s390-64/__longjmp.c: ... here.
32335         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
32336         * sysdeps/s390/s390-64/setjmp.S: ... here.
32337         Add versioning.
32338         (__sigsetjmp): Remove setting __flags field.
32339         * sysdeps/s390/setjmp.S: Delete file.
32340         * sysdeps/s390/sigjmp.c: Likewise.
32341         * sysdeps/s390/v1-longjmp.c: Likewise.
32342         * sysdeps/s390/v1-setjmp.h: Likewise.
32343         * sysdeps/s390/v1-sigjmp.c: Likewise.
32344         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
32345         Remove v1-longjmp_chk.
32346         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
32347         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
32348         Include debug/longjmp_chk.c and add versioning.
32349         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
32350         Include nptl/pt-longjmp.c and add versioning.
32351         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
32352         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
32353         Include __longjmp.c.
32354         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
32355         Move to ...
32356         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
32357         (__getcontext): Remove setting __flags field.
32358         Add versioning.
32359         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
32360         Don't restore upper high grps.
32361         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
32362         Likewise.
32363         (__swapcontext): Remove setting uc_flags field.
32364         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
32365         Delete file.
32366         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
32367         Include __longjmp.c.
32368         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
32369         Move to ...
32370         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
32371         (__getcontext): Remove setting __flags field.
32372         Add versioning.
32373         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
32374         (__swapcontext): Remove setting uc_flags field.
32375         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
32376         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
32377         Remove fields uc_high_gprs and __reserved.
32378         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
32379         New file with reverted content.
32380         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
32381         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
32382         Regenerated.
32383         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
32384         Regenerated.
32386 2014-07-31  Andreas Schwab  <schwab@suse.de>
32388         * config.h.in (HAVE_IFUNC): Define to 0.
32389         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
32390         definedness.
32392 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
32394         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32395         memmove-avx-unaligned, memcpy-avx-unaligned and
32396         mempcpy-avx-unaligned.
32397         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32398         Add tests for AVX memcpy functions.
32399         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
32400         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
32401         memcpy_chk.
32402         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
32403         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
32404         memmove_chk.
32405         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
32406         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
32407         mempcpy_chk.
32408         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
32409         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
32410         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
32412 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32414         [BZ #17213]
32415         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
32416         powerpc64le.
32418 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
32420         [BZ #16839]
32421         * manual/llio.texi: Add section about open file description locks.
32422         * manual/examples/ofdlocks.c: Example of open file description
32423         lock usage.
32424         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
32425         F_OFD_SETLK, and F_OFD_SETLKW.
32427 2014-07-23  Allan McRae  <allan@archlinux.org>
32429         * po/es.po: Update Spanish translation from translation project.
32431 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
32433         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
32435 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
32437         [BZ #17078]
32438         * sysdeps/arm/dl-machine.h (elf_machine_rela)
32439         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
32440         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
32442 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
32444         [BZ #17088]
32445         * math/fesetenv.c (__fesetenv)
32446         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
32447         * math/feupdateenv.c (__feupdateenv)
32448         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
32450         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
32451         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
32452         (__ASSUME_SOCKETCALL): Do not define.
32454         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
32455         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
32456         (__ASSUME_SOCKETCALL): Do not define.
32457         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
32458         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
32459         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
32460         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
32461         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
32462         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
32463         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
32464         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32466         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
32467         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
32468         (__ASSUME_SOCKETCALL): Do not define.
32469         (__ASSUME_IPC64): Define unconditionally.
32470         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
32471         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
32472         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
32473         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
32474         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
32475         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
32476         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
32477         Likewise.
32479         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
32480         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
32481         (__ASSUME_SOCKETCALL): Do not define.
32482         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
32483         (__ASSUME_FUTEX_LOCK_PI): Likewise.
32484         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
32485         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
32486         (__ASSUME_REQUEUE_PI): Define unconditionally.
32487         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
32488         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
32489         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32490         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
32491         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
32492         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32494         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
32495         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
32496         (__ASSUME_SOCKETCALL): Do not define.
32497         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
32498         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
32499         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32500         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
32501         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
32502         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32504         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
32505         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
32506         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
32507         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
32508         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
32509         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
32510         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
32511         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
32512         (__ASSUME_GETCPU_SYSCALL): Likewise.
32514         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
32515         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
32516         cases for individual architectures.
32517         * sysdeps/gnu/configure: Regenerated.
32518         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
32519         LIBC_SLIBDIR_RTLDDIR.
32520         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
32521         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
32522         LIBC_SLIBDIR_RTLDDIR.
32523         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
32524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
32525         LIBC_SLIBDIR_RTLDDIR.
32526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
32527         Regenerated.
32528         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
32529         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
32530         file.
32531         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
32532         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
32533         file.
32534         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
32535         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
32536         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
32537         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
32539         * sysdeps/aarch64/shlib-versions: Move to ...
32540         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
32541         * sysdeps/alpha/shlib-versions: Move to ...
32542         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
32543         * sysdeps/arm/shlib-versions: Move to ...
32544         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
32545         * sysdeps/hppa/shlib-versions: Move all contents except for
32546         libgcc_s entry to ...
32547         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
32548         entry from ...
32549         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
32550         * sysdeps/ia64/shlib-versions: Move to ...
32551         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
32552         entry from ...
32553         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
32554         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
32555         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
32556         * sysdeps/microblaze/shlib-versions: Move to ...
32557         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
32558         * sysdeps/mips/shlib-versions: Move to ...
32559         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
32560         entry from ...
32561         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
32562         * sysdeps/tile/shlib-versions: Move to ...
32563         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
32564         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
32565         from ...
32566         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
32567         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
32568         entry from ...
32569         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
32571 2014-07-17  Will Newton  <will.newton@linaro.org>
32573         * sysdeps/arm/bits/atomic.h
32574         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
32575         (__arch_compare_and_exchange_bool_16_int): Likewise.
32576         (__arch_compare_and_exchange_bool_64_int): Likewise.
32578         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
32579         into an #else block.
32581 2014-07-16  Roland McGrath  <roland@hack.frob.com>
32583         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
32584         just Linux configurations.  Test empirically that the compiler sets
32585         __ARM_EABI__, rather than using the tuple to decide.
32586         * sysdeps/arm/preconfigure: Regenerated.
32587         * sysdeps/unix/sysv/linux/arm/configure: File removed.
32588         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
32589         contents appended ...
32590         * sysdeps/arm/configure.ac: ... here.
32591         * sysdeps/arm/configure: Regenerated.
32593 2014-07-15  Roland McGrath  <roland@hack.frob.com>
32595         * nptl/pthread_kill.c: New file.
32596         * nptl/pthread_sigmask.c: New file.
32597         * nptl/pthread_sigqueue.c: New file.
32599         * sysdeps/nptl/lowlevellock.h: New file.
32600         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
32601         * sysdeps/nptl/lowlevellock-futex.h: New file.
32603         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
32604         Remove dead declarations.
32606 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
32608         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
32609         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
32610         config-cflags-avx2.
32611         * sysdeps/x86_64/configure.ac: Likewise.
32612         * sysdeps/i386/configure: Regenerated.
32613         * sysdeps/x86_64/configure: Likewise.
32614         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32615         memset-avx2 only if config-cflags-avx2 is yes.
32616         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32617         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
32618         defined.
32619         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
32620         only if HAVE_AVX2_SUPPORT is defined.
32621         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32623 2014-07-14  Alan Modra  <amodra@gmail.com>
32625         [BZ #17153]
32626         * elf/elf.h (DT_PPC64_NUM): Correct value.
32627         * NEWS: Add to fixed bug list.
32629 2014-07-13  Jim Meyering  <meyering@fb.com>
32631         [BZ 17150]
32632         regex: don't deref NULL upon heap allocation failure
32633         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
32634         failure in one more place.
32635         To trigger the segfault, configure grep -with-included-regex,
32636         build it, and run these commands:
32637         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
32639 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
32641         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
32643 2014-07-11  Richard Henderson  <rth@redhat.com>
32645         * sysdeps/aarch64/libm-test-ulps: Update.
32647 2014-07-10  Florian Weimer  <fweimer@redhat.com>
32649         [BZ #17135]
32650         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
32651         * nptl/allocatestack.c (__nptl_setxid_error): New function.
32652         (__nptl_setxid): Initialize error member.  Call
32653         __nptl_setxid_error.
32654         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
32655         * nptl/descr.h (struct xid_command): Add error member.
32656         * nptl/tst-setuid3.c: New file.
32657         * nptl/Makefile (tests): Add it.
32659 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32661         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
32662         New define.
32663         (__lll_trylock): Use __lll_base_trylock.
32664         (__lll_cond_trylock): Likewise.
32666 2014-07-10  Roland McGrath  <roland@hack.frob.com>
32668         * nptl/pthread_create.c (start_thread): Use atomic_or and
32669         lll_futex_wake directly rather than lll_robust_dead.
32670         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
32671         (lll_robust_dead): Macro removed.
32672         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
32673         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
32674         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
32675         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
32676         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
32677         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
32678         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
32679         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
32680         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
32681         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
32682         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
32683         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
32684         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
32685         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
32686         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
32688         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
32689         Use atomic_compare_and_exchange_val_acq directly rather than
32690         lll_robust_trylock.
32691         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
32692         (__lll_robust_trylock, lll_robust_trylock): Removed.
32693         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
32694         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
32695         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
32696         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
32697         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
32698         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
32699         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
32700         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
32701         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
32702         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
32703         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
32704         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
32705         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
32706         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
32708 2014-07-02  Florian Weimer  <fweimer@redhat.com>
32710         * manual/locale.texi (Locale Names): New section documenting
32711         locale name syntax.  Adjust menu and node chaining accordingly.
32712         (Choosing Locale): Reference Locale Names, Locale Categories.
32713         Mention setting LC_ALL=C.  Reflect that name syntax is now
32714         documented.
32715         (Locale Categories): New section title.  Reference Locale Names.
32716         LC_ALL is an environment variable, but not a category.
32717         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
32718         description, now in Locale Name.  Reference that section.  Locale
32719         name syntax is now documented.
32721 2014-07-02  Florian Weimer  <fweimer@redhat.com>
32723         [BZ #17137]
32724         * locale/findlocale.c (name_present, valid_locale_name): New
32725         functions.
32726         (_nl_find_locale): Use the loc_name variable to store name
32727         candidates.  Call name_present and valid_locale_name to check and
32728         validate locale names.  Return an error if the locale is invalid.
32730 2014-07-02  Florian Weimer  <fweimer@redhat.com>
32732         * locale/setlocale.c (setlocale): Use strdup for allocating
32733         composite name copy.
32735 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32737         Sync up with gnulib.
32738         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
32739         [!_LIBC && ENABLE_NLS]: Include gettext.h.
32740         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
32741         and _GL_ARG_NONNULL.
32742         [USE_UNLOCKED_IO]: Include unlocked-io.h.
32743         [!_LIBC]: Include code for Windows and Cygwin.
32744         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
32745         Include prototype for int strerror_r.
32746         [!_LIBC] (is_open): New function.
32747         (flush_stdout): New function.
32748         (print_errno_message): Use it.
32749         (error): Likewise.
32750         (error_at_line): Likewise.
32751         (error_tail) Add function attribute macros.  Use
32752         __builtin_expect.
32754         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
32756         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
32758         * io/ftw.c: Include sys/param.h unconditionally.
32760         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
32762         [BZ #17125]
32763         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
32764         libc_freeres_ptr.
32765         (freecache): New function to free CACHE on exit.
32767         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
32768         initialization.
32770 2014-07-09  David S. Miller  <davem@davemloft.net>
32772         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32774         * sysdeps/sparc/nptl/internaltypes.h: Delete.
32775         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
32776         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
32777         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
32778         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
32779         * sysdeps/sparc/nptl/sem_init.c: Likewise.
32780         * sysdeps/sparc/nptl/sem_post.c: Likewise.
32781         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
32782         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
32783         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
32784         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
32785         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
32786         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
32788 2014-07-09  Andreas Schwab  <schwab@suse.de>
32790         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
32791         output.
32792         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
32793         (do_test): Likewise.
32795         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
32797 2014-07-09  Will Newton  <will.newton@linaro.org>
32799         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
32800         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
32801         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
32802         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
32803         * sysdeps/hppa/start.S (_start): Likewise.
32805 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
32807         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
32809         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
32810         defined.
32812 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
32814         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
32815         after checking that it is non-NULL.
32817         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
32819 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32821         * sysdeps/powerpc/memmove.c: Remove file.
32822         * sysdeps/powerpc/powerpc32/power4/memcopy.h
32823         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
32824         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
32825         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
32826         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
32827         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
32828         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
32829         string memmove instead of removed powerpc one.
32831         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
32832         [weak_alias]: Fix compiler warning due trailing data.
32833         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
32834         [weak_alias]: Likewise.
32835         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
32836         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
32838         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
32839         (__libc_ifunc_impl_list): Add memmove functions.
32841 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
32843         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
32844         Remove code.
32845         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
32846         Likewise.
32847         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
32848         Likewise.
32849         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
32850         Likewise.
32851         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
32852         Likewise.
32853         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
32854         Likewise.
32855         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
32856         Likewise.
32857         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
32858         Likewise.
32859         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
32860         Likewise.
32861         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
32862         Likewise.
32863         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
32864         Likewise.
32865         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
32866         Likewise.
32867         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
32868         Likewise.
32869         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
32870         Likewise.
32871         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
32872         Likewise.
32873         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
32874         Likewise.
32875         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
32876         Likewise.
32878 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32880         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
32881         to avoid alignment traps in non-cacheable memory.
32882         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
32884         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
32885         multiarch objects.
32886         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
32887         file: multiarch power7 memmove.
32888         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
32889         multiarch default memmove.
32890         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
32891         multiarch memove for powerpc32/power4.
32893         * string/bcopy.c: Use full path to include memmove.c.
32894         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
32895         multiarch objects.
32896         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
32897         bcopy for powerpc64.
32898         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
32899         bcopy for powerpc64.
32900         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
32901         and memmove implementations.
32902         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
32903         optimized multiarch memmove for POWER7/powerpc64.
32904         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
32905         default multiarch memmove for powerpc64.
32906         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
32907         multiarch for powerpc64.
32908         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
32909         for POWER7/powerpc64.
32910         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
32911         memmove for POWER7/powerpc64.
32913         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
32914         glibc default one.
32916         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
32917         __ELF_NATIVE_CLASS equal to 64.
32919 2014-07-07  Roland McGrath  <roland@hack.frob.com>
32921         * sysdeps/nptl/lowlevellock.h: File removed.
32923         * NEWS: NPTL is no longer an add-on!
32924         * nptl/internaltypes.h: Moved ...
32925         * sysdeps/nptl/internaltypes.h: ... here.
32926         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
32927         * sysdeps/nptl/fork.c: Likewise.
32928         * sysdeps/nptl/gai_misc.h: Likewise.
32929         * sysdeps/nptl/librt-cancellation.c: Likewise.
32930         * sysdeps/nptl/jmp-unwind.c: Likewise.
32931         * sysdeps/nptl/setxid.h: Likewise.
32932         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
32933         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
32934         * sysdeps/unix/sysv/linux/arm/Implies: New file.
32935         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
32936         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
32937         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
32938         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
32939         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
32940         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
32941         * sysdeps/unix/sysv/linux/mips/Implies: New file.
32942         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
32943         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
32944         * sysdeps/unix/sysv/linux/sh/Implies: New file.
32945         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
32946         * sysdeps/unix/sysv/linux/tile/Implies: New file.
32947         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
32948         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
32949         * nptl/Makeconfig: Moved ...
32950         * sysdeps/nptl/Makeconfig: ... here.
32951         * nptl/configure: File removed.
32952         * nptl/ANNOUNCE: File removed.
32953         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
32954         * sysdeps/unix/sysv/linux/configure: Regenerated.
32956         * nptl/Makefile (routines): Add libc_pthread_init,
32957         libc_multiple_threads, register-atfork and unregister-atfork.
32958         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
32959         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
32960         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
32961         pthread-pi-defines.sym, structsem.sym.
32962         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
32963         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
32964         [$(subdir) = nptl] (tests): Add tst-setgetname.
32965         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
32966         * sysdeps/unix/sysv/linux/sigaction.c: Just include
32967         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
32968         [!LIBC_SIGACTION]: Remove aliases.
32969         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
32970         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
32971         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
32972         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
32973         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
32974         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
32975         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
32976         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
32977         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
32978         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
32979         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
32980         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
32981         __libc_allocate_rtsig_private.
32982         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
32983         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
32984         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
32985         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
32986         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
32987         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
32988         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
32989         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
32990         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
32991         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
32992         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
32993         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
32994         * nptl/internaltypes.h: ... here.
32995         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
32996         * sysdeps/nptl/jmp-unwind.c: ... here.
32997         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
32998         * nptl/libc-lowlevellock.c: ... here.
32999         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
33000         * nptl/libc_multiple_threads.c: ... here.
33001         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
33002         * nptl/libc_pthread_init.c: ... here.
33003         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
33004         * nptl/lowlevelbarrier.sym: ... here.
33005         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
33006         * nptl/lowlevelcond.sym: ... here.
33007         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
33008         * nptl/lowlevellock.c: ... here.
33009         * nptl/lowlevellock.h: Moved ...
33010         * sysdeps/nptl/lowlevellock.h: ... here.
33011         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
33012         * nptl/lowlevelrobustlock.c: ... here.
33013         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
33014         * nptl/lowlevelrobustlock.sym: ... here.
33015         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
33016         * nptl/lowlevelrwlock.sym: ... here.
33017         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
33018         * nptl/pt-fork.c: ... here.
33019         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
33020         * nptl/pthread-pi-defines.sym: ... here.
33021         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
33022         * nptl/pthread_attr_getaffinity.c: ... here.
33023         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
33024         * nptl/pthread_attr_setaffinity.c: ... here.
33025         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
33026         * nptl/pthread_mutex_cond_lock.c: ... here.
33027         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
33028         Update #include.
33029         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
33030         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
33031         * nptl/pthread_once.c: ... here, replacing old file.
33032         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
33033         * nptl/pthread_yield.c: ... here.
33034         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
33035         * nptl/register-atfork.c: ... here.
33036         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
33037         * nptl/sem_post.c: ... here.
33038         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
33039         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
33040         * nptl/sem_timedwait.c: ... here.
33041         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
33042         * nptl/sem_trywait.c: ... here.
33043         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
33044         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
33045         * nptl/sem_wait.c: ... here.
33046         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
33047         * nptl/structsem.sym: ... here.
33048         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
33049         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
33050         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
33051         * nptl/unregister-atfork.c: ... here.
33052         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
33053         * nptl/unwindbuf.sym: ... here.
33054         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
33055         * sysdeps/nptl/fork.c: ... here.
33056         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
33057         * sysdeps/nptl/fork.h: ... here.
33058         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
33059         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
33060         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
33061         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
33062         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
33063         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
33064         * sysdeps/unix/sysv/linux/getpid.c: ... here.
33065         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
33066         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
33067         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
33068         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
33069         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
33070         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
33071         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
33072         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
33073         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
33074         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
33075         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
33076         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
33077         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
33078         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
33079         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
33080         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
33081         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
33082         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
33083         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
33084         * sysdeps/unix/sysv/linux/raise.c: ... here.
33085         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
33086         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
33087         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
33088         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
33089         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
33090         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
33091         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
33092         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
33093         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
33094         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
33095         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
33096         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
33097         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
33098         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
33099         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
33101 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33103         * sysdeps/generic/memcopy.h: Add comment for
33104         MEMCPY_OK_FOR_FWD_MEMMOVE.
33106 2014-07-04  Will Newton  <will.newton@linaro.org>
33108         * string/memchr.c: Merge from gnulib.
33109         [_LIBC]: Remove conditionals.
33110         (__ptr_t): Remove define.
33111         (LONG_MAX_32_BITS): Likewise.
33112         (LONG_MAX): Likewise.
33113         (MEMCHR): Use ANSI prototype and optimize algorithm.
33115         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
33117 2014-07-03  Roland McGrath  <roland@hack.frob.com>
33119         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
33120         (lll_futex_timed_wait_bitset): Fix syscall argument count.
33122         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
33123         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
33124         in a bare environment with no <stdlib.h> installed.
33125         * sysdeps/nptl/configure: Regenerated.
33127         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
33129         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
33130         AC_EGREP_CPP for kernel header checks, so they only succeed if
33131         including <linux/version.h> actually works right.
33132         * sysdeps/unix/sysv/linux/configure: Regenerated.
33134         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
33135         value so it's not diagnosed as unused.
33137         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
33138         thing) with "ifeq ($(subdir),rt)".
33140 2014-07-03  Richard Henderson  <rth@redhat.com>
33142         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
33143         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
33144         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
33146         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
33147         (math_force_eval): New.
33149         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
33150         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
33152         * sysdeps/alpha/fpu/s_round.c: Remove file.
33153         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
33155         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
33156         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
33157         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
33158         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
33159         (_dl_start, print_statistics): Likewise.
33160         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
33161         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
33163         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33164         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33165         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33166         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33167         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
33168         (HP_SMALL_TIMING_AVAIL): Define.
33169         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33170         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
33171         (HP_SMALL_TIMING_AVAIL): Define.
33172         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33173         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33175         * sysdeps/aarch64/hp-timing.h: New file.
33177         * sysdeps/generic/hp-timing.h: Remove dead comment.
33178         * sysdeps/generic/hp-timing-common.h: New file.
33179         * sysdeps/alpha/hp-timing.h: Include it.
33180         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
33181         * sysdeps/i386/i686/hp-timing.h: Likewise.
33182         * sysdeps/ia64/hp-timing.h: Likewise.
33183         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33184         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33185         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
33186         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
33187         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
33188         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
33189         (hp_timing_t): New.
33191         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
33192         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
33193         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
33194         * elf/rtld.c (_dl_start_final): Likewise.
33195         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
33196         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
33197         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
33198         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
33199         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
33200         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
33201         (HP_TIMING_DIFF_INIT): Remove.
33202         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
33203         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
33204         (HP_TIMING_DIFF_INIT): Remove.
33205         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
33206         * sysdeps/i386/i686/hp-timing.c: Remove file.
33207         * sysdeps/x86_64/hp-timing.c: Remove file.
33208         * sysdeps/ia64/hp-timing.c: Remove file.
33209         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
33210         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
33211         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
33212         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
33214         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
33215         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
33216         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
33217         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
33218         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
33219         (HP_TIMING_ACCUM): Remove.
33220         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
33221         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
33222         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
33224         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
33225         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
33226         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
33227         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
33228         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
33229         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
33230         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
33231         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
33233         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
33235 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
33237         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
33239 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33241         Sync up with gettext.
33242         * intl/loadmsgcat.c: Define O_BINARY if not defined.
33243         [_MSC_VER]: Include malloc.h
33244         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
33245         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
33246         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
33247         TEMP_FAILURE_RETRY.  Cast return of alloca.
33248         [!_LIBC] Call gl_rwlock_init.
33249         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
33251 2014-07-02  Roland McGrath  <roland@hack.frob.com>
33253         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
33254         before checking its value.
33256 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33258         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
33260         * debug/memcpy_chk.c: Don't include pagecopy.h.
33261         * debug/mempcpy_chk.c: Likewise.
33262         * string/memcpy.c: Likewise.
33263         * string/memmove.c: Likewise.
33264         * sysdeps/powerpc/memmove.c: Likewise.
33265         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
33266         definition of PAGE_COPY_FWD_MAYBE here...
33267         * sysdeps/generic/pagecopy.h: ... from here.
33268         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
33270 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33271             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33273         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
33274         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
33275         optimizations.
33276         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33277         (__libc_ifunc_impl_list): Likewise.
33278         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
33279         multiarch strcat for PPC64.
33280         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
33281         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
33283 2014-07-02  Roland McGrath  <roland@hack.frob.com>
33285         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
33287 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33289         * intl/loadmsgcat.c: Remove declaration of
33290         get_sysdep_segment_value.
33291         (get_sysdep_segment_value): Use ISO C style.
33292         (_nl_load_domain): Use ISO C style.  Get rid of redundant
33293         semicolon.  Fix typo and formatting in comment.
33294         (_nl_unload_domain): Use ISO C style.
33296         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
33298 2014-07-02  Will Newton  <will.newton@linaro.org>
33300         * malloc/obstack.c: Merge from gnulib master.
33301         [HAVE_CONFIG_H]: Remove conditional code.
33302         [!_LIBC]: Include config.h.
33303         [!ELIDE_CODE]: Don't include inttypes.h, include
33304         stdint.h unconditionally.
33305         (print_and_abort): Mark as _Noreturn.
33306         (_obstack_allocated_p): Mark as __attribute_pure__.
33307         (obstack_free): Rename to __obstack_free.
33308         [!__attribute__]: Remove conditional code.
33309         * malloc/obstack.h: Merge from gnulib master.
33310         [__cplusplus]: Move conditional down.
33311         [!__attribute_pure__]: Define __attribute_pure__ here
33312         if it is not already defined.
33313         (_obstack_memory_used): Mark as __attribute_pure__.
33314         [!__obstack_free]: Define as obstack_free.
33315         [__GNUC__]: Remove check for ancient NeXT gcc.
33317 2014-07-02  Will Newton  <will.newton@linaro.org>
33318             Paul Eggert  <eggert@cs.ucla.edu>
33320         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
33322 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33324         * resolv/gethnamaddr.c: Add comment warning that the file is
33325         not maintained.
33327 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
33329         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
33330         entries.
33332         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
33333         entry for aio_cancel and aio_cancel64.
33334         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
33335         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
33336         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
33337         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
33338         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
33339         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
33340         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
33341         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
33342         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
33343         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
33344         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
33345         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
33346         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
33348 2014-07-01  Roland McGrath  <roland@hack.frob.com>
33350         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
33351         * nptl/pthread_mutex_lock.c: Likewise.
33352         * nptl/pthread_mutex_timedlock.c: Likewise.
33353         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
33355 2014-07-01  Richard henderson  <rth@redhat.com>
33357         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
33358         (__isnan, __isnanl): Remove.
33359         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
33361         * sysdeps/alpha/fpu/libm-test-ulps: Update.
33363 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
33365         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33367 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
33369         * resolv/nss_dns/dns-host.c (getanswer_r)
33370         [MULTI_PTRS_ARE_ALIASES]: Remove code.
33372 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
33374         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33375         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
33376         undefine.
33377         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
33378         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
33380 2014-07-01  Roland McGrath <roland@hack.frob.com>
33382         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
33383         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
33385         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
33386         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
33388         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
33389         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
33390         ... here.
33391         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
33392         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
33394         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
33395         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
33396         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
33397         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
33399         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
33400         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
33401         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
33402         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
33403         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
33404         Moved ...
33405         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
33406         ... here.
33407         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
33408         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
33409         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
33410         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
33411         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
33412         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
33413         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
33414         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
33415         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
33416         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
33417         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
33418         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
33419         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
33420         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
33421         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
33422         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
33423         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
33424         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
33425         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
33426         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
33427         ... here.
33428         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
33429         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
33430         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
33431         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
33432         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
33433         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
33434         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
33435         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
33437 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
33439         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
33440         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
33441         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
33442         Add sysdep.
33444 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33446         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33448 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
33450         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
33451         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
33453         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
33455         * sysdeps/arm/libm-test-ulps: Regenerated.
33457 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
33458             Roland McGrath <roland@hack.frob.com>
33460         * test-skeleton.c (signal_handler): Kill the whole process group
33461         before killing the child individually.
33462         (main): Report any failure on `setpgid'.
33464 2014-06-30  Roland McGrath  <roland@hack.frob.com>
33466         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
33467         from _TLS_H to _ARM_NPTL_TLS_H.
33468         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
33469         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
33471 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
33473         [BZ #16539]
33474         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
33475         (__expm1l): Return argument unchanged when small but not
33476         subnormal.
33478         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
33479         include macro name.
33480         (_FP_UNPACK_RAW_1_P): Likewise.
33481         (_FP_PACK_RAW_1): Likewise.
33482         (_FP_PACK_RAW_1_P): Likewise.
33483         (_FP_MUL_MEAT_1_wide): Likewise.
33484         (_FP_MUL_MEAT_DW_1_hard): Likewise.
33485         (_FP_MUL_MEAT_1_hard): Likewise.
33486         (_FP_DIV_MEAT_1_imm): Likewise.
33487         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
33488         (_FP_DIV_MEAT_1_udiv): Likewise.
33489         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
33490         (_FP_UNPACK_RAW_2): Likewise.
33491         (_FP_UNPACK_RAW_2_P): Likewise.
33492         (_FP_PACK_RAW_2): Likewise.
33493         (_FP_PACK_RAW_2_P): Likewise.
33494         (_FP_MUL_MEAT_DW_2_wide): Likewise.
33495         (_FP_MUL_MEAT_2_wide): Likewise.
33496         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
33497         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
33498         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
33499         (_FP_MUL_MEAT_2_gmp): Likewise.
33500         (_FP_DIV_MEAT_2_udiv): Likewise.
33501         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
33502         (_FP_FRAC_SRL_4): Likewise.
33503         (_FP_FRAC_SRST_4): Likewise.
33504         (_FP_FRAC_SRS_4): Likewise.
33505         (_FP_UNPACK_RAW_4): Likewise.
33506         (_FP_UNPACK_RAW_4_P): Likewise.
33507         (_FP_PACK_RAW_4): Likewise.
33508         (_FP_PACK_RAW_4_P): Likewise.
33509         (_FP_MUL_MEAT_DW_4_wide): Likewise.
33510         (_FP_MUL_MEAT_4_wide): Likewise.
33511         (_FP_MUL_MEAT_4_gmp): Likewise.
33512         (umul_ppppmnnn): Likewise.
33513         (_FP_DIV_MEAT_4_udiv): Likewise.
33514         (__FP_FRAC_ADD_4): Likewise.
33515         (__FP_FRAC_SUB_3): Likewise.
33516         (__FP_FRAC_SUB_4): Likewise.
33517         (__FP_FRAC_DEC_3): Likewise.
33518         (__FP_FRAC_DEC_4): Likewise.
33519         (__FP_FRAC_ADDI_4): Likewise.
33520         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
33521         (_FP_FRAC_SRL_8): Likewise.
33522         (_FP_FRAC_SRS_8): Likewise.
33524         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
33525         include macro name.
33526         (FP_UNPACK_RAW_EP): Likewise.
33527         (FP_PACK_RAW_E): Likewise.
33528         (FP_PACK_RAW_EP): Likewise.
33529         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
33530         (_FP_ISSIGNAN): Likewise.
33531         (_FP_ADD_INTERNAL): Likewise.
33532         (_FP_FMA): Likewise.
33533         (_FP_CMP): Likewise.
33534         (_FP_SQRT): Likewise.
33535         (_FP_TO_INT): Likewise.
33536         (_FP_FROM_INT): Likewise.
33537         (FP_EXTEND): Likewise.
33538         (_FP_DIV_MEAT_N_loop): Likewise.
33540 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
33542         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
33543         throughout.
33545 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
33547         [BZ #17097]
33548         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
33549         result with correct sign in case of exponents that produce
33550         overflow except for X very close to 1.
33552 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
33554         mktime: merge #if/#ifdef usage from glibc
33555         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
33556         as that works with both Glibc's and Gnulib's style.
33557         See thread starting at Siddhesh Poyarekar's bug report at:
33558         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
33560 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33562         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
33563         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
33564         * sysdeps/tile/tilegx/memmove.c: Remove file.
33566 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
33568         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
33569         abi-name definition.
33570         * scripts/soversions.awk: Do not handle or generate ABI lines.
33571         * shlib-versions: Remove ABI entries.
33572         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
33573         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
33575 2014-06-27  Roland McGrath  <roland@hack.frob.com>
33577         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
33578         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
33579         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
33580         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
33581         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
33582         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
33583         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
33584         Moved ...
33585         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
33586         ... here.
33587         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
33588         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
33589         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
33590         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
33591         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
33592         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
33593         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
33594         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
33595         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
33596         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
33597         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
33598         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
33599         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
33600         Moved ...
33601         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
33602         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
33603         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
33604         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
33605         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
33606         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
33607         Moved ...
33608         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
33609         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
33610         Moved ...
33611         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
33612         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
33613         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
33614         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
33615         Moved ...
33616         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
33617         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
33618         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
33619         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
33620         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
33621         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
33622         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
33623         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
33624         Moved ...
33625         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
33626         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
33627         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
33628         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
33629         Moved ...
33630         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
33631         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
33632         Moved ...
33633         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
33634         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
33635         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
33636         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
33637         Moved ...
33638         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
33639         ... here.
33640         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
33641         Identical file removed.
33642         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
33643         Moved ...
33644         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
33645         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
33646         Identical file removed.
33647         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
33648         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
33649         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
33650         Moved ...
33651         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
33652         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
33653         Identical file removed.
33654         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
33655         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
33656         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
33657         Identical file removed.
33658         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
33659         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
33660         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
33661         Identical file removed.
33662         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
33663         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
33664         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
33665         Identical file removed.
33666         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
33667         Moved ...
33668         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
33669         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
33670         Identical file removed.
33671         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
33672         Moved ...
33673         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
33674         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
33675         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
33676         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
33677         Identical file removed.
33678         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
33679         Moved ...
33680         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
33681         ... here.
33682         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
33683         Identical file removed.
33684         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
33685         Moved ...
33686         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
33687         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
33688         Identical file removed.
33689         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
33690         Moved ...
33691         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
33692         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
33693         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
33694         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
33695         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
33696         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
33697         Moved ...
33698         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
33699         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
33700         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
33702         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
33703         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
33704         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
33705         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
33706         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
33708 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
33710         [BZ #17092]
33711         * nscd/nscd.c (monitor_child): Return exit status of child
33712         instead of return value from wait syscall.
33714 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
33716         * configure.ac (libc_commonpagesize): Remove variable.
33717         (libc_relro_required): Likewise.
33718         (libc_cv_z_relro): Remove configure test.
33719         * configure: Regenerated.
33720         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
33721         variable.
33722         (libc_relro_required): Likewise.
33723         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
33724         (libc_relro_required): Likewise.
33725         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
33726         (libc_relro_required): Likewise.
33727         * sysdeps/arm/preconfigure: Regenerated.
33728         * sysdeps/ia64/preconfigure: Remove file.
33729         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
33730         variable.
33731         (libc_relro_required): Likewise.
33733         [BZ #16561]
33734         [BZ #16562]
33735         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
33736         (__ieee754_yn): Set FE_TONEAREST mode internally and then
33737         recompute overflowing results in original rounding mode.
33738         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
33739         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
33740         recompute overflowing results in original rounding mode.
33741         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
33742         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
33743         recompute overflowing results in original rounding mode.
33744         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
33745         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
33746         recompute overflowing results in original rounding mode.
33747         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
33748         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
33749         recompute overflowing results in original rounding mode.
33750         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
33751         (libc_feholdsetround_ctx): New macro.
33752         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
33753         * sysdeps/i386/fpu/libm-test-ulps: Update.
33754         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
33756 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
33758         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
33759         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
33760         corresponding .cpsetup call.
33762 2014-06-26  Roland McGrath  <roland@hack.frob.com>
33764         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
33765         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
33766         * sysdeps/arm/Makefile [$(subdir) = csu]
33767         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
33768         (static-only-routines): Add aeabi_read_tp here.
33769         (shared-only-routines): Add libc-aeabi_read_tp here.
33770         (CFLAGS-libc-start.c): Add -fexceptions here.
33771         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
33772         (sysdep_routines, static-only-routines, shared-only-routines):
33773         Don't add to these here.
33774         (CFLAGS-libc-start.c): Likewise.
33776         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
33777         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
33778         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
33779         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
33780         * sysdeps/arm/Makefile [$(subdir) = rt]
33781         (librt-sysdep_routines, librt-shared-only-routines):
33782         Append rt-aeabi_unwind_cpp_pr1 here.
33783         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
33784         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
33785         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
33786         (libpthread-sysdep_routines, libpthread-shared-only-routines):
33787         Append nptl-aeabi_unwind_cpp_pr1 here.
33788         (tests): Filter out tst-cleanupx4 here.
33789         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
33790         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
33791         Don't do those here.
33793 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
33795         * scripts/list-sources.sh: Do not handle ports specially.
33797 2014-06-26  Roland McGrath  <roland@hack.frob.com>
33799         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
33800         * sysdeps/arm/feupdateenv.c: Likewise.
33802         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
33804 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
33806         * manual/texinfo.tex: Update to version 2014-05-05.10 with
33807         trailing whitespace removed.
33808         * scripts/config.guess: Update to version 2014-03-23.
33809         * scripts/config.sub: Update to version 2014-05-01
33810         * scripts/install-sh: Update to version 2013-12-25.23.
33811         * scripts/move-if-change: Update from gnulib.
33813 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33815         * debug/memmove_chk.c: Remove pagecopy.h include.
33817 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
33819         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
33820         identical to gnulib mktime.
33822 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
33824         * configure.ac: Do not test for machine being rs6000.  Do not test
33825         for powerpc*-*soft.
33826         * configure: Regenerated.
33828         [BZ #11505]
33829         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
33830         test.
33831         * configure: Regenerated.
33832         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
33833         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
33834         Remove configure test.
33835         * sysdeps/arm/configure: Regenerated.
33836         * sysdeps/nptl/configure.ac: Do not check
33837         libc_cv_asm_cfi_directives.
33838         * sysdeps/nptl/configure: Regenerated.
33839         * sysdeps/x86_64/nptl/configure.ac: Remove file.
33840         * sysdeps/x86_64/nptl/configure: Remove generated file.
33841         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
33842         unconditional.
33843         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
33845 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33847         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
33848         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
33849         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
33850         it is defined.
33852         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
33853         instead of whether it is defined.
33854         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
33855         * sysdeps/hppa/dl-machine.h: Likewise.
33856         * sysdeps/ia64/dl-machine.h: Likewise.
33857         * sysdeps/m68k/dl-machine.h: Likewise.
33858         * sysdeps/microblaze/dl-machine.h: Likewise.
33859         * sysdeps/mips/dl-machine.: Likewise.
33860         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33861         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33862         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33863         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33864         * sysdeps/sh/dl-machine.h: Likewise.
33865         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33866         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33867         * sysdeps/tile/dl-machine.h: Likewise.
33868         * sysdeps/x86_64/dl-machine.h: Likewise.
33870         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
33871         code.
33872         (verify_persistent_db): Likewise.
33874 2014-06-26  Roland McGrath  <roland@hack.frob.com>
33876         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
33877         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
33878         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
33879         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
33880         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
33881         Moved ...
33882         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
33883         ... here.
33884         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
33885         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
33886         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
33887         Identical file removed.
33888         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
33889         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
33890         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
33891         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
33892         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
33893         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
33894         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
33895         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
33896         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
33897         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
33898         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33899         Moved ...
33900         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
33901         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
33902         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
33903         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
33904         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
33905         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
33906         Moved ...
33907         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
33908         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
33909         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
33910         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
33911         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
33912         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
33913         Identical file removed.
33914         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
33915         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
33916         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
33917         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
33918         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
33919         Moved ...
33920         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
33921         ... here.
33922         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
33923         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
33924         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
33925         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
33926         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
33927         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
33928         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
33929         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
33930         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
33931         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
33932         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33933         Moved ...
33934         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
33935         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
33936         Moved ...
33937         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
33938         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
33939         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
33940         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
33941         Moved ...
33942         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
33943         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
33944         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
33946         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
33947         folded into ...
33948         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
33949         * sysdeps/unix/sysv/linux/s390/Versions
33950         (libpthread: GLIBC_2.19): New version set.
33951         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
33952         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
33953         (librt: GLIBC_2.3.3): New version set.
33954         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
33955         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
33956         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
33957         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
33958         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
33959         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
33960         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
33961         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
33962         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
33963         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
33964         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
33965         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
33966         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
33967         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
33968         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
33969         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
33970         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
33971         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
33972         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
33973         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
33974         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
33975         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
33976         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
33977         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
33978         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
33979         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
33980         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
33981         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
33982         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
33983         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
33984         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
33985         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
33986         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
33987         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
33988         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
33989         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
33990         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
33991         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
33992         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
33993         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
33994         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
33995         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
33996         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
33997         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
33998         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
34000         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
34001         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
34002         (__libc_vfork): Define the function under this name.
34003         [!NOT_IN_libc] (__vfork): Make this an alias.
34004         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
34005         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
34006         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
34007         (__libc_vfork): Define the function under this name.
34008         [!NOT_IN_libc] (__vfork): Make this an alias.
34009         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
34010         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
34011         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
34012         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
34013         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
34014         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
34016         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
34017         code that was previously under [RESET_PID].
34018         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
34019         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
34020         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
34022         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
34023         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
34024         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
34025         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
34026         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
34027         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
34028         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
34029         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
34030         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
34031         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
34032         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
34033         Moved ...
34034         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
34035         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
34036         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
34037         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
34038         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
34039         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
34040         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
34041         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
34042         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
34043         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
34044         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
34045         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
34046         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
34047         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
34048         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
34049         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
34050         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
34051         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
34052         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
34053         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
34054         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
34055         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
34056         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
34057         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
34058         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
34059         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
34060         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
34061         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
34062         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
34064 2014-06-25  Roland McGrath  <roland@hack.frob.com>
34066         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
34067         that was previously under [RESET_PID].
34068         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
34070 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
34072         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
34073         not undefine and redefine.
34074         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
34075         [O_CLOEXEC]: Make code unconditional.
34076         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
34077         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
34078         <kernel-features.h>.
34079         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
34080         conditional variable definition.
34081         (shm_open) [O_CLOEXEC]: Make code unconditional.
34082         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
34083         code.
34085         * configure.ac (USE_REGPARMS): Don't define here.
34086         * configure: Regenerated.
34087         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
34088         * sysdeps/i386/configure: Regenerated.
34090         * nptl/createthread.c: Don't include kernel-features.h.
34091         * nptl/pthread_cancel.c: Likewise.
34092         * nptl/pthread_condattr_setclock.c: Likewise.
34093         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
34094         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
34095         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
34096         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
34097         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
34098         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
34099         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
34100         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
34101         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
34102         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
34103         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
34104         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
34105         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
34106         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
34107         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
34108         * nscd/gai.c: Likewise.
34109         * nss/nss_db/db-open.c: Likewise.
34110         * sysdeps/generic/ldsodefs.h: Likewise.
34111         * sysdeps/sh/nptl/tls.h: Likewise.
34112         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
34113         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
34114         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
34115         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
34116         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
34117         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
34118         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
34119         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
34120         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
34121         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
34122         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
34123         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
34124         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
34125         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
34126         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
34127         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
34128         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
34129         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
34130         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
34131         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
34132         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
34133         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
34134         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
34135         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
34136         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
34137         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
34138         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
34139         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
34140         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
34141         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
34142         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
34143         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
34144         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
34145         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
34146         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
34147         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
34148         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
34149         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
34150         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
34151         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
34152         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
34153         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
34154         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
34155         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34156         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
34157         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
34158         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
34159         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
34160         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
34161         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
34162         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
34163         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
34164         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
34165         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
34166         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
34167         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
34168         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
34169         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
34170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
34171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
34172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
34173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
34174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
34175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
34176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
34177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
34178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
34179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
34180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
34181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
34182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
34183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
34184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
34185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
34190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
34191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
34192         * sysdeps/unix/sysv/linux/pread.c: Likewise.
34193         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
34194         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
34195         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
34196         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
34197         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
34198         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
34199         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
34200         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
34201         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
34202         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
34203         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
34204         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
34205         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
34206         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
34207         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
34208         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
34209         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
34210         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
34211         * sysdeps/unix/sysv/linux/system.c: Likewise.
34212         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
34213         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
34214         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
34215         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
34216         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
34217         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
34218         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
34220         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
34221         * configure: Regenerated.
34222         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
34224         * configure.ac (base_machine): Do not set specially for particular
34225         machines here.
34226         * configure: Regenerated.
34227         * sysdeps/powerpc/preconfigure: Move machine and base_machine
34228         settings from configure.ac.
34229         * sysdeps/i386/preconfigure: New file.
34230         * sysdeps/s390/preconfigure: Likewise.
34231         * sysdeps/sh/preconfigure: Likewise.
34232         * sysdeps/sparc/preconfigure: Likewise.
34234 2014-06-25  Roland McGrath  <roland@hack.frob.com>
34236         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
34237         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
34238         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
34239         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
34240         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
34241         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
34242         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
34243         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
34244         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
34245         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
34246         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
34247         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
34248         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
34249         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
34250         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
34251         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
34252         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
34253         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
34254         * sysdeps/sparc/sparc64/Makefile: ... appended here.
34256         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
34257         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
34258         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
34259         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
34260         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
34261         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
34262         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
34263         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
34264         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
34265         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
34266         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
34267         * sysdeps/sparc/sparc32/sem_post.c: ... here.
34268         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
34269         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
34270         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
34271         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
34272         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
34273         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
34274         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
34275         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
34276         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
34277         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
34278         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
34279         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
34280         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
34281         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
34282         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
34283         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
34284         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
34285         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
34286         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
34287         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
34288         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
34289         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
34290         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
34291         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
34292         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
34293         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
34295         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
34296         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
34297         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
34298         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
34299         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
34300         Moved ...
34301         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
34302         ... here.
34303         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
34304         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
34305         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
34306         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
34307         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
34308         Moved ...
34309         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
34310         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
34311         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
34312         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
34313         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
34314         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
34315         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
34316         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34317         Moved ...
34318         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
34319         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
34320         Moved ...
34321         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
34322         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
34323         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
34324         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
34325         Moved ...
34326         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
34327         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
34328         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
34329         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
34330         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
34331         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
34332         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
34333         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
34334         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
34335         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
34336         Moved ...
34337         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
34338         ... here.
34339         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
34340         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
34341         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
34342         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
34343         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
34344         Moved ...
34345         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
34346         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
34347         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
34348         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
34349         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
34350         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
34351         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
34352         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34353         Moved ...
34354         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
34355         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
34356         Moved ...
34357         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
34358         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
34359         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
34360         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
34361         Moved ...
34362         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
34363         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
34364         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
34365         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
34366         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
34368 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
34370         * timezone/checktab.awk: Update from tzcode 2014e.
34371         * timezone/private.h: Likewise.
34372         * timezone/tzfile.h: Likewise.
34373         * timezone/zdump.c: Likewise.
34374         * timezone/zic.c: Likewise.
34376         * sysdeps/unix/sysv/linux/kernel-features.h
34377         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
34378         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
34379         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
34380         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
34381         Remove conditional code.
34383 2014-06-25  Will Newton  <will.newton@linaro.org>
34385         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
34386         (_dl_arm_cap_flags): Add HWCAP2 values.
34387         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
34388         (_DL_HWCAP_COUNT): Increase to 37.
34389         (_DL_HWCAP_LAST): New define.
34390         (_DL_HWCAP2_LAST): New define.
34391         (_dl_procinfo): Add support for printing
34392         AT_HWCAP2 entries.
34393         (_dl_string_hwcap): Use _dl_hwcap_string.
34395 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34397         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34399 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
34401         * README: Do not mention ports directory.
34403         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
34404         Remove macro.
34405         * sysdeps/unix/sysv/linux/futimes.c: Do not include
34406         <kernel-features.h>.
34407         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
34408         conditional variable definition.
34409         (__futimes): Update comment.
34410         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
34411         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
34413         [BZ #16560]
34414         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
34415         arguments close to 0.
34416         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
34417         Likewise.
34418         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
34419         Likewise.
34420         * math/auto-libm-test-in: Add more tests of exp10.
34421         * math/auto-libm-test-out: Regenerated.
34422         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34424         * sysdeps/unix/sysv/linux/kernel-features.h
34425         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
34426         * sysdeps/unix/sysv/linux/readv.c: Do not include
34427         <kernel-features.h>.
34428         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
34429         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
34430         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
34431         unconditional.
34432         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
34433         conditional code.
34434         * sysdeps/unix/sysv/linux/writev.c: Do not include
34435         <kernel-features.h>.
34436         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
34437         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
34438         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
34439         unconditional.
34440         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
34441         conditional code.
34443 2014-06-25  Will Newton  <will.newton@linaro.org>
34445         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
34446         comment changes throughout the file.  Remove checks
34447         for HAVE_*_H definitions that are not required.
34448         (__gen_tempname): Call abort if an unknown kind value is
34449         passed.
34451 2014-06-25  Andreas Schwab  <schwab@suse.de>
34453         [BZ #17086]
34454         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
34455         scalbln, scalblnf, scalblnl in libc.
34457 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34459         [BZ #17086]
34460         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
34461         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
34462         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
34464 2014-06-24  Roland McGrath  <roland@hack.frob.com>
34466         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
34467         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
34468         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
34469         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
34470         Update #include.
34471         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
34472         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
34473         Update #include.
34474         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
34475         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
34476         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
34477         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
34478         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
34479         * sysdeps/x86/bits/pthreadtypes.h: ... here.
34480         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
34481         * sysdeps/x86/bits/semaphore.h: ... here.
34482         * sysdeps/x86/nptl/elide.h: Moved ...
34483         * sysdeps/x86/elide.h: ... here.
34484         * sysdeps/x86_64/nptl/Implies: File removed.
34485         * sysdeps/i386/nptl/Implies: File removed.
34487 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
34489         [BZ #16539]
34490         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
34491         return the argument for normal arguments with exponent below -64.
34492         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
34493         Likewise.
34494         * math/auto-libm-test-in: Add another test of expm1.
34495         * math/auto-libm-test-out: Regenerated.
34497         [BZ #16287]
34498         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
34499         calling __erfcl for arguments at least 16.
34500         * math/auto-libm-test-in: Add more tests of erf.
34501         * math/auto-libm-test-out: Regenerated.
34503         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
34504         individual architectures.
34505         * sysdeps/unix/sysv/linux/configure: Regenerated.
34506         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
34507         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
34508         * sysdeps/unix/sysv/linux/powerpc/configure.ac
34509         (ldd_rewrite_script): Define variable.
34510         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
34511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
34512         file.
34513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
34514         generated file.
34515         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
34516         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
34517         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
34518         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
34519         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
34520         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
34521         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
34522         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
34524 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34526         [BZ #17084]
34527         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
34528         Rename member __data.d to __data.__elision_data.
34530 2014-06-24  Wilco  <wdijkstr@arm.com>
34532         * NEWS: Add 16918 to fixed bug list.
34534 2014-06-24  Wilco  <wdijkstr@arm.com>
34536         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
34538 2014-06-24  Wilco  <wdijkstr@arm.com>
34540         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
34541         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
34542         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
34543         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
34544         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
34545         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
34546         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
34547         Use _FPU_MASK_RM.
34549 2014-06-24  Wilco  <wdijkstr@arm.com>
34551         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
34553 2014-06-24  Wilco  <wdijkstr@arm.com>
34555         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
34556         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
34557         * sysdeps/arm/fesetround.c (fesetround): Remove space.
34558         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
34560 2014-06-24  Wilco  <wdijkstr@arm.com>
34562         [BZ #16918]
34563         * sysdeps/arm/feupdateenv.c (feupdateenv):
34564         Rewrite to reduce FPSCR accesses and fix return value.
34566 2014-06-24  Wilco  <wdijkstr@arm.com>
34568         * sysdeps/arm/fclrexcpt.c (feclearexcept):
34569         Optimize to avoid unnecessary FPSCR writes.
34570         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
34571         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
34572         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
34573         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
34575 2014-06-24  Wilco  <wdijkstr@arm.com>
34577         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
34578         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
34579         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
34580         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
34581         Call libc_fetestexcept_vfp.
34582         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
34583         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
34584         __SOFTFP__ ifdef so that they can be built for softfp.
34586 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34588         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
34589         argument type signed char.
34591         * Makerules (check-abi): Dump diff of symlist if the test
34592         fails.
34594 2014-06-23  Roland McGrath  <roland@hack.frob.com>
34596         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
34597         using abort.
34599         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
34600         Remove unused variable ST.
34602 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
34604         [BZ #16354]
34605         [BZ #17061]
34606         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
34607         small arguments before calling __expm1.
34608         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
34609         small arguments before calling __expm1f.
34610         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
34611         small arguments before calling __expm1l.
34612         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
34613         Likewise.
34614         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
34615         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
34616         spurious underflow for some cosh tests.
34617         * math/auto-libm-test-out: Regenerated.
34618         * sysdeps/i386/fpu/libm-test-ulps: Update.
34620         [BZ #17050]
34621         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
34622         (__ieee754_y1): Set errno if return value overflows.
34623         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
34624         (__ieee754_y1f): Set errno if return value overflows.
34625         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
34626         (__ieee754_y1l): Set errno if return value overflows.
34627         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
34628         (__ieee754_y1l): Set errno if return value overflows.
34629         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
34630         * math/auto-libm-test-out: Regenerated.
34632         * math/gen-auto-libm-tests.c: Document use of
34633         ignore-zero-inf-sign.
34634         (input_flag_type): Add value flag_ignore_zero_inf_sign.
34635         (input_flags): Add ignore-zero-inf-sign.
34636         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
34637         * math/gen-libm-test.pl (generate_testfile): Handle
34638         ignore-zero-inf-sign.
34639         * math/auto-libm-test-in: Mark some cpow tests with
34640         ignore-zero-inf-sign and some with xfail-rounding.
34641         * math/auto-libm-test-out: Regenerated.
34642         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
34643         * sysdeps/i386/fpu/libm-test-ulps: Update.
34644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34646         [BZ #16315]
34647         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
34648         overflowing or underflowing operations take place with sign of
34649         result.
34650         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
34651         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
34652         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
34653         (__ieee754_pow): Recompute overflowing and underflowing results in
34654         original rounding mode.
34655         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
34656         (__powl_helper): Allow negative argument X and scale negated value
34657         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
34658         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
34659         overflowing or underflowing operations take place with sign of
34660         result.
34661         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
34662         Include <math.h>.
34663         * math/auto-libm-test-in: Add more tests of pow.
34664         * math/auto-libm-test-out: Regenerated.
34665         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
34666         (pow_tonearest_test_data): Remove.
34667         (pow_test_tonearest): Likewise.
34668         (pow_towardzero_test_data): Likewise.
34669         (pow_test_towardzero): Likewise.
34670         (pow_downward_test_data): Likewise.
34671         (pow_test_downward): Likewise.
34672         (pow_upward_test_data): Likewise.
34673         (pow_test_upward): Likewise.
34674         (main): Don't call removed functions.
34675         * sysdeps/i386/fpu/libm-test-ulps: Update.
34676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34678 2014-06-23  Roland McGrath  <roland@hack.frob.com>
34680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
34681         Moved ...
34682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
34683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34684         Moved ...
34685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
34686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
34687         Moved ...
34688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
34689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
34690         Moved ...
34691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
34692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
34693         File removed.
34694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
34695         File removed.
34696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
34697         File removed.
34698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
34699         File removed.
34700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
34701         File removed.
34702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
34703         File removed.
34704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
34705         File removed.
34706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34707         File removed.
34708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
34709         File removed.
34710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
34711         File removed.
34712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
34713         File removed.
34714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
34715         File removed.
34716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
34717         Moved ...
34718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
34719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
34720         Moved ...
34721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
34722         ... here.
34723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
34724         Moved ...
34725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
34726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
34727         Moved ...
34728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
34729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
34730         Moved ...
34731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
34732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
34733         Moved ...
34734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
34735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
34736         Moved ...
34737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
34738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
34739         Moved ...
34740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
34741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
34742         Moved ...
34743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
34744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
34745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
34746         ... here.
34747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
34748         Moved ...
34749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
34750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
34751         Moved ...
34752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
34753         ... here.
34754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
34755         Moved ...
34756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
34757         ... here.
34758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
34759         Moved ...
34760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
34761         ... here.
34762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
34763         Moved ...
34764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
34765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
34766         Moved ...
34767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
34768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
34769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
34770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
34771         Moved ...
34772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
34773         ... here.
34774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
34775         Moved ...
34776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
34777         ... here.
34778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
34779         Moved ...
34780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
34781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
34782         Moved ...
34783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
34784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
34785         Moved ...
34786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
34787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34788         Moved ...
34789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
34790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
34791         Moved ...
34792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
34793         ... here.
34794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
34795         Moved ...
34796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
34797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
34798         Moved ...
34799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
34800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
34801         Moved ...
34802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
34803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
34804         Moved ...
34805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
34806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
34807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
34808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
34809         Moved ...
34810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
34811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
34812         Moved ...
34813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
34814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
34815         Moved ...
34816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
34817         ... here.
34818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34819         Moved ...
34820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
34821         ... here.
34822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
34823         Moved ...
34824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
34825         ... here.
34826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
34827         Moved ...
34828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
34829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
34830         Moved ...
34831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
34832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
34833         Moved ...
34834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
34835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
34836         Moved ...
34837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
34838         ... here.
34839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
34840         Moved ...
34841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
34842         ... here.
34843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
34844         Moved ...
34845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
34846         ... here.
34847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
34848         Moved ...
34849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
34850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
34851         Moved ...
34852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
34854 2014-06-23  Will Newton  <will.newton@linaro.org>
34855             Wilco  <wdijkstr@arm.com>
34857         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
34858         implementation.  Include get-rounding-mode.h.
34859         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
34860         [!libc_feholdsetround_noex_ctx]: Define
34861         libc_feholdsetround_noex_ctx.
34862         [!libc_feholdsetround_noexf_ctx]: Define
34863         libc_feholdsetround_noexf_ctx.
34864         [!libc_feholdsetround_noexl_ctx]: Define
34865         libc_feholdsetround_noexl_ctx.
34866         (libc_feholdsetround_ctx): New function.
34867         (libc_feresetround_ctx): New function.
34868         (libc_feholdsetround_noex_ctx): New function.
34869         (libc_feresetround_noex_ctx): New function.
34871 2014-06-23  Roland McGrath  <roland@hack.frob.com>
34873         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
34874         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
34875         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
34876         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
34877         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
34878         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
34880         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
34881         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
34882         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
34883         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
34884         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
34885         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
34886         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
34887         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
34888         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
34889         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
34890         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
34891         Moved ...
34892         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
34893         ... here.
34894         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
34895         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
34896         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
34897         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
34898         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
34899         Moved ...
34900         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
34901         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
34902         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
34903         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
34904         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
34905         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
34906         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
34907         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
34908         Moved ...
34909         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
34910         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
34911         Moved ...
34912         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
34913         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
34914         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
34915         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
34916         Moved ...
34917         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
34918         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
34919         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
34920         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
34921         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
34922         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
34923         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
34924         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
34925         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
34926         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
34927         Moved ...
34928         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
34929         ... here.
34930         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
34931         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
34932         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
34933         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
34934         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
34935         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
34936         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
34937         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
34938         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
34939         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
34940         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
34941         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
34942         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
34943         Moved ...
34944         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
34945         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
34946         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
34947         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
34948         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
34949         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
34950         Moved ...
34951         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
34952         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
34953         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
34954         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
34955         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
34957         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
34958         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
34959         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
34960         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
34961         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
34962         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
34963         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
34964         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
34965         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
34966         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
34967         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
34968         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
34969         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
34970         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
34971         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
34972         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
34973         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
34974         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
34975         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
34976         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
34977         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
34978         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
34979         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
34980         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
34981         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
34982         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
34983         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
34984         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
34986 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
34988         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
34989         (FALLOC_FL_COLLAPSE_RANGE): New macro.
34990         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
34991         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
34992         (IPV6_PMTUDISC_INTERFACE): Likewise.
34993         (IPV6_PMTUDISC_OMIT): Likewise.
34995 2014-06-23  Andreas Schwab  <schwab@suse.de>
34997         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
34998         Remove unused errout label.
35000 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35002         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
35003         macro: hardware supports Vector Crypto instructions.
35005 2014-06-23  Will Newton  <will.newton@linaro.org>
35007         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
35008         rather than __builtin_expect.
35010         * elf/dl-lookup.c (undefined_msg): Remove variable.
35011         (_dl_lookup_symbol_x): Replace undefined_msg with string
35012         literal.
35014         * elf/dl-lookup.c (do_lookup_unique): New function.
35015         (do_lookup_x): Move STB_GNU_UNIQUE handling code
35016         to a separate function.
35018 2014-06-23  Andreas Schwab  <schwab@suse.de>
35020         [BZ #17079]
35021         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
35022         before reading the next line.
35024 2014-06-23  Will Newton  <will.newton@linaro.org>
35026         * test-skeleton.c (signal_handler): Use printf and %m
35027         rather than perror.  Use printf rather than fprintf to
35028         stderr.  Use puts rather than fputs to stderr.
35029         (main): Likewise.
35031 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
35033         * nscd/nscd.c (thread_info_t): Remove typedef.
35034         (thread_info): Remove variable.
35036 2014-06-21  Allan McRae  <allan@archlinux.org>
35038         * NEWS: Mention CVE-2014-4043.
35040 2014-06-20  Roland McGrath  <roland@hack.frob.com>
35042         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
35043         * nptl/smp.h: ... here.
35045         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
35047         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
35048         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
35049         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
35050         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
35052         * nptl/allocatestack.c: Include <stack-aliasing.h>.
35053         * nptl/stack-aliasing.h: New file.
35054         * sysdeps/i386/i686/stack-aliasing.h: New file.
35055         * sysdeps/i386/i686/nptl/Makefile: File removed.
35056         * sysdeps/x86_64/stack-aliasing.h: New file.
35057         * sysdeps/x86_64/nptl/Makefile
35058         (CFLAGS-pthread_create.c): Variable removed.
35060         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
35061         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
35062         old file.
35063         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
35064         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
35065         old file.
35067 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
35069         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35070         (__ASSUME_SIGFRAME_V2): Remove macro.
35071         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
35072         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
35073         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
35074         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
35075         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
35076         Declare as function.  Remove conditional macro definitions.
35077         (__default_rt_sa_restorer): Likewise.
35078         (__default_sa_restorer_v1): Remove declaration.
35079         (__default_sa_restorer_v2): Likewise.
35080         (__default_rt_sa_restorer_v1): Likewise.
35081         (__default_rt_sa_restorer_v2): Likewise.
35082         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
35083         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
35084         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
35086 2014-06-20  Roland McGrath  <roland@hack.frob.com>
35088         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
35089         (libpthread-routines): Add sysdep.
35090         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
35091         * sysdeps/unix/sysv/linux/sparc/Versions
35092         (libpthread: GLIBC_2.3.3): New version set.
35093         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
35094         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
35095         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
35096         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
35097         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
35098         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
35099         Moved ...
35100         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
35101         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
35102         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
35103         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
35104         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
35105         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
35106         * sysdeps/sparc/nptl/sem_init.c: ... here.
35107         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
35108         * sysdeps/sparc/nptl/sem_post.c: ... here.
35109         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
35110         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
35111         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
35112         * sysdeps/sparc/nptl/sem_wait.c: ... here.
35113         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
35114         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
35115         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
35116         (libpthread-routines): Add cpu_relax.
35117         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
35118         File removed.
35119         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
35120         (librt: GLIBC_2.3.3): New version set.
35121         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
35122         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
35123         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
35124         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
35125         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
35126         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
35127         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
35128         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
35129         Moved ...
35130         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
35131         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
35132         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
35133         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
35134         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
35135         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
35136         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
35137         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
35138         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
35139         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
35140         Moved ...
35141         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
35142         Update #include.
35143         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
35144         Moved ...
35145         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
35146         Update #include.
35147         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
35148         Moved ...
35149         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
35150         Update #include.
35151         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
35152         Moved ...
35153         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
35154         Update #include.
35155         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
35156         Moved ...
35157         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
35158         Update #include.
35159         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
35160         Moved ...
35161         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
35162         Update #include.
35163         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
35164         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
35165         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
35166         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
35167         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
35168         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
35169         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
35170         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
35171         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
35172         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
35173         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
35174         Moved ...
35175         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
35176         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
35177         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
35178         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
35179         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
35181 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
35183         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
35184         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
35185         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
35186         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
35187         * nscd/nscd.c: Likewise.
35188         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
35189         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
35190         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
35191         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
35193         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
35194         <kernel-features.h>.
35195         (init_mq_netlink): Remove conditional have_sock_cloexec
35196         definitions.  Remove code conditional on have_sock_cloexec < 0.
35197         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
35198         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
35199         * sysdeps/unix/sysv/linux/opensock.c: Do not include
35200         <kernel-features.h>.
35201         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
35202         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
35204 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
35206         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35207         Add tests for memset_chk and memset.
35209         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
35210         with AVX2_Usable.
35212 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
35214         [BZ #16046]
35215         * elf/tst-dl-iter-static.c: New file.
35216         * elf/Makefile (tests-static): Add tst-dl-iter-static.
35218         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
35219         error.
35221 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
35223         * sysdeps/unix/sysv/linux/kernel-features.h
35224         (__ASSUME_F_GETOWN_EX): Remove macro.
35225         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
35226         <kernel-features.h>.
35227         (miss_F_GETOWN_EX): Remove variable or macro.
35228         (do_fcntl): Do not check miss_F_GETOWN_EX.
35229         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
35231         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
35232         Remove macro.
35233         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
35234         [!__ASSUME_AT_RANDOM]: Remove conditional code.
35235         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
35237         * sysdeps/unix/sysv/linux/kernel-features.h
35238         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
35239         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
35240         [ADJ_OFFSET_SS_READ]: Make code unconditional.
35241         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
35243 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
35245         [BZ #17075]
35246         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
35247         Fix calculation of the symbol's value.
35248         * sysdeps/arm/tst-armtlsdescloc.c: New file.
35249         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
35250         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
35251         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
35252         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
35253         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
35254         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
35255         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
35256         (modules-names): Add `tst-armtlsdescmod',
35257         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
35258         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
35259         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
35260         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
35261         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
35262         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
35263         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
35264         ($(objpfx)tst-armtlsdescloc): New dependency.
35265         ($(objpfx)tst-armtlsdescextnow): Likewise.
35266         ($(objpfx)tst-armtlsdescextlazy): Likewise.
35267         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
35268         TLS scheme support.
35269         * sysdeps/arm/configure: Regenerate.
35271 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
35273         * include/fcntl.h (__atfct_seterrno): Remove prototype.
35274         (__atfct_seterrno_2): Likewise.
35275         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
35276         <kernel-features.h>.
35277         (__ASSUME_ATFCTS): Do not undefine and redefine.
35278         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
35279         (__have_atfcts): Remove conditional definition.
35280         (__fxstatat([__NR_fstatat64]: Make code unconditional.
35281         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
35282         unreachable if [__ASSUME_ATFCTS].
35283         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
35284         not undefine and redefine.
35285         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
35286         <kernel-features.h>.
35287         (faccessat) [__NR_faccessat]: Make code unconditional.
35288         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
35289         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
35290         <kernel-features.h>.
35291         (fchmodat) [__NR_fchmodat]: Make code unconditional.
35292         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
35293         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
35294         <kernel-features.h>.
35295         (fchownat) [__NR_fchownat]: Make code unconditional.
35296         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
35297         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
35298         <kernel-features.h>.
35299         (futimesat) [__NR_futimesat]: Make code unconditional.
35300         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
35301         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
35302         <kernel-features.h>.
35303         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
35304         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
35305         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
35306         <kernel-features.h>.
35307         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
35308         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
35309         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
35310         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
35311         <kernel-features.h>.
35312         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
35313         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
35314         * sysdeps/unix/sysv/linux/linkat.c: Do not include
35315         <kernel-features.h>.
35316         (linkat) [__NR_linkat]: Make code unconditional.
35317         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
35318         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
35319         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
35320         <kernel-features.h>.
35321         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
35322         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
35323         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
35324         <kernel-features.h>.
35325         (mkdirat) [__NR_mkdirat]: Make code unconditional.
35326         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
35327         * sysdeps/unix/sysv/linux/openat.c: Do not include
35328         <kernel-features.h>.
35329         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
35330         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
35331         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
35332         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
35333         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
35334         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
35335         <kernel-features.h>.
35336         (readlinkat) [__NR_readlinkat]: Make code unconditional.
35337         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
35338         result of INLINE_SYSCALL directly, not via int variable.
35339         * sysdeps/unix/sysv/linux/renameat.c: Do not include
35340         <kernel-features.h>.
35341         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
35342         (renameat) [__NR_renameat]: Make code unconditional.
35343         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
35344         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
35345         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
35346         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
35347         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
35348         (__ASSUME_ATFCTS): Do not undefine and redefine.
35349         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
35350         <kernel-features.h>.
35351         (symlinkat) [__NR_symlinkat]: Make code unconditional.
35352         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
35353         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
35354         <kernel-features.h>.
35355         (unlinkat) [__NR_unlinkat]: Make code unconditional.
35356         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
35357         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
35358         (__ASSUME_ATFCTS): Do not undefine and redefine.
35359         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
35360         <kernel-features.h>.
35361         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
35362         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
35363         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
35364         <kernel-features.h>.
35365         (__xmknodat) [__NR_mknodat]: Make code unconditional.
35366         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
35368 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
35370         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
35372 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
35374         [BZ #17069]
35375         * posix/regcomp.c (parse_reg_exp): Deallocate partially
35376         constructed tree before returning error.
35377         * posix/bug-regexp36.c: Expand test case.
35379 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
35381         [BZ #6803]
35382         * math/libm-test.inc (scalbln_test_date):
35383         Add errno expectations.
35384         * math/w_scalblnf.c: New File.
35385         Add wrapper which checks for setting errno to ERANGE.
35386         Add weak_alias for corresponding scalbln function.
35387         * math/w_scalbln.c: Likewise.
35388         * math/w_scalblnl.c: Likewise.
35389         * math/Makefile (libm-calls): Add w_scalbln.
35390         * sysdeps/ieee754/flt-32/s_scalblnf.c:
35391         Remove weak_alias for corresponding scalbln function.
35392         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
35393         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
35394         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35395         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35396         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
35397         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
35398         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
35399         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
35400         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
35401         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
35402         Remove long_double_symbol for scalblnl function in libm, libc.
35403         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
35404         Add wrapper which checks for setting errno to ERANGE.
35405         Add long_double_symbol for scalblnl function in libm, libc.
35406         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
35407         Remove long_double_symbol for scalblnl in libm.
35408         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
35409         Add wrapper which checks for setting errno to ERANGE.
35410         Add long_double_symbol for scalblnl function in libm.
35411         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
35412         Do not use wrapper because of own implementation.
35414 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
35416         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
35417         3 bytes for __pad1 for x32.
35418         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
35420 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
35421             H.J. Lu  <hongjiu.lu@intel.com>
35423         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
35424         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
35425         * sysdeps/x86_64/multiarch/memset.S: Likewise.
35426         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35427         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
35429 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
35431         [BZ #17069]
35432         * posix/regcomp.c (parse_expression): Deallocate partially
35433         constructed tree before returning error.
35434         * posix/Makefile.c (tests): Add bug-regex36.
35435         (generated): Add bug-regex36.mtrace.
35436         (tests-special): Add $(objpfx)bug-regex36-mem.out
35437         (bug-regex36-ENV): New variable.
35438         ($(objpfx)bug-regex36-mem.out): New rule.
35439         * posix/bug-regex36.c: New file.
35441 2014-06-19  Will Newton  <will.newton@linaro.org>
35443         * malloc/malloc.c (systrim): If extra is zero then return
35444         early.
35446 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35448         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
35450 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
35452         * sysdeps/aarch64/strchr.S: New file.
35454 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
35456         [BZ #17022]
35457         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
35458         from arguments -2 or below.
35459         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
35460         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
35462 2014-06-18  Andreas Schwab  <schwab@suse.de>
35464         [BZ #17062]
35465         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
35466         of a bracket expr not to run off the end of the string.
35467         * posix/Makefile (tests): Add tst-fnmatch3.
35468         * posix/tst-fnmatch3.c: New file.
35470 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
35472         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
35473         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
35474         [$(cross-compiling) = no]: Likewise.
35475         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
35476         [$(cross-compiling) = no]: Likewise.
35478 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
35480         [BZ #17031]
35481         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
35482         double, adjusted for any remainder from the high double.
35483         * math/libm-test.inc (nearbyint): Add tests.
35484         (rint): Likewise.
35486 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35488         * nptl/sysdeps/powerpc/Makefile: Moved ...
35489         * sysdeps/powerpc/nptl/Makefile: ... here.
35490         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
35491         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
35492         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
35493         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
35494         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
35495         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
35496         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
35497         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
35498         * nptl/sysdeps/powerpc/tls.h: Moved ...
35499         * sysdeps/powerpc/nptl/tls.h: ... here.
35501 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
35503         [BZ #16681]
35504         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
35505         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
35506         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
35507         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
35508         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
35509         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
35510         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
35511         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
35512         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
35514 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
35516         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
35518 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
35520         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
35521         defined operator.
35523         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
35524         $TIMEOUTFACTOR.
35526 2014-06-16  Florian Weimer  <fweimer@redhat.com>
35528         [BZ #17058]
35529         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
35530         non-executed part of the test.
35532 2014-06-16  Andreas Schwab  <schwab@suse.de>
35534         * string/bits/string2.h (strdup, strndup): Update feature guard.
35536 2014-06-14  David S. Miller  <davem@davemloft.net>
35538         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35540 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
35542         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
35543         that was previously under [RESET_PID].
35544         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
35546         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
35547         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
35548         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
35549         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35550         (__libc_vfork): New strong alias.
35551         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
35553 2014-06-14 Andi Kleen  <ak@linux.intel.com>
35555         * sysdeps/generic/elide.h: New file.
35557 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
35559         * Makefile (installed-headers): Adjust path of pthread.h header.
35561 2014-06-13  Roland McGrath  <roland@hack.frob.com>
35563         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
35564         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
35565         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
35566         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
35568         * nptl/sysdeps/s390/Makefile: Moved ...
35569         * sysdeps/s390/nptl/Makefile: ... here.
35570         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
35571         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
35572         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
35573         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
35574         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
35575         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
35576         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
35577         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
35578         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
35579         * sysdeps/s390/nptl/pthreaddef.h: ... here.
35580         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
35581         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
35582         * nptl/sysdeps/s390/tls.h: Moved ...
35583         * sysdeps/s390/nptl/tls.h: ... here.
35585         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
35586         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
35588 2014-06-13  David S. Miller  <davem@davemloft.net>
35590         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
35591         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
35592         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
35593         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
35594         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
35595         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
35596         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
35597         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
35598         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
35599         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
35600         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
35601         Remove RESET_PID cpp guards.
35602         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
35603         Remove RESET_PID cpp guards.
35604         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
35606 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
35608         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
35609         __sp to uintptr_t.
35611 2014-06-13  Andi Kleen  <ak@linux.intel.com>
35613         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
35614         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
35615         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
35616         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
35617         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
35618         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
35619         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
35620         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
35621         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
35622         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
35623         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
35624         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
35625         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
35626         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
35627         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
35628         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
35629         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
35630         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
35631         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
35632         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
35634         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
35635         (pthread_rwlock_rdlock): Add elision.
35636         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
35637         (pthread_rwlock_wrlock): Add elision.
35638         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
35639         (pthread_rwlock_trywrlock): Add elision.
35640         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
35641         (pthread_rwlock_tryrdlock): Add elision.
35642         * nptl/pthread_rwlock_unlock.c: Include elide.h.
35643         (pthread_rwlock_tryrdlock): Add elision unlock.
35644         * nptl/sysdeps/pthread/pthread.h:
35645         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
35646         (PTHREAD_RWLOCK_INITIALIZER,
35647         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
35648         Handle new elision field.
35649         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
35650         * sysdeps/arm/nptl/bits/pthreadtypes.h
35651         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35652         * sysdeps/sh/nptl/bits/pthreadtypes.h
35653         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35654         * sysdeps/tile/nptl/bits/pthreadtypes.h
35655         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35656         * sysdeps/a/nptl/bits/pthreadtypes.h
35657         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35658         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
35659         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35660         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
35661         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35662         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
35663         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35664         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
35665         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35666         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
35667         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35668         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
35669         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35670         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
35671         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35672         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
35673         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35674         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
35675         (elision_init): Set try_xbegin to zero when no RTM.
35676         * sysdeps/x86/nptl/bits/pthreadtypes.h
35677         (pthread_rwlock_t): Change __pad1 to __rwelision.
35678         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35680 2014-06-13  Andi Kleen  <ak@linux.intel.com>
35682         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
35683         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
35684         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
35685         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
35687 2014-06-13  Meador Inge  <meadori@codesourcery.com>
35689         [BZ #16996]
35690         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
35691         that the cached result has been set before returning it.
35693 2014-06-12  Roland McGrath  <roland@hack.frob.com>
35695         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
35696         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
35697         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
35698         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
35699         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
35700         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
35702         * nptl/sysdeps/sparc/Makefile: Moved ...
35703         * sysdeps/sparc/nptl/Makefile: ... here.
35704         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
35705         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
35706         * nptl/sysdeps/sparc/tls.h: Moved ...
35707         * sysdeps/sparc/nptl/tls.h: ... here.
35708         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
35709         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
35710         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
35711         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
35712         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
35713         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
35714         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
35715         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
35716         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
35717         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
35718         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
35719         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
35720         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
35721         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
35722         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
35723         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
35724         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
35725         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
35726         Update #include.
35727         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
35728         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
35729         Update #include.
35730         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
35731         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
35732         Update #include.
35733         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
35734         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
35735         Update #include.
35737         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
35739         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
35740         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
35742         * sysdeps/pthread/posix-timer.h: Include <list.h>.
35743         (struct list_links): Type removed.
35744         (struct thread_node, struct timer_node): Replace struct list_links
35745         with struct list_head.
35746         (list_unlink_ip): Likewise.
35747         * sysdeps/pthread/timer_routines.c
35748         (timer_free_list, thread_free_list, thread_active_list): Likewise.
35749         (list_append, list_insbefore): Likewise.
35750         (list_init): Function removed.
35751         (thread_init, init_module): Use INIT_LIST_HEAD instead.
35752         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
35753         * sysdeps/pthread/Makefile: ... here, new file.
35755         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
35756         * sysdeps/nptl/Implies: ... here.
35757         * sysdeps/unix/sysv/linux/Implies: Add nptl.
35758         * nptl/sysdeps/pthread/list.h: Moved ...
35759         * include/list.h: ... here.
35760         * nptl/sysdeps/pthread/createthread.c: Moved ...
35761         * nptl/createthread.c: ... here.
35762         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
35763         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
35764         * nptl/pt-longjmp.c: ... here.
35765         * nptl/sysdeps/pthread/Makefile: Moved ...
35766         * sysdeps/nptl/Makefile: ... here.
35767         * nptl/sysdeps/pthread/Subdirs: Moved ...
35768         * sysdeps/nptl/Subdirs: ... here.
35769         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
35770         * sysdeps/nptl/aio_misc.h: ... here.
35771         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
35772         * sysdeps/nptl/bits/libc-lock.h: ... here.
35773         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
35774         * sysdeps/nptl/bits/libc-lockP.h: ... here.
35775         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
35776         * sysdeps/nptl/bits/stdio-lock.h: ... here.
35777         * nptl/sysdeps/pthread/configure: Moved ...
35778         * sysdeps/nptl/configure: ... here.
35779         * nptl/sysdeps/pthread/configure.ac: Moved ...
35780         * sysdeps/nptl/configure.ac: ... here.
35781         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
35782         * sysdeps/nptl/gai_misc.h: ... here.
35783         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
35784         * sysdeps/nptl/librt-cancellation.c: ... here.
35785         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
35786         * sysdeps/nptl/malloc-machine.h: ... here.
35787         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
35788         * sysdeps/nptl/pthread-functions.h: ... here.
35789         * nptl/sysdeps/pthread/pthread.h: Moved ...
35790         * sysdeps/nptl/pthread.h: ... here.
35791         * nptl/sysdeps/pthread/setxid.h: Moved ...
35792         * sysdeps/nptl/setxid.h: ... here.
35793         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
35794         * sysdeps/nptl/sigfillset.c: ... here.
35795         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
35796         * sysdeps/nptl/tcb-offsets.h: ... here.
35797         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
35798         * sysdeps/nptl/tst-mqueue8x.c: ... here.
35799         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
35800         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
35801         * nptl/sysdeps/pthread/allocalim.h: Moved ...
35802         * sysdeps/pthread/allocalim.h: ... here.
35803         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
35804         * sysdeps/pthread/bits/sigthread.h: ... here.
35805         * nptl/sysdeps/pthread/flockfile.c: Moved ...
35806         * sysdeps/pthread/flockfile.c: ... here.
35807         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
35808         * sysdeps/pthread/ftrylockfile.c: ... here.
35809         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
35810         * sysdeps/pthread/funlockfile.c: ... here.
35811         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
35812         * sysdeps/pthread/posix-timer.h: ... here.
35813         * nptl/sysdeps/pthread/timer_create.c: Moved ...
35814         * sysdeps/pthread/timer_create.c: ... here.
35815         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
35816         * sysdeps/pthread/timer_delete.c: ... here.
35817         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
35818         * sysdeps/pthread/timer_getoverr.c: ... here.
35819         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
35820         * sysdeps/pthread/timer_gettime.c: ... here.
35821         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
35822         * sysdeps/pthread/timer_routines.c: ... here.
35823         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
35824         * sysdeps/pthread/timer_settime.c: ... here.
35825         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
35826         * sysdeps/pthread/tst-timer.c: ... here.
35827         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
35828         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
35830         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
35831         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
35833         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
35834         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
35835         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
35836         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
35837         Update #include target.
35838         * nptl/sysdeps/i386/i686/Makefile: Moved ...
35839         * sysdeps/i386/i686/nptl/Makefile: ... here.
35840         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
35841         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
35842         Update #include target.
35843         * nptl/sysdeps/i386/i686/tls.h: Moved ...
35844         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
35845         * nptl/sysdeps/i386/Makefile: Moved ...
35846         * sysdeps/i386/nptl/Makefile: ... here.
35847         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
35848         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
35849         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
35850         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
35851         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
35852         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
35853         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
35854         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
35855         * sysdeps/i386/nptl/pthreaddef.h: ... here.
35856         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
35857         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
35858         * nptl/sysdeps/i386/tls.h: Moved ...
35859         * sysdeps/i386/nptl/tls.h: ... here.
35861         * sysdeps/sh/Makefile [$(subdir) = csu]
35862         (gen-as-const-headers): Add tcb-offsets.sym.
35863         * nptl/sysdeps/sh/Makefile: File removed.
35864         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
35865         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
35866         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
35867         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
35868         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
35869         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
35870         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
35871         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
35872         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
35873         * sysdeps/sh/nptl/pthreaddef.h: ... here.
35874         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
35875         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
35876         * nptl/sysdeps/sh/tls.h: Moved ...
35877         * sysdeps/sh/nptl/tls.h: ... here.
35878         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
35879         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
35880         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
35881         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
35882         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
35883         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
35884         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
35885         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
35886         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
35887         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
35888         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
35889         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
35890         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
35891         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
35892         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
35893         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
35894         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
35895         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
35896         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
35897         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
35898         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
35899         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
35900         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
35901         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
35902         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
35903         Moved ...
35904         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
35905         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
35906         Moved ...
35907         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
35908         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
35909         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
35910         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
35911         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
35912         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
35913         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
35914         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
35915         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
35916         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
35917         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
35918         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
35919         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
35920         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
35921         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
35922         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
35923         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
35924         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
35925         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
35927 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
35929         * posix/spawn_faction_addopen.c: Include string.h.
35931 2014-06-11  Roland McGrath  <roland@hack.frob.com>
35933         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
35934         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
35935         * nptl/sysdeps/x86_64/Makefile: Moved ...
35936         * sysdeps/x86_64/nptl/Makefile: ... here.
35937         * nptl/sysdeps/x86_64/configure: Moved ...
35938         * sysdeps/x86_64/nptl/configure: ... here.
35939         * nptl/sysdeps/x86_64/configure.ac: Moved ...
35940         * sysdeps/x86_64/nptl/configure.ac: ... here.
35941         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
35942         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
35943         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
35944         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
35945         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
35946         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
35947         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
35948         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
35949         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
35950         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
35951         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
35952         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
35953         * nptl/sysdeps/x86_64/tls.h: Moved ...
35954         * sysdeps/x86_64/nptl/tls.h: ... here.
35955         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
35956         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
35957         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
35958         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
35960         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
35962 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35964         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35966 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
35968         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
35969         type.
35970         [POSIX] (off_t): Likewise.
35971         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
35972         [POSIX] (S_ISBLK): Require macro.
35973         [POSIX] (S_ISCHR): Likewise.
35974         [POSIX] (S_ISDIR): Likewise.
35975         [POSIX] (S_ISFIFO): Likewise.
35976         [POSIX] (S_ISREG): Likewise.
35977         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
35978         optional-macro.
35979         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
35980         type.
35981         [POSIX] (time_t): Likewise.
35982         [POSIX] (timer_t): Likewise.
35984 2014-06-11  Florian Weimer  <fweimer@redhat.com>
35986         [BZ #17048]
35987         * posix/spawn_int.h (struct __spawn_action): Make the path string
35988         non-const to support deallocation.
35989         * posix/spawn_faction_addopen.c
35990         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
35991         * posix/spawn_faction_destroy.c
35992         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
35993         path in all spawn_do_open actions.
35994         * posix/tst-spawn.c (do_test): Exercise the copy operation in
35995         posix_spawn_file_actions_addopen.
35997 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
35999         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
36000         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
36001         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
36002         conditional code always true.
36003         (__libc_vfork): New alias.
36005 2014-06-11  Roland McGrath  <roland@hack.frob.com>
36007         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36008         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
36010         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
36012         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36013         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
36015         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
36016         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
36018         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36019         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
36021 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36023         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
36024         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
36025         multiarch strcmp for PPC64.
36026         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
36027         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
36028         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
36029         multiarch optimizations.
36030         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36031         (__libc_ifunc_impl_list): Likewise.
36033 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36035         * benchtests/scripts/validate_benchout.py: New script.
36036         * benchtests/Makefile (bench-func): Call it.
36037         * benchtests/scripts/benchout.schema.json: New file.
36039 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
36041         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
36042         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
36043         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
36044         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
36045         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
36046         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
36047         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
36048         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
36049         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
36050         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
36051         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
36052         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
36053         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
36054         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
36055         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
36056         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
36057         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
36058         Moved ...
36059         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
36060         ... here.
36061         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
36062         Moved ...
36063         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
36064         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
36065         Moved ...
36066         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
36067         ... here.
36068         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
36069         Moved ...
36070         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
36071         ... here.
36072         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
36073         Moved ...
36074         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
36075         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
36076         Moved ...
36077         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
36078         ... here.
36079         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
36080         Moved ...
36081         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
36082         ... here.
36083         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
36084         Moved ...
36085         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
36086         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
36087         Moved ...
36088         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
36089         ... here.
36090         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
36091         Moved ...
36092         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
36093         ... here.
36094         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
36095         Moved ...
36096         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
36097         ... here.
36098         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
36099         Moved ...
36100         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
36101         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
36102         Moved ...
36103         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
36104         ... here.
36105         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
36106         Moved ...
36107         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
36108         ... here.
36109         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
36110         Moved ...
36111         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
36112         ... here.
36113         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
36114         Moved ...
36115         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
36116         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
36117         Moved ...
36118         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
36119         ... here.
36120         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
36121         Moved ...
36122         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
36123         ... here.
36124         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
36125         Moved ...
36126         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
36127         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
36128         Moved ...
36129         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
36130         ... here.
36131         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
36132         Moved ...
36133         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
36134         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
36135         Moved ...
36136         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
36137         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
36138         Moved ...
36139         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
36140         ... here.
36141         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
36142         Moved ...
36143         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
36144         ... here.
36145         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
36146         Moved ...
36147         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
36148         ... here.
36149         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
36150         Moved ...
36151         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
36152         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
36153         Moved ...
36154         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
36155         ... here.
36156         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
36157         Moved ...
36158         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
36159         ... here.
36160         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
36161         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
36162         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
36163         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
36164         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
36165         Moved ...
36166         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
36167         ... here.
36168         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
36169         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
36170         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
36171         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
36172         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
36173         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
36174         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
36175         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
36176         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
36177         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
36178         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
36179         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
36180         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
36181         Moved ...
36182         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
36183         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
36184         Moved ...
36185         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
36186         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
36187         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
36188         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
36189         Moved ...
36190         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
36191         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
36192         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
36193         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
36194         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
36195         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
36196         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
36198 2014-06-10  Wilco  <wdijkstr@arm.com>
36200         * math/test-fenv-return.c: New file.
36201         * math/Makefile: Add new test test-fenv-return.
36203 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
36205         [BZ #17042]
36206         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
36207         when x - 1 is zero.
36208         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
36209         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
36210         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
36211         0.0L for an argument of 1.0L.
36212         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
36213         Likewise.
36214         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
36215         value when x - 1 is zero.
36216         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
36217         * sysdeps/i386/fpu/libm-test-ulps: Update.
36218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36220 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
36222         [BZ #15119]
36223         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
36225 2014-06-09  Roland McGrath  <roland@hack.frob.com>
36227         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
36228         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
36230 2014-06-09  Roland McGrath  <roland@hack.frob.com>
36232         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36233         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
36235         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36236         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
36238         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36239         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
36241         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36242         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
36244         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
36245         if not already defined.
36246         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
36247         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
36248         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
36249         (TLS_INIT_TP): Use it.
36250         (TLS_DEFINE_INIT_TP): New macro.
36251         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
36253 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
36255         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
36256         constant.
36257         [POSIX] (IXANY): Likewise.
36258         [POSIX] (OLCUC): Likewise.
36259         [POSIX || POSIX2008] (CBAUD): Do not allow.
36260         [POSIX || POSIX2008] (DEFECHO): Likewise.
36261         [POSIX || POSIX2008] (ECHOCTL): Likewise.
36262         [POSIX || POSIX2008] (ECHOKE): Likewise.
36263         [POSIX || POSIX2008] (ECHOPRT): Likewise.
36264         [POSIX || POSIX2008] (EXTA): Likewise.
36265         [POSIX || POSIX2008] (EXTB): Likewise.
36266         [POSIX || POSIX2008] (FLUSHO): Likewise.
36267         [POSIX || POSIX2008] (LOBLK): Likewise.
36268         [POSIX || POSIX2008] (PENDIN): Likewise.
36269         [POSIX || POSIX2008] (SWTCH): Likewise.
36270         [POSIX || POSIX2008] (VDISCARD): Likewise.
36271         [POSIX || POSIX2008] (VDSUSP): Likewise.
36272         [POSIX || POSIX2008] (VLNEXT): Likewise.
36273         [POSIX || POSIX2008] (VREPRINT): Likewise.
36274         [POSIX || POSIX2008] (VSTATUS): Likewise.
36275         [POSIX || POSIX2008] (VWERASE): Likewise.
36276         (B*): Change to B[0123456789]*.
36277         * conform/data/time.h-data [POSIX || UNIX98]
36278         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
36279         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
36280         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
36281         [POSIX] (tm_*): Do not allow.
36283 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
36285         * Makefile (install): Don't set LANGUAGE.
36286         * Makefile.in (install): Likewise.
36287         * assert/Makefile (test-assert-ENV): Remove variable.
36288         (test-assert-perr-ENV): Likewise.
36289         * elf/Makefile (neededtest4-ENV): Likewise.
36290         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
36291         [$(cross-compiling) = no]: Don't set LANGUAGE.
36292         * io/ftwtest-sh (LANG): Remove variable.
36293         * libio/Makefile (tst-widetext-ENV): Likewise.
36294         * manual/install.texi (Running make install): Don't refer to
36295         environment settings for make install.
36296         * INSTALL: Regenerated.
36297         * nptl/tst-tls6.sh: Don't set LANG.
36298         * posix/globtest.sh (LANG): Remove variable.
36299         * string/Makefile (tester-ENV): Likewise.
36300         (inl-tester-ENV): Likewise.
36301         (noinl-tester-ENV): Likewise.
36302         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
36303         [$(cross-compiling) = no]: Don't set LANGUAGE.
36304         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
36305         without explicit environment settings.
36307 2014-06-06  Roland McGrath  <roland@hack.frob.com>
36309         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
36310         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
36311         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
36312         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
36314 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
36316         * crypt/crypt-private.h [DOS]: Add some includes taken from the
36317         other files in the crypt directory.
36318         * crypt/crypt.c: Remove duplicate includes.
36319         * crypt/crypt-entry.c: Likewise.
36320         * crypt/crypt_util.c: Likewise.
36322 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
36324         * Makeconfig (run-program-env): New variable.
36325         (run-program-prefix-before-env): Likewise.
36326         (run-program-prefix-after-env): Likewise.
36327         (run-program-prefix): Define in terms of new variables.
36328         (built-program-cmd-before-env): New variable.
36329         (built-program-cmd-after-env): Likewise.
36330         (built-program-cmd): Define in terms of new variables.
36331         (test-program-prefix-before-env): New variable.
36332         (test-program-prefix-after-env): Likewise.
36333         (test-program-prefix): Define in terms of new variables.
36334         (test-program-cmd-before-env): New variable.
36335         (test-program-cmd-after-env): Likewise.
36336         (test-program-cmd): Define in terms of new variables.
36337         * Rules (make-test-out): Use $(run-program-env).
36338         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
36339         (help): Do not mention environment variables.  Mention
36340         --timeoutfactor option.
36341         (timeoutfactor): New variable.
36342         (blacklist_exports): Remove function.
36343         (exports): Remove variable.
36344         (command): Do not include ${exports}.
36345         * manual/install.texi (Configuring and compiling): Do not mention
36346         test wrappers preserving environment variables.  Mention that last
36347         assignment to a variable must take precedence.
36348         * INSTALL: Regenerated.
36349         * benchtests/Makefile (run-bench): Use $(run-program-env).
36350         * catgets/Makefile ($(objpfx)test1.cat): Use
36351         $(built-program-cmd-before-env), $(run-program-env) and
36352         $(built-program-cmd-after-env).
36353         ($(objpfx)test2.cat): Do not specify environment variables
36354         explicitly.
36355         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
36356         $(run-program-env) and $(built-program-cmd-after-env).
36357         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
36358         $(run-program-env) and $(test-program-cmd-after-env).
36359         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
36360         explicitly.
36361         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
36362         run_program_env and test_program_cmd_after_env arguments.
36363         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
36364         * elf/tst-pathopt.sh: Use run_program_env argument.
36365         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
36366         $(test-wrapper-env) and $(run-program-env).
36367         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
36368         run_program_env arguments.
36369         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
36370         * intl/Makefile ($(objpfx)tst-gettext.out): Use
36371         $(test-program-prefix-before-env), $(run-program-env) and
36372         $(test-program-prefix-after-env).
36373         ($(objpfx)tst-gettext2.out): Likewise.
36374         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
36375         run_program_env and test_program_prefix_after_env arguments.
36376         * intl/tst-gettext2.sh: Likewise.
36377         * intl/tst-gettext4.sh: Do not set environment variables
36378         explicitly.
36379         * intl/tst-gettext6.sh: Likewise.
36380         * intl/tst-translit.sh: Likewise.
36381         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
36382         $(test-program-prefix-before-env), $(run-program-env) and
36383         $(test-program-prefix-after-env).
36384         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
36385         run_program_env and test_program_prefix_after_env arguments.
36386         * math/Makefile (run-regen-ulps): Use $(run-program-env).
36387         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
36388         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
36389         explicitly with each use of ${test_wrapper_env}.
36390         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
36391         $(test-program-prefix-before-env), $(run-program-env) and
36392         $(test-program-prefix-after-env).
36393         * posix/tst-getconf.sh: Do not set environment variables
36394         explicitly.
36395         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
36396         run_program_env and test_program_prefix_after_env arguments.
36397         * stdio-common/tst-printf.sh: Do not set environment variables
36398         explicitly.
36399         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
36400         $(test-program-prefix-before-env), $(run-program-env) and
36401         $(test-program-prefix-after-env).
36402         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
36403         run_program_env and test_program_prefix_after_env arguments.
36404         Split $test calls into $test_pre and $test.
36405         * timezone/Makefile (build-testdata): Use
36406         $(built-program-cmd-before-env), $(run-program-env) and
36407         $(built-program-cmd-after-env).
36409 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36411         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
36412         strlen for non SHARED builds.
36414 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
36416         * nptl/allocatestack.c (check_list): Inlined function...
36417         (__reclaim_stacks): ... here.
36419 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
36421         [BZ #15698]
36422         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
36423         memory overrun.
36425 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
36427         * Rules (make-test-out): Include
36428         LOCPATH=$(common-objpfx)localedata in default environment.
36429         * debug/Makefile (tst-chk1-ENV): Remove variable.
36430         (tst-chk2-ENV): Likewise.
36431         (tst-chk3-ENV): Likewise.
36432         (tst-chk4-ENV): Likewise.
36433         (tst-chk5-ENV): Likewise.
36434         (tst-chk6-ENV): Likewise.
36435         (tst-lfschk1-ENV): Likewise.
36436         (tst-lfschk2-ENV): Likewise.
36437         (tst-lfschk3-ENV): Likewise.
36438         (tst-lfschk4-ENV): Likewise.
36439         (tst-lfschk5-ENV): Likewise.
36440         (tst-lfschk6-ENV): Likewise.
36441         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
36442         (tst-iconv7-ENV): Likewise.
36443         * intl/Makefile (LOCPATH-ENV): Likewise.
36444         (tst-codeset-ENV): Likewise.
36445         (tst-gettext3-ENV): Likewise.
36446         (tst-gettext5-ENV): Likewise.
36447         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
36448         (tst-fopenloc-ENV): Likewise.
36449         (tst-fgetws-ENV): Remove variable.
36450         (tst-ungetwc1-ENV): Likewise.
36451         (tst-ungetwc2-ENV): Likewise.
36452         (bug-ungetwc2-ENV): Likewise.
36453         (tst-swscanf-ENV): Likewise.
36454         (bug-ftell-ENV): Likewise.
36455         (tst-fgetwc-ENV): Likewise.
36456         (tst-fseek-ENV): Likewise.
36457         (tst-ftell-partial-wide-ENV): Likewise.
36458         (tst-ftell-active-handler-ENV): Likewise.
36459         (tst-ftell-append-ENV): Likewise.
36460         * posix/Makefile (tst-fnmatch-ENV): Likewise.
36461         (tst-regexloc-ENV): Likewise.
36462         (bug-regex1-ENV): Likewise.
36463         (tst-regex-ENV): Likewise.
36464         (tst-regex2-ENV): Likewise.
36465         (bug-regex5-ENV): Likewise.
36466         (bug-regex6-ENV): Likewise.
36467         (bug-regex17-ENV): Likewise.
36468         (bug-regex18-ENV): Likewise.
36469         (bug-regex19-ENV): Likewise.
36470         (bug-regex20-ENV): Likewise.
36471         (bug-regex22-ENV): Likewise.
36472         (bug-regex23-ENV): Likewise.
36473         (bug-regex25-ENV): Likewise.
36474         (bug-regex26-ENV): Likewise.
36475         (bug-regex30-ENV): Likewise.
36476         (bug-regex32-ENV): Likewise.
36477         (bug-regex33-ENV): Likewise.
36478         (bug-regex34-ENV): Likewise.
36479         (bug-regex35-ENV): Likewise.
36480         (tst-rxspencer-ENV): Likewise.
36481         (tst-rxspencer-no-utf8-ENV): Likewise.
36482         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
36483         (tst-sscanf-ENV): Likewise.
36484         (tst-swprintf-ENV): Likewise.
36485         (tst-swscanf-ENV): Likewise.
36486         (test-vfprintf-ENV): Likewise.
36487         (scanf13-ENV): Likewise.
36488         (bug14-ENV): Likewise.
36489         (tst-grouping-ENV): Likewise.
36490         * stdlib/Makefile (tst-strtod-ENV): Likewise.
36491         (tst-strtod3-ENV): Likewise.
36492         (tst-strtod4-ENV): Likewise.
36493         (tst-strtod5-ENV): Likewise.
36494         (testmb2-ENV): Likewise./
36495         * string/Makefile (tst-strxfrm-ENV): Likewise.
36496         (tst-strxfrm2-ENV): Likewise.
36497         (bug-strcoll1-ENV): Likewise.
36498         (test-strcasecmp-ENV): Likewise.
36499         (test-strncasecmp-ENV): Likewise.
36500         * time/Makefile (tst-strptime-ENV): Likewise.
36501         (tst-ftime_l-ENV): Likewise.
36502         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
36503         (tst-mbrtowc-ENV): Likewise.
36504         (tst-wcrtomb-ENV): Likewise.
36505         (tst-mbrtowc2-ENV): Likewise.
36506         (tst-c16c32-1-ENV): Likewise.
36507         (tst-mbsnrtowcs-ENV): Likewise.
36509 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
36511         * manual/resource.texi (How to get information about the memory
36512         subsystem?): Fix typo.
36513         Reported by Peon de la Parra Ivan <peon@keba.com>
36515 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
36517         [BZ #16882]
36518         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
36519         (pthread_spin_lock): Branch out of spin loop to proper location.
36520         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
36521         (pthread_spin_lock): Likewise.
36523         * nptl/tst-spin4.c: New test.
36524         * nptl/Makefile (tests): Add tst-spin4.
36526 2014-06-03  Andreas Schwab  <schwab@suse.de>
36528         [BZ #15946]
36529         * resolv/res_send.c (send_dg): Reload file descriptor after
36530         calling reopen.
36532 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
36534         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36536 2014-06-03  Richard Henderson  <rth@redhat.com>
36538         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
36539         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
36540         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
36541         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
36542         in the SAVE_PID block.
36543         (__libc_vfork): New alias.
36544         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
36546         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
36547         child in registers, not on the stack.  Remove RESET_PID conditionals.
36548         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
36550 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
36552         * sysdeps/aarch64/libm-test-ulps: Regenerate.
36554 2014-06-03  Wilco  <wdijkstr@arm.com>
36556         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
36557         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
36558         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
36559         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
36560         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
36561         Likewise.
36563 2014-06-03  Wilco  <wdijkstr@arm.com>
36565         * sysdeps/aarch64/fpu/math_private.h
36566         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
36567         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
36568         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
36569         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
36570         Fix declarations.
36572 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
36574         * crypt/crypt-private.h: Include ufc-crypt.h.
36575         (__b64_from_24bit): Declare extern.
36576         * crypt/crypt_util.c(__b64_from_24bit): New function.
36577         (b64t): New static const variable.
36578         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
36579         (b64t): Remove variable.
36580         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
36581         * crypt/sha256-crypt.c: Include crypt-private.h.
36582         (b64t): Remove variable.
36583         (__sha256_crypt_r): Remove b64_from_24bit and replace
36584         with __b64_from_24bit.
36585         * crypt/sha512-crypt.c: Likewise.
36587 2014-06-02  Roland McGrath  <roland@hack.frob.com>
36589         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
36590         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
36591         Label the code __libc_vfork rather than __vfork.
36592         [!NOT_IN_libc] (vfork): Define as weak alias.
36593         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
36594         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
36595         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
36597 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36599         * malloc/malloc.c (malloc_info): Fix format specifier for
36600         n_mmaps.
36602 2014-06-02  Wilco  <wdijkstr@arm.com>
36604         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
36605         FPCR write.
36607 2014-06-02  Wilco  <wdijkstr@arm.com>
36609         [BZ #17009]
36610         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
36611         Rewrite to reduce FPCR/FPSR accesses.
36613 2014-06-01  David S. Miller  <davem@davemloft.net>
36615         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36617 2014-05-31  David S. Miller  <davem@davemloft.net>
36619         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
36620         to occur in round to nearest mode when |x| >= 2.0
36622 2014-05-30  Richard Henderson  <rth@twiddle.net>
36624         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
36625         (PSEUDO_RET_NOERRNO): Remove.
36626         (ret): Don't redefine.
36627         (ret_NOERRNO): Define in terms of ret.
36628         (ret_ERRVAL): Likewise.
36630         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
36631         use of PSEUDO_RET; perform the error check directly.
36633 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
36635         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
36636         with __int128_t.
36638 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36640         * malloc/malloc (malloc_info): Fix formatting.
36642 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36643             Roland McGrath  <roland@hack.frob.com>
36645         * malloc/malloc (malloc_info): Also print mmapped statistics.
36647 2014-05-30  Roland McGrath  <roland@hack.frob.com>
36649         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
36650         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
36652 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
36654         * malloc/malloc.c (malloc_info): Inline mi_arena.
36656 2014-05-29  Richard Henderson  <rth@twiddle.net>
36658         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
36659         Remove comma before expanding ASM_ARGS_##nr.
36660         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
36661         Make _x0 a strict output; make _x8 a strict input; adjust expansion
36662         of ASM_ARGS_##nr.
36663         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
36664         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
36665         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
36666         (ASM_ARGS_1): Add leading comma.
36668         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
36669         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
36670         to __errno_location.
36671         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
36672         Remove the expected plt for __errno_location.
36674         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
36675         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
36676         call to __read_tp.
36678         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
36679         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
36680         it and break it down.
36681         (DOCARGS_0, DOCARGS_1): Do nothing.
36682         (DOCARGS_2): Update to store into the new stack frame.
36683         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
36684         (UNDOCARGS_1): Update to restore from the new stack frame.
36685         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
36686         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
36688         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
36689         (SINGLE_THREAD_P): New parameter for result regno.
36690         (PSEUDO): Update to match; use cbz instead of beq.
36692         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
36693         Use ENTRY to define the _nocancel entry point.  Share the syscall
36694         and syscall error check paths with the cancel path.
36695         (PSEUDO_END): New.
36697         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
36698         whitespace; tabs before and after asm mnemonics.
36700 2014-05-29  Eric Wong  <normalperson@yhbt.net>
36702         [BZ #15132]
36703         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36704         Call fstat64 or stat64 internally, depending on arguments passed.
36705         Replace stat buffer argument with file descriptor argument.
36706         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
36707         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
36708         Pass fd to __internal_statvfs instead of calling fstat64.
36709         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
36710         Pass fd to __internal_statvfs64 instead of calling fstat64.
36711         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
36712         Pass -1 to __internal_statvfs instead of calling stat64.
36713         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
36714         Pass -1 to __internal_statvfs64 instead of calling stat64.
36716 2014-05-28  Roland McGrath  <roland@hack.frob.com>
36718         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
36719         that was previously under [RESET_PID].
36720         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
36722         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
36723         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
36725 2014-05-27  Roland McGrath  <roland@hack.frob.com>
36727         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
36729         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
36730         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
36732 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
36734         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
36736 2014-05-27  Andreas Schwab  <schwab@suse.de>
36738         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
36739         TLS_INIT_TP macro.
36740         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
36741         * elf/rtld.c (init_tls, dl_main): Likewise.
36742         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
36743         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
36744         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
36745         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
36746         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
36747         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
36748         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
36749         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
36750         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
36751         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
36752         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
36753         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
36754         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
36755         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
36756         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
36757         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
36758         * sysdeps/generic/tls.h: Update description.
36760 2014-05-27  Will Newton  <will.newton@linaro.org>
36762         [BZ #16990]
36763         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
36764         and restore r2 rather than just restoring.
36766 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36768         [BZ #16724]
36769         * libio/tst-ftell-append.c: New test case.
36770         * libio/Makefile (tests): Add test case.
36771         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
36772         append mode.
36773         * libio/wfileops.c (do_ftell_wide): Likewise.
36775 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36777         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36779         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
36780         ...
36781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
36782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
36783         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
36784         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
36785         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
36786         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
36787         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
36788         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
36789         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
36790         Moved ...
36791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
36792         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
36793         Moved ...
36794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
36795         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
36796         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
36797         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
36798         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
36799         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
36800         ...
36801         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
36802         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
36803         Moved ...
36804         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
36805         here.
36806         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
36807         ...
36808         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
36809         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
36810         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
36812         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
36813         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
36814         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
36815         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
36817         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
36818         merge into ...
36819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
36820         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
36821         ...
36822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
36823         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
36824         ...
36825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
36826         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
36827         Moved ...
36828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
36829         here.
36830         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
36831         Moved ...
36832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
36833         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
36834         Moved ...
36835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
36837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
36838         conditional [RESET_PID].
36839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
36840         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
36841         removed.
36842         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
36843         removed.
36845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
36846         <tcb-offsets.h>.
36847         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36848         (__libc_vfork): New strong alias.
36849         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
36850         removed.
36851         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
36852         Removed.
36854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
36855         <tcb-offsets.h>.
36856         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
36857         (__libc_vfork): New strong alias.
36858         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
36859         removed.
36860         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
36861         removed.
36863 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
36865         * malloc/malloc.c (mi_arena): New function.
36866         (malloc_info): Remove nested function mi_arena. Call non-nosted
36867         function mi_arena.
36869 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36871         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
36872         by insrwi.
36873         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
36874         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
36875         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
36876         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
36877         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
36878         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
36879         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
36881 2014-05-26  Andreas Schwab  <schwab@suse.de>
36883         [BZ #16984]
36884         * locale/programs/repertoire.c (repertoire_read): Add slash
36885         between I18NPATH element and file name.
36886         * locale/programs/locfile.c (locfile_read): Likewise.
36888 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
36890         * nptl/pthread_mutexattr_settype.c
36891         (__pthread_mutexattr_settype):
36892         Disable lock elision for PTHREAD_MUTEX_NORMAL.
36894 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
36896         * nptl/tst-mutex5 (do_test):
36897         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
36899 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36901         * benchtests/README: Document 'init' directive.
36902         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
36903         BENCH_INIT.
36904         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
36905         (parse_file): Recognize 'init' directive.
36907 2014-05-26  Kyle McMartin  <kyle@redhat.com>
36909         [BZ #16796]
36910         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
36911         alignment of struct pthread.
36913 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36915         [BZ #16878]
36916         * nscd/netgroupcache.c (addgetnetgrentX): Look for
36917         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
36918         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
36919         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
36921 2014-05-25  Richard Henderson  <rth@twiddle.net>
36923         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
36924         (SINGLE_THREAD_P_PIC): Remove.
36925         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
36926         (SINGLE_THREAD_P_PIC): Remove.
36928         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
36929         branch to syscall error ...
36930         (PSEUDO): ... here.
36931         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
36932         from __local_syscall_error to .Lsyscall_error.
36933         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
36934         (SYSCALL_ERROR): Update label name.
36936         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
36937         Do not use DOARGS/UNDOARGS.
36938         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
36939         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
36940         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
36941         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
36942         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
36944         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
36945         block comment.
36947         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
36948         define if !NOT_IN_libc.
36949         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
36950         define with non-default symbol versions.
36952 2014-05-23  Richard Henderson  <rth@twiddle.net>
36954         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
36955         (vfork, __vfork): Define via compat_symbol.
36957         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
36958         [!HAVE_IFUNC] (vfork_compat): Remove.
36959         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
36961 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
36963         [BZ #16978]
36964         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
36965         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
36966         variable.
36968 2014-05-23  Richard Henderson  <rth@twiddle.net>
36970         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
36971         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
36972         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
36973         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
36975         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
36976         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
36977         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
36978         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
36979         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
36980         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
36981         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
36982         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
36983         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
36984         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
36985         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
36986         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
36987         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
36988         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
36989         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
36990         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
36991         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
36992         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
36993         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
36994         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
36995         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
36996         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
36997         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
36998         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
36999         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
37000         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
37001         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
37002         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
37003         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
37004         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
37005         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
37006         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
37007         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
37008         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
37009         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
37010         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
37011         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
37012         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
37013         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
37014         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
37015         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
37016         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
37017         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
37018         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
37019         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
37020         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
37021         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
37022         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
37023         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
37024         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
37025         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
37026         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
37027         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
37028         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
37029         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
37030         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
37032         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
37033         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
37034         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
37035         before exiting on error.
37036         (__libc_vfork): New strong alias.
37037         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
37038         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
37040         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
37041         that was previously under [RESET_PID].
37042         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
37044         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
37046 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
37048         [BZ #16977]
37049         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
37050         value when x - 1 is zero.
37051         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
37052         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
37053         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
37054         0.0L for an argument of 1.0L.
37055         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
37056         Likewise.
37057         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
37058         value when x - 1 is zero.
37059         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
37060         * sysdeps/i386/fpu/libm-test-ulps: Update.
37061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37063 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
37065         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
37066         alphasort and versionsort.
37068 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37070         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
37071         macro.
37072         [copysignf]: Likewise.
37074 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
37076         * crypt/md5-crypt.c: Fix formatting.
37078 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
37080         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
37081         (b64_from_24bit): New function.
37083 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37085         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
37086         libc_hidden_builtin_def to ifunc.
37087         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
37088         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
37090 2014-05-21  Roland McGrath  <roland@hack.frob.com>
37092         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
37093         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
37095 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
37097         * nscd/Depend (linuxthreads): Remove.
37098         (nptl): Add.
37099         * resolv/Depend (linuxthreads): Remove.
37100         * rt/Depend (linuxthreads): Remove.
37102         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
37103         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
37104         $(common-objpfx)elf/.
37105         (link-libc-before-gnulib): Likewise.
37106         (elfobjdir): Remove variable.
37107         * Makefile (install): Use $(elf-objpfx) instead of
37108         $(common-objpfx)elf/.
37109         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
37110         $(elfobjdir)/.
37111         (link-libc-deps): Likewise.
37112         ($(common-objpfx)libc.so): Likewise.
37113         ($(common-objpfx)linkobj/libc.so): Likewise.
37114         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
37115         instead of $(common-objpfx)elf/.
37116         (symbolic-link-list): Likewise.
37117         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
37118         [$(cross-compiling) = no]: Likewise.
37119         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
37120         $(elfobjdir)/.
37121         (static-gnulib-arch): Likewise.
37122         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
37123         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
37124         $(common-objpfx)elf/.
37126 2014-05-21  Richard Henderson  <rth@redhat.com>
37128         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
37129         (SINGLE_THREAD_P): Use the correct width load.  Fold
37130         into the ldr offset.
37132         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
37133         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
37135 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
37137         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
37138         (libgcc_s_resume): Use __attribute_used__.
37139         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
37140         Likewise.
37142 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37144         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
37145         optimization when used with float constants.
37147         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37149 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
37151         [BZ #16915]
37152         * locale/nl_langinfo_l.c: Make direct reference to every
37153         _nl_current_CATEGORY symbol.
37154         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
37155         (tests-static): Add tst-langinfo-static.
37156         (tests-special): Add tst-langinfo-static.out.
37157         ($(objpfx)tst-langinfo.out): Redirect output.
37158         ($(objpfx)tst-langinfo-static.out): New.
37159         * localedata/tst-langinfo.sh: Send output to stdout.
37160         * localedata/tst-langinfo-static.c: New file.
37162         [BZ #16965]
37163         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
37164         when the shift amount is modulo the limb size.
37166 2014-05-20  Richard Henderson  <rth@redhat.com>
37168         [BZ #16967]
37169         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
37170         Change type of sa_flags from unsigned int to int.
37172         [BZ #16966]
37173         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
37175         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
37177 2014-05-20  Will Newton  <will.newton@linaro.org>
37179         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
37180         Test the return value of the system call in the nocancel case.
37182 2014-05-20  Will Newton  <will.newton@linaro.org>
37183             Yvan Roux  <yvan.roux@linaro.org>
37185         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
37186         #include of asm/ptrace.h.
37187         (PTRACE_GET_THREAD_AREA): Remove #undef.
37188         (PTRACE_GETHBPREGS): Likewise.
37189         (PTRACE_SETHBPREGS): Likewise.
37190         (struct user_regs_struct): New structure.
37191         (struct user_fpsimd_struct): New structure.
37192         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
37193         #include of asm/ptrace.h and second #include of sys/user.h.
37194         (PTRACE_GET_THREAD_AREA): Remove #undef.
37195         (PTRACE_GETHBPREGS): Likewise.
37196         (PTRACE_SETHBPREGS): Likewise.
37197         (ELF_NGREG): Use new struct user_regs_struct.
37198         (elf_fpregset_t): Use new struct user_fpsimd_struct.
37200 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37202         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
37203         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
37205 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
37207         [BZ #16958]
37208         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
37209         membar to avoid block loads/stores to overlap previous stores.
37211 2014-05-17  Richard Henderson  <rth@redhat.com>
37213         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
37214         Create the __##syscall_name##_nocancel entry point.
37215         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
37216         Remove; let the sysdep-cancel.h code create it.
37218 2014-05-17  David S. Miller  <davem@davemloft.net>
37220         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
37221         Protect with __USE_GNU.
37222         (TIOCSET_TEMPT): Likewise.
37223         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
37224         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
37225         these are already provided in bits/ioctl-types.h
37227 2014-05-16  Roland McGrath  <roland@hack.frob.com>
37229         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
37230         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
37232         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
37233         Use wait4 regardless of [__NR_waitpid].
37235 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
37237         PR libgcc/60166
37238         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
37239         (_FP_NANSIGN_Q): Set the quiet bit.
37241 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
37243         * benchtests/Makefile
37244         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
37245         not $(common-objpfx)math/libm.so.
37246         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
37247         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
37248         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
37249         $(common-objpfx)dlfcn/libdl.so.
37250         ($(objpfx)tst-audit8): Depend on $(libm), not
37251         $(common-objpfx)math/libm.so.
37252         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
37253         not $(common-objpfx)dlfcn/libdl.so.
37254         * math/Makefile
37255         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
37256         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
37257         [$(build-shared) = yes].
37258         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
37259         $(common-objpfx)nptl/libpthread.so.
37260         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
37261         $(common-objpfx)math/libm.so$(libm.so-version) or
37262         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
37263         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
37264         $(common-objpfx)dlfcn/libdl.so.
37265         * setjmp/Makefile (link-libm): Remove variable.
37266         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
37267         * stdio-common/Makefile (link-libm): Remove variable.
37268         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
37269         * stdlib/Makefile (link-libm): Remove variable.
37270         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
37271         ($(objpfx)tst-strtod-round): Likewise.
37272         ($(objpfx)tst-tininess): Likewise.
37273         ($(objpfx)tst-strtod-underflow): Likewise.
37274         ($(objpfx)tst-strtod6): Likewise.
37275         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
37276         $(libdl), not $(common-objpfx)nptl/libpthread.so and
37277         $(common-objpfx)dlfcn/libdl.so.
37279 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37281         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
37282         BSD terminal modes definitions.
37284 2014-05-16  Roland McGrath  <roland@hack.frob.com>
37286         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
37287         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
37289         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
37290         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
37291         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
37292         Don't do #include_next.
37293         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
37294         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
37295         Don't do #include_next.
37296         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
37297         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
37298         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
37299         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
37301 2014-05-16  Allan McRae  <allan@archlinux.org>
37303         * po/sv.po: Update Swedish translation from translation project.
37305         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
37306         in sed expression.
37308 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
37310         [BZ #16917]
37311         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
37312         errno if the TIOCGPTN ioctl fails with an error different than
37313         EINVAL.
37314         * login/tst-ptsname.c: New file.
37315         * login/Makefile (tests): Add tst-ptsname.
37317         [BZ #16943]
37318         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
37319         and prlimit64.
37321 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37323         [BZ #16849]
37324         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
37325         herrno to return EAI_AGAIN.
37327 2014-05-14  Roland McGrath  <roland@hack.frob.com>
37329         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
37330         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
37331         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
37332         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
37333         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
37334         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
37335         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
37336         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
37337         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
37338         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
37339         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
37340         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
37341         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
37342         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
37343         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
37344         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
37345         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
37346         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
37347         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
37348         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
37349         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
37350         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
37351         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
37352         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
37353         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
37354         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
37355         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
37356         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
37357         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
37358         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
37359         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
37360         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
37361         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
37362         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
37363         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
37364         Moved ...
37365         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
37366         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
37367         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
37368         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
37369         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
37370         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
37371         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
37372         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
37373         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
37374         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
37375         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
37376         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
37377         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
37378         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
37379         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
37380         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
37381         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
37382         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
37383         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
37384         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
37385         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
37386         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
37387         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
37388         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
37389         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
37390         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
37391         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
37392         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
37393         Moved ...
37394         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
37395         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
37396         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
37397         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
37398         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
37399         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
37400         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
37401         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
37402         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
37403         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
37404         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
37405         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
37406         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
37407         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
37408         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
37409         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
37410         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
37411         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
37412         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
37413         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
37414         Moved ...
37415         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
37416         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
37417         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
37419         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
37420         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
37421         (libpthread-sysdep_routines): Add elision-related stuff here instead.
37422         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
37423         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
37424         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
37425         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
37426         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
37427         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
37428         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
37429         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
37430         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
37431         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
37432         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
37433         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
37434         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
37435         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
37436         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
37437         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
37438         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
37439         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
37440         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
37441         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
37442         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
37443         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
37444         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
37445         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
37446         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
37447         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
37448         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
37449         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
37451         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
37452         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
37454         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
37455         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
37456         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
37457         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
37458         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
37459         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
37460         Moved ...
37461         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
37462         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
37463         Moved ...
37464         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
37465         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
37466         Moved ...
37467         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
37468         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
37469         Moved ...
37470         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
37471         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
37472         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
37473         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
37474         Moved ...
37475         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
37476         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
37477         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
37478         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
37479         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
37480         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
37481         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
37482         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
37483         Moved ...
37484         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
37485         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
37486         Moved ...
37487         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
37488         ... here.
37489         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
37490         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
37491         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
37492         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
37493         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
37494         Moved ...
37495         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
37496         ... here.
37497         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
37498         Moved ...
37499         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
37500         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
37501         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
37502         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
37503         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
37504         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
37505         Moved ...
37506         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
37507         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
37508         Moved ...
37509         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
37510         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
37511         Moved ...
37512         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
37513         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
37514         Moved ...
37515         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
37516         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
37517         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
37518         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
37519         Moved ...
37520         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
37521         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
37522         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
37523         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
37524         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
37525         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
37526         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
37527         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
37528         Moved ...
37529         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
37530         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
37531         Moved ...
37532         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
37533         ... here.
37534         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
37535         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
37536         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
37537         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
37538         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
37539         Moved ...
37540         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
37541         ... here.
37542         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
37543         Moved ...
37544         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
37545         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
37546         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
37547         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
37548         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
37549         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
37550         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
37551         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
37552         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
37553         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
37554         Moved ...
37555         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
37556         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
37557         Moved ...
37558         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
37559         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
37560         Moved ...
37561         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
37562         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
37563         Moved ...
37564         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
37565         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
37566         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
37567         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
37568         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
37569         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
37570         Moved ...
37571         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
37572         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
37573         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
37574         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
37575         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
37576         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
37577         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
37578         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
37579         Moved ...
37580         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
37581         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
37582         Moved ...
37583         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
37584         ... here.
37585         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
37586         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
37587         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
37588         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
37589         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
37590         Moved ...
37591         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
37592         ... here.
37593         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
37594         Moved ...
37595         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
37596         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
37597         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
37598         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
37599         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
37600         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
37601         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
37602         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
37603         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
37604         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
37605         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
37607         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
37608         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
37610         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
37611         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
37613         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
37614         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
37615         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
37616         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
37617         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
37618         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
37619         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
37620         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
37621         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
37622         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
37623         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
37624         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
37625         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
37626         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
37627         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
37628         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
37629         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
37630         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
37631         Moved ...
37632         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
37633         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
37634         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
37635         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
37636         Moved ...
37637         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
37638         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
37639         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
37640         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
37641         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
37642         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
37643         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
37644         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
37645         Moved ...
37646         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
37647         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
37648         Moved ...
37649         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
37650         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
37651         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
37652         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
37653         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
37654         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
37655         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
37656         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
37657         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
37658         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
37659         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
37660         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
37661         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
37662         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
37663         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
37664         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
37665         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
37667         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
37668         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
37669         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
37670         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
37671         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
37673         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
37674         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
37675         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
37676         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
37677         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
37678         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
37679         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
37680         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
37681         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
37682         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
37684         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
37685         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
37687         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
37688         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
37689         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
37690         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
37691         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
37692         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
37693         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
37694         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
37695         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
37696         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
37697         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
37698         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
37699         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
37700         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
37701         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
37702         Update #include.
37703         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
37704         Likewise.
37705         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
37706         Likewise.
37707         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
37708         Likewise.
37709         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
37710         Likewise.
37711         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
37712         Likewise.
37713         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
37714         Likewise.
37715         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
37716         Likewise.
37717         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
37718         Likewise.
37719         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
37720         Likewise.
37721         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
37722         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
37723         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
37724         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
37725         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
37726         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
37727         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
37728         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
37729         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
37730         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
37731         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
37732         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
37733         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
37734         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
37735         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
37737         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
37738         that was previously under [RESET_PID].
37739         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
37740         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
37741         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
37743         * sysdeps/i386/nptl/Implies: New file.
37744         * sysdeps/x86_64/nptl/Implies: New file.
37745         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
37746         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
37747         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
37748         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
37750         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
37751         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
37752         (__libc_vfork): New strong alias.
37753         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
37754         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
37756         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
37757         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
37758         (__libc_vfork): New strong alias.
37759         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
37760         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
37762         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
37763         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
37764         (__libc_vfork): New strong alias.
37765         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
37766         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
37767         * nptl/pt-vfork.c: New file.
37768         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
37769         (libpthread: GLIBC_2.20): New version set (empty).
37771 2014-05-14  Will Newton  <will.newton@linaro.org>
37773         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
37774         rather than #if.
37776 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
37778         [BZ #16564]
37779         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
37780         arguments with exponent 65 or above.
37781         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
37782         arguments 0x1p113L or above.
37783         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
37784         to arguments 0x1p107L or above.
37785         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
37786         positive arguments with exponent 65 or above.
37787         * math/auto-libm-test-in: Add more tests of log1p.
37788         * math/auto-libm-test-out: Regenerated.
37790         [BZ #16928]
37791         * math/s_cacos.c (__cacos): Ensure zero real part of result from
37792         non-finite arguments is +0.
37793         * math/s_cacosf.c (__cacosf): Likewise.
37794         * math/s_cacosl.c (__cacosl): Likewise.
37795         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
37796         * sysdeps/i386/fpu/libm-test-ulps: Update.
37797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37799         [BZ #16927]
37800         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
37801         value.
37802         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
37803         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
37804         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
37805         for explicit high bit of mantissa when testing for argument equal
37806         to 1.
37807         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
37808         * sysdeps/i386/fpu/libm-test-ulps: Update.
37809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37811         [BZ #16516]
37812         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
37813         (__erf): Scale by 16 instead of 8 in potentially underflowing
37814         case.  Ensure exception if result actually underflows.
37815         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
37816         (__erff): Scale by 16 instead of 8 in potentially underflowing
37817         case.  Ensure exception if result actually underflows.
37818         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
37819         (efx8): Remove variable.
37820         (__erfl): Scale by 16 instead of 8 in potentially underflowing
37821         case.  Ensure exception if result actually underflows.
37822         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
37823         (efx8): Remove variable.
37824         (__erfl): Scale by 16 instead of 8 in potentially underflowing
37825         case.  Ensure exception if result actually underflows.
37826         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
37827         (efx8): Remove variable.
37828         (__erfl): Scale by 16 instead of 8 in potentially underflowing
37829         case.  Ensure exception if result actually underflows.
37830         * math/auto-libm-test-in: Add more tests of erf.
37831         * math/auto-libm-test-out: Regenerated.
37833 2014-05-14  Andreas Schwab  <schwab@suse.de>
37835         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
37836         Remove code conditionalized on USE___THREAD.
37838         * config.h.in (HAVE_PT_CHOWN): Define as 0.
37839         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
37840         not definedness.
37842 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
37844         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
37845         Define unconditionally.
37846         (__ASSUME_O_CLOEXEC): Likewise.
37847         (__ASSUME_SOCK_CLOEXEC): Likewise.
37848         (__ASSUME_IN_NONBLOCK): Likewise.
37849         (__ASSUME_PIPE2): Likewise.
37850         (__ASSUME_EVENTFD2): Likewise.
37851         (__ASSUME_SIGNALFD4): Likewise.
37852         (__ASSUME_DUP3): Likewise.
37853         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37854         (__ASSUME_DUP3): Do not define.
37855         (__ASSUME_EVENTFD2): Likewise.
37856         (__ASSUME_IN_NONBLOCK): Likewise.
37857         (__ASSUME_O_CLOEXEC): Likewise.
37858         (__ASSUME_PIPE2): Likewise.
37859         (__ASSUME_SIGNALFD4): Likewise.
37860         (__ASSUME_SOCK_CLOEXEC): Likewise.
37861         (__ASSUME_UTIMES): Undefine.
37862         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37863         (__ASSUME_UTIMES): Do not define.
37864         (__ASSUME_O_CLOEXEC): Likewise.
37865         (__ASSUME_SOCK_CLOEXEC): Likewise.
37866         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
37867         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
37868         0x020621].
37869         (__ASSUME_PIPE2): Likewise.
37870         (__ASSUME_EVENTFD2): Likewise.
37871         (__ASSUME_SIGNALFD4): Likewise.
37872         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
37873         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
37874         Do not define.
37875         (__ASSUME_EVENTFD2): Likewise.
37876         (__ASSUME_SIGNALFD4): Likewise.
37877         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
37878         (__ASSUME_32BITUIDS): Likewise.
37879         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
37880         (__ASSUME_IPC64): Likewise.
37881         (__ASSUME_ST_INO_64_BIT): Likewise.
37882         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
37883         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
37884         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37885         (__ASSUME_UTIMES): Do not define.
37886         (__ASSUME_PSELECT): Likewise.
37887         (__ASSUME_PPOLL): Likewise.
37888         (__ASSUME_O_CLOEXEC): Likewise.
37889         (__ASSUME_SOCK_CLOEXEC): Likewise.
37890         (__ASSUME_IN_NONBLOCK): Likewise.
37891         (__ASSUME_PIPE2): Likewise.
37892         (__ASSUME_EVENTFD2): Likewise.
37893         (__ASSUME_SIGNALFD4): Likewise.
37894         (__ASSUME_DUP3): Likewise.
37895         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37896         (__ASSUME_UTIMES): Likewise.
37897         (__ASSUME_O_CLOEXEC): Likewise.
37898         (__ASSUME_SOCK_CLOEXEC): Likewise.
37899         (__ASSUME_IN_NONBLOCK): Likewise.
37900         (__ASSUME_PIPE2): Likewise.
37901         (__ASSUME_EVENTFD2): Likewise.
37902         (__ASSUME_SIGNALFD4): Likewise.
37903         (__ASSUME_DUP3): Likewise.
37904         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37905         (__ASSUME_UTIMES): Likewise.
37906         (__ASSUME_O_CLOEXEC): Likewise.
37907         (__ASSUME_SOCK_CLOEXEC): Likewise.
37908         (__ASSUME_IN_NONBLOCK): Likewise.
37909         (__ASSUME_PIPE2): Likewise.
37910         (__ASSUME_EVENTFD2): Likewise.
37911         (__ASSUME_SIGNALFD4): Likewise.
37912         (__ASSUME_DUP3): Likewise.
37913         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
37914         Likewise.
37915         (__ASSUME_UTIMES): Likewise.
37916         (__ASSUME_EVENTFD2): Likewise.
37917         (__ASSUME_SIGNALFD4): Likewise.
37918         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37919         (__ASSUME_O_CLOEXEC): Likewise.
37920         (__ASSUME_SOCK_CLOEXEC): Likewise.
37921         (__ASSUME_IN_NONBLOCK): Likewise.
37922         (__ASSUME_PIPE2): Likewise.
37923         (__ASSUME_EVENTFD2): Likewise.
37924         (__ASSUME_SIGNALFD4): Likewise.
37925         (__ASSUME_DUP3): Likewise.
37926         (__ASSUME_UTIMES): Undefine.
37928         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
37929         feclearexcept.  Remove symbol versioning code.
37930         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
37931         symbol versioning code.
37932         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
37933         symbol versioning code.
37934         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
37935         feupdateenv.  Remove symbol versioning code.
37936         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
37937         fegetexceptflag.  Remove symbol versioning code.
37938         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
37939         fesetexceptflag.  Remove symbol versioning code.
37940         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
37941         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
37942         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
37943         (__posix_fadvise64_l32): Remove prototype.
37944         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
37945         code.
37947 2014-05-13  Roland McGrath  <roland@hack.frob.com>
37949         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
37950         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
37951         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
37952         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
37954 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
37956         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
37957         current working directory
37959 2014-05-13  Roland McGrath  <roland@hack.frob.com>
37961         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
37962         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
37963         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
37964         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
37965         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
37966         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
37967         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
37968         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
37969         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
37970         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
37971         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
37972         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
37973         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
37974         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
37975         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
37976         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
37977         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
37978         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
37979         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
37980         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
37981         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
37982         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
37983         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
37984         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
37985         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
37986         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
37987         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
37988         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
37989         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
37990         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
37991         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
37992         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
37993         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
37994         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
37995         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
37996         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
37997         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
37998         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
37999         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
38000         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
38001         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
38002         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
38004         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
38005         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
38007         * sysdeps/unix/sysv/linux/arm/Makefile
38008         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
38009         Add rt-aeabi_unwind_cpp_pr1.
38010         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
38011         Add nptl-aeabi_unwind_cpp_pr1.
38012         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
38013         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
38014         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
38015         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
38016         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
38017         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
38019         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
38020         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
38021         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
38022         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
38024         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
38025         Deconditionalize the code that was previously under [RESET_PID].
38026         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
38028         * sysdeps/generic/exit-thread.h: New file.
38029         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
38030         * include/unistd.h (__exit_thread): Remove declaration.
38031         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
38032         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
38033         * csu/libc-start.c: Include <exit-thread.h>.
38034         (LIBC_START_MAIN): Pass no argument to __exit_thread.
38035         * nptl/pthread_create.c: Include <exit-thread.h>.
38036         (start_thread): Call __exit_thread in place of __exit_thread_inline.
38037         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
38038         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
38039         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
38040         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
38041         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
38042         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
38043         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
38044         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
38045         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
38046         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
38047         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
38048         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
38049         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
38050         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
38051         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
38052         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
38054 2014-05-13  Andreas Schwab  <schwab@suse.de>
38056         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
38058 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
38060         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
38061         (__ASSUME_UTIMES): Do not condition on kernel version.
38062         (__ASSUME_PSELECT): Define unconditionally.
38063         (__ASSUME_PPOLL): Likewise.
38064         (__ASSUME_ATFCTS): Likewise.
38065         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
38066         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
38067         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
38068         (__ASSUME_UTIMENSAT): Define unconditionally.
38069         (__ASSUME_PRIVATE_FUTEX): Likewise.
38070         (__ASSUME_FALLOCATE): Likewise.
38071         (__ASSUME_O_CLOEXEC): Likewise.
38072         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
38073         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
38074         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
38075         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
38076         (__ASSUME_IN_NONBLOCK): Likewise.
38077         (__ASSUME_PIPE2): Likewise.
38078         (__ASSUME_EVENTFD2): Likewise.
38079         (__ASSUME_SIGNALFD4): Likewise.
38080         (__ASSUME_DUP3): Likewise.
38081         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
38082         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
38083         (__ASSUME_AT_RANDOM): Likewise.
38084         (__ASSUME_PREADV): Likewise.
38085         (__ASSUME_PWRITEV): Likewise.
38086         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
38087         (__ASSUME_F_GETOWN_EX): Define unconditionally.
38088         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
38089         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
38090         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
38091         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38092         (__ASSUME_O_CLOEXEC): Define unconditionally.
38093         (__ASSUME_PSELECT): Do not undefine conditionally.
38094         (__ASSUME_PPOLL): Likewise.
38095         (__ASSUME_ATFCTS): Likewise.
38096         (__ASSUME_SET_ROBUST_LIST): Likewise.
38097         (__ASSUME_UTIMENSAT): Likewise.
38098         (__ASSUME_FDATASYNC): Define unconditionally.
38099         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38100         (__ASSUME_SIGFRAME_V2): Likewise.
38101         )__ASSUME_EVENTFD2): Likewise.
38102         (__ASSUME_SIGNALFD4): Likewise.
38103         (__ASSUME_PSELECT): Do not undefine conditionally.
38104         (__ASSUME_PPOLL): Likewise.
38105         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38106         (__ASSUME_PSELECT): Define unconditionally.
38107         (__ASSUME_PPOLL): Likewise.
38108         (__ASSUME_O_CLOEXEC): Likewise.
38109         (__ASSUME_SOCK_CLOEXEC): Likewise.
38110         (__ASSUME_IN_NONBLOCK): Likewise.
38111         (__ASSUME_PIPE2): Likewise.
38112         (__ASSUME_EVENTFD2): Likewise.
38113         (__ASSUME_SIGNALFD4): Likewise.
38114         (__ASSUME_DUP3): Likewise.
38115         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
38116         (__ASSUME_O_CLOEXEC): Likewise.
38117         (__ASSUME_SOCK_CLOEXEC): Likewise.
38118         (__ASSUME_IN_NONBLOCK): Likewise.
38119         (__ASSUME_PIPE2): Likewise.
38120         (__ASSUME_EVENTFD2): Likewise.
38121         (__ASSUME_SIGNALFD4): Likewise.
38122         (__ASSUME_DUP3): Likewise.
38123         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38124         (__ASSUME_EVENTFD2): Likewise.
38125         (__ASSUME_SIGNALFD4): Likewise.
38126         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
38128 2014-05-12  Andreas Schwab  <schwab@suse.de>
38130         [BZ #16932]
38131         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
38132         (_nss_nis_gethostbyname4_r): Return error if item length is larger
38133         than maximum RPC packet size.
38134         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
38135         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
38136         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
38137         (_nss_nis_getservbyport_r): Likewise.
38139 2014-05-12  Will Newton  <will.newton@linaro.org>
38141         * malloc/Makefile (tests): Add tst-mallopt.
38142         * malloc/tst-mallopt.c: New file.
38144 2014-05-09  Roland McGrath  <roland@hack.frob.com>
38146         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
38147         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
38149 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38151         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
38152         (tst-tlsmod6.so): Likewise.
38154 2014-05-09  Roland McGrath  <roland@hack.frob.com>
38156         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
38158 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
38160         [BZ #16064]
38161         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
38162         and <dl-procinfo.h>.
38163         (__fegetenv): Save SSE state in envp->__eip if supported.
38164         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
38165         envp->__eip if supported.
38166         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
38167         and <dl-procinfo.h>.
38168         (__fesetenv): Always set __eip, __cs_selector, __opcode,
38169         __data_offset and __data_selector in environment to 0.  Set SSE
38170         state if supported.
38171         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
38172         test-fenv-sse.
38173         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
38174         -mfpmath=sse.
38175         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
38177 2014-05-09  Will Newton  <will.newton@linaro.org>
38179         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
38180         and libc_relro_required for ARM.
38181         * sysdeps/arm/preconfigure: Regenerate.
38183 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
38184             Stefan Liebler  <stli@linux.vnet.ibm.com>
38186         * config.make.in (enable-lock-elision): New Makefile variable.
38187         * configure.ac: Likewise.
38188         * configure: Regenerate.
38189         * sysdeps/s390/configure.ac:
38190         Add check for gcc transactions support.
38191         * sysdeps/s390/configure: Regenerate.
38192         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
38193         Build elision files if enabled.
38194         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
38195         Add lock elision support for s390.
38196         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
38197         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
38198         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
38199         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
38200         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
38201         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
38202         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
38203         Likewise.
38204         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
38205         Likewise.
38206         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
38207         Likewise.
38208         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
38209         Likewise.
38210         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
38211         (__lll_timedlock_elision, __lll_lock_elision)
38212         (__lll_unlock_elision, __lll_trylock_elision)
38213         (lll_timedlock_elision, lll_lock_elision)
38214         (lll_unlock_elision, lll_trylock_elision): Add.
38215         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
38216         (pthread_mutex_t): Add lock elision support for s390.
38218 2014-05-14  Wilco  <wdijkstr@arm.com>
38220         * sysdeps/arm/fclrexcpt.c: Cleanup.
38221         * sysdeps/arm/fedisblxcpt.c: Cleanup.
38222         * sysdeps/arm/feenablxcpt.c: Cleanup.
38223         * sysdeps/arm/fegetenv.c: Cleanup.
38224         * sysdeps/arm/fegetexcept.c: Cleanup.
38225         * sysdeps/arm/fegetround.c: Cleanup.
38226         * sysdeps/arm/feholdexcpt.c: Cleanup.
38227         * sysdeps/arm/fesetenv.c: Cleanup.
38228         * sysdeps/arm/fesetround.c: Cleanup.
38229         * sysdeps/arm/feupdateenv.c: Cleanup.
38230         * sysdeps/arm/fgetexcptflg.c: Cleanup.
38231         * sysdeps/arm/fraiseexcpt.c: Cleanup.
38232         * sysdeps/arm/fsetexcptflg.c: Cleanup.
38233         * sysdeps/arm/ftestexcept.c: Cleanup.
38234         * sysdeps/arm/get-rounding-mode.h: Cleanup.
38235         * sysdeps/arm/setfpucw.c: Cleanup.
38237 2014-05-09  Will Newton  <will.newton@linaro.org>
38239         * sysdeps/arm/armv7/strcmp.S: New file.
38240         * NEWS: Mention addition of ARMv7 optimized strcmp.
38242 2014-05-08  Roland McGrath  <roland@hack.frob.com>
38244         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
38245         look for %.ac rather than %.in.
38247         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
38248         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
38249         * sysdeps/mach/hurd/configure: Regenerated.
38250         * sysdeps/unix/sysv/linux/configure: Regenerated.
38252         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
38254 2014-05-07  Steve Ellcey  <sellcey@mips.com>
38256         [BZ# 16922]
38257         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
38258         (LONG_SUB): Ditto.
38259         (PTR_SUB): Ditto.
38261 2014-05-07  Andreas Schwab  <schwab@suse.de>
38263         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
38264         when skipping over non-matching result from nscd.
38266 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
38268         [BZ #16876]
38269         * nptl/sockperf.c (client): Check socket return value.
38271         [BZ #16877]
38272         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
38273         nscd security class.
38275 2014-05-06  Roland McGrath  <roland@hack.frob.com>
38277         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
38278         * sysdeps/arm/unwind.h: ... here.
38280 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
38282         [BZ# 16916]
38283         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
38284         Define.
38286 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38288         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
38289         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
38290         multiarch strncpy for PPC64.
38291         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
38292         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
38293         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
38294         multiarch optimizations.
38295         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38296         (__libc_ifunc_impl_list): Likewise.
38297         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
38298         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
38299         multiarch stpncpy for PPC64.
38300         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
38301         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
38303 2014-05-06  Andreas Schwab  <schwab@suse.de>
38305         [BZ #16912]
38306         * gmon/mcount.c (_MCOUNT_DECL): Use
38307         atomic_compare_and_exchange_bool_acq instead of
38308         catomic_compare_and_exchange_bool_acq.
38310 2014-05-05  Roland McGrath  <roland@hack.frob.com>
38312         * elf/Makefile (others, install-bin): Remove pldd.
38313         (pldd-modules): Variable removed.
38314         ($(objpfx)pldd): Target removed.
38315         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
38316         (others, install-bin): Append pldd here.
38317         ($(objpfx)pldd): New target.
38319         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
38320         to 0, so the first #if test emitted later doesn't see it undefined.
38321         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
38322         * sysdeps/gnu/errlist.c: Regenerated.
38324 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38326         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
38327         [libc_hidden_builtin_def]: Define to empty value.
38328         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
38329         [libc_hidden_builtin_def]: Likewise.
38330         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
38331         [libc_hidden_builtin_def]: Likewise.
38332         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
38333         [libc_hidden_builtin_def]: Likewise.
38334         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
38335         __redirect_memcpy and define ifunc as default hidden symbol.
38336         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
38337         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
38339 2014-05-04  Adam Conrad  <adconrad@0c3.net>
38341         * locale/iso-4217.def: Reintroduce XDR currency.
38343 2014-05-04  Allan McRae  <allan@archlinux.org>
38345         * po/eo.po: Update Esperanto translation from translation project.
38347 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
38349         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
38350         and FEATURE_INDEX_MAX to 1.
38351         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
38353 2014-05-01  Steve Ellcey  <sellcey@mips.com>
38355         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
38356         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
38357         * iconvdata/big5.c (ONE_DIRECTION): Define.
38358         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
38359         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
38360         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
38361         * iconvdata/cp932.c (ONE_DIRECTION): Define.
38362         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
38363         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
38364         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
38365         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
38366         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
38367         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
38368         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
38369         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
38370         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
38371         * iconvdata/gbk.c (ONE_DIRECTION): Define.
38372         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
38373         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
38374         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
38375         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
38376         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
38377         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
38378         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
38379         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
38380         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
38381         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
38382         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
38383         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
38384         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
38385         * iconvdata/iso646.c (ONE_DIRECTION): Define.
38386         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
38387         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
38388         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
38389         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
38390         * iconvdata/johab.c (ONE_DIRECTION): Define.
38391         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
38392         * iconvdata/sjis.c (ONE_DIRECTION): Define.
38393         * iconvdata/t.61.c (ONE_DIRECTION): Define.
38394         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
38395         * iconvdata/tscii.c (ONE_DIRECTION): Define.
38396         * iconvdata/uhc.c (ONE_DIRECTION): Define.
38397         * iconvdata/unicode.c (ONE_DIRECTION): Define.
38398         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
38399         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
38400         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
38402 2014-05-01  Roland McGrath  <roland@hack.frob.com>
38404         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
38405         (_IO_JUMPS_OFFSET): Define to 0.
38407         * nptl/sysdeps/pthread/bits/libc-lock.h
38408         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
38409         (__libc_lock_define_initialized_recursive): Always define using
38410         initializer.  Modern compilers treat uninitialized (implicit zero) and
38411         explicit zero initializers the same (i.e. put the datum in bss).
38413 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
38415         * nscd/nscd-client.h: Include <string.h>.
38417 2014-05-01  David S. Miller  <davem@davemloft.net>
38419         [BZ #16885]
38420         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
38421         multiple zero bytes exist at the end of a string.
38422         Reported by Aurelien Jarno <aurelien@aurel32.net>
38424         * string/test-strcmp.c (check): Add explicit test for situations where
38425         there are multiple zero bytes after the first.
38427 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
38429         [BZ #16890]
38430         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
38431         when compiling wprintf.
38432         * stdio-common/tstdiomisc.c (t3): New function.
38433         (main): Call it.
38435 2014-05-01  Steve Ellcey  <sellcey@mips.com>
38437         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
38438         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
38439         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
38440         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
38442 2014-05-01  Steve Ellcey  <sellcey@mips.com>
38444         * stdlib/longlong.h: Updated from GCC.
38446 2014-05-01  Will Newton  <will.newton@linaro.org>
38447             Bernard Ogden  <bernie.ogden@linaro.org>
38449         * NEWS: Update fixed bug list.
38451         [BZ #15119]
38452         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
38454 2014-04-30  David S. Miller  <davem@davemloft.net>
38456         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
38457         (libc_feholdexcept_setround_sparc_ctx): New function.
38458         (libc_fesetenv_sparc_ctx): Likewise.
38459         (libc_feupdateenv_sparc_ctx): Likewise.
38460         (libc_feholdsetround_sparc_ctx): Likewise.
38461         (libc_feholdexcept_setround_ctx): Define.
38462         (libc_feholdexcept_setroundf_ctx): Likewise.
38463         (libc_feholdexcept_setroundl_ctx): Likewise.
38464         (libc_fesetenv_ctx): Likewise.
38465         (libc_fesetenvf_ctx): Likewise.
38466         (libc_fesetenvl_ctx): Likewise.
38467         (libc_feupdateenv_ctx): Likewise.
38468         (libc_feupdateenvf_ctx): Likewise.
38469         (libc_feupdateenvl_ctx): Likewise.
38470         (libc_feresetround_ctx): Likewise.
38471         (libc_feresetroundf_ctx): Likewise.
38472         (libc_feresetroundl_ctx): Likewise.
38473         (libc_feholdsetround_ctx): Likewise.
38474         (libc_feholdsetroundf_ctx): Likewise.
38475         (libc_feholdsetroundl_ctx): Likewise.
38477         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
38478         with __USE_GNU instead of XOPEN cpp guards.
38480         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
38481         0.
38483         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
38484         with XOPEN cpp guards.
38486 2014-04-30  Julian Brown  <julian@codesourcery.com>
38488         [BZ #16888]
38489         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
38490         handling.
38492 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
38494         [BZ #9894]
38495         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
38496         Change to 2.6.32.
38497         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
38498         * sysdeps/unix/sysv/linux/configure: Regenerated.
38499         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
38500         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
38501         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
38502         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
38503         * README: Update reference to required Linux kernel version.
38504         * manual/install.texi (Linux): Update reference to required Linux
38505         kernel headers version.
38506         * INSTALL: Regenerated.
38508         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
38509         header inclusion.
38510         [POSIX] (limits.h): Likewise.
38511         [POSIX] (math.h): Likewise.
38512         [POSIX] (sys/wait.h): Likewise.
38513         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
38514         function.
38515         [POSIX] (stddef.h): Do not allow header inclusion.
38517 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38519         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
38521 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
38523         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
38524         Return immediately after lll_futex_wake.
38526 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38528         [BZ #16791]
38529         * nscd/nscd-client.h (datahead_init_common): Initialize entire
38530         structure.
38531         (datahead_init_pos): Call datahead_init_common early.
38532         (datahead_init_neg): Likewise.
38534         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
38535         datahead_init_neg): New functions.
38536         * nscd/aicache.c (addhstaiX): Use them.
38537         * nscd/grpcache.c (cache_addgr): Likewise.
38538         * nscd/hstcache.c (cache_addhst): Likewise.
38539         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38540         * nscd/netgroupcache.c (do_notfound): Likewise.
38541         (addgetnetgrentX): Likewise.
38542         (addinnetgrX): Likewise.
38543         * nscd/pwdcache.c (cache_addpw): Likewise.
38544         * nscd/servicescache.c (cache_addserv): Likewise.
38546 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38547             Atsushi Onoe  <atsushi@onoe.org>
38549         [BZ #14308]
38550         [BZ #12994]
38551         [BZ #13651]
38552         * resolv/res_query.c (__libc_res_nsearch): Return if at least
38553         one response is valid.
38554         * resolv/res_send.c (send_dg): Check for validity of other
38555         response if the current response is a referral.
38557 2014-04-29  Steve Ellcey  <sellcey@mips.com>
38559         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
38561 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
38563         [BZ #16823]
38564         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
38565         Always divide by positive zero when computing -Inf result.
38566         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
38567         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
38569 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38571         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
38572         FPSCR if value do not change.
38573         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
38574         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
38575         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
38576         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
38577         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
38578         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
38579         function.
38581 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
38583         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
38584         * sysdeps/unix/sysv/linux/hppa: Move directory from
38585         ports/systeps/unix/sysv/linux/hppa.
38586         * README: Update listing for hppa-*-linux-gnu.
38588 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
38590         [BZ #16754]
38591         * manual/stdio.texi (Hook functions): Fix types of stream hook
38592         functions.
38593         [BZ #16854]
38594         * socket/sys/socket.h: Fix typo in comment.
38596 2014-04-28  Wilco  <wdijkstr@arm.com>
38598         * sysdeps/arm/fenv_private.h: New file.
38599         * sysdeps/arm/math_private.h: New file.
38600         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
38602 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
38604         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
38605         with __int128_t.
38606         (La_x86_64_retval): Likewise.
38608 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
38610         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
38611         fpsr if value didn't change.
38612         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
38613         to fpcr if value didn't change.
38614         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
38615         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
38616         fpsr or fpcr if value didn't change.
38617         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
38618         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
38619         fpcr if value didn't change.
38620         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
38621         to fpsr if value didn't change.
38623 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
38625         * nptl/tst-sem3.c: Use test-skeleton.c
38626         (main): Rename to do_test.  Use return instead of
38627         exit.
38628         * nptl/tst-sem4.c: Use test-skeleton.c
38629         (main): Rename to do_test.
38631 2014-04-22  David S. Miller  <davem@davemloft.net>
38633         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
38634         (struct sigaction): New struct member __glibc_reserved0, change
38635         type of sa_flags to int.
38637 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
38639         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
38640         (COUNT_LEADING_ZEROS_0): Define for AArch64.
38642 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
38644         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
38645         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
38647 2014-04-22  Will Newton  <will.newton@linaro.org>
38648             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
38650         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
38651         (__longjmp): Add longjmp and longjmp_target SystemTap
38652         probes.
38653         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
38654         (__sigsetjmp): Add setjmp SystemTap probe.
38656 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
38658         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
38659         match manual order.
38661 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38663         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
38665         * sysdeps/powerpc/fpu/fenv_private.h
38666         (libc_feholdexcept_setroundl_ctx): Define to
38667         libc_feholdexcept_setround_ppc_ctx.
38668         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
38669         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
38670         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
38671         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
38673 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
38675         * sysdeps/aarch64/math-tests.h: New file.
38677 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
38679         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
38680         New.
38681         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38682         Check and set bit_AVX2_Usable.
38683         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
38684         macro.
38685         (bit_AVX2): Likewise.
38686         (index_AVX2_Usable): Likewise.
38687         (CPUID_AVX2): Likewise.
38688         (HAS_AVX2): Likewise.
38690 2014-04-17  Will Newton  <will.newton@linaro.org>
38692         * manual/setjmp.texi (System V contexts): Add note that
38693         calling setcontext on a context created by a call to a
38694         signal handler is undefined.  Update text to note that
38695         setcontext from a signal handler is possible but not
38696         recommended.
38698         [BZ #16629]
38699         * stdlib/tst-setcontext.c: Include signal.h.
38700         (main): Check that the signal stack before and
38701         after swapcontext is the same.
38703         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
38704         Re-implement to restore registers in user code and avoid
38705         rt_sigreturn system call.
38707 2014-04-17  Wilco  <wdijkstr@arm.com>
38709         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
38710         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
38711         * math/test-fenv.c: Skip exception trap tests on targets which only
38712         support non-stop mode.
38714 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
38715             Wilco Dijkstra  <wilco.dijkstra@arm.com>
38717         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
38718         (libc_feholdsetround_aarch64_ctx)
38719         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
38720         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
38721         (libc_feresetround_ctx, libc_feresetroundf_ctx)
38722         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
38723         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
38724         (libc_feresetround_noexl_ctx): Define.
38726 2014-04-16  Richard Henderson  <rth@redhat.com>
38728         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
38730         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
38731         unwind tables.
38733         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
38734         const from the non-libc, non-ldso copy.
38736         * sysdeps/alpha/libm-test-ulps: Regenerate.
38738 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
38739             Wilco Dijkstra  <wilco.dijkstra@arm.com>
38741         * sysdeps/aarch64/fpu/math_private.h: New file.
38743 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
38745         * sysdeps/aarch64/libm-test-ulps: Regenerate.
38747 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
38749         [BZ #16275]
38750         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
38751         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
38752         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
38753         Intel MPX bound registers before _dl_profile_fixup.
38754         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
38755         registers after _dl_profile_fixup.  Save and restore bound
38756         registers bnd0/bnd1 when calling _dl_call_pltexit.
38757         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
38758         (LR_BND_OFFSET): Likewise.
38759         (LRV_BND0_OFFSET): Likewise.
38760         (LRV_BND1_OFFSET): Likewise.
38762 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38764         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
38765         to...
38766         * sysdeps/mach/hurd/i386/tls.h: ... here.
38767         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
38768         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
38769         fields.
38771 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38773         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
38775 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
38777         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38779 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
38781         [BZ #14770]
38782         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
38783         * sysdeps/s390/configure: Regenerate.
38785         [BZ #16824]
38786         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
38787         Set round-to-nearest internally to reduce error accumulation.
38789 2014-04-16  Alan Modra  <amodra@gmail.com>
38791         [BZ #16740]
38792         [BZ #16619]
38793         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
38794         * math/libm-test.inc (frexp_test_data): Add tests.
38795         * NEWS: Update fixed bug list.
38797 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38799         * benchtests/Makefile: Depend on libraries in build directory.
38800         (bench-math): Separate out math tests.
38801         (bench-pthread): Separate out pthread tests.
38802         (bench): Include math and pthread tests.
38804 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
38806         [BZ #16831]
38807         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
38808         _dl_debug_initialize.
38810         * configure.ac: Remove SELinux header check.
38811         * configure: Regenerate.
38812         * nscd/selinux.c (perms): Array of const char* to permission names.
38813         (nscd_request_avc_has_perm): Call security_deny_unknown to find
38814         default policy. Call string_to_security_class and string_to_av_perm to
38815         translate strings. Enforce default policy and call avs_has_perm with
38816         results of translated strings.
38818 2014-04-13  David S. Miller  <davem@davemloft.net>
38820         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38822 2014-04-12  Allan McRae  <allan@archlinux.org>
38824         [BZ #16838]
38825         * manual/string.texi (Collation Functions): Fix qsort argument
38826         order in example.
38827         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
38829 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
38831         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
38832         Make the test a no-op if there are no exceptions defined.
38834 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
38836         * elf/Makefile (tests): make tst-dlopen-aout conditional on
38837         enable-hardcoded-path-in-tests
38839 2014-04-11  Will Newton  <will.newton@linaro.org>
38841         * benchtests/Makefile (extra-objs): Add json-lib.o.
38842         (bench-func): Tidy up JSON output.
38843         * benchtests/bench-skeleton.c: Include json-lib.h.
38844         (main): Use JSON library functions to do output of
38845         benchmark results.
38846         * benchtests/bench-timing-type.c (main): Output the
38847         timing type simply, leaving formatting to the user.
38848         * benchtests/json-lib.c: New file.
38849         * benchtests/json-lib.h: Likewise.
38851 2014-04-11  Torvald Riegel  <triegel@redhat.com>
38853         [BZ #15215]
38854         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
38855         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
38856         memory barriers.  Add comments.
38857         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
38858         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
38859         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
38860         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
38861         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
38862         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
38864 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
38866         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
38867         * sysdeps/s390/s390-64/configure.ac: ... this ...
38868         * sysdeps/s390/configure.ac: ... to here.
38869         * sysdeps/s390/s390-32/configure: Delete file.
38870         * sysdeps/s390/s390-64/configure: Delete file.
38871         * sysdeps/s390/configure: Regenerate.
38873 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
38875         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
38877 2014-04-11  Will Newton  <will.newton@linaro.org>
38879         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
38880         to zero if it is not defined elsewhere.  (mtrim): Test
38881         the value of MALLOC_DEBUG with #if rather than #ifdef.
38883 2014-04-10 Torvald Riegel  <triegel@redhat.com>
38885         * benchtests/pthread_once-inputs: New file.
38886         * benchtests/pthread_once-source.c: New file.
38887         * benchtests/README: Update documentation.
38889 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
38890             H.J. Lu  <hongjiu.lu@intel.com>
38892         [BZ #16275]
38893         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
38894         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
38895         * sysdeps/x86_64/configure: Regenerated.
38896         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
38897         macro.
38898         (REGISTER_SAVE_RAX): Likewise.
38899         (REGISTER_SAVE_RCX): Likewise.
38900         (REGISTER_SAVE_RDX): Likewise.
38901         (REGISTER_SAVE_RSI): Likewise.
38902         (REGISTER_SAVE_RDI): Likewise.
38903         (REGISTER_SAVE_R8): Likewise.
38904         (REGISTER_SAVE_R9): Likewise.
38905         (REGISTER_SAVE_BND0): Likewise.
38906         (REGISTER_SAVE_BND1): Likewise.
38907         (REGISTER_SAVE_BND2): Likewise.
38908         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
38909         bound registers when calling _dl_fixup.
38911 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38913         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
38914         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
38915         of its definition.
38916         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
38917         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
38918         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
38919         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
38920         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
38921         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
38922         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
38924 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
38926         [BZ #15514]
38927         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
38928         pathconf(_PC_NAME_MAX).
38930 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38932         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
38933         Remove macro usage.
38934         (__PTHREAD_SPINS): Move definition to ...
38935         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
38936         (__PTHREAD_SPINS): ... here.
38937         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
38938         (__PTHREAD_SPIN): Likewise.
38939         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
38940         (__PTHREAD_SPIN): Likewise.
38941         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
38942         (__PTHREAD_SPIN): Likewise.
38943         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
38944         (__PTHREAD_SPIN): Likewise.
38945         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
38946         (__PTHREAD_SPIN): Likewise.
38947         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
38948         (__PTHREAD_SPIN): Likewise.
38949         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
38950         (__PTHREAD_SPIN): Likewise.
38951         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
38952         (__PTHREAD_SPIN): Likewise.
38953         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
38954         (__PTHREAD_SPIN): Likewise.
38955         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
38956         (__PTHREAD_SPIN): Likewise.
38957         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
38958         (__PTHREAD_SPIN): Likewise.
38959         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
38960         (__PTHREAD_SPIN): Likewise.
38962         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
38963         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
38964         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
38965         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
38966         imply folder.
38967         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
38968         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
38969         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
38970         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
38971         correct imply path.
38972         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
38973         strlen symbol for non multi-arch builds.
38974         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
38975         missing hidden_def and weak_alias.
38977 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
38979         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
38981 2014-04-07  Will Newton  <will.newton@linaro.org>
38983         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
38984         and contents.  [!_LIBC] Remove #ifndef and contents.
38985         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
38986         * string/memccpy.c (__memccpy): Use ANSI prototype.
38987         * string/memfrob.c (memfrob): Likewise.
38988         * string/strcoll.c (STRCOLL): Likewise.
38989         * string/strlen.c (strlen): Likewise.
38990         * string/strtok.c (STRTOK): Likewise.
38991         * string/strcat.c: Remove unused #include of memcopy.h.
38992         (strcat): Use ANSI prototype.
38993         * string/strchr.c: Remove unused #include of memcopy.h.
38994         (strchr): Use ANSI prototype.
38995         * string/strcmp.c: Remove unused #include of memcopy.h.
38996         (strcmp): Use ANSI prototype.
38997         * string/strcpy.c: Remove unused #include of memcopy.h.
38998         (strcpy): Use ANSI prototype.
39000 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39002         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
39003         * config.make.in (config-extra-cppflags): Set it from
39004         libc_extra_cppflags.
39005         * configure.ac (libc_extra_cflags): Make it accumulate over
39006         configure fragments.
39007         (libc_extra_cppflags): New flag.
39008         * configure. Regenerate.
39009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
39010         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
39011         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
39012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
39014         [BZ #16815]
39015         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
39016         result for FE_DOWNWARD rounding mode.
39017         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
39018         Likewise.
39019         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39021 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
39023         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
39024         in function argument name.
39026 2014-04-03  David Svoboda  <svoboda@cert.org>
39028         [BZ #5666]
39029         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
39030         explicitly.
39032 2014-04-03  Roland McGrath  <roland@hack.frob.com>
39034         * elf/dl-unmap-segments.h: New file.
39035         * sysdeps/generic/ldsodefs.h
39036         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
39037         * elf/dl-close.c: Include <dl-unmap-segments.h>.
39038         * elf/dl-fptr.c: Likewise.
39039         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
39040         * sysdeps/aarch64/tlsdesc.c: Likewise.
39041         * sysdeps/arm/tlsdesc.c: Likewise.
39042         * sysdeps/i386/tlsdesc.c: Likewise.
39043         * sysdeps/tile/dl-runtime.c: Likewise.
39044         * sysdeps/x86_64/tlsdesc.c: Likewise.
39045         * elf/dl-load.h: New file.
39046         * elf/dl-load.c: Include it.
39047         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
39048         Macros moved to dl-load.h.
39049         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
39050         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
39051         Use _dl_unmap_segments in place of __munmap.
39052         Break out segment-mapping loop into ...
39053         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
39055 2014-04-03  Will Newton  <will.newton@linaro.org>
39057         * elf/dl-lookup.c (do_lookup_x): Remove comment
39058         referring to nested function and move variable
39059         declarations down to before first use.
39061 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
39063         [BZ #16799]
39064         [BZ #16800]
39065         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
39066         with 0 numerator.
39067         * math/s_catanf.c (__catanf): Likewise.
39068         * math/s_catanh.c (__catanh): Likewise.
39069         * math/s_catanhf.c (__catanhf): Likewise.
39070         * math/s_catanhl.c (__catanhl): Likewise.
39071         * math/s_catanl.c (__catanl): Likewise.
39072         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
39073         by positive zero when computing -Inf result.
39074         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
39075         (catanh_test): Likewise.
39076         * sysdeps/i386/fpu/libm-test-ulps: Update.
39077         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39079         [BZ #16789]
39080         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
39081         instead of using underflowing value in computing result.
39082         * math/s_clog10.c (__clog10): Likewise.
39083         * math/s_clog10f.c (__clog10f): Likewise.
39084         * math/s_clog10l.c (__clog10l): Likewise.
39085         * math/s_clogf.c (__clogf): Likewise.
39086         * math/s_clogl.c (__clogl): Likewise.
39087         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
39088         (clog10_test): Likewise.
39089         * sysdeps/i386/fpu/libm-test-ulps: Update.
39090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39092 2014-04-02  Alan Modra  <amodra@gmail.com>
39094         [BZ #16739]
39095         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
39096         output when value is near a power of two.  Use int64_t for lx and
39097         remove casts.  Use decimal rather than hex exponent constants.
39098         Don't use long double multiplication when double will suffice.
39099         * math/libm-test.inc (nextafter_test_data): Add tests.
39100         * NEWS: Add 16739 and 16786 to bug list.
39102         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
39104         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
39106 2014-04-01  Will Newton  <will.newton@linaro.org>
39108         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
39109         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
39111 2014-04-01  Florian Weimer  <fweimer@redhat.com>
39113         [BZ #13347]
39114         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
39115         * nptl/tst-setuid2.c: New file.
39116         * nptl/Makefile (xtests): Add tst-setuid2.
39118 2014-04-01  Alan Modra  <amodra@gmail.com>
39120         [BZ #16786]
39121         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
39123 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
39125         [BZ #6803]
39126         [BZ #6804]
39127         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
39128         set errno as appropriate.
39129         * math/w_scalbf.c (__scalbf): Likewise.
39130         * math/w_scalbl.c (__scalbl): Likewise.
39131         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
39132         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
39133         * math/libm-test.inc (scalb_test_data): Add errno expectations.
39134         Add more NaN tests.
39136         [BZ #16349]
39137         * math/w_atan2.c: Include <errno.h>.
39138         (__atan2): Set errno for result underflowing to zero.
39139         * math/w_atan2f.c: Include <errno.h>.
39140         (__atan2f): Set errno for result underflowing to zero.
39141         * math/w_atan2l.c: Include <errno.h>.
39142         (__atan2l): Set errno for result underflowing to zero.
39143         * math/auto-libm-test-in: Don't allow missing errno for some atan2
39144         tests.
39145         * math/auto-libm-test-out: Regenerated.
39147 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39149         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
39150         Encode instruction correctly in little endian.
39151         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
39152         Likewise.
39153         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
39154         Likewise.
39155         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
39156         Likewise.
39157         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
39158         Likewise.
39160 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
39162         [BZ #9894]
39163         * sysdeps/unix/sysv/linux/kernel-features.h
39164         [__sparc__ && !__arch64__ && !__sparc_v9__]
39165         (__ASSUME_SET_ROBUST_LIST): Do not define.
39166         [__sparc__ && !__arch64__ && !__sparc_v9__]
39167         (__ASSUME_FUTEX_LOCK_PI): Likewise.
39168         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
39169         Likewise.
39170         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39171         (__ASSUME_FUTEX_LOCK_PI): Undefine.
39172         (__ASSUME_REQUEUE_PI): Likewise.
39173         (__ASSUME_SET_ROBUST_LIST): Likewise.
39174         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
39175         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
39176         Undefine.
39177         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39178         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
39179         Likewise.
39180         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
39181         Likewise.
39182         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
39183         Likewise.
39184         * sysdeps/unix/sysv/linux/mips/kernel-features.h
39185         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
39186         Undefine.
39187         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
39188         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
39189         Likewise.
39191         [BZ #16648]
39192         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39193         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
39194         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
39196 2014-03-31  Will Newton  <will.newton@linaro.org>
39198         * benchtests/Makefile (bench): Add ffs and ffsll to list
39199         of tests.
39200         * benchtests/ffs-inputs: New file.
39201         * benchtests/ffsll-inputs: Likewise.
39203 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
39205         [BZ #16770]
39206         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
39207         too large before casting to int.
39208         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
39209         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
39210         * math/libm-test.inc (scalb_test_data): Add more tests.
39212 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39214         * benchtests/Makefile (DETAILED_OPT): New make option.
39215         (bench-func): Run benchmark program with -d if DETAILED_OPT is
39216         set.
39217         * benchtests/bench-skeleton.c: Include stdbool.h.
39218         (main): Store and print timings per input.
39219         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
39220         member to each argument value.
39221         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
39222         (_print_arg_data): Initialize per-input timing to 0.
39224         * benchtests/Makefile (timing-type): New binary.
39225         (bench-clean): Also remove bench-timing-type.
39226         (bench): New target for timing-type.
39227         (bench-func): Print output in JSON format.
39228         * benchtests/bench-skeleton.c (main): Print output in JSON
39229         format.
39230         * benchtests/bench-timing-type.c: New file.
39231         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
39232         (TIMING_PRINT_STATS): Remove.
39233         * benchtests/scripts/bench.py (_print_arg_data): Store variant
39234         name separately.
39236         * benchtests/bench-modf.c: Remove.
39237         * benchtests/modf-inputs: New inputs file.
39239 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
39241         [BZ #16362]
39242         * math/s_clog10.c (M_PI_LOG10E): New macro.
39243         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
39244         imaginary parts are 0.
39245         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
39246         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
39247         imaginary parts are 0.
39248         * math/s_clog10l.c (M_PI_LOG10El): New macro.
39249         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
39250         imaginary parts are 0.
39251         * math/libm-test.inc (clog10_test_data): Update expected results
39252         for when real and imaginary parts are 0.
39254 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
39256         * elf/dl-load.c: Finish conversion of __builtin_expect into
39257         __glibc_{un}likely.
39259 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
39261         [BZ #16348]
39262         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
39263         1+x for argument with exponent below -67.
39264         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
39265         Likewise.
39266         * math/auto-libm-test-in: Add more tests of exp.
39267         * math/auto-libm-test-out: Regenerated.
39269 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39271         [BZ #16759]
39272         * inet/getnetgrent_r.c (get_nonempty_val): New function.
39273         (nscd_getnetgrent): Use it.
39275         [BZ #16760]
39276         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
39277         of stpcpy.
39279 2014-03-27  Andi Kleen  <ak@linux.intel.com>
39281         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
39282         (lll_robust_lock, lll_cond_lock, lll_timedlock)
39283         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
39284         (lll_robust_unlock): Remove out of line section. Use cfi
39285         intrinsics.
39286         (LLL_STUB_UNWIND_INFO*): Remove.
39287         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
39288         (lll_robust_lock, lll_cond_lock, lll_timedlock)
39289         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
39290         (lll_robust_unlock): Remove out of line section. Use cfi
39291         intrinsics.
39292         (LLL_STUB_UNWIND_INFO*): Remove.
39294 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39296         [BZ #16758]
39297         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
39298         blank values.
39300 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
39302         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
39304 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
39306         [BZ #16198]
39307         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
39308         fnstenv.
39309         * math/test-fenv-preserve.c: New file.
39310         * math/Makefile (tests): Add test-fenv-preserve.
39312 2014-03-26  Will Newton <will.newton@linaro.org>
39314         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
39316 2014-03-25  Roland McGrath  <roland@hack.frob.com>
39318         * scripts/versionlist.awk: Partition the version sets and emit all
39319         GLIBC_* (sorted) before all others (sorted).
39321 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
39323         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
39324         GLIBC_2.2.5 version.
39326 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39328         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
39329         calls.
39331         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
39332         previous change.
39334         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39336 2014-03-25  Andreas Schwab  <schwab@suse.de>
39338         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
39339         label to be used after in6ailist is initialized.
39341 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39343         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
39344         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
39346 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
39348         [BZ #16357]
39349         [BZ #16599]
39350         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
39351         min_plus_half.
39352         (fp_formats): Update initializers.
39353         (init_fp_formats): Initialize new field.
39354         (output_for_one_input_case): Allow underflow for results up to
39355         min_plus_half.
39356         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
39357         * math/auto-libm-test-in: Don't mark some underflows from asin and
39358         atanh as spurious.
39359         * math/auto-libm-test-out: Regenerated.
39360         * sysdeps/i386/fpu/libm-test-ulps: Update.
39361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39363 2014-03-25  Andreas Schwab  <schwab@suse.de>
39365         * libio/Makefile (tst-ftell-partial-wide-ENV)
39366         (tst-ftell-active-handler-ENV): Define.
39368 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
39370         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
39372 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
39374         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
39376 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
39378         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
39379         * sysdeps/x86_64/fpu/multiarch/e_exp.c
39380         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
39382 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
39384         [BZ #16634]
39385         * elf/dl-load.c (open_verify): Add mode parameter.
39386         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
39387         (open_path): Change from boolean 'secure' to complete flag 'mode'
39388         (_dl_map_object): Adjust.
39389         * elf/Makefile (tests): Add tst-dlopen-aout.
39390         * elf/tst-dlopen-aout.c: New test.
39392 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
39394         [BZ #16714]
39395         * sysdeps/unix/sysv/linux/s390/bits/stat.h
39396         (struct stat): Rename member pad0 to __glibc_reserved0.
39398         [BZ #16712]
39399         * sysdeps/s390/s390-32/bits/wordsize.h
39400         (__WORDSIZE32_SIZE_ULONG): New define.
39401         * sysdeps/s390/s390-64/bits/wordsize.h
39402         (__WORDSIZE32_SIZE_ULONG): Likewise.
39403         * sysdeps/generic/stdint.h (SIZE_MAX):
39404         Define as UL if __WORDSIZE32_SIZE_ULONG.
39406         [BZ #16713]
39407         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
39408         (__glibc_reserved0): New variable.
39409         (sa_flags): Change type to int.
39411         * posix/Makefile (before-compile): Use += before-compile instead
39412         of a :=.
39414         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
39415         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
39417 2014-03-20  Andreas Schwab  <schwab@suse.de>
39419         [BZ #16743]
39420         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
39421         non-matching result from nscd.
39423 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
39425         * scripts/bench.py: Moved to ...
39426         * benchtests/scripts/bench.py: ... here.
39427         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
39429 2014-03-24  Andreas Schwab  <schwab@suse.de>
39431         [BZ #16002]
39432         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
39433         alloca_account and account alloca use for struct in6ailist.
39435 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
39437         [BZ #16284]
39438         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
39439         rounding mode to recompute results that overflow to infinity or
39440         underflow to zero.
39441         * math/auto-libm-test-in: Don't mark tests as expected to fail for
39442         bug 16284.
39443         * math/auto-libm-test-out: Regenerated.
39444         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
39445         (ccosh_test): Likewise.
39446         (csin_test_data): Use plus_oflow.
39447         (csin_test): Use ALL_RM_TEST.
39448         (csinh_test_data): Use plus_oflow.
39449         (csinh_test): Use ALL_RM_TEST.
39450         * sysdeps/i386/fpu/libm-test-ulps: Update.
39451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39453 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
39455         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
39456         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
39457         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
39459         [BZ #16731]
39460         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
39461         when x - 1 is zero.
39462         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
39463         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
39464         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
39465         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
39466         argument is 1.
39467         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
39468         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
39469         zero.
39470         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
39471         * sysdeps/i386/fpu/libm-test-ulps: Update.
39472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39474 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39476         * scripts/bench.pl: Remove file.
39477         * scripts/bench.py: New benchmark script.
39478         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
39479         * benchtests/README: Mention python dependency.
39480         * scripts/pylintrc: New file.
39481         * scripts/pylint: New file.
39483         * bits/mathdef.h: Use #ifdef instead of #if.
39484         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
39485         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
39486         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
39487         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
39488         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
39489         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
39491 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39492             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39494         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
39495         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
39496         and strpbrk-ppc64 objects.
39497         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39498         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
39499         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
39500         multiarch strpbrk for POWER7.
39501         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
39502         multiarch strpbrk for PPC64.
39503         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
39504         ifunc selector.
39505         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
39506         strpbrk for POWER7.
39508 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
39510         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
39511         (atan_test): Likewise.
39512         (atanh_test_data): Use NO_TEST_INLINE for two tests.
39513         (atanh_test): Use ALL_RM_TEST.
39514         (atan2_test_data): Likewise.
39515         (cabs_test): Likewise.
39516         (cacosh_test): Likewise.
39517         (carg_test): Likewise.
39518         (casin_test): Likewise.
39519         (casinh_test): Likewise.
39520         (cbrt_test): Likewise.
39521         (csqrt_test): Likewise.
39522         (erf_test): Likewise.
39523         (erfc_test): Likewise.
39524         (pow10_test): Likewise.
39525         (exp2_test): Likewise.
39526         (hypot_test): Likewise.
39527         (j0_test): Likewise.
39528         (j1_test): Likewise.
39529         (lgamma_test): Likewise.
39530         (gamma_test): Likewise.
39531         (sincos_test): Likewise.
39532         (tanh_test): Likewise.
39533         (y0_test): Likewise.
39534         (y1_test): Likewise.
39535         * sysdeps/i386/fpu/libm-test-ulps: Update.
39536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39538 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39540         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
39541         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
39542         and strcspn-ppc64 objects.
39543         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39544         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
39545         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
39546         multiarch strcspn for POWER7.
39547         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
39548         multiarch strcspn for PPC64.
39549         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
39550         ifunc selector.
39551         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
39552         strcspn for POWER7.
39554 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
39556         * math/gen-libm-test.pl (generate_testfile): Expect only function
39557         name as argument to AUTO_TESTS_* and pass results for all rounding
39558         modes to parse_args.
39559         (parse_auto_input): Separate inputs of automatic tests from
39560         outputs before storing in %auto_tests.
39561         * math/libm-test.inc (acos_test_data): Update call to
39562         AUTO_TESTS_f_f.
39563         (acos_test): Use ALL_RM_TEST.
39564         (acos_tonearest_test_data): Remove.
39565         (acos_test_tonearest): Likewise.
39566         (acos_towardzero_test_data): Likewise.
39567         (acos_test_towardzero): Likewise.
39568         (acos_downward_test_data): Likewise.
39569         (acos_test_downward): Likewise.
39570         (acos_upward_test_data): Likewise.
39571         (acos_test_upward): Likewise.
39572         (acosh_test_data): Update call to AUTO_TESTS_f_f.
39573         (asin_test_data): Likewise.
39574         (asin_test): Use ALL_RM_TEST.
39575         (asin_tonearest_test_data): Remove.
39576         (asin_test_tonearest): Likewise.
39577         (asin_towardzero_test_data): Likewise.
39578         (asin_test_towardzero): Likewise.
39579         (asin_downward_test_data): Likewise.
39580         (asin_test_downward): Likewise.
39581         (asin_upward_test_data): Likewise.
39582         (asin_test_upward): Likewise.
39583         (asinh_test_data): Update call to AUTO_TESTS_f_f.
39584         (atan_test_data): Likewise.
39585         (atanh_test_data): Likewise.
39586         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
39587         (cabs_test_data): Update call to AUTO_TESTS_c_f.
39588         (carg_test_data): Likewise.
39589         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
39590         (ccos_test_data): Update call to AUTO_TESTS_c_c.
39591         (ccosh_test_data): Likewise.
39592         (cexp_test_data): Likewise.
39593         (clog_test_data): Likewise.
39594         (clog10_test_data): Likewise.
39595         (cos_test_data): Update call to AUTO_TESTS_f_f.
39596         (cos_test): Use ALL_RM_TEST.
39597         (cos_tonearest_test_data): Remove.
39598         (cos_test_tonearest): Likewise.
39599         (cos_towardzero_test_data): Likewise.
39600         (cos_test_towardzero): Likewise.
39601         (cos_downward_test_data): Likewise.
39602         (cos_test_downward): Likewise.
39603         (cos_upward_test_data): Likewise.
39604         (cos_test_upward): Likewise.
39605         (cosh_test_data): Update call to AUTO_TESTS_f_f.
39606         (cosh_test): Use ALL_RM_TEST.
39607         (cosh_tonearest_test_data): Remove.
39608         (cosh_test_tonearest): Likewise.
39609         (cosh_towardzero_test_data): Likewise.
39610         (cosh_test_towardzero): Likewise.
39611         (cosh_downward_test_data): Likewise.
39612         (cosh_test_downward): Likewise.
39613         (cosh_upward_test_data): Likewise.
39614         (cosh_test_upward): Likewise.
39615         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
39616         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
39617         (ctan_test_data): Likewise.
39618         (ctan_test): Use ALL_RM_TEST.
39619         (ctan_tonearest_test_data): Remove.
39620         (ctan_test_tonearest): Likewise.
39621         (ctan_towardzero_test_data): Likewise.
39622         (ctan_test_towardzero): Likewise.
39623         (ctan_downward_test_data): Likewise.
39624         (ctan_test_downward): Likewise.
39625         (ctan_upward_test_data): Likewise.
39626         (ctan_test_upward): Likewise.
39627         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
39628         (ctanh_test): Use ALL_RM_TEST.
39629         (ctanh_tonearest_test_data): Remove.
39630         (ctanh_test_tonearest): Likewise.
39631         (ctanh_towardzero_test_data): Likewise.
39632         (ctanh_test_towardzero): Likewise.
39633         (ctanh_downward_test_data): Likewise.
39634         (ctanh_test_downward): Likewise.
39635         (ctanh_upward_test_data): Likewise.
39636         (ctanh_test_upward): Likewise.
39637         (erf_test_data): Update call to AUTO_TESTS_f_f.
39638         (erfc_test_data): Likewise.
39639         (exp_test_data): Likewise.
39640         (exp_test): Use ALL_RM_TEST.
39641         (exp_tonearest_test_data): Remove.
39642         (exp_test_tonearest): Likewise.
39643         (exp_towardzero_test_data): Likewise.
39644         (exp_test_towardzero): Likewise.
39645         (exp_downward_test_data): Likewise.
39646         (exp_test_downward): Likewise.
39647         (exp_upward_test_data): Likewise.
39648         (exp_test_upward): Likewise.
39649         (exp10_test_data): Update call to AUTO_TESTS_f_f.
39650         (exp10_test): Use ALL_RM_TEST.
39651         (exp10_tonearest_test_data): Remove.
39652         (exp10_test_tonearest): Likewise.
39653         (exp10_towardzero_test_data): Likewise.
39654         (exp10_test_towardzero): Likewise.
39655         (exp10_downward_test_data): Likewise.
39656         (exp10_test_downward): Likewise.
39657         (exp10_upward_test_data): Likewise.
39658         (exp10_test_upward): Likewise.
39659         (exp2_test_data): Update call to AUTO_TESTS_f_f.
39660         (expm1_test_data): Likewise.
39661         (expm1_test): Use ALL_RM_TEST.
39662         (expm1_tonearest_test_data): Remove.
39663         (expm1_test_tonearest): Likewise.
39664         (expm1_towardzero_test_data): Likewise.
39665         (expm1_test_towardzero): Likewise.
39666         (expm1_downward_test_data): Likewise.
39667         (expm1_test_downward): Likewise.
39668         (expm1_upward_test_data): Likewise.
39669         (expm1_test_upward): Likewise.
39670         (fma_test_data): Update call to AUTO_TESTS_fff_f.
39671         (fma_test): Use ALL_RM_TEST.
39672         (fma_towardzero_test_data): Remove.
39673         (fma_test_towardzero): Likewise.
39674         (fma_downward_test_data): Likewise.
39675         (fma_test_downward): Likewise.
39676         (fma_upward_test_data): Likewise.
39677         (fma_test_upward): Likewise.
39678         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
39679         (j0_test_data): Update call to AUTO_TESTS_f_f.
39680         (j1_test_data): Likewise.
39681         (jn_test_data): Update call to AUTO_TESTS_if_f.
39682         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
39683         (log_test_data): Update call to AUTO_TESTS_f_f.
39684         (log10_test_data): Likewise.
39685         (log1p_test_data): Likewise.
39686         (log2_test_data): Likewise.
39687         (pow_test_data): Update call to AUTO_TESTS_ff_f.
39688         (pow_tonearest_test_data): Likewise.
39689         (sin_test_data): Update call to AUTO_TESTS_f_f.
39690         (sin_test): Use ALL_RM_TEST.
39691         (sin_tonearest_test_data): Remove.
39692         (sin_test_tonearest): Likewise.
39693         (sin_towardzero_test_data): Likewise.
39694         (sin_test_towardzero): Likewise.
39695         (sin_downward_test_data): Likewise.
39696         (sin_test_downward): Likewise.
39697         (sin_upward_test_data): Likewise.
39698         (sin_test_upward): Likewise.
39699         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
39700         (sinh_test_data): Update call to AUTO_TESTS_f_f.
39701         (sinh_test): Use ALL_RM_TEST.
39702         (sinh_tonearest_test_data): Remove.
39703         (sinh_test_tonearest): Likewise.
39704         (sinh_towardzero_test_data): Likewise.
39705         (sinh_test_towardzero): Likewise.
39706         (sinh_downward_test_data): Likewise.
39707         (sinh_test_downward): Likewise.
39708         (sinh_upward_test_data): Likewise.
39709         (sinh_test_upward): Likewise.
39710         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
39711         (sqrt_test): Use ALL_RM_TEST.
39712         (sqrt_tonearest_test_data): Remove.
39713         (sqrt_test_tonearest): Likewise.
39714         (sqrt_towardzero_test_data): Likewise.
39715         (sqrt_test_towardzero): Likewise.
39716         (sqrt_downward_test_data): Likewise.
39717         (sqrt_test_downward): Likewise.
39718         (sqrt_upward_test_data): Likewise.
39719         (sqrt_test_upward): Likewise.
39720         (tan_test_data): Update call to AUTO_TESTS_f_f.
39721         (tan_test): Use ALL_RM_TEST.
39722         (tan_tonearest_test_data): Remove.
39723         (tan_test_tonearest): Likewise.
39724         (tan_towardzero_test_data): Likewise.
39725         (tan_test_towardzero): Likewise.
39726         (tan_downward_test_data): Likewise.
39727         (tan_test_downward): Likewise.
39728         (tan_upward_test_data): Likewise.
39729         (tan_test_upward): Likewise.
39730         (tanh_test_data): Update call to AUTO_TESTS_f_f.
39731         (tgamma_test_data): Likewise.
39732         (y0_test_data): Likewise.
39733         (y1_test_data): Likewise.
39734         (yn_test_data): Update call to AUTO_TESTS_if_f.
39735         (main): Do not call removed functions.
39737 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
39739         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
39740         (ldexp_test_data): Remove.
39741         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
39742         scalbn_test_data.
39743         (scalb_test): Use ALL_RM_TEST.
39745 2014-03-19  Andreas Schwab  <schwab@suse.de>
39747         * nscd/nscd.service: Also invalidate netgroup cache on reload.
39749 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
39751         [BZ #16649]
39752         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39753         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
39754         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
39755         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39756         (__ASSUME_PREADV): Undefine.
39757         (__ASSUME_PWRITEV): Likewise.
39759 2014-03-18  Roland McGrath  <roland@hack.frob.com>
39761         * bits/mman-linux.h: Add comment about non-Linux use.
39762         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
39763         bits/mman-linux.h resting place.
39765         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
39766         * bits/mman-linux.h: ... here.
39768 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39770         * conform/conformtest.pl: Add standard definition when calling C
39771         preprocessor on data files.
39772         (checknamespace): Remove unused variable.
39774 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
39776         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
39777         minus_oflow, plus_uflow and minus_uflow in expected results.
39778         * math/libm-test.inc (scalbn_test_data): Add more tests of
39779         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
39780         minus_uflow.
39781         (scalbn_test): Use ALL_RM_TEST.
39782         (scalbln_test_data): Add more tests of negative arguments.  Use
39783         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
39784         (scalbln_test): Use ALL_RM_TEST.
39786 2014-03-18  Roland McGrath  <roland@hack.frob.com>
39788         * scripts/abilist.awk: Ignore symbols marked with .hidden.
39790 2014-03-18  Will Newton  <will.newton@linaro.org>
39792         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
39793         inaccurate comment.
39795 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
39797         * Makerules [!subdir] (check-abi): Exit with error status if a
39798         test failed.
39800 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
39802         * math/libm-test.inc (nearbyint_test_data): Include all tests used
39803         for rint.  Include results for all rounding modes.
39804         (nearbyint_test): Use ALL_RM_TEST.
39805         (rint_test_data): Include all tests used for nearbyint.
39807 2014-03-17  Will Newton  <will.newton@linaro.org>
39809         * nptl/sysdeps/pthread/pthread.h: Revert previous
39810         change.
39812         * sysdeps/generic/ldsodefs.h: Revert previous
39813         change.
39815         * libio/genops.c: Revert previous change.
39816         * libio/libioP.h: Likewise.
39817         * stdio-common/vfprintf.c: Likewise.
39819         * sysdeps/generic/math_private.h: Revert previous
39820         change.
39822         * sysdeps/generic/math_private.h: Check whether
39823         HAVE_RM_CTX is defined with #ifdef rather
39824         than #if.
39826         * argp/argp-fmtstream.h: Check whether
39827         __STRICT_ANSI__ is defined with #ifdef rather
39828         than #if.
39829         * argp/argp.h: Likewise.
39831         * libio/genops.c: Check whether
39832         _IO_JUMPS_OFFSET is defined with #ifdef rather
39833         than #if.
39834         * libio/libioP.h: Likewise.
39835         * stdio-common/vfprintf.c: Likewise.
39837         * sysdeps/generic/ldsodefs.h: Check whether
39838         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
39839         than #if.
39841         * nptl/sysdeps/pthread/pthread.h: Check
39842         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
39843         its value.
39845 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
39847         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
39848         setting O_APPEND.
39849         * libio/tst-ftell-active-handler.c (do_append_test): Add a
39850         test case.
39852         [BZ #16680]
39853         * libio/fileops.c (_IO_file_open): Seek to end of file but
39854         don't cache the offset.
39855         (get_file_offset): Remove function.
39856         (do_ftell): Use cached offset when available.
39857         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
39858         don't cache the offset.
39859         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
39860         case.
39861         (do_one_test): Call it.
39862         (do_ftell_test): Fix up expected old offset for a+ mode.
39863         * libio/wfileops.c (do_ftell_wide): Used cached offset when
39864         available.
39866         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
39867         up test status with function return status.
39868         (do_write_test): Likewise.
39869         (do_append_test): Likewise.
39871         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
39872         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
39873         Remove.
39875 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
39877         * math/gen-libm-test.pl (parse_args): Handle results specified for
39878         each rounding mode separately.
39879         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
39880         tests and results from lrint_tonearest_test_data,
39881         lrint_towardzero_test_data, lrint_downward_test_data and
39882         lrint_upward_test_data.
39883         (lrint_test): Use ALL_RM_TEST.
39884         (lrint_tonearest_test_data): Remove.
39885         (lrint_test_tonearest): Likewise.
39886         (lrint_towardzero_test_data): Likewise.
39887         (lrint_test_towardzero): Likewise.
39888         (lrint_downward_test_data): Likewise.
39889         (lrint_test_downward): Likewise.
39890         (lrint_upward_test_data): Likewise.
39891         (lrint_test_upward): Likewise.
39892         (llrint_test_data): Merge in per-rounding-mode tests and results
39893         from llrint_tonearest_test_data, llrint_towardzero_test_data,
39894         llrint_downward_test_data and llrint_upward_test_data.
39895         (llrint_test): Use ALL_RM_TEST.
39896         (llrint_tonearest_test_data): Remove.
39897         (llrint_test_tonearest): Likewise.
39898         (llrint_towardzero_test_data): Likewise.
39899         (llrint_test_towardzero): Likewise.
39900         (llrint_downward_test_data): Likewise.
39901         (llrint_test_downward): Likewise.
39902         (llrint_upward_test_data): Likewise.
39903         (llrint_test_upward): Likewise.
39904         (rint_test_data): Merge in per-rounding-mode tests and results
39905         from rint_tonearest_test_data, rint_towardzero_test_data,
39906         rint_downward_test_data and rint_upward_test_data.  Add
39907         per-rounding-mode results for tests not in those arrays.
39908         (rint_test): Use ALL_RM_TEST.
39909         (rint_tonearest_test_data): Remove.
39910         (rint_test_tonearest): Likewise.
39911         (rint_towardzero_test_data): Likewise.
39912         (rint_test_towardzero): Likewise.
39913         (rint_downward_test_data): Likewise.
39914         (rint_test_downward): Likewise.
39915         (rint_upward_test_data): Likewise.
39916         (rint_test_upward): Likewise.
39917         (main): Don't call removed functions.
39919 2014-03-14  Roland McGrath  <roland@hack.frob.com>
39921         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
39922         "Compiled on ..." crapola.  It is anti-useful.
39924 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
39926         * scripts/evaluate-test.sh: Handle fourth argument to determine
39927         whether test run should stop on failure.
39928         * Makeconfig (stop-on-test-failure): New variable.
39929         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
39930         $(stop-on-test-failure).
39931         * Makefile (tests): Give a summary of results from testing and
39932         exit with failure status if they include an ERROR or FAIL.
39933         (xtests): Likewise.
39934         * manual/install.texi (Configuring and compiling): Mention
39935         stop-on-test-failure=y.
39936         * INSTALL: Regenerated.
39938 2014-03-14  Roland McGrath  <roland@hack.frob.com>
39940         * scripts/versionlist.awk: New file.
39941         * Makerules [$(build-shared) = yes]
39942         (postclean-generated): Add Versions.def, not Versions.def.v and
39943         Versions.def.v.i.
39944         ($(common-objpfx)Versions.def.v.i): Target removed.
39945         ($(common-objpfx)Versions.def): New target.
39946         ($(common-objpfx)Versions.all): Depend on that rather that
39947         $(common-objpfx)Versions.def.v.
39948         * Versions.def: File removed.
39950         * Makeconfig (+gccwarn): Add -Wundef.
39951         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
39952         a dl-sysdep.h breaking its contract.
39953         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
39954         * include/stackinfo.h: New file.
39955         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
39956         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
39957         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
39958         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
39959         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
39960         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
39961         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39962         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39963         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39964         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39965         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39966         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
39967         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39968         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39969         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39971 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39973         [BZ #16707]
39974         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
39975         implementation.
39976         * math/libm-test.inc (round_test_data): Add more tests.
39978         [BZ #16706]
39979         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
39980         implementation.
39981         * math/libm-test.inc (nearbyint_test_data): Add more tests.
39983         [BZ #16701]
39984         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
39985         implementation.
39986         * math/libm-test.inc (ceil_test_data): Add more tests.
39988         * math/libm-test.inc (trunc_test_data): Add more tests related to
39989         BZ#16414.
39991 2014-03-14  Roland McGrath  <roland@hack.frob.com>
39993         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
39994         with #if rather than #ifdef.
39995         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
39997 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
39999         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
40000         first.  Disable AVX-512 GCC support if assembler doesn't support
40001         it.
40002         * sysdeps/x86_64/configure: Regenerated.
40004 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
40006         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
40007         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
40008         (__old_pthread_attr_setstack): Likewise.
40009         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
40010         [!_STACK_GROWS_DOWN]: Likewise.
40012 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
40014         * config.make.in (have-bash2): Delete.
40015         * configure.ac (libc_cv_have_bash2): Delete.
40016         * configure: Regenerate.
40017         * elf/Makefile (common-ldd-rewrite): Rename to ...
40018         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
40019         (sh-ldd-rewrite): Delete.
40020         (bash-ldd-rewrite): Delete.
40021         (have-bash2): Delete checks.
40022         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
40023         ldd-rewrite.
40025         * config.make.in (have-ksh): Delete.
40026         (KSH): Delete.
40027         * configure.ac (libc_cv_have_ksh): Delete.
40028         * configure: Regenerate.
40030         * elf/Makefile: Delete $(have-ksh) check.
40031         ($(objpfx)sotruss): Change KSH to BASH.
40032         * elf/sotruss.ksh: Rename to ...
40033         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
40034         function style to match POSIX.  Drop ksh vim mode setting.
40036         * manual/time.texi (Specifying the Time Zone with TZ): Change
40037         Tuesday to Thursday.
40039         * debug/tst-longjmp_chk2.c: Update header comment.
40040         (stackoverflow_handler): Add comment.  Call assert on pass value.
40042 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
40044         [BZ #16194]
40045         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
40046         (HAVE_AVX512_ASM_SUPPORT): Likewise.
40047         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
40048         (La_x86_64_vector): Add zmm.
40049         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
40050         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
40051         ($(objpfx)tst-audit10): New target.
40052         ($(objpfx)tst-audit10.out): Likewise.
40053         (tst-audit10-ENV): New.
40054         (AVX512-CFLAGS): Likewise.
40055         (CFLAGS-tst-audit10.c): Likewise.
40056         (CFLAGS-tst-auditmod10a.c): Likewise.
40057         (CFLAGS-tst-auditmod10b.c): Likewise.
40058         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
40059         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
40060         * sysdeps/x86_64/configure: Regenerated.
40061         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
40062         AVX-512 zmm register support.
40063         (_dl_x86_64_save_sse): Likewise.
40064         (_dl_x86_64_restore_sse): Likewise.
40065         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
40066         size vector registers.
40067         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
40068         (ZMM_SIZE): Likewise.
40069         * sysdeps/x86_64/tst-audit10.c: New file.
40070         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
40071         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
40073 2014-03-13  Roland McGrath  <roland@hack.frob.com>
40075         * configure.ac (HAVE_EHDR_START): New check.
40076         * configure: Regenerated.
40077         * config.h.in (HAVE_EHDR_START): New #undef.
40078         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
40079         assuming the lowest-addressed segment maps the start of the file.
40081 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
40083         * INSTALL: Regenerated.
40085 2014-03-13  Will Newton  <will.newton@linaro.org>
40087         * manual/setjmp.texi (System V contexts): Improve
40088         clarity and grammar of documentation.
40090 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
40092         [BZ #16381]
40093         * elf/Makefile (tests): Add tst-pie2.
40094         (tests-pie): Add tst-pie2.
40095         * elf/tst-pie2.c: New file.
40096         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
40097         for ET_EXEC.
40098         * elf/rtld.c (map_doit): Load executable as lt_executable.
40099         (dl_main): Likewise.
40101 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
40103         [BZ #16642]
40104         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40105         (__ASSUME_PSELECT): Undefine.
40107 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40109         [BZ #16689]
40110         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
40111         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
40112         static build.
40113         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
40114         selector for static builds.
40116 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40118         [BZ #16695]
40119         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
40120         key in the buffer.
40122 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40124         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
40125         IFUNC selector for static builds.
40127 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
40129         * sysdeps/mips/math_private.h [__mips_hard_float]
40130         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
40131         libc_feresetround_mips_ctx.
40132         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
40133         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
40134         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
40136         [BZ #16677]
40137         * math/s_nextafter.c (__nextafter): Do not return value from
40138         overflowing computation.
40139         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
40140         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
40141         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
40142         Likewise.
40143         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
40144         Likewise.
40145         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
40146         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
40148 2014-03-11  Roland McGrath  <roland@hack.frob.com>
40150         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
40151         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
40152         Move sfi_sp use from the load-multiple (that no longer sets sp) to
40153         the new mov targetting sp.
40155 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40157         [BZ #16683]
40158         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
40159         Define it for static builds as well.
40160         (NO_BZERO_IMPL): Likewise.
40162 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
40164         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
40165         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
40166         multiarch strspn for PPC64.
40167         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
40168         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
40169         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40170         (__libc_ifunc_impl_list): Likewise.
40171         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
40172         multiarch optimizations
40173         * string/strspn.c (strspn): Using macro to redefine symbol name.
40175 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
40176             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40178         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
40179         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
40180         multiarch strncat for PPC64.
40181         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
40182         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
40183         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40184         (__libc_ifunc_impl_list): Likewise.
40185         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
40186         multiarch optimizations
40188 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40190         [BZ #16639]
40191         * nscd/nscd.service: Make service type forking.
40193 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40195         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
40196         sign in non default rounding modes.
40197         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
40199 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
40201         * math/libm-test.inc (ALL_RM_TEST): New macro.
40202         (ceil_test): Use ALL_RM_TEST.
40203         (cimag_test): Likewise.
40204         (conj_test): Likewise.
40205         (copysign_test): Likewise.
40206         (cproj_test): Likewise.
40207         (creal_test): Likewise.
40208         (fabs_test): Likewise.
40209         (floor_test): Likewise.
40210         (fmax_test): Likewise.
40211         (fmin_test): Likewise.
40212         (fmod_test): Likewise.
40213         (fpclassify_test): Likewise.
40214         (frexp_test): Likewise.
40215         (ilogb_test): Likewise.
40216         (isfinite_test): Likewise.
40217         (finite_test): Likewise.
40218         (isgreater_test): Likewise.
40219         (isgreaterequal_test): Likewise.
40220         (isinf_test): Likewise.
40221         (isless_test): Likewise.
40222         (islessequal_test): Likewise.
40223         (islessgreater_test): Likewise.
40224         (isnan_test): Likewise.
40225         (isnormal_test): Likewise.
40226         (issignaling_test): Likewise.
40227         (isunordered_test): Likewise.
40228         (logb_test): Likewise.
40229         (logb_downward_test_data): Remove.
40230         (logb_test_downward): Likewise.
40231         (lround_test): Use ALL_RM_TEST.
40232         (llround_test): Likewise.
40233         (modf_test): Likewise.
40234         (nexttoward_test): Likewise.
40235         (remainder_test): Likewise.
40236         (drem_test): Likewise.
40237         (remainder_tonearest_test_data): Likewise.
40238         (remainder_test_tonearest): Likewise.
40239         (drem_test_tonearest): Likewise.
40240         (remainder_towardzero_test_data): Likewise.
40241         (remainder_test_towardzero): Likewise.
40242         (drem_test_towardzero): Likewise.
40243         (remainder_downward_test_data): Likewise.
40244         (remainder_test_downward): Likewise.
40245         (drem_test_downward): Likewise.
40246         (remainder_upward_test_data): Likewise.
40247         (remainder_test_upward): Likewise.
40248         (drem_test_upward): Likewise.
40249         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
40250         (round_test): Use ALL_RM_TEST.
40251         (signbit_test): Likewise.
40252         (trunc_test): Likewise.
40253         (significand_test): Likewise.
40254         (main): Don't call removed functions.
40256 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
40258         [BZ #16674]
40259         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
40260         || __USE_XOPEN2K8].
40261         (ILL_ILLOPN): Likewise.
40262         (ILL_ILLADR): Likewise.
40263         (ILL_ILLTRP): Likewise.
40264         (ILL_PRVOPC): Likewise.
40265         (ILL_PRVREG): Likewise.
40266         (ILL_COPROC): Likewise.
40267         (ILL_BADSTK): Likewise.
40268         (FPE_INTDIV): Likewise.
40269         (FPE_INTOVF): Likewise.
40270         (FPE_FLTDIV): Likewise.
40271         (FPE_FLTOVF): Likewise.
40272         (FPE_FLTUND): Likewise.
40273         (FPE_FLTRES): Likewise.
40274         (FPE_FLTINV): Likewise.
40275         (FPE_FLTSUB): Likewise.
40276         (SEGV_MAPERR): Likewise.
40277         (SEGV_ACCERR): Likewise.
40278         (BUS_ADRALN): Likewise.
40279         (BUS_ADRERR): Likewise.
40280         (BUS_OBJERR): Likewise.
40281         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40282         (TRAP_TRACE): Likewise.
40283         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40284         __USE_XOPEN2K8].
40285         (CLD_KILLED): Likewise.
40286         (CLD_DUMPED): Likewise.
40287         (CLD_TRAPPED): Likewise.
40288         (CLD_STOPPED): Likewise.
40289         (CLD_CONTINUED): Likewise.
40290         (POLL_IN): Likewise.
40291         (POLL_OUT): Likewise.
40292         (POLL_MSG): Likewise.
40293         (POLL_ERR): Likewise.
40294         (POLL_PRI): Likewise.
40295         (POLL_HUP): Likewise.
40296         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
40297         Likewise.
40298         (ILL_ILLOPN): Likewise.
40299         (ILL_ILLADR): Likewise.
40300         (ILL_ILLTRP): Likewise.
40301         (ILL_PRVOPC): Likewise.
40302         (ILL_PRVREG): Likewise.
40303         (ILL_COPROC): Likewise.
40304         (ILL_BADSTK): Likewise.
40305         (FPE_INTDIV): Likewise.
40306         (FPE_INTOVF): Likewise.
40307         (FPE_FLTDIV): Likewise.
40308         (FPE_FLTOVF): Likewise.
40309         (FPE_FLTUND): Likewise.
40310         (FPE_FLTRES): Likewise.
40311         (FPE_FLTINV): Likewise.
40312         (FPE_FLTSUB): Likewise.
40313         (SEGV_MAPERR): Likewise.
40314         (SEGV_ACCERR): Likewise.
40315         (BUS_ADRALN): Likewise.
40316         (BUS_ADRERR): Likewise.
40317         (BUS_OBJERR): Likewise.
40318         (BUS_MCEERR_AR): Likewise.
40319         (BUS_MCEERR_AO): Likewise.
40320         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40321         (TRAP_TRACE): Likewise.
40322         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40323         __USE_XOPEN2K8].
40324         (CLD_KILLED): Likewise.
40325         (CLD_DUMPED): Likewise.
40326         (CLD_TRAPPED): Likewise.
40327         (CLD_STOPPED): Likewise.
40328         (CLD_CONTINUED): Likewise.
40329         (POLL_IN): Likewise.
40330         (POLL_OUT): Likewise.
40331         (POLL_MSG): Likewise.
40332         (POLL_ERR): Likewise.
40333         (POLL_PRI): Likewise.
40334         (POLL_HUP): Likewise.
40335         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
40336         (ILL_ILLOPN): Likewise.
40337         (ILL_ILLADR): Likewise.
40338         (ILL_ILLTRP): Likewise.
40339         (ILL_PRVOPC): Likewise.
40340         (ILL_PRVREG): Likewise.
40341         (ILL_COPROC): Likewise.
40342         (ILL_BADSTK): Likewise.
40343         (FPE_INTDIV): Likewise.
40344         (FPE_INTOVF): Likewise.
40345         (FPE_FLTDIV): Likewise.
40346         (FPE_FLTOVF): Likewise.
40347         (FPE_FLTUND): Likewise.
40348         (FPE_FLTRES): Likewise.
40349         (FPE_FLTINV): Likewise.
40350         (FPE_FLTSUB): Likewise.
40351         (SEGV_MAPERR): Likewise.
40352         (SEGV_ACCERR): Likewise.
40353         (BUS_ADRALN): Likewise.
40354         (BUS_ADRERR): Likewise.
40355         (BUS_OBJERR): Likewise.
40356         (BUS_MCEERR_AR): Likewise.
40357         (BUS_MCEERR_AO): Likewise.
40358         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40359         (TRAP_TRACE): Likewise.
40360         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40361         __USE_XOPEN2K8].
40362         (CLD_KILLED): Likewise.
40363         (CLD_DUMPED): Likewise.
40364         (CLD_TRAPPED): Likewise.
40365         (CLD_STOPPED): Likewise.
40366         (CLD_CONTINUED): Likewise.
40367         (POLL_IN): Likewise.
40368         (POLL_OUT): Likewise.
40369         (POLL_MSG): Likewise.
40370         (POLL_ERR): Likewise.
40371         (POLL_PRI): Likewise.
40372         (POLL_HUP): Likewise.
40373         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
40374         Likewise.
40375         (ILL_ILLOPN): Likewise.
40376         (ILL_ILLADR): Likewise.
40377         (ILL_ILLTRP): Likewise.
40378         (ILL_PRVOPC): Likewise.
40379         (ILL_PRVREG): Likewise.
40380         (ILL_COPROC): Likewise.
40381         (ILL_BADSTK): Likewise.
40382         (ILL_BADIADDR): Likewise.
40383         (ILL_BREAK): Likewise.
40384         (FPE_INTDIV): Likewise.
40385         (FPE_INTOVF): Likewise.
40386         (FPE_FLTDIV): Likewise.
40387         (FPE_FLTOVF): Likewise.
40388         (FPE_FLTUND): Likewise.
40389         (FPE_FLTRES): Likewise.
40390         (FPE_FLTINV): Likewise.
40391         (FPE_FLTSUB): Likewise.
40392         (FPE_DECOVF): Likewise.
40393         (FPE_DECDIV): Likewise.
40394         (FPE_DECERR): Likewise.
40395         (FPE_INVASC): Likewise.
40396         (FPE_INVDEC): Likewise.
40397         (SEGV_MAPERR): Likewise.
40398         (SEGV_ACCERR): Likewise.
40399         (SEGV_PSTKOVF): Likewise.
40400         (BUS_ADRALN): Likewise.
40401         (BUS_ADRERR): Likewise.
40402         (BUS_OBJERR): Likewise.
40403         (BUS_MCEERR_AR): Likewise.
40404         (BUS_MCEERR_AO): Likewise.
40405         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40406         (TRAP_TRACE): Likewise.
40407         (TRAP_BRANCH): Likewise.
40408         (TRAP_HWBKPT): Likewise.
40409         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40410         __USE_XOPEN2K8].
40411         (CLD_KILLED): Likewise.
40412         (CLD_DUMPED): Likewise.
40413         (CLD_TRAPPED): Likewise.
40414         (CLD_STOPPED): Likewise.
40415         (CLD_CONTINUED): Likewise.
40416         (POLL_IN): Likewise.
40417         (POLL_OUT): Likewise.
40418         (POLL_MSG): Likewise.
40419         (POLL_ERR): Likewise.
40420         (POLL_PRI): Likewise.
40421         (POLL_HUP): Likewise.
40422         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
40423         (ILL_ILLOPN): Likewise.
40424         (ILL_ILLADR): Likewise.
40425         (ILL_ILLTRP): Likewise.
40426         (ILL_PRVOPC): Likewise.
40427         (ILL_PRVREG): Likewise.
40428         (ILL_COPROC): Likewise.
40429         (ILL_BADSTK): Likewise.
40430         (FPE_INTDIV): Likewise.
40431         (FPE_INTOVF): Likewise.
40432         (FPE_FLTDIV): Likewise.
40433         (FPE_FLTOVF): Likewise.
40434         (FPE_FLTUND): Likewise.
40435         (FPE_FLTRES): Likewise.
40436         (FPE_FLTINV): Likewise.
40437         (FPE_FLTSUB): Likewise.
40438         (SEGV_MAPERR): Likewise.
40439         (SEGV_ACCERR): Likewise.
40440         (BUS_ADRALN): Likewise.
40441         (BUS_ADRERR): Likewise.
40442         (BUS_OBJERR): Likewise.
40443         (BUS_MCEERR_AR): Likewise.
40444         (BUS_MCEERR_AO): Likewise.
40445         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40446         (TRAP_TRACE): Likewise.
40447         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40448         __USE_XOPEN2K8].
40449         (CLD_KILLED): Likewise.
40450         (CLD_DUMPED): Likewise.
40451         (CLD_TRAPPED): Likewise.
40452         (CLD_STOPPED): Likewise.
40453         (CLD_CONTINUED): Likewise.
40454         (POLL_IN): Likewise.
40455         (POLL_OUT): Likewise.
40456         (POLL_MSG): Likewise.
40457         (POLL_ERR): Likewise.
40458         (POLL_PRI): Likewise.
40459         (POLL_HUP): Likewise.
40460         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
40461         (ILL_ILLOPN): Likewise.
40462         (ILL_ILLADR): Likewise.
40463         (ILL_ILLTRP): Likewise.
40464         (ILL_PRVOPC): Likewise.
40465         (ILL_PRVREG): Likewise.
40466         (ILL_COPROC): Likewise.
40467         (ILL_BADSTK): Likewise.
40468         (FPE_INTDIV): Likewise.
40469         (FPE_INTOVF): Likewise.
40470         (FPE_FLTDIV): Likewise.
40471         (FPE_FLTOVF): Likewise.
40472         (FPE_FLTUND): Likewise.
40473         (FPE_FLTRES): Likewise.
40474         (FPE_FLTINV): Likewise.
40475         (FPE_FLTSUB): Likewise.
40476         (SEGV_MAPERR): Likewise.
40477         (SEGV_ACCERR): Likewise.
40478         (BUS_ADRALN): Likewise.
40479         (BUS_ADRERR): Likewise.
40480         (BUS_OBJERR): Likewise.
40481         (BUS_MCEERR_AR): Likewise.
40482         (BUS_MCEERR_AO): Likewise.
40483         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40484         (TRAP_TRACE): Likewise.
40485         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40486         __USE_XOPEN2K8].
40487         (CLD_KILLED): Likewise.
40488         (CLD_DUMPED): Likewise.
40489         (CLD_TRAPPED): Likewise.
40490         (CLD_STOPPED): Likewise.
40491         (CLD_CONTINUED): Likewise.
40492         (POLL_IN): Likewise.
40493         (POLL_OUT): Likewise.
40494         (POLL_MSG): Likewise.
40495         (POLL_ERR): Likewise.
40496         (POLL_PRI): Likewise.
40497         (POLL_HUP): Likewise.
40498         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
40499         (ILL_ILLOPN): Likewise.
40500         (ILL_ILLADR): Likewise.
40501         (ILL_ILLTRP): Likewise.
40502         (ILL_PRVOPC): Likewise.
40503         (ILL_PRVREG): Likewise.
40504         (ILL_COPROC): Likewise.
40505         (ILL_BADSTK): Likewise.
40506         (FPE_INTDIV): Likewise.
40507         (FPE_INTOVF): Likewise.
40508         (FPE_FLTDIV): Likewise.
40509         (FPE_FLTOVF): Likewise.
40510         (FPE_FLTUND): Likewise.
40511         (FPE_FLTRES): Likewise.
40512         (FPE_FLTINV): Likewise.
40513         (FPE_FLTSUB): Likewise.
40514         (SEGV_MAPERR): Likewise.
40515         (SEGV_ACCERR): Likewise.
40516         (BUS_ADRALN): Likewise.
40517         (BUS_ADRERR): Likewise.
40518         (BUS_OBJERR): Likewise.
40519         (BUS_MCEERR_AR): Likewise.
40520         (BUS_MCEERR_AO): Likewise.
40521         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40522         (TRAP_TRACE): Likewise.
40523         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40524         __USE_XOPEN2K8].
40525         (CLD_KILLED): Likewise.
40526         (CLD_DUMPED): Likewise.
40527         (CLD_TRAPPED): Likewise.
40528         (CLD_STOPPED): Likewise.
40529         (CLD_CONTINUED): Likewise.
40530         (POLL_IN): Likewise.
40531         (POLL_OUT): Likewise.
40532         (POLL_MSG): Likewise.
40533         (POLL_ERR): Likewise.
40534         (POLL_PRI): Likewise.
40535         (POLL_HUP): Likewise.
40536         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
40537         (ILL_ILLOPN): Likewise.
40538         (ILL_ILLADR): Likewise.
40539         (ILL_ILLTRP): Likewise.
40540         (ILL_PRVOPC): Likewise.
40541         (ILL_PRVREG): Likewise.
40542         (ILL_COPROC): Likewise.
40543         (ILL_BADSTK): Likewise.
40544         (ILL_DBLFLT): Likewise.
40545         (ILL_HARDWALL): Likewise.
40546         (FPE_INTDIV): Likewise.
40547         (FPE_INTOVF): Likewise.
40548         (FPE_FLTDIV): Likewise.
40549         (FPE_FLTOVF): Likewise.
40550         (FPE_FLTUND): Likewise.
40551         (FPE_FLTRES): Likewise.
40552         (FPE_FLTINV): Likewise.
40553         (FPE_FLTSUB): Likewise.
40554         (SEGV_MAPERR): Likewise.
40555         (SEGV_ACCERR): Likewise.
40556         (BUS_ADRALN): Likewise.
40557         (BUS_ADRERR): Likewise.
40558         (BUS_OBJERR): Likewise.
40559         (BUS_MCEERR_AR): Likewise.
40560         (BUS_MCEERR_AO): Likewise.
40561         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40562         (TRAP_TRACE): Likewise.
40563         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40564         __USE_XOPEN2K8].
40565         (CLD_KILLED): Likewise.
40566         (CLD_DUMPED): Likewise.
40567         (CLD_TRAPPED): Likewise.
40568         (CLD_STOPPED): Likewise.
40569         (CLD_CONTINUED): Likewise.
40570         (POLL_IN): Likewise.
40571         (POLL_OUT): Likewise.
40572         (POLL_MSG): Likewise.
40573         (POLL_ERR): Likewise.
40574         (POLL_PRI): Likewise.
40575         (POLL_HUP): Likewise.
40576         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
40577         (ILL_ILLOPN): Likewise.
40578         (ILL_ILLADR): Likewise.
40579         (ILL_ILLTRP): Likewise.
40580         (ILL_PRVOPC): Likewise.
40581         (ILL_PRVREG): Likewise.
40582         (ILL_COPROC): Likewise.
40583         (ILL_BADSTK): Likewise.
40584         (FPE_INTDIV): Likewise.
40585         (FPE_INTOVF): Likewise.
40586         (FPE_FLTDIV): Likewise.
40587         (FPE_FLTOVF): Likewise.
40588         (FPE_FLTUND): Likewise.
40589         (FPE_FLTRES): Likewise.
40590         (FPE_FLTINV): Likewise.
40591         (FPE_FLTSUB): Likewise.
40592         (SEGV_MAPERR): Likewise.
40593         (SEGV_ACCERR): Likewise.
40594         (BUS_ADRALN): Likewise.
40595         (BUS_ADRERR): Likewise.
40596         (BUS_OBJERR): Likewise.
40597         (BUS_MCEERR_AR): Likewise.
40598         (BUS_MCEERR_AO): Likewise.
40599         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40600         (TRAP_TRACE): Likewise.
40601         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40602         __USE_XOPEN2K8].
40603         (CLD_KILLED): Likewise.
40604         (CLD_DUMPED): Likewise.
40605         (CLD_TRAPPED): Likewise.
40606         (CLD_STOPPED): Likewise.
40607         (CLD_CONTINUED): Likewise.
40608         (POLL_IN): Likewise.
40609         (POLL_OUT): Likewise.
40610         (POLL_MSG): Likewise.
40611         (POLL_ERR): Likewise.
40612         (POLL_PRI): Likewise.
40613         (POLL_HUP): Likewise.
40614         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
40615         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
40617         [BZ #16670]
40618         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
40619         before #include of <time.h>.
40620         [!__USE_XOPEN2K] (__need_timespec): Likewise.
40621         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
40622         (test-xfail-UNIX98/sched.h/conform): Likewise.
40624 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
40626         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
40627         error absence of trapping exception support.
40628         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
40630 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
40632         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
40633         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
40634         * timezone/Makefile (testdata): Move definition above include of
40635         Rules.
40636         (test-zones): New variable.
40637         (tests-special): Add zone files.
40638         (build-testdata): Use $(evaluate-test).
40640         * elf/Makefile (tests-special): Rename tests to end with .out.
40641         ($(objpfx)noload-mem): Likewise.
40642         ($(objpfx)tst-leaks1-mem): Likewise.
40643         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
40644         * iconv/Makefile (xtests-special): Change test-iconvconfig to
40645         $(objpfx)test-iconvconfig.out.
40646         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
40647         set -e inside subshell and redirect output to file.
40648         * iconvdata/Makefile (generated): Rename tests to end with .out.
40649         Correct type.
40650         (tests-special): Rename tests to end with .out.
40651         ($(objpfx)mtrace-tst-loading): Likewise.
40652         * intl/Makefile (generated): Likewise.
40653         (tests-special): Likewise.
40654         ($(objpfx)mtrace-tst-gettext): Likewise.
40655         * misc/Makefile (generated): Likewise.
40656         (tests-special): Likewise.
40657         ($(objpfx)tst-error1-mem): Likewise.
40658         * nptl/Makefile (tests-special): Likewise.
40659         ($(objpfx)tst-stack3-mem): Likewise.
40660         (generated): Likewise.
40661         * posix/Makefile (generated): Likewise.
40662         (tests-special): Likewise.
40663         (xtests-special): Likewise.
40664         ($(objpfx)tst-fnmatch-mem): Likewise.
40665         ($(objpfx)bug-regex2-mem): Likewise.
40666         ($(objpfx)bug-regex14-mem): Likewise.
40667         ($(objpfx)bug-regex21-mem): Likewise.
40668         ($(objpfx)bug-regex31-mem): Likewise.
40669         ($(objpfx)tst-vfork3-mem): Likewise.
40670         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
40671         ($(objpfx)tst-pcre-mem): Likewise.
40672         ($(objpfx)tst-boost-mem): Likewise.
40673         ($(objpfx)bug-ga2-mem): Likewise.
40674         ($(objpfx)bug-glob2-mem): Likewise.
40675         * resolv/Makefile (generate): Likewise.
40676         (tests-special): Likewise.
40677         (xtests-special): Likewise.
40678         (generated): Likewise.
40679         ($(objpfx)mtrace-tst-leaks): Likewise.
40680         ($(objpfx)mtrace-tst-leaks2): Likewise.
40682         * scripts/merge-test-results.sh: New file.
40683         * Makefile (tests-special-notdir): New variable.
40684         (tests): Run merge-test-results.sh.
40685         (xtests): Likewise.
40686         * Rules (tests-special-notdir): New variable.
40687         (xtests-special-notdir): Likewise.
40688         (tests): Run merge-test-results.sh
40689         (xtests): Likewise.
40691         * Makeconfig (test-xfail-name): New variable.
40692         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
40693         compute variable name for expected failures.
40694         * conform/Makefile (conformtest-headers-data): New variable.
40695         (conformtest-standards): Likewise.
40696         (conformtest-headers-ISO): Likewise.
40697         (conformtest-headers-ISO99): Likewise.
40698         (conformtest-headers-ISO11): Likewise.
40699         (conformtest-headers-POSIX): Likewise.
40700         (conformtest-headers-XPG3): Likewise.
40701         (conformtest-headers-XPG4): Likewise.
40702         (conformtest-headers-UNIX98): Likewise.
40703         (conformtest-headers-XOPEN2K): Likewise.
40704         (conformtest-headers-POSIX2008): Likewise.
40705         (conformtest-headers-XOPEN2K8): Likewise.
40706         (conformtest-header-list-base): Likewise.
40707         (conformtest-header-list-tests): Likewise.
40708         (conformtest-header-base): Likewise.
40709         (conformtest-header-tests): Likewise.
40710         (tests-special): Add $(conformtest-header-list-tests).  If
40711         [$(fast-check) && !$(cross-compiling)], add
40712         $(conformtest-header-tests) instead of
40713         $(objpfx)run-conformtest.out.
40714         (generated): Add $(conformtest-header-list-base).  If
40715         [$(fast-check) && !$(cross-compiling)], add
40716         $(conformtest-header-base).  Remove previous setting.
40717         ($(conformtest-header-list-tests)): New target.
40718         (test-xfail-run-conformtest): Remove variable.
40719         ($(objpfx)run-conformtest.out): Remove target.
40720         (test-xfail-ISO11/complex.h/conform): New variable.
40721         (test-xfail-ISO11/stdalign.h/conform): Likewise.
40722         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
40723         (test-xfail-XPG3/varargs.h/conform): Likewise.
40724         (test-xfail-XPG4/varargs.h/conform): Likewise.
40725         (test-xfail-UNIX98/varargs.h/conform): Likewise.
40726         (test-xfail-XPG4/ndbm.h/conform): Likewise.
40727         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
40728         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
40729         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
40730         (test-xfail-XPG3/fcntl.h/conform): Likewise.
40731         (test-xfail-XPG3/ftw.h/conform): Likewise.
40732         (test-xfail-XPG3/grp.h/conform): Likewise.
40733         (test-xfail-XPG3/langinfo.h/conform): Likewise.
40734         (test-xfail-XPG3/limits.h/conform): Likewise.
40735         (test-xfail-XPG3/pwd.h/conform): Likewise.
40736         (test-xfail-XPG3/search.h/conform): Likewise.
40737         (test-xfail-XPG3/signal.h/conform): Likewise.
40738         (test-xfail-XPG3/stdio.h/conform): Likewise.
40739         (test-xfail-XPG3/stdlib.h/conform): Likewise.
40740         (test-xfail-XPG3/string.h/conform): Likewise.
40741         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
40742         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
40743         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
40744         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
40745         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
40746         (test-xfail-XPG3/sys/types.h/conform): Likewise.
40747         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
40748         (test-xfail-XPG3/termios.h/conform): Likewise.
40749         (test-xfail-XPG3/time.h/conform): Likewise.
40750         (test-xfail-XPG3/unistd.h/conform): Likewise.
40751         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
40752         (test-xfail-XPG4/fcntl.h/conform): Likewise.
40753         (test-xfail-XPG4/langinfo.h/conform): Likewise.
40754         (test-xfail-XPG4/netdb.h/conform): Likewise.
40755         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
40756         (test-xfail-XPG4/signal.h/conform): Likewise.
40757         (test-xfail-XPG4/stdio.h/conform): Likewise.
40758         (test-xfail-XPG4/stdlib.h/conform): Likewise.
40759         (test-xfail-XPG4/stropts.h/conform): Likewise.
40760         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
40761         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
40762         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
40763         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
40764         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
40765         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
40766         (test-xfail-XPG4/sys/time.h/conform): Likewise.
40767         (test-xfail-XPG4/sys/types.h/conform): Likewise.
40768         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
40769         (test-xfail-XPG4/termios.h/conform): Likewise.
40770         (test-xfail-XPG4/ucontext.h/conform): Likewise.
40771         (test-xfail-XPG4/unistd.h/conform): Likewise.
40772         (test-xfail-XPG4/utmpx.h/conform): Likewise.
40773         (test-xfail-POSIX/sched.h/conform): Likewise.
40774         (test-xfail-POSIX/signal.h/conform): Likewise.
40775         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
40776         (test-xfail-POSIX/tar.h/conform): Likewise.
40777         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
40778         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
40779         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
40780         (test-xfail-UNIX98/netdb.h/conform): Likewise.
40781         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
40782         (test-xfail-UNIX98/sched.h/conform): Likewise.
40783         (test-xfail-UNIX98/signal.h/conform): Likewise.
40784         (test-xfail-UNIX98/stdio.h/conform): Likewise.
40785         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
40786         (test-xfail-UNIX98/stropts.h/conform): Likewise.
40787         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
40788         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
40789         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
40790         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
40791         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
40792         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
40793         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
40794         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
40795         (test-xfail-UNIX98/unistd.h/conform): Likewise.
40796         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
40797         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
40798         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
40799         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
40800         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
40801         (test-xfail-XOPEN2K/math.h/conform): Likewise.
40802         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
40803         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
40804         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
40805         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
40806         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
40807         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
40808         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
40809         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
40810         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
40811         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
40812         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
40813         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
40814         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
40815         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
40816         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
40817         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
40818         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
40819         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
40820         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
40821         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
40822         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
40823         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
40824         (test-xfail-POSIX2008/signal.h/conform): Likewise.
40825         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
40826         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
40827         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
40828         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
40829         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
40830         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
40831         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
40832         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
40833         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
40834         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
40835         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
40836         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
40837         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
40838         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
40839         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
40840         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
40841         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
40842         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
40843         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
40844         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
40845         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
40846         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
40847         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
40848         (conformtest-cc-flags): Likewise.
40849         ($(conformtest-header-tests): New target.
40850         * conform/check-header-lists.sh: New file.
40851         * conform/run-conformtest.sh: Remove.
40853         * conform/conformtest.pl: Allow ' and \ in values given for
40854         constants.
40855         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
40856         inclusion.
40857         [POSIX] (sys/types.h): Likewise.
40858         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
40859         inclusion.
40860         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
40861         inclusion.
40862         * conform/data/signal.h-data (SIGIO): Remove expectation.
40863         [XPG3] (SIGBUS): Do not expect.
40864         [POSIX || XPG3] (SIGPOLL): Likewise.
40865         [POSIX || XPG3] (SIGPROF): Likewise.
40866         [POSIX || XPG3] (SIGSYS): Likewise.
40867         [XPG3] (SIGTRAP): Likewise.
40868         [POSIX || XPG3] (SIGURG): Likewise.
40869         [POSIX || XPG3] (SIGVTALRM): Likewise.
40870         [POSIX || XPG3] (SIGXCPU): Likewise.
40871         [POSIX || XPG3] (SIGXFSZ): Likewise.
40872         [POSIX] (SA_SIGINFO): Expect.
40873         [XPG3] (siginfo_t): Do not expect type or contents.
40874         [POSIX] (si_pid): Do not expect element.
40875         [POSIX] (si_uid): Likewise.
40876         [POSIX] (si_addr): Likewise.
40877         [POSIX] (si_status): Likewise.
40878         [POSIX] (si_band): Likewise.
40879         [XPG4] (si_value): Likewise.
40880         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
40881         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
40882         [POSIX || XPG3] (ILL_ILLADR): Likewise.
40883         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
40884         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
40885         [POSIX || XPG3] (ILL_PRVREG): Likewise.
40886         [POSIX || XPG3] (ILL_COPROC): Likewise.
40887         [POSIX || XPG3] (ILL_BADSTK): Likewise.
40888         [POSIX || XPG3] (FPE_INTDIV): Likewise.
40889         [POSIX || XPG3] (FPE_INTOVF): Likewise.
40890         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
40891         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
40892         [POSIX || XPG3] (FPE_FLTUND): Likewise.
40893         [POSIX || XPG3] (FPE_FLTRES): Likewise.
40894         [POSIX || XPG3] (FPE_FLTINV): Likewise.
40895         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
40896         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
40897         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
40898         [POSIX || XPG3] (BUS_ADRALN): Likewise.
40899         [POSIX || XPG3] (BUS_ADRERR): Likewise.
40900         [POSIX || XPG3] (BUS_OBJERR): Likewise.
40901         [POSIX || XPG3] (CLD_EXITED): Likewise.
40902         [POSIX || XPG3] (CLD_KILLED): Likewise.
40903         [POSIX || XPG3] (CLD_DUMPED): Likewise.
40904         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
40905         [POSIX || XPG3] (CLD_STOPPED): Likewise.
40906         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
40907         [POSIX || XPG3] (POLL_IN): Likewise.
40908         [POSIX || XPG3] (POLL_OUT): Likewise.
40909         [POSIX || XPG3] (POLL_MSG): Likewise.
40910         [POSIX || XPG3] (POLL_ERR): Likewise.
40911         [POSIX || XPG3] (POLL_PRI): Likewise.
40912         [POSIX || XPG3] (POLL_HUP): Likewise.
40913         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
40914         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
40915         (SIG*): Do not allow.
40916         [XPG3] (si_*): Likewise.
40917         [XPG3] (SI_*): Likewise.
40918         [XPG3 || XPG4] (sigev_*): Likewise.
40919         [XPG3 || XPG4] (SIGEV_*): Likewise.
40920         [XPG3 || XPG4] (sival_*): Likewise.
40921         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
40922         [POSIX || XPG3] (BUS_*): Likewise.
40923         [POSIX || XPG3] (CLD_*): Likewise.
40924         [POSIX || XPG3] (FPE_*): Likewise.
40925         [POSIX || XPG3] (ILL_*): Likewise.
40926         [POSIX || XPG3] (POLL_*): Likewise.
40927         [POSIX || XPG3] (SEGV_*): Likewise.
40928         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
40929         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
40930         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
40931         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
40932         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
40933         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
40934         Specify type and value.
40935         (TVERSLEN): Likewise.
40936         (REGTYPE): Likewise.
40937         (AREGTYPE): Likewise.
40938         (LNKTYPE): Likewise.
40939         (SYMTYPE): Likewise.
40940         (CHRTYPE): Likewise.
40941         (BLKTYPE): Likewise.
40942         (DIRTYPE): Likewise.
40943         (FIFOTYPE): Likewise.
40944         (CONTTYPE): Likewise.
40945         (TSUID): Likewise.
40946         (TSGID): Likewise.
40947         (TSVTX): Likewise.
40948         (TUREAD): Likewise.
40949         (TUWRITE): Likewise.
40950         (TUEXEC): Likewise.
40951         (TGREAD): Likewise.
40952         (TGWRITE): Likewise.
40953         (TGEXEC): Likewise.
40954         (TOREAD): Likewise.
40955         (TOWRITE): Likewise.
40956         (TOEXEC): Likewise.
40957         [POSIX] (TSVTX): Expect constant.
40959 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
40961         * Makefile (tests): Change dependencies to ....
40962         (tests-special): ... additions to this variable.
40963         (tests): Depend on $(tests-special).
40964         * Makerules (check-abi-list): New variable.
40965         (check-abi): Depend on $(check-abi-list).
40966         [$(subdir) = elf] (tests-special): Add
40967         $(objpfx)check-abi-libc.out.
40968         [$(build-shared) = yes && subdir] (tests-special): Add
40969         $(check-abi-list).
40970         [$(build-shared) = yes && subdir] (tests): Do not depend on
40971         check-abi.
40972         * Rules (tests): Depend on $(tests-special).
40973         (xtests): Depend on $(xtests-special).
40974         * catgets/Makefile (tests): Change dependencies to ....
40975         (tests-special): ... additions to this variable.
40976         * conform/Makefile (tests): Change dependencies to ....
40977         (tests-special): ... additions to this variable.
40978         * elf/Makefile (tests): Change dependencies to ....
40979         (tests-special): ... additions to this variable.
40980         * grp/Makefile (tests): Change dependencies to ....
40981         (tests-special): ... additions to this variable.
40982         * iconv/Makefile (xtests): Change dependencies to ....
40983         (xtests-special): ... additions to this variable.
40984         * iconvdata/Makefile (tests): Change dependencies to ....
40985         (tests-special): ... additions to this variable.
40986         * intl/Makefile (tests): Change dependencies to ....
40987         (tests-special): ... additions to this variable.  Also add
40988         $(objpfx)tst-gettext.out.
40989         * io/Makefile (tests): Change dependencies to ....
40990         (tests-special): ... additions to this variable.
40991         * libio/Makefile (tests): Change dependencies to ....
40992         (tests-special): ... additions to this variable.
40993         * malloc/Makefile (tests): Change dependencies to ....
40994         (tests-special): ... additions to this variable.
40995         * misc/Makefile (tests): Change dependencies to ....
40996         (tests-special): ... additions to this variable.
40997         * nptl/Makefile (tests): Change dependencies to ....
40998         (tests-special): ... additions to this variable.
40999         * nptl_db/Makefile (tests): Change dependencies to ....
41000         (tests-special): ... additions to this variable.
41001         * posix/Makefile (tests): Change dependencies to ....
41002         (tests-special): ... additions to this variable.
41003         (xtests): Change dependencies to ....
41004         (xtests-special): ... additions to this variable.
41005         * resolv/Makefile (tests): Change dependencies to ....
41006         (tests-special): ... additions to this variable.
41007         (xtests): Change dependencies to ....
41008         (xtests-special): ... additions to this variable.
41009         * stdio-common/Makefile (tests): Change dependencies to ....
41010         (tests-special): ... additions to this variable.
41011         (do-tst-unbputc): Remove target.
41012         (do-tst-printf): Likewise.
41013         * stdlib/Makefile (tests): Change dependencies to ....
41014         (tests-special): ... additions to this variable.
41015         * string/Makefile (tests): Change dependencies to ....
41016         (tests-special): ... additions to this variable.
41017         * sysdeps/x86/Makefile (tests): Change dependencies to ....
41018         (tests-special): ... additions to this variable.
41020         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
41021         whole file.
41022         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
41023         whole file.
41024         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
41025         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
41027         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
41028         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
41029         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
41030         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
41031         * conform/data/libgen.h-data [XPG3]: Likewise.
41032         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
41033         * conform/data/ndbm.h-data [XPG3]: Likewise.
41034         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
41035         * conform/data/netdb.h-data [XPG3]: Likewise.
41036         * conform/data/netinet/in.h-data [XPG3]: Likewise.
41037         * conform/data/poll.h-data [XPG3]: Likewise.
41038         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
41039         * conform/data/strings.h-data [XPG3]: Likewise.
41040         * conform/data/stropts.h-data [XPG3]: Likewise.
41041         * conform/data/sys/mman.h-data [XPG3]: Likewise.
41042         * conform/data/sys/resource.h-data [XPG3]: Likewise.
41043         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
41044         Likewise.
41045         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
41046         * conform/data/sys/time.h-data [XPG3]: Likewise.
41047         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
41048         * conform/data/sys/uio.h-data [XPG3]: Likewise.
41049         * conform/data/sys/un.h-data [XPG3]: Likewise.
41050         * conform/data/syslog.h-data [XPG3]: Likewise.
41051         * conform/data/ucontext.h-data [XPG3]: Likewise.
41052         * conform/data/utmpx.h-data [XPG3]: Likewise.
41053         * conform/data/varargs.h-data [UNIX98]: Enable file.
41055         * manual/Makefile (INSTALL_INFO): Remove variable setting.
41057         * math/libm-test.inc (struct test_f_f_data): Move expected results
41058         into structure for each rounding mode.
41059         (struct test_ff_f_data): Likewise.
41060         (struct test_ff_f_data_nexttoward): Likewise.
41061         (struct test_fi_f_data): Likewise.
41062         (struct test_fl_f_data): Likewise.
41063         (struct test_if_f_data): Likewise.
41064         (struct test_fff_f_data): Likewise.
41065         (struct test_c_f_data): Likewise.
41066         (struct test_f_f1_data): Likewise.
41067         (struct test_fF_f1_data): Likewise.
41068         (struct test_ffI_f1_data): Likewise.
41069         (struct test_c_c_data): Likewise.
41070         (struct test_cc_c_data): Likewise.
41071         (struct test_f_i_data): Likewise.
41072         (struct test_ff_i_data): Likewise.
41073         (struct test_f_l_data): Likewise.
41074         (struct test_f_L_data): Likewise.
41075         (struct test_fFF_11_data): Likewise.
41076         (RM_): New macro.
41077         (RM_FE_DOWNWARD): Likewise.
41078         (RM_FE_TONEAREST): Likewise.
41079         (RM_FE_TOWARDZERO): Likewise.
41080         (RM_FE_UPWARD): Likewise.
41081         (RUN_TEST_LOOP_f_f): Update references to expected results.
41082         (RUN_TEST_LOOP_2_f): Likewise.
41083         (RUN_TEST_LOOP_fff_f): Likewise.
41084         (RUN_TEST_LOOP_c_f): Likewise.
41085         (RUN_TEST_LOOP_f_f1): Likewise.
41086         (RUN_TEST_LOOP_fF_f1): Likewise.
41087         (RUN_TEST_LOOP_fI_f1): Likewise.
41088         (RUN_TEST_LOOP_ffI_f1): Likewise.
41089         (RUN_TEST_LOOP_c_c): Likewise.
41090         (RUN_TEST_LOOP_cc_c): Likewise.
41091         (RUN_TEST_LOOP_f_i): Likewise.
41092         (RUN_TEST_LOOP_f_i_tg): Likewise.
41093         (RUN_TEST_LOOP_ff_i_tg): Likewise.
41094         (RUN_TEST_LOOP_f_b): Likewise.
41095         (RUN_TEST_LOOP_f_b_tg): Likewise.
41096         (RUN_TEST_LOOP_f_l): Likewise.
41097         (RUN_TEST_LOOP_f_L): Likewise.
41098         (RUN_TEST_LOOP_fFF_11): Likewise.
41099         * math/gen-libm-test.pl (parse_args): Output four copies of
41100         expected results for each test.
41102         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41103         (__ASSUME_UTIMES): Remove.
41104         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41105         (__ASSUME_UTIMES): Likewise.
41107         * math/gen-auto-libm-tests.c: Update comment on output format.
41108         (output_for_one_input_case): Generate before-rounding and
41109         after-rounding information as conditions on output flags not
41110         floating-point format.
41111         * math/auto-libm-test-out: Regenerated.
41112         * math/gen-libm-test.pl (cond_value): New function.
41113         (or_cond_value): Use cond_value.
41114         (generate_testfile): Handle conditional exceptions.
41116 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
41118         * math/libm-test.inc (max_valid_error): New variable.
41119         (init_max_error): Take new argument specifying whether function
41120         results are exactly determined.  Set max_valid_error and bound
41121         other variables for errors based on this argument.
41122         (set_max_error): Do not record results above max_valid_error.
41123         (check_float_internal): Only accept errors of up to 0.5ulps if
41124         also at most max_valid_error.
41125         (START): Take new argument EXACT and pass it to init_max_error.
41126         (acos_test): Update call to START.
41127         (acos_test_tonearest): Likewise.
41128         (acos_test_towardzero): Likewise.
41129         (acos_test_downward): Likewise.
41130         (acos_test_upward): Likewise.
41131         (acosh_test): Likewise.
41132         (asin_test): Likewise.
41133         (asin_test_tonearest): Likewise.
41134         (asin_test_towardzero): Likewise.
41135         (asin_test_downward): Likewise.
41136         (asin_test_upward): Likewise.
41137         (asinh_test): Likewise.
41138         (atan_test): Likewise.
41139         (atanh_test): Likewise.
41140         (atan2_test): Likewise.
41141         (cabs_test): Likewise.
41142         (cacos_test): Likewise.
41143         (cacosh_test): Likewise.
41144         (carg_test): Likewise.
41145         (casin_test): Likewise.
41146         (casinh_test): Likewise.
41147         (catan_test): Likewise.
41148         (catanh_test): Likewise.
41149         (cbrt_test): Likewise.
41150         (ccos_test): Likewise.
41151         (ccosh_test): Likewise.
41152         (ceil_test): Likewise.
41153         (cexp_test): Likewise.
41154         (cimag_test): Likewise.
41155         (clog_test): Likewise.
41156         (clog10_test): Likewise.
41157         (conj_test): Likewise.
41158         (copysign_test): Likewise.
41159         (cos_test): Likewise.
41160         (cos_test_tonearest): Likewise.
41161         (cos_test_towardzero): Likewise.
41162         (cos_test_downward): Likewise.
41163         (cos_test_upward): Likewise.
41164         (cosh_test): Likewise.
41165         (cosh_test_tonearest): Likewise.
41166         (cosh_test_towardzero): Likewise.
41167         (cosh_test_downward): Likewise.
41168         (cosh_test_upward): Likewise.
41169         (cpow_test): Likewise.
41170         (cproj_test): Likewise.
41171         (creal_test): Likewise.
41172         (csin_test): Likewise.
41173         (csinh_test): Likewise.
41174         (csqrt_test): Likewise.
41175         (ctan_test): Likewise.
41176         (ctan_test_tonearest): Likewise.
41177         (ctan_test_towardzero): Likewise.
41178         (ctan_test_downward): Likewise.
41179         (ctan_test_upward): Likewise.
41180         (ctanh_test): Likewise.
41181         (ctanh_test_tonearest): Likewise.
41182         (ctanh_test_towardzero): Likewise.
41183         (ctanh_test_downward): Likewise.
41184         (ctanh_test_upward): Likewise.
41185         (erf_test): Likewise.
41186         (erfc_test): Likewise.
41187         (exp_test): Likewise.
41188         (exp_test_tonearest): Likewise.
41189         (exp_test_towardzero): Likewise.
41190         (exp_test_downward): Likewise.
41191         (exp_test_upward): Likewise.
41192         (exp10_test): Likewise.
41193         (exp10_test_tonearest): Likewise.
41194         (exp10_test_towardzero): Likewise.
41195         (exp10_test_downward): Likewise.
41196         (exp10_test_upward): Likewise.
41197         (pow10_test): Likewise.
41198         (exp2_test): Likewise.
41199         (expm1_test): Likewise.
41200         (expm1_test_tonearest): Likewise.
41201         (expm1_test_towardzero): Likewise.
41202         (expm1_test_downward): Likewise.
41203         (expm1_test_upward): Likewise.
41204         (fabs_test): Likewise.
41205         (fdim_test): Likewise.
41206         (floor_test): Likewise.
41207         (fma_test): Likewise.
41208         (fma_test_towardzero): Likewise.
41209         (fma_test_downward): Likewise.
41210         (fma_test_upward): Likewise.
41211         (fmax_test): Likewise.
41212         (fmin_test): Likewise.
41213         (fmod_test): Likewise.
41214         (fpclassify_test): Likewise.
41215         (frexp_test): Likewise.
41216         (hypot_test): Likewise.
41217         (ilogb_test): Likewise.
41218         (isfinite_test): Likewise.
41219         (finite_test): Likewise.
41220         (isgreater_test): Likewise.
41221         (isgreaterequal_test): Likewise.
41222         (isinf_test): Likewise.
41223         (isless_test): Likewise.
41224         (islessequal_test): Likewise.
41225         (islessgreater_test): Likewise.
41226         (isnan_test): Likewise.
41227         (isnormal_test): Likewise.
41228         (issignaling_test): Likewise.
41229         (isunordered_test): Likewise.
41230         (j0_test): Likewise.
41231         (j1_test): Likewise.
41232         (jn_test): Likewise.
41233         (ldexp_test): Likewise.
41234         (lgamma_test): Likewise.
41235         (gamma_test): Likewise.
41236         (lrint_test): Likewise.
41237         (lrint_test_tonearest): Likewise.
41238         (lrint_test_towardzero): Likewise.
41239         (lrint_test_downward): Likewise.
41240         (lrint_test_upward): Likewise.
41241         (llrint_test): Likewise.
41242         (llrint_test_tonearest): Likewise.
41243         (llrint_test_towardzero): Likewise.
41244         (llrint_test_downward): Likewise.
41245         (llrint_test_upward): Likewise.
41246         (log_test): Likewise.
41247         (log10_test): Likewise.
41248         (log1p_test): Likewise.
41249         (log2_test): Likewise.
41250         (logb_test): Likewise.
41251         (logb_test_downward): Likewise.
41252         (lround_test): Likewise.
41253         (llround_test): Likewise.
41254         (modf_test): Likewise.
41255         (nearbyint_test): Likewise.
41256         (nextafter_test): Likewise.
41257         (nexttoward_test): Likewise.
41258         (pow_test): Likewise.
41259         (pow_test_tonearest): Likewise.
41260         (pow_test_towardzero): Likewise.
41261         (pow_test_downward): Likewise.
41262         (pow_test_upward): Likewise.
41263         (remainder_test): Likewise.
41264         (drem_test): Likewise.
41265         (remainder_test_tonearest): Likewise.
41266         (drem_test_tonearest): Likewise.
41267         (remainder_test_towardzero): Likewise.
41268         (drem_test_towardzero): Likewise.
41269         (remainder_test_downward): Likewise.
41270         (drem_test_downward): Likewise.
41271         (remainder_test_upward): Likewise.
41272         (drem_test_upward): Likewise.
41273         (remquo_test): Likewise.
41274         (rint_test): Likewise.
41275         (rint_test_tonearest): Likewise.
41276         (rint_test_towardzero): Likewise.
41277         (rint_test_downward): Likewise.
41278         (rint_test_upward): Likewise.
41279         (round_test): Likewise.
41280         (scalb_test): Likewise.
41281         (scalbn_test): Likewise.
41282         (scalbln_test): Likewise.
41283         (signbit_test): Likewise.
41284         (sin_test): Likewise.
41285         (sin_test_tonearest): Likewise.
41286         (sin_test_towardzero): Likewise.
41287         (sin_test_downward): Likewise.
41288         (sin_test_upward): Likewise.
41289         (sincos_test): Likewise.
41290         (sinh_test): Likewise.
41291         (sinh_test_tonearest): Likewise.
41292         (sinh_test_towardzero): Likewise.
41293         (sinh_test_downward): Likewise.
41294         (sinh_test_upward): Likewise.
41295         (sqrt_test): Likewise.
41296         (sqrt_test_tonearest): Likewise.
41297         (sqrt_test_towardzero): Likewise.
41298         (sqrt_test_downward): Likewise.
41299         (sqrt_test_upward): Likewise.
41300         (tan_test): Likewise.
41301         (tan_test_tonearest): Likewise.
41302         (tan_test_towardzero): Likewise.
41303         (tan_test_downward): Likewise.
41304         (tan_test_upward): Likewise.
41305         (tanh_test): Likewise.
41306         (tgamma_test): Likewise.
41307         (trunc_test): Likewise.
41308         (y0_test): Likewise.
41309         (y1_test): Likewise.
41310         (yn_test): Likewise.
41311         (significand_test): Likewise.
41313         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
41314         individual tests in comment.
41315         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
41316         (prev_max_error): New variable.
41317         (prev_real_max_error): Likewise.
41318         (prev_imag_max_error): Likewise.
41319         (compare_ulp_data): Don't refer to test names in comment.
41320         (find_test_ulps): Remove function.
41321         (find_function_ulps): Likewise.
41322         (find_complex_function_ulps): Likewise.
41323         (init_max_error): Take function name as argument.  Look up ulps
41324         for that function.
41325         (print_ulps): Remove function.
41326         (print_max_error): Use prev_max_error instead of calling
41327         find_function_ulps.
41328         (print_complex_max_error): Use prev_real_max_error and
41329         prev_imag_max_error instead of calling find_complex_function_ulps.
41330         (check_float_internal): Take max_ulp parameter instead of calling
41331         find_test_ulps.  Don't call print_ulps.
41332         (check_float): Update call to check_float_internal.
41333         (check_complex): Update calls to check_float_internal.
41334         (START): Pass argument to init_max_error.
41335         * math/gen-libm-test.pl (%results): Don't include "kind"
41336         information.
41337         (parse_ulps): Don't handle ulps of individual tests.
41338         (print_ulps_file): Likewise.
41339         (output_ulps): Likewise.
41340         * math/README.libm-test: Update.
41341         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
41342         individual tests.
41343         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
41344         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
41345         * sysdeps/arm/libm-test-ulps: Likewise.
41346         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
41347         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
41348         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
41349         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
41350         * sysdeps/microblaze/libm-test-ulps: Likewise.
41351         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
41352         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
41353         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41354         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
41355         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41356         * sysdeps/sh/libm-test-ulps: Likewise.
41357         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41358         * sysdeps/tile/libm-test-ulps: Likewise.
41359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41361 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
41363         * math/libm-test.inc (print_complex_max_error): Check separately
41364         whether real and imaginary errors are within allowed range and
41365         pass 0 to print_complex_function_ulps instead of value within
41366         allowed range.
41368 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41370         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
41371         formatting.
41372         (get_handles_fopen): Likewise.
41373         (do_write_test): Likewise.
41375         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
41377         * libio/fileops.c (do_ftell): Use cached offset when
41378         available.
41379         * libio/iofwide.c (do_ftell_wide): Likewise.
41380         * libio/iofdopen.c (_IO_new_fdopen): Don't use
41381         _IO_file_attach.
41382         * libio/wfileops.c (_IO_fwide): Don't cache offset.
41384         [BZ #16532]
41385         * libio/libioP.h (get_file_offset): New function.
41386         * libio/fileops.c (get_file_offset): Likewise.
41387         (do_ftell): Likewise.
41388         (_IO_new_file_seekoff): Split out ftell logic.
41389         * libio/wfileops.c (do_ftell_wide): Likewise.
41390         (_IO_wfile_seekoff): Split out ftell logic.
41391         * libio/tst-ftell-active-handler.c: New test case.
41392         * libio/Makefile (tests): Add it.
41394 2014-03-03  Roland McGrath  <roland@hack.frob.com>
41396         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
41397         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
41399 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
41401         [BZ #16639]
41402         * nscd/connections.c (nscd_init): Call do_exit.
41403         (start_threads): Call do_exit and notify_parent.
41404         (begin_drop_privileges): Call do_exit.
41405         (finish_drop_privileges): Likewise.
41406         * nscd/selinux.c (preserve_capabilities): Likewise.
41407         (install_real_capabilities): Likewise.
41408         (nscd_selinux_enabled): Likewise.
41409         (avc_create_thread): Likewise.
41410         (avc_alloc_lock): Likewise.
41411         (nscd_avc_init): Likewise.
41412         * nscd/nscd.c (parent_fd): New static variable.
41413         (main): Create a pipe between parent and child processes.
41414         Skip closing parent_fd.
41415         (monitor_child): New function.
41416         (do_exit): Likewise.
41417         (notify_parent): Likewise.
41418         * nscd/nscd.h (notify_parent): Likewise.
41419         (do_exit): Likewise.
41421 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
41423         * malloc/malloc.c (__libc_calloc): Revert last change.
41425 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41427         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41429 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
41431         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
41432         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
41433         implementation.
41434         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41435         (__libc_ifunc_impl_list): Likewise.
41436         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
41437         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
41438         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
41439         * string/strrchr.c: Define STRRCHR.
41441 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
41443         * benchtest/bench-strtok.c (simple_strtok): Delete.
41444         (strtok_string): Use as benchmark.
41445         * string/strtok (STRTOK): New macro.
41447 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
41449         * manual/threads.texi: Add header and standard comments to all
41450         functions.
41452         * elf/dl-lookup.c (check_match): New function.
41453         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
41454         (do_lookup_x): Remove nested function check_match. Use non-nested
41455         function check_match.
41457 2014-02-28  Roland McGrath  <roland@hack.frob.com>
41459         * csu/Makefile (generated, before-compile): Use += rather than =.
41460         * catgets/Makefile (generated, generated-dirs): Likewise.
41461         * debug/Makefile (generated): Likewise.
41462         * dlfcn/Makefile (generated): Likewise.
41463         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
41464         * iconvdata/Makefile (before-compile, generated): Likewise.
41465         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
41466         * libio/Makefile (generated): Likewise.
41467         * malloc/Makefile (generated): Likewise.
41468         * manual/Makefile (generated, generated-dirs): Likewise.
41469         * misc/Makefile (generated): Likewise.
41470         * posix/Makefile (generated): Likewise.
41471         * resolv/Makefile (generated): Likewise.
41472         * sunrpc/Makefile (generated, generated-dirs): Likewise.
41473         * timezone/Makefile (generated, generated-dirs): Likewise.
41475         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
41477 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41479         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
41480         power8 implementation.
41481         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
41482         file: POWER8 llround ifunc implementation.
41483         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
41484         (__lllround): Add POWER8 implementation.
41485         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
41486         POWER8 llround implementation.
41488         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
41489         power8 implementation.
41490         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
41491         file: POWER8 llrint ifunc implementation.
41492         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
41493         Add POWER8 implementation.
41494         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
41495         POWER8 llrint implementation.
41497         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
41498         power8 implementation.
41499         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
41500         file: POWER8 finite ifunc implementation.
41501         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
41502         Add POWER8 implementation.
41503         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
41504         Likewise.
41505         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
41506         POWER8 finite implementation.
41507         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
41509         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
41510         power8 implementation.
41511         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
41512         file: POWER8 isinf ifunc implementation.
41513         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
41514         POWER8 implementation.
41515         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
41516         Likewise.
41517         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
41518         isinf implementation.
41519         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
41521         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
41522         (INIT_ARCH): Add hwcap2 initialization.
41523         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
41524         power8 implementation.
41525         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
41526         file: POWER8 isnan ifunc implementation.
41527         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
41528         POWER8 implementation.
41529         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
41530         Likewise.
41531         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
41532         isnan implementation.
41533         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
41535 2014-02-27  Joey Ye  <joey.ye@arm.com>
41537         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
41538         (_FP_NANFRAC_Q): Set to zero.
41540 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41542         [BZ #16623]
41543         * math/auto-libm-test-in: New test inputs.
41544         * math/auto-libm-test-out: Regenerate.
41545         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
41546         and DA.
41547         (__cos): Likewise.
41548         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
41550 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
41552         * scripts/evaluate-test.sh: Take new argument indicating whether
41553         failure is expected.
41554         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
41555         indicating whether failure is expected.
41556         * conform/Makefile (test-xfail-run-conformtest): New variable.
41557         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
41558         level.
41559         * posix/Makefile (test-xfail-annexc): New variable.
41560         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
41562 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
41564         * argp/Makefile: Include Makeconfig immediately after defining
41565         subdir.
41566         * assert/Makefile: Likewise.
41567         * benchtests/Makefile: Likewise.
41568         * catgets/Makefile: Likewise.
41569         * conform/Makefile: Likewise.
41570         * crypt/Makefile: Likewise.
41571         * csu/Makefile: Likewise.
41572         (all): Remove target.
41573         * ctype/Makefile: Include Makeconfig immediately after defining
41574         subdir.
41575         * debug/Makefile: Likewise.
41576         * dirent/Makefile: Likewise.
41577         * dlfcn/Makefile: Likewise.
41578         * gmon/Makefile: Likewise.
41579         * gnulib/Makefile: Likewise.
41580         * grp/Makefile: Likewise.
41581         * gshadow/Makefile: Likewise.
41582         * hesiod/Makefile: Likewise.
41583         * hurd/Makefile: Likewise.
41584         (all): Remove target.
41585         * iconvdata/Makefile: Include Makeconfig immediately after
41586         defining subdir.
41587         * inet/Makefile: Likewise.
41588         * intl/Makefile: Likewise.
41589         * io/Makefile: Likewise.
41590         * libio/Makefile: Likewise.
41591         (all): Remove target.
41592         * locale/Makefile: Include Makeconfig immediately after defining
41593         subdir.
41594         * login/Makefile: Likewise.
41595         * mach/Makefile: Likewise.
41596         (all): Remove target.
41597         * malloc/Makefile: Include Makeconfig immediately after defining
41598         subdir.
41599         (all): Remove target.
41600         * manual/Makefile: Include Makeconfig immediately after defining
41601         subdir.
41602         * math/Makefile: Likewise.
41603         * misc/Makefile: Likewise.
41604         * nis/Makefile: Likewise.
41605         * nss/Makefile: Likewise.
41606         * po/Makefile: Likewise.
41607         (all): Remove target.
41608         * posix/Makefile: Include Makeconfig immediately after defining
41609         subdir.
41610         * pwd/Makefile: Likewise.
41611         * resolv/Makefile: Likewise.
41612         * resource/Makefile: Likewise.
41613         * rt/Makefile: Likewise.
41614         * setjmp/Makefile: Likewise.
41615         * shadow/Makefile: Likewise.
41616         * signal/Makefile: Likewise.
41617         * socket/Makefile: Likewise.
41618         * soft-fp/Makefile: Likewise.
41619         * stdio-common/Makefile: Likewise.
41620         * stdlib/Makefile: Likewise.
41621         * streams/Makefile: Likewise.
41622         * string/Makefile: Likewise.
41623         * sunrpc/Makefile: Likewise.
41624         (all): Remove target.
41625         * sysvipc/Makefile: Include Makeconfig immediately after defining
41626         subdir.
41627         * termios/Makefile: Likewise.
41628         * time/Makefile: Likewise.
41629         * timezone/Makefile: Likewise.
41630         (all): Remove target.
41631         * wcsmbs/Makefile: Include Makeconfig immediately after defining
41632         subdir.
41633         * wctype/Makefile: Likewise.
41635 2014-02-26  Steve Ellcey  <sellcey@mips.com>
41637         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
41638         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
41639         (libc_feholdexcept_setround_mips): Ditto.
41640         (libc_feholdsetround): New.
41641         (libc_feholdsetroundf): New.
41642         (libc_feholdsetroundl): New.
41643         (libc_feupdateenv_test_mips): New.
41644         (libc_feupdateenv_test): New.
41645         (libc_feupdateenv_testf): New.
41646         (libc_feupdateenv_testl): New.
41647         (libc_feresetround): New.
41648         (libc_feresetroundf): New.
41649         (libc_feresetroundl): New.
41650         (libc_fetestexcept_mips): New.
41651         (libc_fetestexcept): New.
41652         (libc_fetestexceptf): New.
41653         (libc_fetestexceptl): New.
41654         (HAVE_RM_CTX): New.
41655         (libc_feholdexcept_setround_mips_ctx): New.
41656         (libc_feholdexcept_setround_ctx): New.
41657         (libc_feholdexcept_setroundf_ctx): New.
41658         (libc_feholdexcept_setroundl_ctx): New.
41659         (libc_fesetenv_mips_ctx): New.
41660         (libc_fesetenv_ctx): New.
41661         (libc_fesetenv_ctxf): New.
41662         (libc_fesetenv_ctxl): New.
41663         (libc_feupdateenv_mips_ctx): New.
41664         (libc_feupdateenv_ctx): New.
41665         (libc_feupdateenvf_ctx): New.
41666         (libc_feupdateenvl_ctx): New.
41667         (libc_feholdsetround_mips_ctx): New.
41668         (libc_feholdsetround_ctx): New.
41669         (libc_feholdsetroundf_ctx): New.
41670         (libc_feholdsetroundl_ctx): New.
41671         (libc_feresetround_mips_ctx): New.
41672         (libc_feresetround_ctx): New.
41673         (libc_feresetroundf_ctx): New.
41674         (libc_feresetroundl_ctx): New.
41676 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
41678         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
41680         * manual/ipc.texi: New file.
41681         * manual/Makefile (chapters): Add ipc.
41682         * manual/job.texi: Add "Inter-Process Communication" to next.
41683         * manual/process.texi: Add "Inter-Process Communication" to prev.
41685 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41687         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41689 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
41691         * malloc/malloc.c (__libc_calloc): Simplify implementation.
41693         * manual/arith.texi: Fix spaces after sentences.
41694         * manual/charset.texi: Likewise.
41695         * manual/errno.texi: Likewise.
41696         * manual/install.texi: Likewise.
41697         * manual/llio.texi: Likewise.
41698         * manual/locale.texi: Likewise.
41699         * manual/maint.texi: Likewise.
41700         * manual/math.texi: Likewise.
41701         * manual/memory.texi: Likewise.
41702         * manual/message.texi: Likewise.
41703         * manual/probes.texi: Likewise.
41704         * manual/resource.texi: Likewise.
41705         * manual/signal.texi: Likewise.
41706         * manual/socket.texi: Likewise.
41707         * manual/stdio.texi: Likewise.
41708         * manual/string.texi: Likewise.
41709         * manual/time.texi: Likewise.
41710         * manual/users.texi: Likewise.
41712 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
41714         [BZ #16632]
41715         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
41716         _DEFAULT_SOURCE is defined.
41718 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
41719             Carlos O'Donell  <carlos@redhat.com>
41721         [BZ #16613]
41722         * elf/dl-tls.c (_dl_count_modids): New function.
41723         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
41724         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
41725         audit library and increment generation counter.
41726         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
41727         * elf/tst-audit9.c: New file.
41728         * elf/tst-auditmod9a.c: New file.
41729         * elf/tst-auditmod9b.c: New file.
41730         * elf/Makefile: Add rules to build and run tst-audit9.
41732 2014-02-25  Florian Weimer  <fweimer@redhat.com>
41734         [BZ #15347]
41735         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
41737 2014-02-25  Will Newton  <will.newton@linaro.org>
41739         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
41740         (__longjmp): Restore sp and lr before restoring callee
41741         saved registers.  Add longjmp and longjmp_target
41742         SystemTap probe point.
41743         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
41744         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
41745         Define to zero to match jmpbuf layout.
41746         * sysdeps/arm/setjmp.S: Include stap-probe.h.
41747         (__sigsetjmp): Save sp and lr before saving callee
41748         saved registers.  Add setjmp SystemTap probe point.
41750 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
41752         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
41754 2014-02-24  Andreas Schwab  <schwab@suse.de>
41756         [BZ #15804]
41757         * elf/pldd.c (wait_for_ptrace_stop): New function.
41758         (main): Call it after attaching.
41760 2014-02-22  Roland McGrath  <roland@hack.frob.com>
41762         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
41763         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
41764         Versions files is now verboten.
41765         * hurd/Versions (libc: GLIBC_2.0):
41766         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
41767         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
41768         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
41769         * mach/Versions: Likewise.
41771         * csu/Versions: Remove unused %include.
41772         * resolv/Versions: Likewise.
41774 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
41776         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
41777         ($(objpfx)check-local-headers.out): Likewise.
41778         ($(objpfx)begin-end-check.out): Likewise.
41779         * Makerules (check-abi-%.out): Likewise.
41780         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
41781         ($(objpfx)test2.cat): Likewise.
41782         ($(objpfx)de/libc.cat): Likewise.
41783         ($(objpfx)test-gencat.out): Likewise.
41784         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
41785         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
41786         ($(objpfx)noload-mem): Likewise.
41787         ($(objpfx)tst-pathopt.out): Likewise.
41788         ($(objpfx)tst-rtld-load-self.out): Likewise.
41789         ($(objpfx)tst-array1-cmp.out): Likewise.
41790         ($(objpfx)tst-array1-static-cmp.out): Likewise.
41791         ($(objpfx)tst-array2-cmp.out): Likewise.
41792         ($(objpfx)tst-array3-cmp.out): Likewise.
41793         ($(objpfx)tst-array4-cmp.out): Likewise.
41794         ($(objpfx)tst-array5-cmp.out): Likewise.
41795         ($(objpfx)tst-array5-static-cmp.out): Likewise.
41796         ($(objpfx)check-textrel.out): Likewise.
41797         ($(objpfx)check-execstack.out): Likewise.
41798         ($(objpfx)check-localplt.out): Likewise.
41799         ($(objpfx)order2-cmp.out): Likewise.
41800         ($(objpfx)tst-leaks1-mem): Likewise.
41801         ($(objpfx)tst-leaks1-static-mem): Likewise.
41802         ($(objpfx)tst-initorder-cmp.out): Likewise.
41803         ($(objpfx)tst-initorder2-cmp.out): Likewise.
41804         ($(objpfx)tst-unused-dep.out): Likewise.
41805         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
41806         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
41807         * iconv/Makefile (test-iconvconfig): Likewise.
41808         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
41809         ($(objpfx)iconv-test.out): Likewise.
41810         ($(objpfx)tst-tables.out): Likewise.
41811         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
41812         ($(objpfx)tst-gettext.out): Likewise.
41813         ($(objpfx)tst-translit.out): Likewise.
41814         ($(objpfx)tst-gettext2.out): Likewise.
41815         ($(objpfx)tst-gettext4.out): Likewise.
41816         ($(objpfx)tst-gettext6.out): Likewise.
41817         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
41818         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
41819         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
41820         ($(objpfx)tst-fopenloc-mem.out): Likewise.
41821         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
41822         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
41823         * posix/Makefile ($(objpfx)globtest.out): Likewise.
41824         ($(objpfx)wordexp-tst.out): Likewise.
41825         ($(objpfx)annexc.out): Likewise.
41826         ($(objpfx)tst-fnmatch-mem): Likewise.
41827         ($(objpfx)bug-regex2-mem): Likewise.
41828         ($(objpfx)bug-regex14-mem): Likewise.
41829         ($(objpfx)bug-regex21-mem): Likewise.
41830         ($(objpfx)bug-regex31-mem): Likewise.
41831         ($(objpfx)tst-vfork3-mem): Likewise.
41832         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
41833         ($(objpfx)tst-pcre-mem): Likewise.
41834         ($(objpfx)tst-boost-mem): Likewise.
41835         ($(objpfx)tst-getconf.out): Likewise.
41836         ($(objpfx)bug-ga2-mem): Likewise.
41837         ($(objpfx)bug-glob2-mem): Likewise.
41838         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
41839         ($(objpfx)mtrace-tst-leaks2): Likewise.
41840         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
41841         ($(objpfx)tst-printf.out): Likewise.
41842         ($(objpfx)tst-setvbuf1.out): Likewise.
41843         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
41844         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
41845         ($(objpfx)tst-fmtmsg.out): Likewise.
41846         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
41847         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
41849         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
41850         * bits/sigaction.h [__USE_MISC]: Likewise.
41851         * bits/waitstatus.h: Update #endif comments.
41852         * ctype/ctype.h: Likewise.
41853         * dirent/dirent.h: Likewise.
41854         [__USE_MISC]: Remove redundant conditionals.
41855         * grp/grp.h: Update #endif comments.
41856         [__USE_GNU]: Remove redundant conditionals.
41857         [__USE_MISC]: Likewise.
41858         * inet/netinet/in.h [__USE_GNU]: Likewise.
41859         * io/sys/stat.h [__USE_MISC]: Likewise.
41860         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
41861         * libio/bits/stdio.h: Update #endif comments.
41862         [__USE_MISC]: Remove redundant conditionals.
41863         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
41864         * libio/stdio.h: Update #endif comments.
41865         [__USE_MISC]: Remove redundant conditionals.
41866         * math/bits/math-finite.h [__USE_MISC]: Likewise.
41867         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
41868         * math/math.h: Update #else and #endif comments.
41869         [__USE_MISC]: Remove redundant conditionals.
41870         * misc/sys/uio.h: Update #endif comments.
41871         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
41872         * posix/glob.h [__USE_MISC]: Likewise.
41873         * posix/sys/types.h: Update #endif comments.
41874         [__USE_MISC]: Remove redundant conditionals.
41875         * posix/sys/wait.h: Update #endif comments.
41876         [__USE_MISC]: Remove redundant conditionals.
41877         * posix/unistd.h: Update #endif comments.
41878         [__USE_MISC]: Remove redundant conditionals.
41879         * pwd/pwd.h [__USE_GNU]: Likewise.
41880         [__USE_MISC]: Likewise.
41881         * resolv/netdb.h [__USE_GNU]: Likewise.
41882         * signal/signal.h: Update #endif comments.
41883         [__USE_MISC]: Remove redundant conditionals.
41884         * stdlib/stdlib.h: Update #else and #endif comments.
41885         [__USE_MISC]: Remove redundant conditionals.
41886         [__USE_GNU]: Likewise.
41887         * string/bits/string2.h [__USE_MISC]: Likewise.
41888         * string/string.h: Update #endif comments.
41889         [__USE_MISC]: Remove redundant conditionals.
41890         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
41891         Likewise.
41892         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
41893         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
41894         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
41895         Likewise.
41896         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
41897         Likewise.
41898         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
41899         comments.
41900         [__USE_MISC]: Remove redundant conditionals.
41901         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
41902         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
41903         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
41904         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
41905         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
41906         Likewise.
41907         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
41908         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
41909         Likewise.
41910         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
41911         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
41912         Likewise.
41913         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
41914         Likewise.
41915         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
41916         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
41917         Likewise.
41918         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
41919         Likewise.
41920         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
41921         * sysdeps/x86/bits/string.h: Update #endif comments.
41922         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
41923         conditionals.
41924         * time/sys/time.h: Update #endif comments.
41925         * time/time.h: Likewise.
41926         [__USE_MISC]: Remove redundant conditionals.
41928 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
41930         [BZ #16600]
41931         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
41933 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
41935         * Versions.def (librt): Add GLIBC_2.17.
41937 2014-02-21  Adam Conrad  <adconrad@0c3.net>
41939         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
41940         synonym for _SYS_AUXV_H to allow direct inclusion.
41941         * sysdeps/sparc/bits/hwcap.h: Likewise.
41942         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
41943         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
41944         * sysdeps/sparc/sysdep.h: Likewise.
41946 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41948         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
41950 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
41952         * benchtests/bench-strrchr.c: Print length instead of position.
41954 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
41956         [BZ #16611]
41957         * sysdeps/unix/sysv/linux/kernel-features.h
41958         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
41959         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
41960         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
41961         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
41962         Likewise.
41963         [__i386__ || __powerpc__ || __sh__ || __sparc__]
41964         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41965         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
41966         (__ASSUME_SENDMMSG): Define instead of using previous
41967         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
41968         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41969         (__ASSUME_SENDMMSG_SYSCALL): Define.
41970         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41971         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
41972         Likewise.
41973         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41974         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
41975         Likewise.
41976         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41977         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
41978         Likewise.
41979         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
41980         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
41981         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
41982         [__ASSUME_SENDMMSG]: Change conditionals to
41983         [__ASSUME_SENDMMSG_SOCKETCALL].
41984         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41985         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
41986         Define.
41987         * sysdeps/unix/sysv/linux/mips/kernel-features.h
41988         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
41989         Likewise.
41990         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
41991         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
41992         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
41993         [!__ASSUME_SENDMMSG]: Change conditional to
41994         [!__ASSUME_SENDMMSG_SOCKETCALL].
41995         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41996         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
41997         Define.
41999         [BZ #16610]
42000         * sysdeps/unix/sysv/linux/kernel-features.h
42001         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
42002         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
42003         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
42004         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
42005         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
42006         [__i386__ || __sparc__]
42007         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
42008         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
42009         (__ASSUME_RECVMMSG): Define instead of using previous
42010         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
42011         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
42012         (__ASSUME_RECVMMSG_SYSCALL): Define.
42013         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
42014         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
42015         Likewise.
42016         * sysdeps/unix/sysv/linux/arm/kernel-features.h
42017         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
42018         Likewise.
42019         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
42020         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
42021         Likewise.
42022         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
42023         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
42024         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
42025         [__ASSUME_RECVMMSG]: Change condition to
42026         [__ASSUME_RECVMMSG_SOCKETCALL].
42027         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42028         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
42029         Define.
42030         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
42031         * sysdeps/unix/sysv/linux/mips/kernel-features.h
42032         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
42033         Likewise.
42034         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
42035         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
42036         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
42037         [!__ASSUME_RECVMMSG]: Change condition to
42038         [!__ASSUME_RECVMMSG_SOCKETCALL].
42039         * sysdeps/unix/sysv/linux/tile/kernel-features.h
42040         (__ASSUME_RECVMMSG_SYSCALL): Define.
42042         [BZ #16609]
42043         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
42044         __powerpc__ || __s390__ || __sh__ || __sparc__]
42045         (__ASSUME_SOCKETCALL): Define.
42046         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
42047         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
42048         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
42049         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
42050         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
42051         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
42052         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
42053         (__ASSUME_ACCEPT4): Define instead of using previous
42054         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
42055         __powerpc__ || __sparc__ || __s390__)] condition.
42056         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
42057         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
42058         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
42059         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
42060         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
42061         [!__ASSUME_ACCEPT4]: Change condition to
42062         [!__ASSUME_ACCEPT4_SOCKETCALL].
42063         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
42064         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
42065         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
42066         * sysdeps/unix/sysv/linux/arm/kernel-features.h
42067         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
42068         __ASSUME_ACCEPT4_SYSCALL.
42069         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
42070         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
42071         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
42072         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
42073         __ASSUME_ACCEPT4_SYSCALL.
42074         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
42075         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
42076         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
42077         [__ASSUME_ACCEPT4]: Change condition to
42078         [__ASSUME_ACCEPT4_SOCKETCALL].
42079         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
42080         (__ASSUME_SOCKETCALL): Define.
42081         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
42082         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42083         (__ASSUME_SOCKETCALL): Define.
42084         (__ASSUME_ACCEPT4): Remove.
42085         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
42086         Define.
42087         * sysdeps/unix/sysv/linux/mips/kernel-features.h
42088         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
42089         Likewise.
42090         * sysdeps/unix/sysv/linux/tile/kernel-features.h
42091         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
42093         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
42094         macro.
42095         (HWCAP_ARM_LPAE): Likewise.
42096         (HWCAP_ARM_EVTSTRM): Likewise.
42097         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
42098         Add vpfd32, lpae and evtstrm.
42099         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
42100         Increase to 22.
42102 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
42104         * math/auto-libm-test-in: Add tests of clog10.
42105         * math/auto-libm-test-out: Regenerated.
42106         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
42107         * sysdeps/i386/fpu/libm-test-ulps: Update.
42108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42110 2014-02-18  Andreas Schwab  <schwab@suse.de>
42112         [BZ #16574]
42113         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
42114         Store non-zero if the second buffer was newly allocated.
42115         (send_dg): Likewise.
42116         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
42117         to send_vc and send_dg.
42118         (res_nsend): Pass NULL for ansp2_malloced.
42119         * resolv/res_query.c (__libc_res_nquery): Add parameter
42120         answerp2_malloced and pass it down to __libc_res_nsend.
42121         (res_nquery): Pass additional NULL to __libc_res_nquery.
42122         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
42123         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
42124         second answer buffer if answerp2_malloced was set.
42125         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
42126         (__libc_res_nquerydomain): Add parameter
42127         answerp2_malloced and pass it down to __libc_res_nquery.
42128         (res_nquerydomain): Pass additional NULL to
42129         __libc_res_nquerydomain.
42130         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
42131         additional NULL to __libc_res_nsend and __libc_res_nquery.
42132         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
42133         additional NULL to __libc_res_nsearch.
42134         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
42135         parameter of __libc_res_nsearch to check for separately allocated
42136         second buffer.
42137         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
42138         __libc_res_nquery.
42139         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
42140         additional NULL to __libc_res_nquery.
42141         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
42142         __libc_res_nsearch.
42143         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
42144         * include/resolv.h: Update prototypes of __libc_res_nquery,
42145         __libc_res_nsearch, __libc_res_nsend.
42147 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
42149         * math/auto-libm-test-in: Add tests of fma.
42150         * math/auto-libm-test-out: Regenerated.
42151         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
42152         (fma_towardzero_test_data): Likewise.
42153         (fma_downward_test_data): Likewise.
42154         (fma_upward_test_data): Likewise.
42155         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
42156         mpc_mode.
42157         (rounding_modes): Add values for new field.
42158         (func_calc_method): Add value mpfr_fff_f.
42159         (func_calc_desc): Add mpfr_fff_f union field.
42160         (test_function): Add field exact_args.
42161         (FUNC): Add macro argument EXACT_ARGS.
42162         (FUNC_mpfr_f_f): Update call to FUNC.
42163         (FUNC_mpfr_f_f): Likewise.
42164         (FUNC_mpfr_ff_f): Likewise.
42165         (FUNC_mpfr_if_f): Likewise.
42166         (FUNC_mpc_c_f): Likewise.
42167         (FUNC_mpc_c_c): Likewise.
42168         (test_functions): Add fma.  Update calls to FUNC.
42169         (handle_input_arg): Add argument exact_args.
42170         (add_test): Update call to handle_input_arg.
42171         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
42172         (output_for_one_input_case): Update call to calc_generic_results.
42173         Recalculate exact zero results in each rounding mode.
42175         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
42176         non-negative before setting low bit.
42177         * math/auto-libm-test-in: Mark one asin test possibly having
42178         spurious underflow.
42179         * math/auto-libm-test-out: Regenerated.
42180         * sysdeps/i386/fpu/libm-test-ulps: Update.
42181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42183 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
42185         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
42186         * sysdeps/unix/sysv/linux/microblaze: Move directory from
42187         ports/sysdeps/unix/sysv/linux/microblaze.
42188         * README: Add missing listing for microblaze*-*-linux-gnu.
42190 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
42192         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
42193         duplicate code
42195 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
42197         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
42198         * sysdeps/unix/sysv/linux/ia64: Move directory from
42199         ports/sysdeps/unix/sysv/linux/ia64.
42200         * README: Update listing for ia64-*-linux-gnu.
42202 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
42203             Joseph Myers  <joseph@codesourcery.com>
42205         * Makeconfig (test-name): New variable.
42206         (evaluate-test): Likewise.
42207         * Makerules (do-test-clean): Remove .test-result files.
42208         (common-mostlyclean): Likewise.
42209         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
42210         * scripts/evaluate-test.sh: New file.
42212 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
42214         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
42215         separate $(objpfx)tst-fopenloc-cmp.out and
42216         $(objpfx)tst-fopenloc-mem.out targets.
42217         (tests): Update dependencies.
42218         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
42219         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
42220         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
42221         (tst-rxspencer-no-utf8-ARGS): New variable.
42222         (tst-rxspencer-no-utf8-ENV): Likewise.
42223         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
42224         instead of $(objpfx)tst-rxspencer-mem.
42225         ($(objpfx)tst-rxspencer-mem): Change target to
42226         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
42227         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
42228         * posix/tst-rxspencer-no-utf8.c: New file.
42230         * elf/Makefile ($(objpfx)order.out): Remove rule.
42231         [$(run-built-tests) = yes] (tests): Depend on
42232         $(objpfx)order-cmp.out.
42233         ($(objpfx)order-cmp.out): New rule.
42234         [$(run-built-tests) = yes] (tests): Depend on
42235         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
42236         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
42237         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
42238         $(objpfx)tst-array5-static-cmp.out.
42239         ($(objpfx)tst-array1.out): Remove rule.
42240         ($(objpfx)tst-array1-cmp.out): New rule.
42241         ($(objpfx)tst-array1-static.out): Remove rule.
42242         ($(objpfx)tst-array1-static-cmp.out): New rule.
42243         ($(objpfx)tst-array2.out): Remove rule.
42244         ($(objpfx)tst-array2-cmp.out): New rule.
42245         ($(objpfx)tst-array3.out): Remove rule.
42246         ($(objpfx)tst-array3-cmp.out): New rule.
42247         ($(objpfx)tst-array4.out): Remove rule.
42248         ($(objpfx)tst-array4-cmp.out): New rule.
42249         ($(objpfx)tst-array5.out): Remove rule.
42250         ($(objpfx)tst-array5-cmp.out): New rule.
42251         ($(objpfx)tst-array5-static.out): Remove rule.
42252         ($(objpfx)tst-array5-static-cmp.out): New rule.
42253         [$(run-built-tests) = yes] (tests): Depend on
42254         $(objpfx)order2-cmp.out.
42255         ($(objpfx)order2.out): Remove rule.
42256         ($(objpfx)order2-cmp.out): New rule.
42257         ($(objpfx)tst-initorder.out): Remove rule.
42258         [$(run-built-tests) = yes] (tests): Depend on
42259         $(objpfx)tst-initorder-cmp.out.
42260         ($(objpfx)tst-initorder-cmp.out): New rule.
42261         ($(objpfx)tst-initorder2.out): Remove rule.
42262         [$(run-built-tests) = yes] (tests): Depend on
42263         $(objpfx)tst-initorder2-cmp.out.
42264         ($(objpfx)tst-initorder2-cmp.out): New rule.
42265         [$(run-built-tests) = yes] (tests): Depend on
42266         $(objpfx)tst-unused-dep-cmp.out.
42267         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
42268         ($(objpfx)tst-unused-dep-cmp.out): New rule.
42269         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
42270         on $(objpfx)tst-setvbuf1-cmp.out.
42271         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
42272         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
42273         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
42274         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
42275         ($(objpfx)tst-svc.out): Remove rule.
42276         ($(objpfx)tst-svc-cmp.out): New rule.
42278 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
42280         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
42281         * ctype/ctype.h [__USE_MISC]: Likewise.
42282         * dirent/dirent.h [__USE_MISC]: Likewise.
42283         * grp/grp.h [__USE_MISC]: Likewise.
42284         * io/fcntl.h [__USE_MISC]: Likewise.
42285         * io/sys/stat.h [__USE_MISC]: Likewise.
42286         * libio/stdio.h [__USE_MISC]: Likewise.
42287         * posix/unistd.h [__USE_MISC]: Likewise.
42288         * pwd/pwd.h [__USE_MISC]: Likewise.
42289         * stdlib.h [__USE_MISC]: Likewise.
42290         * string/bits/string2.h [__USE_MISC]: Likewise.
42291         * string/string.h [__USE_MISC]: Likewise.
42292         * time/time.h [__USE_MISC]: Likewise.
42294 2014-02-13  Andreas Schwab  <schwab@suse.de>
42296         [BZ #16574]
42297         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
42298         second answer buffer if it was separately allocated.
42300 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
42302         * sysdeps/mips/math-tests.h: Include <features.h>.
42303         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
42304         (ROUNDING_TESTS_long_double): Do not define.
42305         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
42306         (EXCEPTION_TESTS_long_double): Likewise.
42307         * sysdeps/mips/mips64/libm-test-ulps: Update.
42309         * include/features.h (__USE_BSD): Remove macro definitions.
42310         (__USE_SVID): Likewise.
42311         (_BSD_SOURCE): Likewise.
42312         (_SVID_SOURCE): Likewise.
42313         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
42314         from definition of _DEFAULT_SOURCE.
42315         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
42316         [_DEFAULT_SOURCE].
42317         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
42318         * bits/mman.h [__USE_BSD]: Likewise.
42319         * bits/termios.h [__USE_BSD]: Likewise.
42320         * bits/waitstatus.h [__USE_BSD]: Likewise.
42321         * ctype/ctype.h [__USE_SVID]: Likewise.
42322         * dirent/dirent.h [__USE_BSD]: Likewise.
42323         * grp/grp.h [__USE_SVID]: Likewise.
42324         [__USE_BSD]: Likewise.
42325         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
42326         * io/fcntl.h [__USE_BSD]: Likewise.
42327         * io/ftw.h [__USE_BSD]: Likewise.
42328         * io/sys/stat.h [__USE_BSD]: Likewise.
42329         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
42330         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
42331         * libio/stdio.h [__USE_SVID]: Likewise.
42332         [__USE_BSD]: Likewise.
42333         * math/math.h [__USE_SVID]: Likewise.
42334         [__USE_BSD]: Likewise.
42335         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
42336         * misc/bits/syslog.h [__USE_BSD]: Likewise.
42337         * misc/search.h [__USE_SVID]: Likewise.
42338         * misc/sys/mman.h [__USE_BSD]: Likewise.
42339         * misc/sys/syslog.h [__USE_BSD]: Likewise.
42340         * misc/sys/uio.h [__USE_BSD]: Likewise.
42341         * posix/bits/unistd.h [__USE_BSD]: Likewise.
42342         * posix/glob.h [__USE_BSD]: Likewise.
42343         * posix/regex.h [__USE_BSD]: Likewise.
42344         * posix/sys/types.h [__USE_BSD]: Likewise.
42345         [__USE_SVID]: Likewise.
42346         * posix/sys/utsname.h [__USE_SVID]: Likewise.
42347         * posix/sys/wait.h [__USE_BSD]: Likewise.
42348         [__USE_SVID]: Likewise.
42349         * posix/unistd.h [__USE_BSD]: Likewise.
42350         [__USE_SVID]: Likewise.
42351         * pwd/pwd.h [__USE_SVID]: Likewise.
42352         * resolv/netdb.h [__USE_BSD]: Likewise.
42353         * setjmp/setjmp.h [__USE_BSD]: Likewise.
42354         * signal/signal.h [__USE_BSD]: Likewise.
42355         [__USE_SVID]: Likewise.
42356         * socket/sys/socket.h [__USE_BSD]: Likewise.
42357         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
42358         * stdlib/stdlib.h [__USE_BSD]: Likewise.
42359         [__USE_SVID]: Likewise.
42360         * string/bits/string2.h [__USE_BSD]: Likewise.
42361         [__USE_SVID]: Likewise.
42362         * string/bits/string3.h [__USE_BSD]: Likewise.
42363         * string/endian.h [__USE_BSD]: Likewise.
42364         * string/string.h [__USE_SVID]: Likewise.
42365         [__USE_BSD]: Likewise.
42366         * string/strings.h [__USE_BSD]: Likewise.
42367         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
42368         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
42369         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
42370         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
42371         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
42372         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
42373         Likewise.
42374         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
42375         Likewise.
42376         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
42377         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
42378         Likewise.
42379         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
42380         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
42381         Likewise.
42382         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
42383         Likewise.
42384         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
42385         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
42386         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
42387         Likewise.
42388         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
42389         Likewise.
42390         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
42391         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
42392         * termios/termios.h [__USE_BSD]: Likewise.
42393         * time/sys/time.h [__USE_BSD]: Likewise.
42394         * time/time.h [__USE_BSD]: Likewise.
42395         [__USE_SVID]: Likewise.
42397         * Makefile (subdir_targets): Remove subdir_lint.out.
42399         * stdio-common/Makefile (do-tst-unbputc): Remove target.
42400         (do-tst-printf): Likewise.
42401         (tests): Depend directly on $(objpfx)tst-unbputc.out and
42402         $(objpfx)tst-printf.out.
42404         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
42406         * Makerules (check-abi-%): Change target to
42407         $(objpfx)check-abi-%.out.
42408         (check-abi target): Update dependencies.
42409         (check-abi-pattern variable): Redirect output of diff to $@.
42410         (check-abi variable): Likewise.
42411         * elf/Makefile (check-abi): Update dependencies.
42413         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
42414         unused.
42415         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
42416         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
42417         subnormal range.
42418         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
42419         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
42420         value has largest subnormal exponent.
42421         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
42422         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
42423         * sysdeps/aarch64/soft-fp/sfp-machine.h
42424         (_FP_TININESS_AFTER_ROUNDING): New macro.
42425         * sysdeps/alpha/soft-fp/sfp-machine.h
42426         (_FP_TININESS_AFTER_ROUNDING): Likewise.
42427         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
42428         Likewise.
42429         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
42430         (_FP_TININESS_AFTER_ROUNDING): Likewise.
42431         * sysdeps/mips/soft-fp/sfp-machine.h
42432         (_FP_TININESS_AFTER_ROUNDING): Likewise.
42433         * sysdeps/powerpc/soft-fp/sfp-machine.h
42434         (_FP_TININESS_AFTER_ROUNDING): Likewise.
42435         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
42436         Likewise.
42437         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
42438         (_FP_TININESS_AFTER_ROUNDING): Likewise.
42439         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
42440         (_FP_TININESS_AFTER_ROUNDING): Likewise.
42441         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
42442         Likewise.
42444 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
42446         [BZ #16545]
42447         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
42448         model 1.
42450 2014-02-12  Richard Henderson  <rth@redhat.com>
42452         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
42453         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
42454         * sysdeps/unix/sysv/linux/alpha: Move directory from
42455         ports/sysdeps/unix/sysv/linux/alpha.
42456         * README: Update listing for alpha-*-linux-gnu.
42458 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
42460         * include/features.h: Update comment documenting feature test
42461         macros.
42462         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
42463         _DEFAULT_SOURCE.
42464         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
42465         (_SVID_SOURCE): Likewise.
42466         (_DEFAULT_SOURCE): Update description of default features.
42467         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
42468         with _GNU_SOURCE.
42469         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
42470         (S_ISVTX): Likewise.
42471         * manual/math.texi (Mathematical Constants): Likewise.
42472         * manual/signal.texi (Interrupted Primitives): Likewise.
42473         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
42474         * math/test-matherr.c (_SVID_SOURCE): Do not define.
42475         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
42476         Don't refer to _SVID_SOURCE in warning text.
42478         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42480         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
42481         already defined.
42482         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
42483         * sysdeps/mips/dl-lookup.c: Remove.
42484         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
42486 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
42488         [BZ #16447]
42489         * math/auto-libm-test-in: Add testcase for expl.
42490         * math/auto-libm-test-out: Regenerate.
42491         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
42492         calculation of unsafe.
42493         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
42495 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
42497         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
42498         * sysdeps/unix/sysv/linux/aarch64: Move directory from
42499         ports/sysdeps/unix/sysv/linux/aarch64.
42500         * README: Update listing for aarch64*-*-linux-gnu.
42502 2014-02-11  Will Newton  <will.newton@linaro.org>
42504         * manual/probes.texi (Mathematical Function Probes): Use
42505         "triggered" instead of "hit".
42507         * manual/probes.texi (Internal Probes): Add documentation
42508         of setjmp, longjmp and longjmp_target probes.
42510         * include/stap-probe.h: Add comment about probe argument
42511         format.
42513         * malloc/mtrace.c (attribute_hidden): Remove unused macro
42514         definition.  (tr_where, tr_freehook, tr_mallochook,
42515         tr_reallochook, tr_memalignhook): Use ANSI protoype.
42517 2014-02-11  David S. Miller  <davem@davemloft.net>
42519         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
42520         processing int_tests.
42522 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
42524         * sysdeps/mips: Move directory from ports/sysdeps/mips.
42525         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
42526         * sysdeps/unix/sysv/linux/mips: Move directory from
42527         ports/sysdeps/unix/sysv/linux/mips.
42528         * README: Update listing for mips-*-linux-gnu and
42529         mips64-*-linux-gnu.
42531 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
42533         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
42534         * sysdeps/unix/sysv/linux/m68k: Move directory from
42535         ports/sysdeps/unix/sysv/linux/m68k.
42536         * README: Update listing for m68k-*-linux-gnu.
42538 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
42540         * sysdeps/tile: Move directory from ports/sysdeps/tile.
42541         * sysdeps/unix/sysv/linux/generic: Move directory from
42542         ports/sysdeps/unix/sysv/linux/generic.
42543         * sysdeps/unix/sysv/linux/tile: Move directory from
42544         ports/sysdeps/unix/sysv/linux/tile.
42545         * README: Update listing for tile*-*-linux-gnu.
42547 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
42549         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
42550         __builtin_expect.
42551         * benchtests/bench-memmem.c (simple_memmem): Likewise.
42552         * catgets/open_catalog.c (__open_catalog): Likewise.
42553         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
42554         * debug/confstr_chk.c: Likewise.
42555         * debug/fread_chk.c (__fread_chk): Likewise.
42556         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
42557         * debug/getgroups_chk.c: Likewise.
42558         * debug/mbsnrtowcs_chk.c: Likewise.
42559         * debug/mbsrtowcs_chk.c: Likewise.
42560         * debug/mbstowcs_chk.c: Likewise.
42561         * debug/memcpy_chk.c: Likewise.
42562         * debug/memmove_chk.c: Likewise.
42563         * debug/mempcpy_chk.c: Likewise.
42564         * debug/memset_chk.c: Likewise.
42565         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
42566         * debug/strcat_chk.c (__strcat_chk): Likewise.
42567         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
42568         * debug/strncat_chk.c (__strncat_chk): Likewise.
42569         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
42570         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
42571         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
42572         * debug/wcpncpy_chk.c: Likewise.
42573         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
42574         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
42575         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
42576         * debug/wcsncpy_chk.c: Likewise.
42577         * debug/wcsnrtombs_chk.c: Likewise.
42578         * debug/wcsrtombs_chk.c: Likewise.
42579         * debug/wcstombs_chk.c: Likewise.
42580         * debug/wmemcpy_chk.c: Likewise.
42581         * debug/wmemmove_chk.c: Likewise.
42582         * debug/wmempcpy_chk.c: Likewise.
42583         * debug/wmemset_chk.c: Likewise.
42584         * dirent/scandirat.c (SCANDIRAT): Likewise.
42585         * dlfcn/dladdr1.c (dladdr1): Likewise.
42586         * dlfcn/dladdr.c (dladdr): Likewise.
42587         * dlfcn/dlclose.c (dlclose_doit): Likewise.
42588         * dlfcn/dlerror.c (__dlerror): Likewise.
42589         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
42590         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
42591         * dlfcn/dlopen.c (dlopen_doit): Likewise.
42592         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
42593         * dlfcn/dlsym.c (dlsym_doit): Likewise.
42594         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
42595         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
42596         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
42597         Likewise.
42598         * elf/dl-conflict.c: Likewise.
42599         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
42600         * elf/dl-dst.h: Likewise.
42601         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
42602         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
42603         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
42604         * elf/dl-init.c (call_init, _dl_init): Likewise.
42605         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
42606         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
42607         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
42608         Likewise.
42609         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
42610         Likewise.
42611         * elf/dl-minimal.c (__libc_memalign): Likewise.
42612         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
42613         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
42614         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
42615         * elf/dl-sym.c (do_sym): Likewise.
42616         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
42617         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
42618         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
42619         * elf/dl-writev.h (_dl_writev): Likewise.
42620         * elf/ldconfig.c (search_dir): Likewise.
42621         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
42622         (dl_main): Likewise.
42623         * elf/setup-vdso.h (setup_vdso): Likewise.
42624         * grp/compat-initgroups.c (compat_call): Likewise.
42625         * grp/fgetgrent.c (fgetgrent): Likewise.
42626         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
42627         * grp/putgrent.c (putgrent): Likewise.
42628         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
42629         Likewise.
42630         * hurd/hurdinit.c: Likewise.
42631         * iconvdata/8bit-gap.c (struct): Likewise.
42632         * iconvdata/ansi_x3.110.c : Likewise.
42633         * iconvdata/big5.c : Likewise.
42634         * iconvdata/big5hkscs.c : Likewise.
42635         * iconvdata/cp1255.c: Likewise.
42636         * iconvdata/cp1258.c : Likewise.
42637         * iconvdata/cp932.c : Likewise.
42638         * iconvdata/euc-cn.c: Likewise.
42639         * iconvdata/euc-jisx0213.c : Likewise.
42640         * iconvdata/euc-jp.c: Likewise.
42641         * iconvdata/euc-jp-ms.c : Likewise.
42642         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
42643         * iconvdata/gb18030.c : Likewise.
42644         * iconvdata/gbbig5.c (const): Likewise.
42645         * iconvdata/gbgbk.c: Likewise.
42646         * iconvdata/gbk.c : Likewise.
42647         * iconvdata/ibm1364.c : Likewise.
42648         * iconvdata/ibm930.c : Likewise.
42649         * iconvdata/ibm932.c: Likewise.
42650         * iconvdata/ibm933.c : Likewise.
42651         * iconvdata/ibm935.c : Likewise.
42652         * iconvdata/ibm937.c : Likewise.
42653         * iconvdata/ibm939.c : Likewise.
42654         * iconvdata/ibm943.c: Likewise.
42655         * iconvdata/iso_11548-1.c: Likewise.
42656         * iconvdata/iso-2022-cn.c : Likewise.
42657         * iconvdata/iso-2022-cn-ext.c : Likewise.
42658         * iconvdata/iso-2022-jp-3.c: Likewise.
42659         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
42660         * iconvdata/iso-2022-kr.c : Likewise.
42661         * iconvdata/iso646.c (gconv_end): Likewise.
42662         * iconvdata/iso_6937-2.c : Likewise.
42663         * iconvdata/iso_6937.c : Likewise.
42664         * iconvdata/iso8859-1.c: Likewise.
42665         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
42666         * iconvdata/shift_jisx0213.c : Likewise.
42667         * iconvdata/sjis.c : Likewise.
42668         * iconvdata/t.61.c : Likewise.
42669         * iconvdata/tcvn5712-1.c : Likewise.
42670         * iconvdata/tscii.c: Likewise.
42671         * iconvdata/uhc.c : Likewise.
42672         * iconvdata/unicode.c (gconv_end): Likewise.
42673         * iconvdata/utf-16.c (gconv_end): Likewise.
42674         * iconvdata/utf-32.c (gconv_end): Likewise.
42675         * iconvdata/utf-7.c (base64): Likewise.
42676         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
42677         * iconv/gconv_close.c (__gconv_close): Likewise.
42678         * iconv/gconv_open.c (__gconv_open): Likewise.
42679         * iconv/gconv_simple.c (internal_ucs4_loop_single)
42680         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
42681         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
42682         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
42683         (ucs4le_internal_loop_single): Likewise.
42684         * iconv/iconv.c (iconv): Likewise.
42685         * iconv/iconv_close.c: Likewise.
42686         * iconv/loop.c (SINGLE): Likewise.
42687         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
42688         * include/atomic.h: Likewise.
42689         * inet/inet6_option.c (option_alloc): Likewise.
42690         * intl/bindtextdom.c (set_binding_values): Likewise.
42691         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
42692         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
42693         * intl/localealias.c (read_alias_file): Likewise.
42694         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
42695         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
42696         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
42697         * libio/fmemopen.c (fmemopen): Likewise.
42698         * libio/iofgets.c (_IO_fgets): Likewise.
42699         * libio/iofgets_u.c (fgets_unlocked): Likewise.
42700         * libio/iofgetws.c (fgetws): Likewise.
42701         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
42702         * libio/iogetdelim.c (_IO_getdelim): Likewise.
42703         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
42704         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
42705         * locale/findlocale.c (_nl_find_locale): Likewise.
42706         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
42707         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
42708         Likewise.
42709         * locale/setlocale.c (setlocale): Likewise.
42710         * login/programs/pt_chown.c (main): Likewise.
42711         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
42712         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
42713         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
42714         (mmap, mmap64, mremap, munmap): Likewise.
42715         * math/e_exp2l.c: Likewise.
42716         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
42717         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
42718         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
42719         * math/s_catan.c (__catan): Likewise.
42720         * math/s_catanf.c (__catanf): Likewise.
42721         * math/s_catanh.c (__catanh): Likewise.
42722         * math/s_catanhf.c (__catanhf): Likewise.
42723         * math/s_catanhl.c (__catanhl): Likewise.
42724         * math/s_catanl.c (__catanl): Likewise.
42725         * math/s_ccosh.c (__ccosh): Likewise.
42726         * math/s_ccoshf.c (__ccoshf): Likewise.
42727         * math/s_ccoshl.c (__ccoshl): Likewise.
42728         * math/s_cexp.c (__cexp): Likewise.
42729         * math/s_cexpf.c (__cexpf): Likewise.
42730         * math/s_cexpl.c (__cexpl): Likewise.
42731         * math/s_clog10.c (__clog10): Likewise.
42732         * math/s_clog10f.c (__clog10f): Likewise.
42733         * math/s_clog10l.c (__clog10l): Likewise.
42734         * math/s_clog.c (__clog): Likewise.
42735         * math/s_clogf.c (__clogf): Likewise.
42736         * math/s_clogl.c (__clogl): Likewise.
42737         * math/s_csin.c (__csin): Likewise.
42738         * math/s_csinf.c (__csinf): Likewise.
42739         * math/s_csinh.c (__csinh): Likewise.
42740         * math/s_csinhf.c (__csinhf): Likewise.
42741         * math/s_csinhl.c (__csinhl): Likewise.
42742         * math/s_csinl.c (__csinl): Likewise.
42743         * math/s_csqrt.c (__csqrt): Likewise.
42744         * math/s_csqrtf.c (__csqrtf): Likewise.
42745         * math/s_csqrtl.c (__csqrtl): Likewise.
42746         * math/s_ctan.c (__ctan): Likewise.
42747         * math/s_ctanf.c (__ctanf): Likewise.
42748         * math/s_ctanh.c (__ctanh): Likewise.
42749         * math/s_ctanhf.c (__ctanhf): Likewise.
42750         * math/s_ctanhl.c (__ctanhl): Likewise.
42751         * math/s_ctanl.c (__ctanl): Likewise.
42752         * math/w_pow.c: Likewise.
42753         * math/w_powf.c: Likewise.
42754         * math/w_powl.c: Likewise.
42755         * math/w_scalb.c (sysv_scalb): Likewise.
42756         * math/w_scalbf.c (sysv_scalbf): Likewise.
42757         * math/w_scalbl.c (sysv_scalbl): Likewise.
42758         * misc/error.c (error_tail): Likewise.
42759         * misc/pselect.c (__pselect): Likewise.
42760         * nis/nis_callback.c (__nis_create_callback): Likewise.
42761         * nis/nis_call.c (__nisfind_server): Likewise.
42762         * nis/nis_creategroup.c (nis_creategroup): Likewise.
42763         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
42764         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
42765         * nis/nis_getservlist.c (nis_getservlist): Likewise.
42766         * nis/nis_lookup.c (nis_lookup): Likewise.
42767         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
42768         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
42769         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
42770         * nis/nis_xdr.c (xdr_endpoint): Likewise.
42771         * nis/nss_compat/compat-grp.c (getgrent_next_file)
42772         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
42773         * nis/nss_compat/compat-initgroups.c (add_group)
42774         (internal_getgrent_r): Likewise.
42775         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
42776         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
42777         * nis/nss_compat/compat-spwd.c (getspent_next_file)
42778         (internal_getspnam_r): Likewise.
42779         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
42780         (_nss_nis_getaliasbyname_r): Likewise.
42781         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
42782         (_nss_nis_getntohost_r): Likewise.
42783         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
42784         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
42785         (_nss_nis_getgrgid_r): Likewise.
42786         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
42787         (internal_nis_gethostent_r, internal_gethostbyname2_r)
42788         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
42789         (_nss_nis_gethostbyname4_r): Likewise.
42790         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
42791         (initgroups_netid): Likewise.
42792         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
42793         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
42794         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
42795         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
42796         (_nss_nis_getprotobynumber_r): Likewise.
42797         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
42798         (_nss_nis_getsecretkey): Likewise.
42799         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
42800         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
42801         (_nss_nis_getpwuid_r): Likewise.
42802         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
42803         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
42804         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
42805         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
42806         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
42807         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
42808         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
42809         Likewise.
42810         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
42811         (_nss_nisplus_getntohost_r): Likewise.
42812         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
42813         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
42814         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
42815         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
42816         Likewise.
42817         * nis/nss_nisplus/nisplus-initgroups.c
42818         (_nss_nisplus_initgroups_dyn): Likewise.
42819         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
42820         (_nss_nisplus_getnetbyaddr_r): Likewise.
42821         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
42822         (_nss_nisplus_getprotobynumber_r): Likewise.
42823         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
42824         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
42825         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
42826         Likewise.
42827         * nis/nss_nisplus/nisplus-service.c
42828         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
42829         (_nss_nisplus_getservbyport_r): Likewise.
42830         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
42831         (_nss_nisplus_getspnam_r): Likewise.
42832         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
42833         Likewise.
42834         * nscd/aicache.c (addhstaiX): Likewise.
42835         * nscd/cache.c (cache_search, prune_cache): Likewise.
42836         * nscd/connections.c (register_traced_file, send_ro_fd)
42837         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
42838         (main_loop_epoll): Likewise.
42839         * nscd/grpcache.c (addgrbyX): Likewise.
42840         * nscd/hstcache.c (addhstbyX): Likewise.
42841         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42842         * nscd/mem.c (gc, mempool_alloc): Likewise.
42843         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
42844         (addinnetgrX): Likewise.
42845         * nscd/nscd-client.h (__nscd_acquire_maplock)
42846         (__nscd_drop_map_ref): Likewise.
42847         * nscd/nscd_getai.c (__nscd_getai): Likewise.
42848         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
42849         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
42850         Likewise.
42851         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
42852         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
42853         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
42854         (__nscd_get_map_ref): Likewise.
42855         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
42856         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
42857         Likewise.
42858         * nscd/pwdcache.c (addpwbyX): Likewise.
42859         * nscd/selinux.c (preserve_capabilities): Likewise.
42860         * nscd/servicescache.c (addservbyX): Likewise.
42861         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
42862         * posix/fnmatch.c (fnmatch): Likewise.
42863         * posix/getopt.c (_getopt_internal_r): Likewise.
42864         * posix/glob.c (glob, glob_in_dir): Likewise.
42865         * posix/wordexp.c (exec_comm_child): Likewise.
42866         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
42867         (getanswer_r, gaih_getanswer_slice): Likewise.
42868         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
42869         * resolv/res_init.c: Likewise.
42870         * resolv/res_mkquery.c (res_nmkquery): Likewise.
42871         * resolv/res_query.c (__libc_res_nquery): Likewise.
42872         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
42873         Likewise.
42874         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
42875         * stdio-common/perror.c (perror): Likewise.
42876         * stdio-common/printf_fp.c (___printf_fp): Likewise.
42877         * stdio-common/tmpnam.c (tmpnam): Likewise.
42878         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
42879         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
42880         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
42881         Likewise.
42882         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
42883         * stdlib/putenv.c (putenv): Likewise.
42884         * stdlib/setenv.c (__add_to_environ): Likewise.
42885         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
42886         * stdlib/strtol_l.c (INTERNAL): Likewise.
42887         * string/memmem.c (memmem): Likewise.
42888         * string/strerror.c (strerror): Likewise.
42889         * string/strnlen.c (__strnlen): Likewise.
42890         * string/test-memmem.c (simple_memmem): Likewise.
42891         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
42892         * sunrpc/pm_getport.c (__get_socket): Likewise.
42893         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
42894         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
42895         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
42896         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
42897         Likewise.
42898         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
42899         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
42900         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
42901         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
42902         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
42903         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
42904         Likewise.
42905         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
42906         Likewise.
42907         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
42908         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
42909         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
42910         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
42911         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
42912         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
42913         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
42914         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
42915         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
42916         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
42917         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
42918         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
42919         Likewise.
42920         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
42921         Likewise.
42922         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
42923         Likewise.
42924         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
42925         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42926         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
42927         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
42928         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
42929         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
42930         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
42931         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
42932         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
42933         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
42934         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
42935         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42936         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
42937         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
42938         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42939         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
42940         Likewise.
42941         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
42942         Likewise.
42943         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
42944         Likewise.
42945         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
42946         Likewise.
42947         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42948         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42949         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
42950         Likewise.
42951         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
42952         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
42953         * sysdeps/posix/opendir.c (__opendirat): Likewise.
42954         * sysdeps/posix/sleep.c: Likewise.
42955         * sysdeps/posix/tempname.c: Likewise.
42956         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
42957         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
42958         Likewise.
42959         * sysdeps/powerpc/powerpc32/dl-machine.h
42960         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
42961         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
42962         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
42963         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
42964         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
42965         Likewise.
42966         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
42967         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
42968         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
42969         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
42970         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
42971         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
42972         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
42973         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
42974         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42975         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
42976         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
42977         (elf_machine_lazy_rel): Likewise.
42978         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
42979         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
42980         (elf_machine_lazy_rel): Likewise.
42981         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
42982         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
42983         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
42984         * sysdeps/unix/grantpt.c (grantpt): Likewise.
42985         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
42986         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
42987         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
42988         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42989         Likewise.
42990         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
42991         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
42992         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
42993         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
42994         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
42995         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
42996         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
42997         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
42998         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
42999         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
43000         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
43001         Likewise.
43002         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
43003         (__posix_fallocate64_l64): Likewise.
43004         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
43005         (posix_fallocate): Likewise.
43006         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
43007         Likewise.
43008         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43009         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
43010         (getifaddrs_internal): Likewise.
43011         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
43012         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
43013         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
43014         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
43015         * sysdeps/unix/sysv/linux/posix_fallocate64.c
43016         (__posix_fallocate64_l64): Likewise.
43017         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
43018         Likewise.
43019         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
43020         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
43021         (__get_clockfreq): Likewise.
43022         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
43023         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
43024         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
43025         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43026         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43027         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
43028         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
43029         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
43030         Likewise.
43031         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
43032         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
43033         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
43034         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
43035         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
43036         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
43037         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
43038         Likewise.
43039         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
43040         (posix_fallocate): Likewise.
43041         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43042         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
43043         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
43044         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
43045         (elf_machine_rela, elf_machine_rela_relative)
43046         (elf_machine_lazy_rel): Likewise.
43047         * time/asctime.c (asctime_internal): Likewise.
43048         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
43049         * time/tzset.c (__tzset_parse_tz): Likewise.
43050         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
43051         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
43052         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
43053         * wcsmbs/wcsmbsload.h: Likewise.
43055         [BZ #15894]
43056         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
43058         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
43059         (arena_get2): Remove THREAD_STATS conditionals.
43060         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
43061         (__malloc_stats, int): Likewise.
43063 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
43065         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
43066         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
43068         * manual/setjmp.texi: Fix typos/grammar errors.
43070         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
43071         Only return early when n is <= 0.  Delete unused return statement.
43073         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
43074         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
43075         * debug/tst-longjmp_chk3.c: New file.
43077         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
43078         (test_main): Replace code with set_fortify_handler call.
43079         * debug/test-strcpy_chk.c: Likewise.
43080         * debug/tst-chk1.c: Likewise.
43081         * debug/tst-longjmp_chk.c: Likewise.
43082         * test-skeleton.c: Include fcntl.h & paths.h
43083         (set_fortify_handler): Define.
43085         * debug/tst-longjmp_chk.c: Add header comment and include
43086         ../test-skeleton.c.
43087         (do_test): Mark static.
43088         (TEST_FUNCTION): Define.
43090         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
43091         (IP_PMTUDISC_INTERFACE): Likewise.
43092         (IP_MULTICAST_IF): Likewise.
43093         (IP_MULTICAST_TTL): Likewise.
43094         (IP_MULTICAST_LOOP): Likewise.
43095         (IP_ADD_MEMBERSHIP): Likewise.
43096         (IP_DROP_MEMBERSHIP): Likewise.
43097         (IP_UNBLOCK_SOURCE): Likewise.
43098         (IP_BLOCK_SOURCE): Likewise.
43099         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
43100         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
43101         (IP_MSFILTER): Likewise.
43102         (MCAST_JOIN_GROUP): Likewise.
43103         (MCAST_BLOCK_SOURCE): Likewise.
43104         (MCAST_UNBLOCK_SOURCE): Likewise.
43105         (MCAST_LEAVE_GROUP): Likewise.
43106         (MCAST_JOIN_SOURCE_GROUP): Likewise.
43107         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
43108         (MCAST_MSFILTER): Likewise.
43109         (IP_MULTICAST_ALL): Likewise.
43110         (IP_UNICAST_IF): Likewise.
43112         * timezone/Makefile: Delete $(have-ksh) check.
43113         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
43114         * timezone/tzselect.ksh: Add +x mode bits.
43116         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
43117         (ANON_INODE_FS_MAGIC): Likewise.
43118         (BDEVFS_MAGIC): Likewise.
43119         (BINFMTFS_MAGIC): Likewise.
43120         (BTRFS_TEST_MAGIC): Likewise.
43121         (CRAMFS_MAGIC_WEND): Likewise.
43122         (DEBUGFS_MAGIC): Likewise.
43123         (ECRYPTFS_SUPER_MAGIC): Likewise.
43124         (EXT3_SUPER_MAGIC): Likewise.
43125         (EXT4_SUPER_MAGIC): Likewise.
43126         (FUTEXFS_SUPER_MAGIC): Likewise.
43127         (HOSTFS_SUPER_MAGIC): Likewise.
43128         (HUGETLBFS_MAGIC): Likewise.
43129         (MINIX3_SUPER_MAGIC): Likewise.
43130         (MTD_INODE_FS_MAGIC): Likewise.
43131         (NILFS_SUPER_MAGIC): Likewise.
43132         (OPENPROM_SUPER_MAGIC): Likewise.
43133         (PIPEFS_MAGIC): Likewise.
43134         (PSTOREFS_MAGIC): Likewise.
43135         (QNX6_SUPER_MAGIC): Likewise.
43136         (RAMFS_MAGIC): Likewise.
43137         (REISERFS_SUPER_MAGIC_STRING): Likewise.
43138         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
43139         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
43140         (SECURITYFS_MAGIC): Likewise.
43141         (SELINUX_MAGIC): Likewise.
43142         (SMACK_MAGIC): Likewise.
43143         (SOCKFS_MAGIC): Likewise.
43144         (SQUASHFS_MAGIC): Likewise.
43145         (STACK_END_MAGIC): Likewise.
43146         (TMPFS_MAGIC): Likewise.
43147         (USBDEVICE_SUPER_MAGIC): Likewise.
43148         (V9FS_MAGIC): Likewise.
43149         (XENFS_SUPER_MAGIC): Likewise.
43150         (CRAMFS_MAGIC): Fix typo in comment.
43151         (EXT2_SUPER_MAGIC): Update comment.
43152         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
43154 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
43156         * sysdeps/arm: Move directory from ports/sysdeps/arm.
43157         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
43158         * sysdeps/unix/sysv/linux/arm: Move directory from
43159         ports/sysdeps/unix/sysv/linux/arm.
43160         * README: Update listing for arm-*-linux-gnueabi.
43162         * README: Remove mention of am33.
43164 2014-02-07  Roland McGrath  <roland@hack.frob.com>
43166         * bits/sigset.h (__sigemptyset): Use a statement expression rather
43167         than the comma operator, to avoid "rhs of comma has no effect"
43168         compiler warnings.
43169         (__sigfillset, __sigandset, __sigorset): Likewise.
43170         * include/signal.h (__sigemptyset): Likewise.
43171         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
43173 2014-02-07  Allan McRae  <allan@archlinux.org>
43175         * version.h (RELEASE): Set to "development".
43176         (VERSION): Set to "2.19.90"
43177         * NEWS: Add 2.20 section.
43179 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
43181         [BZ #16529]
43182         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
43184 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
43186         * manual/contrib.texi: Update entry for Carlos O'Donell,
43187         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
43189 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
43191         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
43193         * sysdeps/unix/sysv/linux/kernel-features.h
43194         [__LINUX_KERNEL_VERSION >= 0x020621]
43195         (__ASSUME_PROC_PID_TASK_COMM): Define.
43197 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43199         [BZ #16398]
43200         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
43201         conversion when destination buffer does not have enough space.
43202         * libio/tst-ftell-partial-wide.c: New test case.
43203         * libio/Makefile (tests): Add tst-ftell-partial-wide.
43205         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
43206         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
43207         Leonard and Allan McRae.
43209 2014-02-04  David S. Miller  <davem@davemloft.net>
43211         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
43212         32-bit.
43214 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
43217         New file
43218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
43219         New file
43220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
43221         New file.
43222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
43223         New file.
43224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
43225         New file.
43226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
43227         New file.
43228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
43229         New file.
43230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
43231         New file.
43232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
43233         New file.
43234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
43235         New file.
43236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
43237         New file.
43238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
43239         New file.
43240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
43241         New file.
43243 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43245         * nptl/shlib-versions: Change powerpc*le start to 2.17.
43246         * shlib-versions: Likewise.
43248 2014-02-04  Roland McGrath  <roland@hack.frob.com>
43249             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43251         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
43252         (abilist-pattern): New variable, set to %-le.abilist.
43254         * Makerules (abilist-pattern): New variable.
43255         (vpath): Use $(abilist-pattern) in place of %.abilist.
43256         (check-abi-% pattern rule): Likewise.
43257         (check-abi, update-abi): Likewise.
43259 2014-02-04  Eric Wong  <normalperson@yhbt.net>
43261         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43263 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
43265         * manual/startup.texi: Add next, previous, and top entries for
43266         the `Program Arguments' and `Environment Variables' nodes.
43268 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
43270         * manual/macros.texi: Add comments before MTASC-safety macros.
43272         * manual/users.texi: Document MTASC-safety properties.
43274         * manual/threads.texi (pthread_key_create, pthread_key_delete)
43275         (pthread_getspecific, pthread_setspecific): Format with
43276         @deftypefun, and add @safety note.
43277         * manual/signal.texi: Move comments that analyze the above
43278         functions to their home place.
43280 2014-02-03  Allan McRae  <allan@archlinux.org>
43282         * po/sl.po: Update Slovenian translation from translation project.
43284 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
43286         * manual/time.texi (timegm): Add missing blank after @c.
43287         Reported by Joseph Myers <joseph@codesourcery.com>.
43289 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
43291         * manual/check-safety.sh: New.
43292         * manual/Makefile ($(objpfx)stamp-summary): Run it.
43294         * manual/terminal.texi: Document MTASC-safety properties.
43296         * manual/filesys.texi: Document MTASC-safety properties.
43298         * manual/errno.texi: Document MTASC-safety properties.
43300         * manual/intro.texi: Document safety identifiers and
43301         conditionals.
43303         * manual/string.texi (wcstok): Fix prototype.
43304         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
43306         * manual/time.texi: Document MTASC-safety properties.
43308         * manual/string.texi: Document MTASC-safety properties.
43310         * manual/threads.texi: Document MTASC-safety properties.
43312         * manual/stdio.texi: Document MTASC-safety properties.
43314         * manual/syslog.texi: Document MTASC-safety properties.
43316         * manual/sysinfo.texi: Document MTASC-safety properties.
43318         * manual/startup.texi: Document MTASC-safety properties.
43320         * manual/socket.texi: Document MTASC-safety properties.
43322         * manual/signal.texi: Document MTASC-safety properties.
43324 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
43326         * manual/setjmp.texi: Document MTASC-safety properties.
43328         * manual/search.texi: Document MTASC-safety properties.
43330         * manual/resource.texi: Document MTASC-safety properties.
43332         * manual/process.texi: Document MTASC-safety properties.
43334         * manual/platform.texi: Document MTASC-safety properties.
43336         * manual/pipe.texi: Document MTASC-safety properties.
43338         * manual/pattern.texi: Document MTASC-safety properties.
43340         * manual/message.texi: Document MTASC-safety properties.
43342         [BZ #12751]
43343         * manual/memory.texi: Document MTASC-safety properties.
43345         * manual/math.texi: Document MTASC-safety properties.
43347         * manual/locale.texi: Document MTASC-safety properties.
43349         * manual/llio.texi: Document MTASC-safety properties.
43351         * manual/libdl.texi: New.
43353         * manual/lang.texi: Document MTASC-safety properties.
43355         * manual/job.texi: Document MTASC-safety properties.
43357         * manual/getopt.texi: Document MTASC-safety properties.
43359         * manual/ctype.texi: Document MTASC-safety properties.
43361 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
43363         [BZ #16046]
43364         * csu/libc-tls.c (static_map): Remove variable.
43365         (__libc_setup_tls): Use main executable's link map for TLS data.
43366         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
43367         casing for LM_ID_BASE and GL(dl_nns).
43368         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
43369         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
43370         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
43371         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
43372         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
43373         member.
43374         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
43375         l_phnum members.
43377 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
43379         * manual/debug.texi: Document MTASC-safety properties.
43381 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
43383         [BZ #16510]
43384         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
43385         of __x86_64__ when disabling x87 inline functions.
43387 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
43389         * manual/charset.texi: Document MTASC-safety properties.
43391         * manual/crypt.texi: Document MTASC-safety properties.
43393         * manual/conf.texi: Document MTASC-safety properties.
43395         * manual/arith.texi: Document MTASC-safety properties.
43397         * manual/argp.texi: Document MTASC-safety properties.
43399         * manual/macros.texi: Introduce macros to document multi
43400         thread, asynchronous signal and asynchronous cancellation
43401         safety properties.
43402         * manual/intro.texi: Introduce the properties themselves.
43404 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43406         * sysdeps/sh/sh4/Makefile: New file.
43408 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
43410         * math/gen-libm-test.pl ($srcdir): New variable.
43411         ($auto_input): Use it.
43413 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43415         [BZ #16506]
43416         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
43417         access beyond array bounds when parsing netgroups file.
43419         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
43420         the old buffer before realloc.
43422 2014-01-27  Allan McRae  <allan@archlinux.org>
43424         * po/fr.po: Update French translation from translation project.
43426 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43428         * sysdeps/sh/libm-test-ulps: Regenerate.
43430 2014-01-24  David S. Miller  <davem@davemloft.net>
43432         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
43434 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43436         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
43437         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
43439 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43441         [BZ #16474]
43442         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
43443         string pointers after reallocation.
43445 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43447         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
43448         __SH4A__ instead of __SH_FPU_ANY__.
43450 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43452         * sysdeps/sh/fpu_control.h: New file.
43453         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
43454         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
43455         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
43456         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
43457         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
43458         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
43459         * sysdeps/sh/sys/ucontext.h: Remove.
43460         * sysdeps/sh/sys: Remove directory.
43462 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43464         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
43465         s390/sys/ucontext.h.
43466         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
43467         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
43469 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
43471         [BZ #15605]
43472         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
43474 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43476         [BZ#16431]
43477         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
43478         Adjust the vDSO correctly for internal calls.
43479         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
43481 2014-01-20  Allan McRae  <allan@archlinux.org>
43483         * po/ca.po: Update Catalan translation from translation project.
43485 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
43487         * sysdeps/s390/sotruss-lib.c: New file.
43489 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43491         [BZ#16430]
43492         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
43493         (__GI___gettimeofday): Alias for a different internal symbol to avoid
43494         local calls issues by not having a PLT stub required for IFUNC calls.
43495         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
43497 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
43499         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
43500         * math/test-fpucw-static.c: Likewise.
43502 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
43504         [BZ #16453]
43505         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
43507 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43509         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
43510         implementation for powerpc.
43512 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
43514         [BZ #14782]
43515         * sysdeps/posix/system.c (__libc_system): Do not enable
43516         asynchronous cancellation.
43518 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43520         [BZ #16427]
43521         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
43522         handling only for numbers special also in the IEEE case.
43524 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43526         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
43528 2014-01-11  Allan McRae  <allan@archlinux.org>
43530         * po/bg.po: Update Bulgarian translation from translation project.
43532         * po/de.po: Update German translation from translation project.
43534 2014-01-10  Roland McGrath  <roland@hack.frob.com>
43536         * sysdeps/generic/gcc-compat.h: New file.
43538 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43540         * benchtests/asin-inputs: Correct slow inputs.
43541         * benchtests/acos-inputs: Likewise.
43543 2014-01-10  Allan McRae  <allan@archlinux.org>
43545         * po:sv.po: Update Swedish translation from translation project.
43547         * po/vi.po: Update Vietnamese translation from translation project.
43549         * po/eo.po: Update Esperanto translation from translation project.
43551         * po/cs.po: Update Czech translation from translation project.
43553         * po/nl.po: Update Dutch translation from translation project.
43555         * po/pl.po: Update Polish translation from translation project.
43557         * po/ru.po: Update Russian translation from translation project.
43559         * po/uk.po: Update Ukrainian translation from translation project.
43561 2014-01-08  Brooks Moses  <bmoses@google.com>
43563         * elf/dl-load.c: Fix comment typo.
43565 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
43567         * po/header.pot: Rename to...
43568         * po/pot.header: ... this.
43569         * po/Makefile: Use pot.header.
43571 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
43572             Maxim Kuvyrkov  <maxim@kugelworks.com>
43574         [BZ #16394]
43575         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
43576         SRC and DEST against LEN.
43578 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43580         [BZ #16414]
43581         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
43582         implementation.
43583         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
43585 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43587         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43589 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
43591         [BZ #16408]
43592         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
43593         for large positive arguments.
43595 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
43597         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
43599         * math/auto-libm-test-in: Mark various tests with
43600         xfail-rounding:ldbl-128ibm.
43601         * math/auto-libm-test-out: Regenerated.
43603         [BZ #16407]
43604         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
43605         Increase overflow threshold.
43607 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
43609         [BZ #14286]
43610         * stdio-common/vfprintf.c: Check for integer overflow.
43612 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43614         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
43615         the first argument and return value of __tls_get_addr_internal.
43617 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43619         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
43620         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
43622 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43624         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
43625         * sysdeps/s390/rtld-global-offsets.sym: New file.
43626         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
43627         GLIBC_2.19 symbol.
43628         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
43629         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
43630         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
43631         ... this.
43632         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
43633         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
43634         ... this.
43635         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
43636         Regenerate.
43637         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
43638         Regenerate.
43639         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
43640         halfs of GPRs for high_gprs contexts.
43641         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
43642         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
43643         field.
43644         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
43645         uc_flags field.
43646         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
43647         64 bit versions:
43648         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
43649         for high GPRs (uc_high_gprs) and for future extensions
43650         (__reserved).
43651         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
43652         for future extensions (__reserved).
43653         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
43654         64 bit versions:
43655         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
43656         SC_HIGHGPRS offset definition.
43657         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
43658         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
43660         * Versions.def: Add GLIBC_2.19 for libpthread.
43661         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
43662         siglongjmp for libpthread with GLIBC_2.19 symver.
43663         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
43664         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
43665         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
43666         * sysdeps/s390/__longjmp.c: New file.
43667         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
43668         * sysdeps/s390/longjmp.c: New file.
43669         * sysdeps/s390/setjmp.S: New file.
43670         * sysdeps/s390/sigjmp.S: New file.
43671         * sysdeps/s390/v1-longjmp.c: New file.
43672         * sysdeps/s390/v1-setjmp.h: New file.
43673         * sysdeps/s390/v1-sigjmp.c: New file.
43674         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
43675         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
43676         GLIBC_2.19 version.
43677         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
43678         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
43679         versioned symbols for ____longjmp_chk.
43680         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
43681         Likewise.
43682         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
43683         Regenerate.
43684         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43685         Regenerate.
43686         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
43687         Regenerate.
43688         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43689         Regenerate.
43690         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
43691         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
43692         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
43693         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
43694         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
43695         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
43696         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
43697         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
43698         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
43699         * sysdeps/s390/rtld-__longjmp.c: New file.
43700         * sysdeps/s390/rtld-setjmp.S: New file.
43702 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
43704         [BZ #16400]
43705         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
43706         Return -__logl (x) for small positive arguments without evaluating
43707         a polynomial.
43709 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
43711         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
43712         Rename to ...
43713         (__ptrace_peeksiginfo_args): ... this.
43714         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43715         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43716         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43718 2014-01-06  Allan McRae  <allan@archlinux.org>
43720         * inet/netinet/in.h: Fix typo in comment.
43722 2014-01-05  Andreas Jaeger  <aj@suse.de>
43724         * sysdeps/i386/fpu/libm-test-ulps: Update.
43726 2014-01-05  Allan McRae  <allan@archlinux.org>
43728         * po/libc.pot: Regenerated.
43730         * malloc/memusagestat.c: Fix gettext call formatting.
43732 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
43734         * nscd/nscd.c: Improve usage() output.
43736 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
43738         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
43739         * sysdeps/unix/sysv/linux/configure: Regenerated.
43740         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
43741         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
43743 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
43745         [BZ #16390]
43746         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
43747         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
43749 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43751         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
43752         extra tokens at end of #undef directive.
43753         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
43754         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
43755         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
43757 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
43759         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
43761         * math/auto-libm-test-in: Mark various tests with
43762         xfail-rounding:ldbl-128ibm.
43763         * math/auto-libm-test-out: Regenerated.
43765 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
43767         [BZ #16386]
43768         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
43769         numbers with subnormal high part when calculating exponent.
43771         [BZ #16385]
43772         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
43773         fabs.
43775         [BZ #16384]
43776         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
43777         M_LN2l.
43778         (__ieee754_acoshl): Use __log1pl not __log1p.
43780 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
43782         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
43783         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
43784         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
43785         (grow_heap, heap_trim, _int_new_arena, get_free_list)
43786         (reused_arena, arena_get2): Convert to GNU style.
43787         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
43788         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
43789         (memalign_check, __malloc_set_state): Likewise.
43790         * malloc/mallocbug.c (main): Likewise.
43791         * malloc/malloc.c (__malloc_assert, malloc_init_state)
43792         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
43793         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
43794         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
43795         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
43796         (__posix_memalign, malloc_info): Likewise.
43797         * malloc/malloc.h: Likewise.
43798         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
43799         (mallochook, memalignhook, reallochook, mabort): Likewise.
43800         * malloc/mcheck.h: Likewise.
43801         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
43802         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
43803         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
43804         * malloc/morecore.c (__default_morecore): Likewise.
43805         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
43806         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
43807         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
43808         (print_and_abort): Likewise.
43809         * malloc/obstack.h: Likewise.
43810         * malloc/set-freeres.c (__libc_freeres): Likewise.
43811         * malloc/tst-mallocstate.c (main): Likewise.
43812         * malloc/tst-mtrace.c (main): Likewise.
43813         * malloc/tst-realloc.c (do_test): Likewise.
43815 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43817         [BZ #16366]
43818         * nscd/netgroupcache.c (do_notfound): New function.
43819         (addgetnetgrentX): Use it.
43821         [BZ # 16365]
43822         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
43823         NSS_STATUS_NOTFOUND.
43825 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
43827         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
43828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43830 2014-01-01  Allan McRae  <allan@archlinux.org>
43832         * scripts/update-copyrights: Update configure input file suffix.
43834         * NEWS: Update copyright year.
43835         * catgets/gencat.c: Likewise.
43836         * csu/version.c: Likewise.
43837         * debug/catchsegv.sh: Likewise.
43838         * debug/pcprofiledump.c: Likewise.
43839         * debug/xtrace.sh: Likewise.
43840         * elf/ldconfig.c: Likewise.
43841         * elf/ldd.bash.in: Likewise.
43842         * elf/pldd.c: Likewise.
43843         * elf/sotruss.ksh: Likewise.
43844         * elf/sprof.c: Likewise.
43845         * iconv/iconv_prog.c: Likewise.
43846         * iconv/iconvconfig.c: Likewise.
43847         * locale/programs/locale.c: Likewise.
43848         * locale/programs/localedef.c: Likewise.
43849         * login/programs/pt_chown.c: Likewise.
43850         * malloc/memusage.sh: Likewise.
43851         * malloc/memusagestat.c: Likewise.
43852         * malloc/mtrace.pl: Likewise.
43853         * manual/libc.texinfo: Likewise.
43854         * nscd/nscd.c: Likewise.
43855         * nss/getent.c: Likewise.
43856         * nss/makedb.c: Likewise.
43857         * posix/getconf.c: Likewise.
43858         * scripts/test-installation.pl: Likewise.
43860         * All files with FSF copyright notices: Update copyright dates
43861         using scripts/update-copyrights.
43862         * intl/plural.c: Regenerated.
43863         * locale/programs/charmap-kw.h: Likewise.
43864         * locale/programs/locfile-kw.h: Likewise.
43866 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
43868         * sysdeps/unix/sysv/linux/configure: Regenerated.
43869         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
43870         the linux/fanotify.h header.
43871         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
43872         HAVE_LINUX_FANOTIFY_H is defined.
43874 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
43876         * benchtests/cos-inputs: New inputs.
43877         * benchtests/sin-inputs: Likewise.
43879         * benchtests/atan-inputs: New inputs. Fix name of multiple
43880         precision fallback inputs.
43882         * benchtests/atanh-inputs: New inputs.
43883         * benchtests/tanh-inputs: Likewise.
43885         * benchtests/acosh-inputs: New inputs.
43886         * benchtests/asinh-inputs: Likewise.
43888         * benchtests/cosh-inputs: New inputs.
43889         * benchtests/sinh-inputs: Likewise.
43891         * benchtests/acos-inputs: Add more inputs.
43892         * benchtests/asin-inputs: Likewise.
43894 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
43896         [BZ #16375]
43897         * manual/arith.texi: Fix spelling.
43898         * manual/charset.texi: Likewise.
43899         * manual/errno.texi: Likewise.
43900         * manual/filesys.texi: Likewise.
43901         * manual/lang.texi: Likewise.
43902         * manual/llio.texi: Likewise.
43903         * manual/locale.texi: Likewise.
43904         * manual/message.texi: Likewise.
43905         * manual/resource.texi: Likewise.
43906         * manual/search.texi: Likewise.
43907         * manual/setjmp.texi: Likewise.
43908         * manual/stdio.texi: Likewise.
43909         * manual/string.texi: Likewise.
43910         * manual/sysinfo.texi: Likewise.
43911         * manual/time.texi: Likewise.
43913 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
43915         * po/sl.po: New file.
43917 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
43919         * .gitignore: Add core/.gdbinit/.gdb_history.
43921 2013-12-27  Allan McRae  <allan@archlinux.org>
43923         [BZ #16369]
43924         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
43925         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
43927 2013-12-24  Brooks Moses  <bmoses@google.com>
43929         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
43930         all compilers that claim C++98 compliance, not just GCC.
43931         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
43932         Likewise.
43934 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
43936         * NEWS: Restore accidentally deleted bug-fix entries.
43938 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
43939             Ondřej Bílka  <neleai@seznam.cz>
43941         [BZ #15073]
43942         * malloc/malloc.c (_int_free): Perform sanity check only if we
43943         have_lock.
43945 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
43947         [BZ #12986]
43948         * manual/stdio.texi (String Input Conversions): Clarify that character
43949         classes are not supported.
43951 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43953         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43955 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
43957         [BZ #16337]
43958         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
43959         Calculate results for small negative arguments directly rather
43960         than using reflection formula with special underflow handling.
43962         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
43963         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
43964         sysdeps/unix/bsd/bsd4.4/syscalls.list.
43965         (fchflags): Likewise.
43966         (revoke): Likewise.
43967         (setlogin): Likewise.
43968         (sigaltstack): Likewise.
43969         (wait4): Likewise.
43970         (sigblock): Remove.
43971         (sigsetmask): Likewise.
43972         (wait3): Likewise.
43973         (waitpid): Likewise.
43974         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
43975         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
43976         file.
43977         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
43978         * sysdeps/unix/bsd/Makefile: ... here.
43979         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
43980         * sysdeps/unix/bsd/Versions: ... here.
43981         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
43982         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
43983         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
43984         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
43985         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
43986         * sysdeps/unix/bsd/sigblock.c: ... here.
43987         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
43988         * sysdeps/unix/bsd/sigsetmask.c: ... here.
43989         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
43990         * sysdeps/unix/bsd/sigvec.c: ... here.
43991         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
43992         * sysdeps/unix/bsd/tcdrain.c: ... here.
43993         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
43994         * sysdeps/unix/bsd/tcgetattr.c: ... here.
43995         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
43996         * sysdeps/unix/bsd/tcsetattr.c: ... here.
43997         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
43998         * sysdeps/unix/bsd/wait.c: ... here.
43999         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
44000         * sysdeps/unix/bsd/wait3.c: ... here.
44001         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
44002         * sysdeps/unix/bsd/waitpid.c: ... here.
44004 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
44006         [BZ #16356]
44007         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
44008         round-to-nearest for [!USE_AS_EXPM1L].
44009         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
44010         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
44011         more tests of exp and exp10.  Expect some exp10 tests to miss
44012         exceptions or fail in directed rounding modes.
44013         * math/auto-libm-test-out: Regenerated.
44014         * math/libm-test.inc (exp10_tonearest_test_data): New array.
44015         (exp10_test_tonearest): New function.
44016         (exp10_towardzero_test_data): New array.
44017         (exp10_test_towardzero): New function.
44018         (exp10_downward_test_data): New array.
44019         (exp10_test_downward): New function.
44020         (exp10_upward_test_data): New array.
44021         (exp10_test_upward): New function.
44022         (main): Call the new functions.
44023         * sysdeps/i386/fpu/libm-test-ulps: Update.
44024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44026 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
44028         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
44029         asinh, atan, atan2, atanh, cbrt, cos and cosh.
44030         * math/auto-libm-test-out: Regenerated.
44031         * math/libm-test.inc (acosh_test_data): Add more tests.
44032         (atanh_test_data): Likewise.
44033         (ceil_test_data): Likewise.
44034         (copysign_test_data): Likewise.
44035         * sysdeps/i386/fpu/libm-test-ulps: Update.
44036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44038         * timezone/checktab.awk: Update from tzcode 2013i.
44039         * timezone/private.h: Likewise.
44040         * timezone/scheck.c: Likewise.
44041         * timezone/tzfile.h: Likewise.
44042         * timezone/tzselect.ksh: Likewise.
44043         * timezone/zdump.c: Likewise.
44044         * timezone/zic.c: Likewise.
44046         * math/auto-libm-test-in: Add tests of cpow.
44047         * math/auto-libm-test-out: Regenerated.
44048         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
44049         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44050         mpc_cc_c.
44051         (func_calc_desc): Add mpc_cc_c union field.
44052         (test_functions): Add cpow.
44053         (special_fill_2pi): New function.
44054         (special_real_inputs): Add 2pi.
44055         (calc_generic_results): Handle mpc_cc_c.
44056         * sysdeps/i386/fpu/libm-test-ulps: Update.
44057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44059         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
44060         csqrt, ctan and ctanh.
44061         * math/auto-libm-test-out: Regenerated.
44062         * math/libm-test.inc (TEST_COND_x86_64): New macro.
44063         (TEST_COND_x86): Likewise.
44064         (ccos_test_data): Use AUTO_TESTS_c_c.
44065         (ccosh_test_data): Likewise.
44066         (cexp_test_data): Likewise.
44067         (clog_test_data): Likewise.
44068         (csqrt_test_data): Likewise.
44069         (ctan_test_data): Likewise.
44070         (ctan_tonearest_test_data): Likewise.
44071         (ctan_towardzero_test_data): Likewise.
44072         (ctan_downward_test_data): Likewise.
44073         (ctan_upward_test_data): Likewise.
44074         (ctanh_test_data): Likewise.
44075         (ctanh_tonearest_test_data): Likewise.
44076         (ctanh_towardzero_test_data): Likewise.
44077         (ctanh_downward_test_data): Likewise.
44078         (ctanh_upward_test_data): Likewise.
44079         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44080         mpc_c_c.
44081         (func_calc_desc): Add mpc_c_c union field.
44082         (FUNC_mpc_c_c): New macro.
44083         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
44084         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
44085         ctanh.
44086         (special_fill_min_subnorm_p120): New function.
44087         (special_real_inputs): Add min_subnorm_p120.
44088         (calc_generic_results): Handle mpc_c_c.
44089         * sysdeps/i386/fpu/libm-test-ulps: Update.
44090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44092 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44094         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
44095         (do_sin_slow): New functions.
44096         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
44097         (cslow2, csloww1, csloww2): Use the new functions.
44099         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
44100         Use M to change sign of result instead of X.  Assume X is
44101         positive.
44102         (csloww1): Likewise.
44103         (__sin): Adjust.
44104         (__cos): Adjust.
44106         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
44107         arguments A and DA.
44108         (__sin): Adjust.
44109         (__cos): Likewise.
44111         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
44112         (__cos): Likewise.
44113         (sloww1): Don't adjust sign of DX.
44114         (csloww1): Likewise.
44115         (sloww2): Use X directly and don't adjust sign of DX.
44116         (csloww2): Likewise.
44118 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
44120         * math/auto-libm-test-in: Add tests of cabs and carg.
44121         * math/auto-libm-test-out: Regenerated.
44122         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
44123         (carg_test_data): Likewise.
44124         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44125         mpc_c_f.
44126         (func_calc_desc): Add mpc_c_f union field.
44127         (test_functions): Add cabs and carg.
44128         (calc_generic_results): Handle mpc_c_f.
44130         * sysdeps/powerpc/powerpc32/libgcc-compat.S
44131         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
44132         as a macro and a compat symbol.
44133         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
44134         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
44135         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
44136         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
44137         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
44138         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
44139         not use .hidden.
44140         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
44141         Likewise.
44142         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
44143         Likewise.
44144         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
44145         Likewise.
44146         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
44147         Likewise.
44148         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
44149         Likewise.
44150         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
44151         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
44152         from GLIBC_2.3.2.
44154 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44156         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44158 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
44160         * manual/texinfo.tex: Update to version 2013-11-26.10 with
44161         trailing whitespace removed.
44162         * scripts/config.guess: Update to version 2013-11-29.
44163         * scripts/config.sub: Update to version 2013-10-01.
44165         * math/auto-libm-test-in: Add tests of sincos.
44166         * math/auto-libm-test-out: Regenerated.
44167         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
44168         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44169         mpfr_f_11.
44170         (func_calc_desc): Add mpfr_f_11 union field.
44171         (test_functions): Add sincos.
44172         (calc_generic_results): Handle mpfr_f_11.
44173         * sysdeps/i386/fpu/libm-test-ulps: Update.
44174         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44176 2013-12-19  Andreas Schwab  <schwab@suse.de>
44178         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
44179         CALL_MCOUNT.
44180         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
44181         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
44182         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
44184 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
44186         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
44187         * sysdeps/i386/fpu/libm-test-ulps: Update.
44188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44190         [BZ #16293]
44191         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
44192         round-to-nearest mode when using frndint.
44193         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
44194         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
44195         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
44196         Likewise.
44197         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
44198         sinh test to fail.
44199         * math/auto-libm-test-out: Regenerated.
44200         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
44201         (TEST_COND_x86): Likewise.
44202         (expm1_tonearest_test_data): New array.
44203         (expm1_test_tonearest): New function.
44204         (expm1_towardzero_test_data): New array.
44205         (expm1_test_towardzero): New function.
44206         (expm1_downward_test_data): New array.
44207         (expm1_test_downward): New function.
44208         (expm1_upward_test_data): New array.
44209         (expm1_test_upward): New function.
44210         (main): Run the new test functions.
44211         * sysdeps/i386/fpu/libm-test-ulps: Update.
44212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44214         * include/features.h: Update comment documenting feature test
44215         macros.  Mention _DEFAULT_SOURCE in comment.
44216         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
44217         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
44218         _BSD_SOURCE and _SVID_SOURCE.
44219         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
44220         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
44221         !_SVID_SOURCE]: Likewise.
44222         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
44223         (__USE_POSIX_IMPLICITLY): Define.
44224         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
44225         (_POSIX_SOURCE): Undefine and redefine.
44226         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
44227         (_POSIX_C_SOURCE): Likewise.
44228         * manual/creature.texi (_DEFAULT_SOURCE): Document.
44229         (Feature Test Macros): Update documentation of default features.
44231 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
44233         * benchtests/Makefile: Add bench-strtok.
44234         * benchtests/bench-strtok.c: New file: strtok benchtest.
44236 2013-12-19  Allan McRae  <allan@archlinux.org>
44238         * manual/install.texi: Suppress menu for plain text output.
44239         * INSTALL: Regenerated.
44241 2013-12-18  Brooks Moses  <bmoses@google.com>
44243         [BZ #15846]
44244         * misc/getauxval.c: Include errno.h.
44245         (__getauxval): Set errno to ENOENT if the requested type is not
44246         found.
44247         * misc/sys/auxv.h (getauxval): Document that it may set errno;
44248         don't declare with __attribute_const__.
44249         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
44250         * manual/startup.texi: Document that getauxval sets errno.
44252 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
44254         * math/auto-libm-test-in: Add tests of jn and yn.
44255         * math/auto-libm-test-out: Regenerated.
44256         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
44257         (yn_test_data): Likewise.
44258         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44259         mpfr_if_f.
44260         (func_calc_desc): Add mpfr_if_f union field.
44261         (FUNC_mpfr_if_f): New macro.
44262         (test_functions): Add jn and yn.
44263         (calc_generic_results): Assert type of second input for
44264         mpfr_ff_f.  Handle mpfr_if_f.
44265         (output_for_one_input_case): Disable all checking for arguments
44266         fitting floating-point types in case of an integer argument.
44267         * sysdeps/i386/fpu/libm-test-ulps: Update.
44268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
44271         Don't expect fegetround reference in libm.so.
44273 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44275         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
44276         $(config-cflags-nofma).
44278 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
44280         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
44281         * math/auto-libm-test-out: Regenerated.
44283         [BZ #16338]
44284         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
44285         to determine exponent and adjust argument to have exponent of -1.
44286         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
44287         log2.
44288         * math/auto-libm-test-out: Regenerated.
44289         * sysdeps/i386/fpu/libm-test-ulps: Update.
44290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44292 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
44294         * manual/probes.texi: Remove cases when per-thread arenas are
44295         disabled.
44297 2013-12-18  Andreas Schwab  <schwab@suse.de>
44299         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
44300         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
44301         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
44302         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
44303         * sysdeps/i386/i686/multiarch/Makefile: Update.
44304         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
44306 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
44308         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
44309         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
44311 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
44313         [BZ #15968]
44314         Support TZ transition times < 00:00:00.
44315         This is needed for version-3 tz-format files; it supports time
44316         stamps past 2037 for America/Godthab (the only entry in the tz
44317         database for which this change is relevant).
44318         * manual/time.texi (TZ Variable): Document transition times
44319         from -167:59:59 through -00:00:01.
44320         * time/tzset.c (tz_rule): Time of day is now signed.
44321         (__tzset_parse_tz): Parse negative time of day.
44323         Document TZ transition times >= 25:00:00.
44324         * manual/time.texi (TZ Variable): Document transition times from
44325         25:00:00 through 167:59:59.  These are already supported, and this
44326         support will help with version-3 tz-format files.
44328         * manual/time.texi (TZ Variable): Modernize North America example
44329         to reflect current (i.e., 2007-and-later) daylight saving rules.
44331         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
44333 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
44335         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
44336         * sysdeps/unix/bsd/bits/stat.h: Likewise.
44337         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
44338         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
44339         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
44340         * sysdeps/unix/bsd/bsdstat.h: Likewise.
44341         * sysdeps/unix/bsd/clock.c: Likewise.
44342         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
44343         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
44344         * sysdeps/unix/bsd/init-posix.c: Likewise.
44345         * sysdeps/unix/bsd/poll.c: Likewise.
44346         * sysdeps/unix/bsd/ptsname.c: Likewise.
44347         * sysdeps/unix/bsd/seekdir.c: Likewise.
44348         * sysdeps/unix/bsd/setegid.c: Likewise.
44349         * sysdeps/unix/bsd/seteuid.c: Likewise.
44350         * sysdeps/unix/bsd/setgid.c: Likewise.
44351         * sysdeps/unix/bsd/setrgid.c: Likewise.
44352         * sysdeps/unix/bsd/setruid.c: Likewise.
44353         * sysdeps/unix/bsd/setsid.c: Likewise.
44354         * sysdeps/unix/bsd/setuid.c: Likewise.
44355         * sysdeps/unix/bsd/sigaction.c: Likewise.
44356         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
44357         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
44358         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
44359         * sysdeps/unix/bsd/telldir.c: Likewise.
44360         * sysdeps/unix/bsd/times.c: Likewise.
44361         * sysdeps/unix/bsd/usleep.c: Likewise.
44363         * misc/Makefile (install-lib): Remove libbsd-compat.a.
44364         ($(objpfx)libbsd-compat.a): Remove rule.
44366         * include/features.h (__FAVOR_BSD): Do not define.
44367         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
44368         features conflicting with POSIX.
44369         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
44370         (_BSD_SOURCE): Remove description of not being a subset of other
44371         feature test macros.
44372         * manual/job.texi (getpgrp): Do not document BSD version.
44373         (getpgid): Do not document by reference to BSD getpgrp.
44374         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
44375         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
44376         * signal/signal.h [__FAVOR_BSD]: Likewise.
44377         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
44378         instead of making contents conditional on [__FAVOR_BSD].
44379         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
44381 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44383         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44385 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
44387         [BZ #16314]
44388         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
44389         values below 2**-450, not 2**-500.
44390         * math/auto-libm-test-in: Don't allow spurious underflow from
44391         hypot.
44392         * math/auto-libm-test-out: Regenerated.
44394         [BZ #16316]
44395         [BZ #16330]
44396         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
44397         values of ha and hb and sort them after adjusting subnormal
44398         arguments.
44399         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
44400         Likewise.
44401         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
44402         values of ea and eb and sort them after adjusting subnormal
44403         arguments.
44404         * math/auto-libm-test-in: Do not expect some hypot tests of
44405         subnormals to fail.  Add more hypot tests.
44406         * math/auto-libm-test-out: Regenerated.
44408 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44410         [BZ #13304]
44411         * sysdeps/sh/s_fma.c: New file.
44412         * sysdeps/sh/s_fmaf.c: New file.
44413         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
44414         version.
44415         * sysdeps/sh/Implies: Add sh/soft-fp.
44417 2013-12-16  Roland McGrath  <roland@hack.frob.com>
44419         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
44420         level of indirection to members `objname', `errstring', `malloced'.
44421         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
44422         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
44423         it as the __longjmp argument (just pass 1 instead).
44424         (_dl_catch_error): Initialize C with argument pointers and address of
44425         volatile local ERRCODE rather than copying values out of C at return.
44427 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
44429         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
44430         * math/auto-libm-test-out: Regenerated.
44431         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
44432         (hypot_test_data): Likewise.
44433         (pow_test_data): Likewise.
44434         (pow_tonearest_test_data): Likewise.
44435         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44436         mpfr_ff_f.
44437         (func_calc_desc): Add mpfr_ff_f union field.
44438         (FUNC_mpfr_ff_f): New macro.
44439         (test_functions): Add atan2, hypot and pow.
44440         (special_fill_min): New function.
44441         (special_fill_minus_min): Likewise.
44442         (special_fill_min_subnorm): Likewise.
44443         (special_fill_minus_min_subnorm): Likewise.
44444         (special_real_inputs): Add min, -min, min_subnorm and
44445         -min_subnorm.
44446         (calc_generic_results): Handle mpfr_ff_f.
44447         * sysdeps/i386/fpu/libm-test-ulps: Update.
44448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44450 2013-12-16  Will Newton  <will.newton@linaro.org>
44452         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
44453         (Aligned Memory Blocks): Add documentation for aligned_alloc
44454         and suggest it as an alternative to posix_memalign.
44455         (Hooks for Malloc): Document __memalign_hook is also called
44456         for aligned_alloc.  (Summary of Malloc): Add summary for
44457         aligned alloc.  Document __memalign_hook is also called
44458         for aligned_alloc.
44460 2013-12-16  Will Newton  <will.newton@linaro.org>
44462         * manual/memory.texi (Malloc Examples): Clarify default
44463         alignment documentation.  Suggest posix_memalign rather
44464         than memalign or valloc.
44465         (Aligned Memory Blocks): Remove suggestion to use memalign
44466         or valloc.  Remove obsolete comment about BSD.
44467         Document memalign errno values and mark the function obsolete.
44468         Document posix_memalign returned error codes.  Mark valloc
44469         as obsolete.  (Hooks for Malloc): __memalign_hook is also
44470         called for posix_memalign and valloc.
44471         (Summary of Malloc): Add posix_memalign to function summary.
44472         __memalign_hook is also called for posix_memalign and valloc.
44474 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44476         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
44477         TAYLOR_SIN.
44478         (__sin): Adjust.
44479         (__cos): Likewise.
44480         (sloww): Use mynumber union.  Expand ternary operator into
44481         if-else statements.
44482         (cslow): use mynumber union.
44484 2013-12-16  Allan McRae  <allan@archlinux.org>
44486         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
44487         * configure: Regenerated.
44489         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
44491         [BZ #14120]
44492         * configure.ac: Added --enable-maintainer-mode. Check for
44493         autoconf when enabled.
44494         * configure: Regenerated.
44496         * nscd/nscd.service: New file.
44497         * nscd/nscd.tmpfiles: New file.
44499 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
44501         [BZ #12100]
44502         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
44503         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
44504         * sysdeps/x86_64/multiarch/strstr.c: ... here.
44505         (strstr): Add __strstr_sse2_unaligned ifunc.
44506         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
44507         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
44508         (strcasestr): Remove __strcasestr_sse42 ifunc.
44509         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
44510         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
44511         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
44513 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44515         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
44516         * sysdeps/sh/bits/fenv.h: ... here.
44517         * sysdeps/sh/sh4/fpu/bits: Remove directory.
44519 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44521         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
44523         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
44524         hypotf multiarch implementations.
44525         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
44526         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
44527         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
44528         multiarch hypot for PPC64.
44529         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
44530         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
44531         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
44532         multiarch hypotf for PPC64.
44534         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
44535         modff multiarch implementations.
44536         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
44537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
44538         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
44539         multiarch modf for PPC64.
44540         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
44541         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
44542         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
44543         multiarch modff for PPC64.
44545         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
44546         and logl multiarch implementations.
44547         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
44548         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
44549         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
44550         multiarch logb for PPC64.
44551         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
44552         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
44553         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
44554         multiarch logb for PPC64.
44555         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
44556         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
44557         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
44558         multiarch logb for PPC64.
44560         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
44561         isinff multiarch implementation.
44562         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
44563         file.
44564         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
44565         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
44566         multiarch isinf for PPC64.
44567         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
44568         file.
44569         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
44570         multiarch isinff for PPC64.
44572         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
44573         finitef multiarch implementation.
44574         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
44575         file.
44576         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
44577         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
44578         multiarch finite for PPC64.
44579         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
44580         file.
44581         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
44582         multiarch finitef for PPC64.
44584         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
44585         lrint multiarch implementation.
44586         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
44587         file.
44588         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
44589         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
44590         multiarch llrint for PPC64.
44591         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
44592         multiarch lrint for PPC64.
44594         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
44595         copysignf multiarch implementation.
44596         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
44597         file.
44598         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
44599         file.
44600         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
44601         multiarch copysign for PPC64.
44602         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
44603         multiarch copysignf for PPC64.
44605         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
44606         multiarch implementation.
44607         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
44608         file.
44609         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
44610         file.
44611         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
44612         file.
44613         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
44614         file.
44615         multiarch llround for PPC64.
44616         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
44617         multiarch trunc for PPC64.
44618         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
44619         multiarch truncf for PPC64.
44621         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
44622         multiarch implementation.
44623         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
44624         file.
44625         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
44626         file.
44627         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
44628         file.
44629         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
44630         file.
44631         multiarch llround for PPC64.
44632         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
44633         multiarch round for PPC64.
44634         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
44635         multiarch roundf for PPC64.
44637         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
44638         multiarch implementation.
44639         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
44640         file.
44641         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
44642         file.
44643         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
44644         file.
44645         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
44646         file.
44647         multiarch llround for PPC64.
44648         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
44649         multiarch floor for PPC64.
44650         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
44651         multiarch floorf for PPC64.
44653         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
44654         multiarch implementation.
44655         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
44656         file.
44657         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
44658         file.
44659         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
44660         file.
44661         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
44662         file.
44663         multiarch llround for PPC64.
44664         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
44665         multiarch ceil for PPC64.
44666         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
44667         multiarch ceilf for PPC64.
44669         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
44670         multiarch implementation.
44671         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
44672         file.
44673         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
44674         file.
44675         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
44676         file.
44677         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
44678         multiarch llround for PPC64.
44679         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
44680         multiarch lround for PPC64.
44682         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
44683         multiarch implementation.
44684         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
44685         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
44686         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
44687         file.
44688         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
44689         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
44690         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
44691         multiarch isnan for PPC64.
44692         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
44693         multiarch isnanf for PPC64.
44695         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
44696         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
44697         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
44698         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
44699         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
44700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
44702         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
44703         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44704         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44705         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44707         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
44708         multiarch implementations.
44709         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44710         (__libc_ifunc_impl_list): Likewise.
44711         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
44712         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
44713         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
44714         multiarch stpcpy for PPC64.
44716         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
44717         multiarch implementations.
44718         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44719         (__libc_ifunc_impl_list): Likewise.
44720         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
44721         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
44722         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
44723         multiarch strcpy for PPC64.
44725         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
44726         redefine function name.
44727         (_wordcopy_fwd_dest_aligned): Likewise.
44728         (_wordcopy_bwd_aligned): Likewise.
44729         (_wordcopy_bwd_dest_aligned): Likewise.
44730         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
44731         multiarch implementations.
44732         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44733         (__libc_ifunc_impl_list): Likewise.
44734         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
44735         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
44736         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
44737         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
44738         multiarch wcscpy for PPC64.
44740         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
44741         multiarch implementations.
44742         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44743         (__libc_ifunc_impl_list): Likewise.
44744         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
44745         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
44746         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
44747         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
44748         multiarch wcscpy for PPC64.
44750         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
44751         multiarch implementations.
44752         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44753         (__libc_ifunc_impl_list): Likewise.
44754         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
44755         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
44756         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
44757         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
44758         multiarch wcsrchr for PPC64.
44760         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
44761         multiarch implementations.
44762         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44763         (__libc_ifunc_impl_list): Likewise.
44764         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
44765         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
44766         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
44767         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
44768         multiarch wcschr for PPC64.
44770         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
44771         multiarch implementations.
44772         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44773         (__libc_ifunc_impl_list): Likewise.
44774         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
44775         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
44776         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
44777         multiarch strchrnul for PPC64.
44779         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
44780         implementations.
44781         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44782         (__libc_ifunc_impl_list): Likewise.
44783         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
44784         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
44785         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
44786         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
44787         strchr for PPC64.
44789         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
44790         implementations.
44791         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44792         (__libc_ifunc_impl_list): Likewise.
44793         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
44794         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
44795         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
44796         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
44797         strncmp for PPC64.
44799         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
44800         multiarch implementations.
44801         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44802         (__libc_ifunc_impl_list): Likewise.
44803         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
44804         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
44805         strncasecmp for PPC64.
44806         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
44807         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
44808         multiarch strncasecmp_l for PPC64.
44810         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
44811         multiarch implementations.
44812         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44813         (__libc_ifunc_impl_list): Likewise.
44814         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
44815         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
44816         multiarch strcasecmp for PPC64.
44817         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
44818         file.
44819         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
44820         multiarch strcasecmp_l for PPC64.
44822         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
44823         implementations.
44824         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44825         (__libc_ifunc_impl_list): Likewise.
44826         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
44827         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
44828         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
44829         strnlen for PPC64.
44831         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
44832         implementations.
44833         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44834         (__libc_ifunc_impl_list): Likewise.
44835         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
44836         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
44837         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
44838         strlen for PPC64.
44840         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
44841         implementations.
44842         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44843         (__libc_ifunc_impl_list): Likewise.
44844         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
44845         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
44846         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
44847         rawmemrchr for PPC64.
44849         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
44850         implementation.
44851         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44852         (__libc_ifunc_impl_list): Likewise.
44853         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
44854         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
44855         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
44856         memrchr for PPC64.
44858         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
44859         implementation.
44860         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44861         (__libc_ifunc_impl_list): Likewise.
44862         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
44863         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
44864         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
44865         memchr for PPC64.
44867         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
44868         implementation.
44869         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44870         (__libc_ifunc_impl_list): Likewise.
44871         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
44872         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
44873         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
44874         mempcpy for PPC64.
44876         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
44877         avoid cretion of __bzero symbol.
44878         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
44879         Likewise.
44880         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
44881         Likewise.
44882         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
44883         Likewise.
44884         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
44885         multiarch implementations.
44886         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44887         (__libc_ifunc_impl_list): Likewise.
44888         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
44889         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
44890         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
44891         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
44892         bzero for PPC32.
44893         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
44894         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
44895         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
44896         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
44897         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
44898         memset for PPC64.
44899         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
44901         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
44902         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
44903         implementations.
44904         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44905         (__libc_ifunc_impl_list): Likewise.
44906         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
44907         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
44908         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
44909         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
44910         memcmp for PPC64.
44912         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
44913         multiarch for POWER/PPC64.
44914         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
44915         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
44916         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
44917         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
44918         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
44919         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
44920         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
44921         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
44922         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
44923         memcpy for PPC64.
44925         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
44926         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
44927         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
44928         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
44929         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
44930         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
44931         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
44932         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
44933         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
44934         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
44935         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
44936         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
44937         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
44938         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
44939         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
44940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
44941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
44942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
44943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
44944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
44945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
44946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
44948 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44950         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
44952 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44954         * benchtests/Makefile (bench): Add exp2 and log2.
44955         (LDLIBS-bench-exp2): Add -lm.
44956         (LDLIBS-bench-log2): Likewise.
44957         * benchtests/exp2-inputs: New inputs file.
44958         * benchtests/log2-inputs: New inputs file.
44959         * benchtests/log-inputs: Add new inputs.
44960         * benchtests/tan-inputs: Likewise.
44962 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44964         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
44965         definition...
44966         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
44967         (csloww2): ... from here.
44969         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
44970         instead of structures.
44971         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
44972         (POLYNOMIAL): Likewise.
44973         (TAYLOR_SLOW): Likewise.
44974         (__sin): Likewise.
44975         (__cos): Likewise.
44976         (slow1): Likewise.
44977         (slow2): Likewise.
44978         (sloww): Likewise.
44979         (sloww1); Likewise.
44980         (sloww2): Likewise.
44981         (bsloww1): Likewise.
44982         (bsloww2): Likewise.
44983         (cslow2): Likewise.
44984         (csloww): Likewise.
44985         (csloww1): Likewise.
44986         (csloww2): Likewise.
44988 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
44990         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
44991         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
44992         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
44993         * malloc/hooks.c (realloc_check): Likewise.
44995         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
44996         * malloc/arena.c: Remove PER_THREAD conditional.
44997         [!PER_THREAD]: Remove code.
44998         (ptmalloc_unlock_all2): Likewise.
44999         (ptmalloc_init): Likewise.
45000         (_int_new_arena): Likewise.
45001         (arena_get2): Likewise.
45002         * malloc/hooks.c (__malloc_get_state): Likewise.
45003         (__malloc_set_state): Likewise.
45004         * malloc/malloc.c: Likewise.
45005         (struct malloc_state): Likewise.
45006         (struct malloc_par): Likewise.
45007         (__libc_realloc): Likewise.
45008         (__libc_mallopt): Likewise.
45010 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45012         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
45014 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
45016         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
45017         macro to a function.  Check for zero perturb_byte.
45018         (_int_malloc, _int_free): Remove zero perturb_byte checks.
45020         * malloc/malloc.c: (force_reg): Remove.
45021         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
45022         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
45023         force_reg by atomic_forced_read.
45024         * malloc/arena.c (ptmalloc_init): Likewise.
45025         * malloc/hooks.c (top_check): Likewise.
45027 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45029         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45031 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
45033         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45035 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
45037         * math/auto-libm-test-in: Add tests of lgamma.
45038         * math/auto-libm-test-out: Regenerated.
45039         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
45040         (M_LOG_2_SQRT_PIl): Likewise.
45041         (lgamma_test_data): Use AUTO_TESTS_f_f1.
45042         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45043         mpfr_f_f1.
45044         (func_calc_desc): Add mpfr_f_f1 union field.
45045         (ARGS1): New macro.
45046         (ARGS2): Likewise.
45047         (ARGS3): Likewise.
45048         (ARGS4): Likewise.
45049         (RET1): Likewise.
45050         (RET2): Likewise.
45051         (CALC): Likewise.
45052         (FUNC): Likewise.
45053         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
45054         (test_functions): Add lgamma.
45055         (calc_generic_results): Handle mpfr_f_f1.
45056         * sysdeps/i386/fpu/libm-test-ulps: Update.
45057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45059 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45061         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
45062         __mpn_add_n for PowerPC64/POWER7.
45063         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
45064         __mpn_sub_n for PowerPC64/POWER7.
45066         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
45067         __mpn_addmul_1 for PowerPC64.
45068         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
45069         __mpn_submul_1 for PowerPC64.
45070         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
45071         for PowerPC64.
45072         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
45073         for PowerPC64.
45075 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
45077         [BZ #15089]
45078         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
45080 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45082         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
45084         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
45085         add multiarch folders.
45086         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
45087         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
45088         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
45089         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
45090         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
45091         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
45092         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
45093         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
45094         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
45095         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
45096         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
45097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
45098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
45099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
45100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
45101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
45102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
45104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
45105         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
45106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
45107         New file.
45108         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
45109         New file.
45110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
45111         multiarch __ieee754_hypot for PowerPC32.
45112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
45113         New file.
45114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
45115         New file.
45116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
45117         multiarch __ieee754_hypotf for PowerPC32.
45119         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
45120         long_double_symbol only if __logbl is defined.
45121         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
45122         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
45123         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
45124         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
45125         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
45126         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
45127         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
45128         path for implementation.
45129         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
45130         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
45131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
45132         logb, and logbl multiarch implementations for PowerPC32.
45133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
45134         file.
45135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
45136         file.
45137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
45138         multiarch logb for PowerPC32.
45139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
45140         file.
45141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
45142         file.
45143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
45144         multiarch logbf for PowerPC32.
45145         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
45146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
45147         file.
45148         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
45149         multiarch logbl implementation for PowerPC32.
45151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
45152         and modff multiarch implementations.
45153         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
45154         New file.
45155         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
45156         New file.
45157         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
45158         multiarch modf for PowerPC32.
45159         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
45160         New file.
45161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
45162         New file.
45163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
45164         multiarch modff for PowerPC32.
45166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
45167         and lrintf multiarch implementations.
45168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
45169         New file.
45170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
45171         New file.
45172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
45173         multiarch lrint for PowerPC32.
45174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
45175         file: multiarch lrintf for PowerPC32.
45177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
45178         and lroundf multiarch implementations.
45179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
45180         New file.
45181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
45182         New file.
45183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
45184         New file.
45185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
45186         multiarch lround for PowerPC32.
45187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
45188         file: multiarch lroundf for PowerPC32.
45190         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
45191         copysign and copysignf multiarch implementations.
45192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
45193         New file.
45194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
45195         New file.
45196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
45197         file: multiarch copysign for PowerPC32.
45198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
45199         file: multiarch copysignf for PowerPC32.
45201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
45202         and truncf multiarch implementations.
45203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
45204         New file.
45205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
45206         file.
45207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
45208         multiarch trunc for PowerPC32.
45209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
45210         New file.
45211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
45212         New file.
45213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
45214         multiarch truncf for PowerPC32.
45216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
45217         and roundf multiarch implementations.
45218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
45219         New file.
45220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
45221         file.
45222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
45223         multiarch round for PowerPC32.
45224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
45225         New file.
45226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
45227         New file.
45228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
45229         multiarch roundf for PowerPC32.
45231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
45232         and floorf multiarch implementations.
45233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
45234         New file.
45235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
45236         file.
45237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
45238         multiarch floor for PowerPC32.
45239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
45240         New file.
45241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
45242         New file.
45243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
45244         multiarch floorf for PowerPC32.
45246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
45247         and ceilf multiarch implementations.
45248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
45249         New file.
45250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
45251         file.
45252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
45253         multiarch ceil for PowerPC32.
45254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
45255         New file.
45256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
45257         file.
45258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
45259         multiarch ceilf for PowerPC32.
45261         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
45262         is defined.
45263         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
45264         FINITEF is defined.
45265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
45266         and finitef multiarch implementations.
45267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
45268         New file.
45269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
45270         file.
45271         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
45272         multiarch finite for PowerPC32.
45273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
45274         New file.
45275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
45276         file: multiarch finitef for PowerPC32.
45278         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
45279         and isinff multiarch implementations.
45280         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
45281         file.
45282         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
45283         file.
45284         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
45285         multiarch isinf for PowerPC32.
45286         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
45287         New file.
45288         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
45289         multiarch isinff for PowerPC32.
45291         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
45292         alias when __isnan is defined.
45293         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
45294         and isnanf multiarch implementations.
45295         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
45296         file.
45297         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
45298         file.
45299         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
45300         file.
45301         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
45302         file.
45303         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
45304         multiarch isnan for PowerPC32.
45305         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
45306         New file.
45307         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
45308         New file.
45309         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
45310         multiarch isnanf for PowerPC32.
45312         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
45313         and sqrtf multiarch implementations.
45314         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
45315         file.
45316         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
45317         file.
45318         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
45319         multiarch sqrt for PowerPC32.
45320         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
45321         file.
45322         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
45323         file.
45324         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
45325         multiarch sqrtf for PowerPC32.
45327         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
45328         and llroundf multiarch implementations.
45329         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
45330         New file.
45331         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
45332         New file.
45333         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
45334         New file.
45335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
45336         file: multiarch llround for PowerPC32.
45337         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
45338         file: multiarch llroundf for PowerPC32.
45340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
45341         multiarch PowerPC32 fpu implementations.
45342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
45343         New file.
45344         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
45345         New file.
45346         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
45347         multiarch llrint for PowerPC32.
45348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
45349         New file.
45350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
45351         New file.
45352         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
45353         file.
45355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
45357         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
45358         file.
45359         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
45360         file.
45361         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
45362         file.
45363         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
45364         multiarch wordcopy for PPC32.
45365         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
45366         wordcopy objects.
45367         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45368         (__libc_ifunc_impl_list): Likewise.
45369         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
45370         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
45371         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
45372         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
45373         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
45374         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
45376         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
45377         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
45378         file.
45379         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
45380         file.
45381         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
45382         file.
45383         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
45384         multiarch wcscpy for PPC32.
45385         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
45386         multiarch objects.
45387         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45388         (__libc_ifunc_impl_list): Likewise.
45389         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
45390         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
45391         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
45392         sysdeps/powerpc/power6/wcscpy.c.
45394         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
45395         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
45396         file.
45397         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
45398         file.
45399         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
45400         file.
45401         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
45402         multiarch wcsrchr for PPC32.
45403         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
45404         multiarch objects.
45405         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45406         (__libc_ifunc_impl_list): Likewise.
45407         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
45408         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
45409         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
45410         sysdeps/powerpc/power6/wcsrchr.c.
45412         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
45413         file.
45414         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
45415         file.
45416         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
45417         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
45418         multiarch wcschr for PPc32.
45419         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
45420         multiarch objects.
45421         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45422         (__libc_ifunc_impl_list): Likewise.
45423         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
45424         * sysdeps/powerpc/power6/wcschr.c: ... to here.
45425         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
45426         sysdeps/powerpc/power6/wcschr.c.
45428         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
45429         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
45430         file.
45431         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
45432         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
45433         file: multiarch strchr for PPC32.
45434         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
45435         multiarch objects.
45436         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45437         (__libc_ifunc_impl_list): Likewise.
45439         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
45440         name.
45441         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
45442         file.
45443         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
45444         file.
45445         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
45446         multiarch strchrnul for PPC32.
45447         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
45448         multiarch objects.
45449         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45450         (__libc_ifunc_impl_list): Likewise.
45452         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
45453         file.
45454         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
45455         multiarch strncasecmp for PPC32.
45456         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
45457         file.
45458         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
45459         multiarch strncasecmp_l for PPC32.
45460         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
45461         strncasecmp multiarch objects.
45462         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45463         (__libc_ifunc_impl_list): Likewise.
45465         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
45466         file.
45467         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
45468         multiarch strncasecmp for PPC32.
45469         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
45470         New file.
45471         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
45472         multiarch strcasecmp_l for PPC32.
45473         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
45474         multiarch objects.
45475         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45476         (__libc_ifunc_impl_list): Likewise.
45478         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
45479         file.
45480         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
45481         file.
45482         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
45483         multiarch strncmp for PPC32.
45484         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
45485         multiarch objects.
45486         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45487         (__libc_ifunc_impl_list): Likewise.
45489         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
45490         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
45491         file.
45492         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
45493         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
45494         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
45495         multiarch objects.
45496         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45497         (__libc_ifunc_impl_list): Likewise.
45499         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
45500         file.
45501         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
45502         file.
45503         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
45504         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
45505         multiarch objects.
45506         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45507         (__libc_ifunc_impl_list): Likewise.
45509         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
45510         file.
45511         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
45512         file.
45513         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
45514         multiarch rawmemchr for PPC32.
45515         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
45516         multiarch objects.
45517         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45518         (__libc_ifunc_impl_list): Likewise.
45520         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
45521         file.
45522         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
45523         file.
45524         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
45525         file: memrchr multiarch for PPC32.
45526         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
45527         multiarch objects.
45528         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45529         (__libc_ifunc_impl_list): Likewise.
45531         * string/memchr.c (__memchr): Using macro to redefine symbol name.
45532         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
45533         file.
45534         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
45535         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
45536         multiarch memchr for PPC32.
45537         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
45538         multiarch objects.
45539         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45540         (__libc_ifunc_impl_list): Likewise.
45542         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
45543         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
45544         file.
45545         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
45546         file.
45547         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
45548         file: multiarch mempcpy for PPC32.
45549         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
45550         multiarch objects.
45551         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45552         (__libc_ifunc_impl_list): Likewise.
45554         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
45555         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
45556         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
45557         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
45558         multiarch bzero for PPC32.
45559         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
45560         file.
45561         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
45562         file.
45563         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
45564         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
45565         file: multiarch memset for PPC32.
45566         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
45567         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
45568         memset multiarch objects.
45569         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45570         (__libc_ifunc_impl_list): Likewise.
45572         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
45573         file.
45574         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
45575         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
45576         memcmp for PPC32.
45577         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
45578         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
45579         multiarch objects.
45580         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45581         (__libc_ifunc_impl_list): Likewise.
45583         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
45584         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
45585         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
45586         file.
45587         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
45588         file.
45589         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
45590         file.
45591         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
45592         multiarch memcpy for PPC32.
45593         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
45594         multiarch objects.
45595         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45596         (__libc_ifunc_impl_list): Likewise.
45598         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
45599         support multiarch for POWER/PPC32.
45600         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
45601         Likewise.
45602         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
45603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
45604         Implies file to make multiarch folder appers before the fpu and
45605         default folder for power4 configuration.
45607 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
45609         * scripts/bench.pl: Append volatile keyword to type.
45611 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45613         * sysdeps/sh/sotruss-lib.c: New file.
45614         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
45616 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45618         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45620 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
45622         [BZ #6810]
45623         * math/w_tgamma.c: Include <errno.h>.
45624         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
45625         * math/w_tgammaf.c: Include <errno.h>.
45626         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
45627         * math/w_tgammal.c: Include <errno.h>.
45628         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
45629         * math/auto-libm-test-in: Do not allow missing errno on tgamma
45630         underflow.  Add more tgamma tests.
45631         * math/auto-libm-test-out: Regenerated.
45632         * sysdeps/i386/fpu/libm-test-ulps: Update.
45633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45635         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
45636         sin, sinh, tan, tanh, tgamma, y0 and y1.
45637         * math/auto-libm-test-out: Regenerated.
45638         * math/libm-test.inc (TEST_COND_x86_64): New macro.
45639         (TEST_COND_x86): Likewise.
45640         (M_E2l): Remove macro.
45641         (M_E3l): Likewise.
45642         (M_2_SQRT_PIl): Likewise.
45643         (M_SQRT_PIl): Likewise.
45644         (M_1_DIV_El): Likewise.
45645         (log_test_data): Use AUTO_TESTS_f_f.
45646         (log10_test_data): Likewise.
45647         (log1p_test_data): Likewise.
45648         (log2_test_data): Likewise.
45649         (sin_test_data): Likewise.
45650         (sin_tonearest_test_data): Likewise.
45651         (sin_towardzero_test_data): Likewise.
45652         (sin_downward_test_data): Likewise.
45653         (sin_upward_test_data): Likewise.
45654         (sinh_test_data): Likewise.
45655         (sinh_tonearest_test_data): Likewise.
45656         (sinh_towardzero_test_data): Likewise.
45657         (sinh_downward_test_data): Likewise.
45658         (sinh_upward_test_data): Likewise.
45659         (tan_test_data): Likewise.
45660         (tan_tonearest_test_data): Likewise.
45661         (tan_towardzero_test_data): Likewise.
45662         (tan_downward_test_data): Likewise.
45663         (tan_upward_test_data): Likewise.
45664         (tanh_test_data): Likewise.
45665         (tgamma_test_data): Likewise.
45666         (y0_test_data): Likewise.
45667         (y1_test_data): Likewise.
45668         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
45669         (special_real_inputs): Add pi/4.
45670         * sysdeps/i386/fpu/libm-test-ulps: Update.
45671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45673 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45675         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
45676         "longjmp_target" static probes.
45677         (__longjmp): Rename to __longjmp_symbol.
45678         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
45679         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
45680         on which longjmp to generate.
45681         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
45682         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
45683         probe.
45684         (__sigsetjmp): Rename to __sigsetjmp_symbol.
45685         (__sigjmp_save): Rename to __sigjmp_save_symbol.
45686         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
45687         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
45688         and __sigjmp_save_symbol based on which sigsetjmp to generated.
45689         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
45690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
45691         __longjmp_symbol based on which __longjmp to generate.
45692         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
45693         probe.
45694         (setjmp): Rename to setjmp_symbol.
45695         (__sigsetjmp): Rename to __sigsetjmp_symbol.
45696         (_setjmp): Rename to _setjmp_symbol.
45697         (__sigsetjmp): Rename to __sigsetjmp_symbol.
45698         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
45699         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
45700         which setjmp to generate.
45701         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
45702         "longjmp_target" static probes.
45704 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45706         * benchtests/README: Add note about output arguments.
45707         * benchtests/bench-sincos.c: Remove file.
45708         * benchtests/sincos-inputs: New file.
45709         * scripts/bench.pl: Identify output arguments and define
45710         static variables for them.
45712         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
45714         [BZ #15941]
45715         * Makefile (INSTALL): Add install-plain.texi as the primary
45716         dependency.
45717         * manual/install-plain.texi: New file.
45718         * manual/install.texi: Include node directive only for
45719         non-plaintext output.
45721 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
45723         * stdlib/longlong.h: Update from GCC.
45725         [BZ #6807]
45726         [BZ #15901]
45727         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
45728         * math/w_j0f.c (y0f): Likewise.
45729         * math/w_j0l.c (__y0l): Likewise.
45730         * math/w_j1.c (y1): Likewise.
45731         * math/w_j1f.c (y1f): Likewise.
45732         * math/w_j1l.c (__y1l): Likewise.
45733         * math/w_jn.c (yn): Likewise.
45734         * math/w_jnf.c (ynf): Likewise.
45735         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
45736         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
45737         value for Bessel function domain errors outside _SVID_ mode.
45738         Adjust sign of return value for yn (negative integer, 0).
45739         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
45740         by zero in return for negative x and set sign appropriately for
45741         negative n.
45742         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
45743         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
45744         * math/libm-test.inc (y0_test_data): Add more tests and adjust
45745         expectations in error cases.
45746         (y1_test_data): Likewise.
45747         (yn_test_data): Likewise.
45748         * sysdeps/i386/fpu/libm-test-ulps: Update.
45749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45751 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45753         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
45754         "64" to "64-v1".  Add "64-v2".
45755         (abi-64-options): Rename to ...
45756         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
45757         (abi-64-condition): Rename to ...
45758         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
45759         (abi-64-ld-soname): Rename to ...
45760         (abi-64-v1-ld-soname): ... this.
45761         (abi-64-v2-options): Define.
45762         (abi-64-v2-condition): Likewise.
45763         (abi-64-v2-ld-soname): Likewise.
45764         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
45765         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
45766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
45767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
45768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
45770 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45771             Alan Modra  <amodra@gmail.com>
45773         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
45774         New versions for use with the ELFv2 ABI.
45775         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
45776         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
45777         declaration.
45778         (struct La_ppc64v2_retval): Likewise.
45779         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
45780         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
45781         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
45782         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
45783         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
45784         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
45785         Do not save or restore CR.
45786         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
45787         (_dl_profile_resolve): Do no save or restore CR.  Support extended
45788         return values for ELFv2 ABI.  Fix location of FPR return registers.
45789         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
45790         updated values for _CALL_ELF == 2.
45791         (La_regs, La_retval, int_retval): Likewise.
45793 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45795         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
45796         (FRAME_MIN_SIZE_PARM): Likewise.
45797         (FRAME_BACKCHAIN): Likewise.
45798         (FRAME_CR_SAVE): Likewise.
45799         (FRAME_LR_SAVE): Likewise.
45800         (FRAME_TOC_SAVE): Likewise.
45801         (FRAME_PARM_SAVE): Likewise.
45802         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
45803         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
45804         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
45805         (call_mcount_parm_offset): New macro.
45806         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
45807         (PROF): Use symbolic stack frame offsets.
45808         (TAIL_CALL_SYSCALL_ERROR): Likewise.
45809         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
45810         Redefine in terms of FRAME_MIN_SIZE.
45811         (_dl_runtime_resolve): Use symbolic stack frame offsets.
45812         (_dl_profile_resolve): Likewise.  Update comment.
45813         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
45814         symbols stack frame offsets.
45815         (__sigsetjmp): Likewise.
45816         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
45817         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
45818         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
45819         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
45821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
45822         (FRAME_BACKCHAIN): Remove.
45823         (FRAME_CR_SAVE): Likewise.
45824         (FRAME_LR_SAVE): Likewise.
45825         (FRAME_COMPILER_DW): Likewise.
45826         (FRAME_LINKER_DW): Likewise.
45827         (FRAME_TOC_SAVE): Likewise.
45828         (FRAME_PARM_SAVE): Likewise.
45829         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
45830         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
45831         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
45832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
45833         (CHECK_SP): Use symbolic stack frame offsets.
45834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
45835         zone" instead of caller's parameter save area for temp storage.
45836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
45837         Likewise.  Also, use symbolic stack frame offsets.
45838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
45839         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
45840         our own stack frame instead of the caller's.
45841         (__socket): Use symbolic stack frame offsets.
45843 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45844             Alan Modra  <amodra@gmail.com>
45846         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
45847         Define.
45848         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
45849         (PPC64_LOCAL_ENTRY_OFFSET): Define.
45850         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
45851         New function.
45852         (elf_machine_fixup_plt): Call it.
45853         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
45854         reloc arguments.
45855         (elf_machine_rela): Update call to elf_machine_plt_conflict.
45856         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
45857         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
45858         r2 before calling target.
45860 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45861             Alan Modra  <amodra@gmail.com>
45863         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
45864         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
45865         versions of macros to support ELFv2 ABI.
45866         (LOCALENTRY): New macro.
45867         (ENTRY, EALIGN): Use it.
45868         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
45869         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
45870         fall through into ENTRY entry point.
45871         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
45872         Only define if _CALL_ELF != 2.
45874         (elf_machine_matches_host): Verify ABI version matches.
45875         (RTLD_START): Use LOCALENTRY.
45876         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
45877         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
45878         (PLT_ENTRY_WORDS): New macro.
45879         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
45880         (elf_machine_runtime_setup): Support ELFv2 ABI.
45881         (elf_machine_fixup_plt): Likewise.
45882         (elf_machine_plt_conflict): Likewise.
45883         (resolve_ifunc): Likewise.
45884         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
45885         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
45886         Likewise.
45887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
45888         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
45889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45890         (makecontext): Support ELFv2 ABI.
45891         * elf/elf.h (EF_PPC64_ABI): Define.
45893 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45895         * sysdeps/powerpc/powerpc64/sysdep.h
45896         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
45897         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
45898         (ENTRY) [ASSEMBLER]: ... but instead here ...
45899         (EALIGN) [ASSEMBLER]: ... and here.
45900         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
45901         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
45902         (ENTRY_2) [!ASSEMBLER]: Use it.
45903         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
45904         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
45905         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
45906         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
45907         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
45908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
45909         Use PPC64_LOAD_FUNCPTR.
45911         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
45913 2013-12-04  Alan Modra  <amodra@gmail.com>
45915         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
45916         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
45917         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
45918         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
45920         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
45921         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
45922         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
45923         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
45924         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
45925         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
45927 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45930         (__makecontext): Fix incorrect CFI when backtracing out of
45931         context created via makecontext.
45932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
45933         (__setcontext): Fix incorrect CFI during switch to new context.
45934         (__novec_setcontext): Likewise.
45936 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
45938         [BZ #4772]
45939         * time/strptime_l.c (__strptime_internal): Allow modifiers
45940         in strptime.
45941         * time/tst-strptime.c (day_tests): Add testcase.
45943 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45945         * scripts/bench.pl: Skip over blank lines.
45947 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
45949         [BZ #926]
45950         * manual/time.texi (Calendar Time): Clarify what timezone functions
45951         use.
45953 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45955         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45957 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
45959         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
45960         implementation.
45961         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
45962         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
45963         * debug/memset_chk.c (__memset_chk): Likewise.
45964         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
45965         * debug/strncpy_chk.c: Likewise.
45967 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
45969         [BZ #15268]
45970         [BZ #15425]
45971         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
45972         (__ieee754_exp): For possibly underflowing results, check size of
45973         result and force underflow exception if required.
45974         * math/auto-libm-test-in: Add more tests of exp.
45975         * math/auto-libm-test-out: Regenerated.
45976         * sysdeps/i386/fpu/libm-test-ulps: Update.
45977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45979         [BZ #16283]
45980         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
45981         * math/w_exp2f.c (__exp2f): Likewise.
45982         * math/w_exp2l.c (__exp2l): Likewise.
45983         * math/auto-libm-test-in: Do not allow missing errno on exp2
45984         underflow.
45985         * math/auto-libm-test-out: Regenerated.
45987 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
45989         [BZ #16274]
45990         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
45991         handle filename validation.
45992         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
45993         (do_open): Delete.
45995 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
45997         [BZ #6786]
45998         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
45999         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
46000         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
46001         <float.h>.
46002         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
46003         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
46004         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
46005         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
46006         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
46007         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
46008         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
46009         * math/auto-libm-test-in: Don't allow missing errno from erfc.
46010         Add more erfc tests.
46011         * math/auto-libm-test-out: Regenerated.
46012         * sysdeps/i386/fpu/libm-test-ulps: Update.
46013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46015         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
46016         exp2, expm1, j0 and j1.
46017         * math/auto-libm-test-out: Regenerated.
46018         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
46019         (erfc_test_data): Likewise.
46020         (exp_test_data): Likewise.
46021         (exp_tonearest_test_data): Likewise.
46022         (exp_towardzero_test_data): Likewise.
46023         (exp_downward_test_data): Likewise.
46024         (exp_upward_test_data): Likewise.
46025         (exp10_test_data): Likewise.
46026         (exp2_test_data): Likewise.
46027         (expm1_test_data): Likewise.
46028         (j0_test_data): Likewise.
46029         (j1_test_data): Likewise.
46030         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
46031         (input_flag_type): Add flag_xfail_rounding.
46032         (input_flags): Add xfail-rounding.
46033         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
46034         (output_for_one_input_case): Handle flag_xfail_rounding.
46035         * sysdeps/i386/fpu/libm-test-ulps: Update.
46036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46038 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
46040         [BZ #16289]
46041         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
46042         division by 0.
46044 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
46046         [BZ #16195]
46047         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
46048         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
46049         (STAP_PROBE0): New macro.
46050         (STAP_PROBE1): Likewise.
46051         (STAP_PROBE2): Likewise.
46052         (STAP_PROBE3): Likewise.
46053         (STAP_PROBE4): Likewise.
46055 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
46057         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
46059 2013-12-02  Steve Ellcey  <sellcey@mips.com>
46061         * benchtests/Makefile (bench): Add sqrt.
46062         (LDLIBS-bench-sqrt): New.
46063         * benchtests/sqrt-input: New.
46065 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
46067         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
46068         (GAIH_EAI): Likewise.
46069         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
46070         (gaih_inet): Likewise.
46071         (getaddrinfo): Don't use GAIH_EAI.
46073         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
46074         (struct gaih): Remove definition.
46076 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
46078         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
46079         Use HERRNOP directly.
46081 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46083         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46085 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
46087         * math/gen-auto-libm-tests.c (test_functions): Add more
46088         single-argument functions.
46089         (special_fill_pi_2): New function.
46090         (special_fill_minus_pi_2): Likewise.
46091         (special_fill_pi_6): Likewise.
46092         (special_fill_minus_pi_6): Likewise.
46093         (special_fill_pi_3): Likewise.
46094         (special_fill_2pi_3): Likewise.
46095         (special_fill_e): Likewise.
46096         (special_fill_1_e): Likewise.
46097         (special_fill_e_minus_1): Likewise.
46098         (special_real_inputs): Add more special inputs.
46099         (output_for_one_input_case): Do not require ERANGE on underflow to
46100         zero if round-to-nearest result does not underflow to zero, unless
46101         exact results required.
46102         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
46103         atan, atanh, cbrt, cos and cosh.
46104         * math/auto-libm-test-out: Regenerated.
46105         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
46106         (acos_tonearest_test_data): Likewise.
46107         (acos_towardzero_test_data): Likewise.
46108         (acos_downward_test_data): Likewise.
46109         (acos_upward_test_data): Likewise.
46110         (acosh_test_data): Likewise.
46111         (asin_test_data): Likewise.
46112         (asin_tonearest_test_data): Likewise.
46113         (asin_towardzero_test_data): Likewise.
46114         (asin_upward_test_data): Likewise.
46115         (asinh_test_data): Likewise.
46116         (atan_test_data): Likewise.
46117         (atanh_test_data): Likewise.
46118         (cbrt_test_data): Likewise.
46119         (cos_test_data): Likewise.
46120         (cos_tonearest_test_data): Likewise.
46121         (cos_towardzero_test_data): Likewise.
46122         (cos_downward_test_data): Likewise.
46123         (cos_upward_test_data): Likewise.
46124         (cosh_test_data): Likewise.
46125         (cosh_tonearest_test_data): Likewise.
46126         (cosh_towardzero_test_data): Likewise.
46127         (cosh_downward_test_data): Likewise.
46128         (cosh_upward_test_data): Likewise.
46129         * sysdeps/i386/fpu/libm-test-ulps: Update.
46130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46132 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
46134         [BZ #6787]
46135         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
46136         * math/w_exp10f.c (__exp10f): Likewise.
46137         * math/w_exp10l.c (__exp10l): Likewise.
46138         * math/libm-test.inc (exp10_test_data): Add more tests and expect
46139         errno settings in existing tests.
46141         [BZ #14032]
46142         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
46143         precision control set to double precision.
46144         * sysdeps/i386/fpu/w_sqrt.c: New file.
46145         * math/auto-libm-test-in: Add more tests.
46146         * math/auto-libm-test-out: Update.
46148         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
46149         (sqrt_test_tonearest): New function.
46150         (sqrt_towardzero_test_data): New variable.
46151         (sqrt_test_towardzero): New function.
46152         (sqrt_downward_test_data): New variable.
46153         (sqrt_test_downward): New function.
46154         (sqrt_upward_test_data): New variable.
46155         (sqrt_test_upward): New function.
46156         (main): Call the new functions.
46158         * math/gen-auto-libm-tests.c: New file.
46159         * math/auto-libm-test-in: Likewise.
46160         * math/auto-libm-test-out: New generated file.
46161         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
46162         variables.
46163         (%beautify): Add generated representations of zero.
46164         (top level): Set $auto_input and call parse_auto_input.
46165         (beautify): Remove trailing "f" from hex float constants.
46166         (parse_args): Handle XFAIL_TEST.
46167         (convert_condition): New function.
46168         (or_value): Likewise.
46169         (or_cond_value): Likewise.
46170         (generate_testfile): Handle AUTO_TESTS_* lines.
46171         (parse_auto_input): New function.
46172         * math/libm-test.inc (XFAIL_TEST): New macro.
46173         (ERRNO_UNCHANGED): Update value.
46174         (ERRNO_EDOM): Likewise.
46175         (ERRNO_ERANGE): Likewise.
46176         (IGNORE_RESULT): Likewise.
46177         (TEST_COND_flt_32): New macro.
46178         (TEST_COND_dbl_64): Likewise.
46179         (TEST_COND_ldbl_96_intel): Likewise.
46180         (TEST_COND_ldbl_96_m68k): Likewise.
46181         (TEST_COND_ldbl_128): Likewise.
46182         (TEST_COND_ldbl_128ibm): Likewise.
46183         (TEST_COND_long32): Likewise.
46184         (TEST_COND_long64): Likewise.
46185         (TEST_COND_before_rounding): Likewise.
46186         (TEST_COND_after_rounding): Likewise.
46187         (enable_test): Handle XFAIL_TEST flag.
46188         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
46189         with finite results.
46190         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
46191         auto-libm-test-out.
46193 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
46194             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46196         [BZ #16214]
46197         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
46198         __tls_get_addr_internal instead of __tls_get_offset in order to
46199         avoid GOT pointer dependency.  Make rtld export
46200         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
46201         __tls_get_addr since we are a __tls_get_offset platform.
46202         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
46203         GOT pointer being set up before.
46204         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
46206 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
46208         * manual/math.texi (Errors in Math Functions): Document accuracy
46209         goals.
46211         [BZ #15004]
46212         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
46213         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
46214         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46215         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46216         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46217         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46218         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46219         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
46220         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
46221         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46222         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46223         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46224         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46225         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46226         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46227         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
46229         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
46230         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
46231         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
46232         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
46233         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
46234         Likewise.
46235         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
46236         Likewise.
46237         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
46238         Likewise.
46239         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
46240         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
46241         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
46242         atomic-feupdateenv and flt-rounds.
46243         * sysdeps/powerpc/nofpu/Versions (libc): Add
46244         __atomic_feholdexcept, __atomic_feclearexcept,
46245         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
46246         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
46247         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
46248         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
46249         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
46250         here.
46251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
46252         Update.
46254         * manual/arith.texi (FP Exceptions): Document that exceptions may
46255         not be raised when matherr is used.
46256         (Math Error Reporting): Document overflow in directed rounding
46257         modes.  Document that errno may not be set when finite values are
46258         returned on overflow.  Document intent to set errno on underflow
46259         only for underflow to zero.
46261         [BZ #16271]
46262         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
46263         round-to-nearest then adjust result for other rounding modes.
46264         * include/fenv.h (fegetround): Use libm_hidden_proto.
46265         * math/fegetround.c (fegetround): Use libm_hidden_def.
46266         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
46267         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
46268         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
46269         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
46270         Likewise.
46271         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
46272         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
46273         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
46274         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
46276 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46278         [BZ #16077]
46279         * nss/Versions (libnss_files): Add
46280         _nss_files_gethostbyname3_r.
46281         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
46282         New function.
46283         (HOST_DB_LOOKUP): Remove macro.
46284         (_nss_files_gethostbyname_r): Implement function without the
46285         HOST_DB_LOOKUP macro.
46286         (_nss_files_gethostbyname2_r): Likewise.
46288 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
46290         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
46292 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
46294         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
46295         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
46296         warning.
46298 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46300         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
46301         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
46302         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
46303         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
46304         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
46305         __fe_nomask_env_priv and attribute_hidden.
46306         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
46307         (libc_feupdateenv_test_ppc): Likewise.
46308         (libc_feresetround_ppc): Likewise.
46309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
46310         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
46311         compat_symbol macro.
46312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
46313         (__fe_nomask_env): Likewise.
46314         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
46316 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
46318         * string/Makefile: Remove ifunc tests.
46319         * string/test-string.h: Define TEST_IFUNC.
46320         * string/test-bcopy-ifunc.c: Remove.
46321         * string/test-bzero-ifunc.c: Likewise.
46322         * string/test-memccpy-ifunc.c: Likewise.
46323         * string/test-memchr-ifunc.c: Likewise.
46324         * string/test-memcmp-ifunc.c: Likewise.
46325         * string/test-memcpy-ifunc.c: Likewise.
46326         * string/test-memmem-ifunc.c: Likewise.
46327         * string/test-memmove-ifunc.c: Likewise.
46328         * string/test-mempcpy-ifunc.c: Likewise.
46329         * string/test-memrchr-ifunc.c: Likewise.
46330         * string/test-memset-ifunc.c: Likewise.
46331         * string/test-rawmemchr-ifunc.c: Likewise.
46332         * string/test-stpcpy-ifunc.c: Likewise.
46333         * string/test-stpncpy-ifunc.c: Likewise.
46334         * string/test-strcasecmp-ifunc.c: Likewise.
46335         * string/test-strcasestr-ifunc.c: Likewise.
46336         * string/test-strcat-ifunc.c: Likewise.
46337         * string/test-strchr-ifunc.c: Likewise.
46338         * string/test-strchrnul-ifunc.c: Likewise.
46339         * string/test-strcmp-ifunc.c: Likewise.
46340         * string/test-strcpy-ifunc.c: Likewise.
46341         * string/test-strcspn-ifunc.c: Likewise.
46342         * string/test-strlen-ifunc.c: Likewise.
46343         * string/test-strncasecmp-ifunc.c: Likewise.
46344         * string/test-strncat-ifunc.c: Likewise.
46345         * string/test-strncmp-ifunc.c: Likewise.
46346         * string/test-strncpy-ifunc.c: Likewise.
46347         * string/test-strnlen-ifunc.c: Likewise.
46348         * string/test-strpbrk-ifunc.c: Likewise.
46349         * string/test-strrchr-ifunc.c: Likewise.
46350         * string/test-strspn-ifunc.c: Likewise.
46351         * string/test-strstr-ifunc.c: Likewise.
46353 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
46355         * benchtests/Makefile: Remove ifunc tests.
46356         * benchtests/bench-string.h: Define TEST_IFUNC.
46357         * benchtests/bench-bcopy-ifunc.c: Remove.
46358         * benchtests/bench-bzero-ifunc.c: Likewise.
46359         * benchtests/bench-memccpy-ifunc.c: Likewise.
46360         * benchtests/bench-memchr-ifunc.c: Likewise.
46361         * benchtests/bench-memcmp-ifunc.c: Likewise.
46362         * benchtests/bench-memcpy-ifunc.c: Likewise.
46363         * benchtests/bench-memmem-ifunc.c: Likewise.
46364         * benchtests/bench-memmove-ifunc.c: Likewise.
46365         * benchtests/bench-mempcpy-ifunc.c: Likewise.
46366         * benchtests/bench-memrchr-ifunc.c: Likewise.
46367         * benchtests/bench-memset-ifunc.c: Likewise.
46368         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
46369         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
46370         * benchtests/bench-stpcpy-ifunc.c: Likewise.
46371         * benchtests/bench-stpncpy-ifunc.c: Likewise.
46372         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
46373         * benchtests/bench-strcasestr-ifunc.c: Likewise.
46374         * benchtests/bench-strcat-ifunc.c: Likewise.
46375         * benchtests/bench-strchr-ifunc.c: Likewise.
46376         * benchtests/bench-strchrnul-ifunc.c: Likewise.
46377         * benchtests/bench-strcmp-ifunc.c: Likewise.
46378         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
46379         * benchtests/bench-strcpy-ifunc.c: Likewise.
46380         * benchtests/bench-strcspn-ifunc.c: Likewise.
46381         * benchtests/bench-strlen-ifunc.c: Likewise.
46382         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
46383         * benchtests/bench-strncat-ifunc.c: Likewise.
46384         * benchtests/bench-strncmp-ifunc.c: Likewise.
46385         * benchtests/bench-strncpy-ifunc.c: Likewise.
46386         * benchtests/bench-strnlen-ifunc.c: Likewise.
46387         * benchtests/bench-strpbrk-ifunc.c: Likewise.
46388         * benchtests/bench-strrchr-ifunc.c: Likewise.
46389         * benchtests/bench-strsep-ifunc.c: Likewise.
46390         * benchtests/bench-strspn-ifunc.c: Likewise.
46391         * benchtests/bench-strstr-ifunc.c: Likewise.
46393 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
46395         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
46397 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
46399         * resolv/netdb.h: Use __glibc_reserved instead __unused.
46400         * rt/aio.h: Likewise.
46401         * sysdeps/gnu/bits/utmp.h: Likewise.
46402         * sysdeps/gnu/bits/utmpx.h: Likewise.
46403         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
46404         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
46405         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
46406         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
46407         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
46408         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
46409         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
46410         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
46411         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
46412         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
46413         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
46414         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
46415         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
46416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
46417         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
46418         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
46419         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
46420         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
46421         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
46422         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
46423         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
46424         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
46425         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
46426         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
46427         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
46428         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46429         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
46430         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
46431         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
46432         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
46433         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
46434         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
46435         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
46436         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
46437         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
46438         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
46439         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
46440         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
46441         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
46442         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
46443         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
46444         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
46446 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
46448         [BZ #16245]
46449         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
46450         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
46452 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
46454         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
46455         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
46456         Likewise.
46458 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46460         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
46461         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
46462         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
46463         (__fesetround): Remove define.
46464         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
46465         rounding and exceptions handling.
46466         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
46467         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
46468         (__fe_nomask_env): Likewise.
46469         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
46470         __fegetround instead of fegetround.
46471         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
46472         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
46474 2013-11-21  Roland McGrath  <roland@hack.frob.com>
46476         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
46477         it's there.
46479         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
46481 2013-11-21  Meador Inge  <meadori@codesourcery.com>
46483         [BZ #11157]
46484         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
46485         (encrypt_r): Likewise.
46486         * malloc/obstack.h (obstack_free): Likewise.
46487         * posix/unistd.h (encrypt): Likewise.
46489 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
46491         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
46492         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
46493         DL_CALL_DT_FINI() that call the functions directly.
46494         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
46495         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
46496         * elf/dl-fini.c: Likewise.
46498 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
46500         * malloc/hooks.c (memalign_check): Add alignment rounding.
46501         * malloc/malloc.c (_mid_memalign): New function.
46502         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
46503         Implement by calling _mid_memalign.
46504         * manual/probes.texi (Memory Allocation Probes): Remove
46505         memory_valloc_retry and memory_pvalloc_retry.
46507 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
46509         * locale/programs/locarchive.c (open_archive): Add const
46510         qualifier to ARCHIVEFNAME and copy default fname to
46511         DEFAULT_FNAME.
46513         [BZ #15601]
46514         * libio/tst-widetext.input: Rename Oriya to Odia.
46515         * locale/iso-639.def: Likewise.
46517         * manual/probes.texi (Mathematical Function Probes): Add
46518         documentation for sin, cos, asin and acos probes.
46519         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
46520         (__sin32): Add slowasin probe.
46521         (__cos32): Add slowacos probe.
46522         (__mpsin): Add slowsin probe.
46523         (__mpcos): Add slowcos probe.
46525 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
46527         [BZ #15483]
46528         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
46529         thread-local __sim_exceptions_thread and global
46530         __sim_exceptions_global.
46531         (__sim_disabled_exceptions): Change to thread-local
46532         __sim_disabled_exceptions_thread and global
46533         __sim_disabled_exceptions_global.
46534         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
46535         and global __sim_round_mode_global.
46536         (__simulate_exceptions): Use thread-local floating-point state and
46537         set global state from it as needed.
46538         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
46539         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
46540         __sim_round_mode_thread.
46541         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
46542         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
46543         and global __sim_exceptions_global.
46544         (__sim_disabled_exceptions): Change to thread-local
46545         __sim_disabled_exceptions_thread and global
46546         __sim_disabled_exceptions_global.
46547         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
46548         and global __sim_round_mode_global.
46549         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
46550         (SIM_SET_GLOBAL): Likewise.
46551         * sysdeps/powerpc/soft-fp/sfp-machine.h
46552         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
46553         __sim_round_mode_thread.
46554         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
46555         __sim_disabled_exceptions_thread.
46556         (__sim_exceptions): Change to __sim_exceptions_thread.
46557         (__sim_disabled_exceptions): Change to
46558         __sim_disabled_exceptions_thread.
46559         (__sim_round_mode): Change to __sim_round_mode_thread.
46560         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
46561         thread-local floating-point state and set global state from it as
46562         needed.
46563         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
46564         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
46565         (__sim_disabled_exceptions): Remove extern declaration.
46566         (feenableexcept): Use thread-local floating-point state and set
46567         global state from it as needed.
46568         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
46569         extern declaration.
46570         (__sim_disabled_exceptions): Likewise.
46571         (__sim_round_mode): Likewise.
46572         (__fegetenv): Use thread-local floating-point state.
46573         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
46574         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
46575         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
46576         floating-point state and set global state from it as needed.
46577         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
46578         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
46579         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
46580         Likewise.
46581         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
46582         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
46583         Likewise.
46584         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
46585         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
46586         Use __sim_round_mode_thread.
46587         * math/test-fenv-tls.c: New file.
46588         * math/Makefile (tests): Add test-fenv-tls.
46589         ($(objpfx)test-fenv-tls): Depend on
46590         $(common-objpfx)nptl/libpthread.so.
46592 2013-11-19  Andreas Schwab  <schwab@suse.de>
46594         * locale/programs/locale.c (show_info): Decode wordarray elements.
46595         * locale/categories.def (LC_MONETARY): Add element for
46596         _NL_MONETARY_CRNCYSTR.
46597         * locale/C-monetary.c (conversion_rate): New variable.
46598         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
46599         element.
46601 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
46603         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
46604         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
46606 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
46608         * elf/Makefile (tst-auxv): New test.
46609         * elf/tst-auxv.c: New
46610         * elf/rtld.c (dl_main): Adjust AT_EXECFN
46612 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
46614         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
46615         (hidden_proto): Caller changed.
46616         (hidden_tls_proto): New macro.
46617         (libc_hidden_tls_proto): Likewise.
46618         (rtld_hidden_tls_proto): Likewise.
46619         (libm_hidden_tls_proto): Likewise.
46620         (libresolv_hidden_tls_proto): Likewise.
46621         (librt_hidden_tls_proto): Likewise.
46622         (libdl_hidden_tls_proto): Likewise.
46623         (libnss_files_hidden_tls_proto): Likewise.
46624         (libnsl_hidden_tls_proto): Likewise.
46625         (libnss_nisplus_hidden_tls_proto): Likewise.
46626         (libutil_hidden_tls_proto): Likewise.
46628 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
46630         [BZ #10253]
46631         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
46632         (decompose_rpath): Defer expansion to fillin_rpath.
46633         (_dl_init_paths): Pass linkmap to fillin_rpath.
46635 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
46637         * benchtests/Makefile: Add strsep.
46638         * benchtests/bench-strsep.c: New file: strsep benchtest.
46639         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
46641 2013-11-18  Andreas Schwab  <schwab@suse.de>
46643         * locale/programs/locale.c (show_info) [case byte]: Check for
46644         '\377' instead of '\177'.
46645         * locale/C-monetary.c (not_available): Always use "\377".
46646         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
46647         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
46648         detect unavailable sign_posn locale elements.
46649         * locale/localeconv.c (__localeconv): For grouping and
46650         mon_grouping handle "\177" and "\377" like no grouping.
46651         (INT_ELEM): New macro.  Use it to set all numeric members.
46652         * locale/programs/ld-monetary.c (monetary_read)
46653         <tok_mon_grouping>: Normalize single -1 to the empty string.
46654         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
46655         Likewise.
46657 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
46659         [BZ #16055]
46660         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
46661         when we match (nil).
46662         * stdio-common/tst-sscanf.c (struct test): Add testcase.
46664 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
46666         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
46667         (NO_TEST_INLINE): Update value.
46668         (ERRNO_UNCHANGED): Likewise.
46669         (ERRNO_EDOM): Likewise.
46670         (ERRNO_ERANGE): Likewise.
46671         (IGNORE_RESULT): Likewise.
46672         (check_float_internal): Check signs of NaN results if
46673         TEST_NAN_SIGN used.
46674         (check_complex): Pass TEST_NAN_SIGN flag through to second
46675         check_float_internal call.
46676         (copysign_test_data): Add tests with quiet NaNs as second
46677         argument.  Use TEST_NAN_SIGN.
46678         (fabs_test_data): Add test of negative quiet NaN argument.  Use
46679         TEST_NAN_SIGN.
46680         (signbit_test_data): Add tests of quiet NaN argument.
46681         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
46683         * math/gen-libm-test.pl (show_exceptions): Take extra argument
46684         $ignore_result.
46685         (parse_args): Handle function results specified as IGNORE.
46686         * math/libm-test.inc (IGNORE_RESULT): New macro.
46687         (check_float_internal): Do not check numerical result if flag
46688         IGNORE_RESULT set.
46689         (check_complex): Pass through IGNORE_RESULT to second
46690         check_float_internal call.
46691         (check_int): Do not check numerical result if flag IGNORE_RESULT
46692         set.
46693         (check_long): Likewise.
46694         (check_bool): Likewise.
46695         (check_longlong): Likewise.
46696         (lrint_test_data): Add tests of infinite and NaN arguments.
46697         (lrint_tonearest_test_data): Likewise.
46698         (lrint_towardzero_test_data): Likewise.
46699         (lrint_downward_test_data): Likewise.
46700         (lrint_upward_test_data): Likewise.
46701         (llrint_test_data): Likewise.
46702         (llrint_tonearest_test_data): Likewise.
46703         (llrint_towardzero_test_data): Likewise.
46704         (llrint_downward_test_data): Likewise.
46705         (llrint_upward_test_data): Likewise.
46706         (lround_test_data): Likewise.
46707         (llround_test_data): Likewise.
46709         * math/libm-test.inc (NO_TEST_INLINE): New macro.
46710         (ERRNO_UNCHANGED): Update value.
46711         (ERRNO_EDOM): Likewise.
46712         (ERRNO_ERANGE): Likewise.
46713         (NO_TEST_INLINE_FLOAT): New macro.
46714         (NO_TEST_INLINE_DOUBLE): Likewise.
46715         (enable_test): New function.
46716         (RUN_TEST_f_f): Check enable_test before running test.
46717         (RUN_TEST_2_f): Likewise.
46718         (RUN_TEST_fff_f): Likewise.
46719         (RUN_TEST_c_f): Likewise.
46720         (RUN_TEST_f_f1): Likewise.
46721         (RUN_TEST_fF_f1): Likewise.
46722         (RUN_TEST_fI_f1): Likewise.
46723         (RUN_TEST_ffI_f1): Likewise.
46724         (RUN_TEST_c_c): Likewise.
46725         (RUN_TEST_cc_c): Likewise.
46726         (RUN_TEST_f_i): Likewise.
46727         (RUN_TEST_f_i_tg): Likewise.
46728         (RUN_TEST_ff_i_tg): Likewise.
46729         (RUN_TEST_f_b): Likewise.
46730         (RUN_TEST_f_b_tg): Likewise.
46731         (RUN_TEST_f_l): Likewise.
46732         (RUN_TEST_f_L): Likewise.
46733         (RUN_TEST_fFF_11): Likewise.
46734         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
46735         conditionals.
46736         (cosh_test_data): Likewise.
46737         (exp_test_data): Likewise.
46738         (expm1_test_data): Likewise.
46739         (hypot_test_data): Likewise.
46740         (pow_test_data): Likewise.
46741         (sinh_test_data): Likewise.
46742         (tanh_test_data): Likewise.
46743         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
46744         flags argument.
46746         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
46747         tests with quiet NaN input and output.
46748         (acosh_test_data): Likewise.
46749         (asin_test_data): Likewise.
46750         (asinh_test_data): Likewise.
46751         (atan_test_data): Likewise.
46752         (atanh_test_data): Likewise.
46753         (atan2_test_data): Likewise.
46754         (cbrt_test_data): Likewise.
46755         (cos_test_data): Likewise.
46756         (cosh_test_data): Likewise.
46757         (erf_test_data): Likewise.
46758         (erfc_test_data): Likewise.
46759         (exp_test_data): Likewise.
46760         (exp10_test_data): Likewise.
46761         (exp2_test_data): Likewise.
46762         (expm1_test_data): Likewise.
46763         (hypot_test_data): Likewise.
46764         (j0_test_data): Likewise.
46765         (j1_test_data): Likewise.
46766         (jn_test_data): Likewise.
46767         (lgamma_test_data): Likewise.
46768         (log_test_data): Likewise.
46769         (log10_test_data): Likewise.
46770         (log1p_test_data): Likewise.
46771         (log2_test_data): Likewise.
46772         (pow_test_data): Likewise.
46773         (scalb_test_data): Likewise.
46774         (sin_test_data): Likewise.
46775         (sincos_test_data): Likewise.
46776         (sinh_test_data): Likewise.
46777         (tan_test_data): Likewise.
46778         (tanh_test_data): Likewise.
46779         (tgamma_test_data): Likewise.
46780         (y0_test_data): Likewise.
46781         (y1_test_data): Likewise.
46782         (yn_test_data): Likewise.
46784         [BZ #16167]
46785         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
46786         argument being NaN and avoid computations with second argument in
46787         that case.
46788         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
46789         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
46790         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
46792 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
46794         * locale/iso-639.def: Add Chitwani Tharu (the).
46796 2013-11-14  Andreas Schwab  <schwab@suse.de>
46798         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
46799         word instead of empty string.
46801 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
46804         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
46805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
46806         (__fe_nomask_env): Likewise.
46808 2013-11-13  Steve Ellcey  <sellcey@mips.com>
46810         * benchtests/bench-timing.h: Include time.h.
46812 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
46814         [BZ #15997]
46815         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
46816         to 3.4.0 for x32.
46817         * sysdeps/unix/sysv/linux/configure: Regenerated.
46819 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
46821         [BZ #16151]
46822         * stdlib/strtod_l.c (round_and_return): Do not consider
46823         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
46824         exponent one less than half the least subnormal exponent.
46825         * stdlib/test-strtod-round-data: Add more tests.
46826         * stdlib/tst-strtod-round.c (tests): Regenerated.
46828 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46830         [BZ #14143]
46831         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
46832         (__fe_mask_env): Likewise.
46833         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
46834         libm_hidden_proto and add function prototype.
46835         (__fe_mask_env): Add function prototype.
46836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
46837         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
46838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
46839         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
46840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
46841         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
46843 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46845         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
46846         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
46848 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46850         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
46851         of htab_find_slot().
46853 2013-11-11  David S. Miller  <davem@davemloft.net>
46855         [BZ #16150]
46856         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
46857         symbol in the non-vis3 case in static builds.
46858         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
46859         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
46860         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
46861         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
46863 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
46865         [BZ #387]
46866         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
46867         it is empty.
46869 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46871         * benchtests/Makefile: Add bench-strtod.
46872         * benchtests/bench-strtod.c: New file: strtod benchtest
46874 2013-11-11  Andreas Schwab  <schwab@suse.de>
46876         [BZ #16153]
46877         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
46878         terminating NUL in key length.
46880 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46882         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
46883         Add artificial ODP entry for vDSO symbol for PPC64.
46884         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
46885         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
46887 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
46889         [BZ #15374]
46890         * nss/getent.c (services_keys): Recognize services starting with digit.
46892 2013-11-06  David S. Miller  <davem@davemloft.net>
46894         [BZ #15985]
46895         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
46896         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
46898 2013-11-06  Will Newton  <will.newton@linaro.org>
46900         * manual/memory.texi (Malloc Examples): Remove register
46901         keyword from examples.
46903 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
46905         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
46907 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
46909         [BZ #6981]
46910         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
46911         depending on [__GCC_IEC_559 > 0].
46912         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
46913         depending on [__GCC_IEC_559_COMPLEX > 0].
46915 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
46917         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
46918         to iso-639.def.
46920 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
46922         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
46924 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
46926         [BZ #16112]
46927         * malloc/malloc (malloc_info): Do not handle first bin as
46928         special case.
46930 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
46932         * locale/iso-639.def: Add Central Nahuatl (nhn).
46934 2013-11-01  Bruno Haible  <bruno@clisp.org>
46936         [BZ #7003]
46937         * manual/math.texi (BSD Random): Specify range upper bound as
46938         in POSIX.
46940 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
46942         * locale/iso-639.def: Add Meadow Mari (mhr).
46944 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
46946         [BZ #14752], [BZ #15763]
46947         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
46948         Validate name.
46949         * rt/tst_shm.c: Add test for escaping directory.
46951 2013-10-31  Andreas Schwab  <schwab@suse.de>
46953         [BZ #15917]
46954         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
46955         followed by 'x' as part of digit sequence.
46956         * stdio-common/tst-sscanf.c (double_tests2): New tests.
46958 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
46960         [BZ #16037]
46961         * configure.ac: allow GNU Make 4.0 and greater.
46962         * configure: Regenerated.
46964 2013-10-30  Will Newton  <will.newton@linaro.org>
46966         [BZ #16038]
46967         * malloc/hooks.c (memalign_check): Limit alignment to the
46968         maximum representable power of two.
46969         * malloc/malloc.c (__libc_memalign): Likewise.
46970         * malloc/tst-memalign.c (do_test): Add test for very
46971         large alignment values.
46972         * malloc/tst-posix_memalign.c (do_test): Likewise.
46974 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
46976         [BZ #11087]
46977         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
46978         (munmap_chunk): Likewise.
46979         (mremap_chunk): Likewise.
46981 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
46983         [BZ #15799]
46984         * stdlib/div.c (div): Remove obsolete code.
46985         * stdlib/ldiv.c (ldiv): Likewise.
46986         * stdlib/lldiv.c (lldiv): Likewise.
46988 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46990         [BZ #16071]
46991         * nss/nss_files/files-XXX.c (get_contents_ret): New
46992         enumerator.
46993         (get_contents): New function.
46994         (internal_getent): Use it.  Expand size of LINEBUFLEN.
46996 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
46998         * configure.in: Moved to ...
46999         * configure.ac: ... here. Change reference to configure.in
47000         to configure.ac.
47001         * sysdeps/arm/preconfigure.ac: ... here.
47002         configure.in to configure.ac.
47003         * sysdeps/gnu/configure.in: Moved to ...
47004         * sysdeps/gnu/configure.ac: ... here.
47005         * sysdeps/i386/configure.in: Moved to ...
47006         * sysdeps/i386/configure.ac: ... here.
47007         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
47008         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
47009         * sysdeps/mach/configure.in: Moved to ...
47010         * sysdeps/mach/configure.ac: ... here.
47011         * sysdeps/mach/hurd/configure.in: Moved to ...
47012         * sysdeps/mach/hurd/configure.ac: ... here.
47013         * sysdeps/powerpc/configure.in: Moved to ...
47014         * sysdeps/powerpc/configure.ac: ... here.
47015         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
47016         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
47017         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
47018         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
47019         * sysdeps/s390/s390-32/configure.in: Moved to ...
47020         * sysdeps/s390/s390-32/configure.ac: ... here.
47021         * sysdeps/s390/s390-64/configure.in: Moved to ...
47022         * sysdeps/s390/s390-64/configure.ac: ... here.
47023         * sysdeps/sh/configure.in: Moved to ...
47024         * sysdeps/sh/configure.ac: ... here.
47025         * sysdeps/sparc/configure.in: Moved to ...
47026         * sysdeps/sparc/configure.ac: ... here.
47027         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
47028         * sysdeps/unix/sysv/linux/configure.ac: ... here.
47029         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
47030         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
47031         * sysdeps/x86_64/configure.in: Moved to ...
47032         * sysdeps/x86_64/configure.ac: ... here.
47033         * sysdeps/x86_64/preconfigure.in: Moved to ...
47034         * sysdeps/x86_64/preconfigure.ac: ... here.
47035         * aclocal.m4: Change reference to configure.in to configure.ac.
47036         * config.h.in: Likewise.
47037         * manual/install.texi: Likewise.
47038         * manual/maint.texi: Likewise.
47039         * Makefile: Likewise.
47040         * malloc/Makefile: Likewise.
47041         * nscd/Makefile: Likewise.
47042         * Makeconfig: Change reference to configure.in and
47043         preconfigure.in to configure.ac and preconfigure.ac
47044         respectively.
47045         * INSTALL: Regenerated.
47046         * configure: Likewise.
47047         * sysdeps/gnu/configure: Likewise.
47048         * sysdeps/i386/configure: Likewise.
47049         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
47050         * sysdeps/mach/configure: Likewise.
47051         * sysdeps/mach/hurd/configure: Likewise.
47052         * sysdeps/powerpc/configure: Likewise.
47053         * sysdeps/powerpc/powerpc32/configure: Likewise.
47054         * sysdeps/powerpc/powerpc64/configure: Likewise.
47055         * sysdeps/s390/s390-32/configure: Likewise.
47056         * sysdeps/s390/s390-64/configure: Likewise.
47057         * sysdeps/sh/configure: Likewise.
47058         * sysdeps/sparc/configure: Likewise.
47059         * sysdeps/unix/sysv/linux/configure: Likewise.
47060         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
47061         * sysdeps/x86_64/configure: Likewise.
47062         * sysdeps/x86_64/preconfigure: Likewise.
47064 2013-10-29  Andreas Schwab  <schwab@suse.de>
47066         * stdio-common/Makefile (tst-swscanf-ENV): Define.
47068 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47070         * benchtests/pow-inputs: Add new inputs.
47072         * benchtests/exp-inputs: Add new inputs.
47074         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
47075         conditional check for return value.
47076         (__cos32): Likewise.
47078 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47080         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
47081         to provide a boost for large inputs with word alignment.
47082         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
47083         implementation based on optimized PPC64 strcpy.
47084         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
47085         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
47086         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
47087         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
47089 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
47091         [BZ #2801]
47092         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
47094 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
47096         [BZ #14876]
47097         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
47098         * time/tst-strptime.c (day_tests): Add testcase.
47100 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
47102         [BZ #14029]
47103         * manual/pattern.texi: Acknowledge that fnmatch can fail.
47105 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
47107         [BZ #16074]
47108         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
47109         MAP_FAILED on error.
47111 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
47113         [BZ #16072]
47114         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
47115         heap for large requests.
47117 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
47119         [BZ #9954]
47120         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
47121         result if the result has no associated interface.
47122         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
47123         interface for all 127.X.Y.Z addresses.
47125 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
47127         * locale/iso-639.def: Add Ligurian (lij)
47129 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
47131         [BZ #15825]
47132         * sunrpc/rpc_main.c: Document rpcgen -5.
47134 2013-10-19  Michael Stahl  <mstahl@redhat.com>
47136         * elf/rtld.c (do_preload): Print the reason why preloading failed.
47138 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
47140         [BZ #10278]
47141         * posix/glob.c: Match only directories when trailing slash is present.
47142         * posix/tst-gnuglob.c (my_opendir): Do not open files.
47143         (main): Add testcase.
47145 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
47147         [BZ #15670]
47148         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
47150 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
47152         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
47153         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
47154         AUTH_DES and cindex for FIPS 140-2.
47155         (DES Encryption): Add cindex FIPS 46-3.
47157         * locale/locarchive.h (struct locarhandle): Add fname.
47158         * locale/programs/localedef.c (main): Pass ARGV[remaining]
47159         if an optional argument was specified to --list-archive,
47160         otherwise NULL.
47161         * locale/programs/locarchive.c (show_archive_content): Take new
47162         argument fname and pass it via ah.fname to open_archive.
47163         * locale/programs/localedef.h: Update decl.
47164         (open_archive): If AH->fname is non-null, open that file
47165         rather than the default file name, and don't ignore ENOENT.
47166         (create_archive): Set AH.fname to NULL.
47167         (delete_locales_from_archive): Likewise.
47168         (add_locales_to_archive): Likewise.
47169         * locale/programs/locfile.c (write_all_categories): Likewise.
47171 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
47172             Aldy Hernandez  <aldyh@redhat.com>
47174         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
47175         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
47176         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
47177         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
47178         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
47179         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
47180         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
47181         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
47182         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
47183         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
47184         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
47185         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
47186         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
47187         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
47188         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
47189         Likewise.
47190         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
47191         Likewise.
47192         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
47193         Likewise.
47194         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
47195         Likewise.
47196         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
47197         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
47198         Likewise.
47199         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
47200         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
47201         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
47202         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
47203         Likewise.
47204         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
47205         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
47206         * sysdeps/powerpc/preconfigure: Likewise.
47207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
47208         Likewise.
47209         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
47210         Replace contents of file by #include of <fenv_libc.h>.
47211         * sysdeps/powerpc/soft-fp/sfp-machine.h
47212         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
47213         and <sys/prctl.h>.
47214         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
47215         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
47216         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
47217         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
47218         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
47219         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
47220         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
47221         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
47222         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
47223         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
47224         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
47225         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
47226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
47227         Allow copysignl PLT reference to be missing.
47229 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
47230             Joseph Myers  <joseph@codesourcery.com
47232         [BZ #15948]
47233         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
47234         single character.
47235         (add_to_tablewc): Assert sequence of wide characters is nonempty.
47237 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
47239         * elf/tst-tls-dlinfo.c: Don't include tls.h.
47240         * elf/tst-tls1.c: Likewise.
47241         * elf/tst-tls10.h: Likewise.
47242         * elf/tst-tls14.c: Likewise.
47243         * elf/tst-tls2.c: Likewise.
47244         * elf/tst-tls3.c: Likewise.
47245         * elf/tst-tls4.c: Likewise.
47246         * elf/tst-tls5.c: Likewise.
47247         * elf/tst-tls6.c: Likewise.
47248         * elf/tst-tls7.c: Likewise.
47249         * elf/tst-tls8.c: Likewise.
47250         * elf/tst-tls9.c: Likewise.
47251         * elf/tst-tlsmod1.c: Likewise.
47252         * elf/tst-tlsmod13.c: Likewise.
47253         * elf/tst-tlsmod13a.c: Likewise.
47254         * elf/tst-tlsmod14a.c: Likewise.
47255         * elf/tst-tlsmod16a.c: Likewise.
47256         * elf/tst-tlsmod16b.c: Likewise.
47257         * elf/tst-tlsmod2.c: Likewise.
47258         * elf/tst-tlsmod3.c: Likewise.
47259         * elf/tst-tlsmod4.c: Likewise.
47260         * elf/tst-tlsmod5.c: Likewise.
47261         * elf/tst-tlsmod6.c: Likewise.
47263 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
47265         [BZ #12486]
47266         * malloc/malloc.c: remove checks for statistics.
47268 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
47270         [BZ #15277]
47271         * inet/inet_net.c (inet_network): Detect additional invalid strings.
47272         * inet/tst-network.c: Add testcase.
47274 2013-10-17  Andreas Schwab  <schwab@suse.de>
47276         [BZ #15218]
47277         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
47278         to determine canonical name.
47280 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
47282         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
47283         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
47284         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47285         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47286         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47287         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47288         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47289         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47290         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
47291         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47292         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
47293         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47294         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47295         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47296         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47297         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47298         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47299         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47300         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
47301         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47302         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47303         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47304         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47305         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
47306         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
47307         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
47308         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
47309         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
47310         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
47311         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
47312         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47313         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47314         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
47315         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47316         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47317         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47318         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47319         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47320         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47321         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47322         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47323         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
47324         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
47325         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47326         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
47327         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47328         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47329         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
47330         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
47331         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47332         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
47333         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47334         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
47335         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
47336         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47337         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
47338         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47339         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47341 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
47343         [BZ #16041]
47344         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
47345         make result into a quiet NaN.
47347 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
47349         * soft-fp/adddf3.c: Fix horizontal whitespace.
47350         * soft-fp/addsf3.c: Likewise.
47351         * soft-fp/addtf3.c: Likewise.
47352         * soft-fp/divdf3.c: Likewise.
47353         * soft-fp/divsf3.c: Likewise.
47354         * soft-fp/divtf3.c: Likewise.
47355         * soft-fp/double.h: Likewise.
47356         * soft-fp/eqdf2.c: Likewise.
47357         * soft-fp/eqsf2.c: Likewise.
47358         * soft-fp/eqtf2.c: Likewise.
47359         * soft-fp/extenddftf2.c: Likewise.
47360         * soft-fp/extended.h: Likewise.
47361         * soft-fp/extendsfdf2.c: Likewise.
47362         * soft-fp/extendsftf2.c: Likewise.
47363         * soft-fp/extendxftf2.c: Likewise.
47364         * soft-fp/fixdfdi.c: Likewise.
47365         * soft-fp/fixdfsi.c: Likewise.
47366         * soft-fp/fixdfti.c: Likewise.
47367         * soft-fp/fixsfdi.c: Likewise.
47368         * soft-fp/fixsfsi.c: Likewise.
47369         * soft-fp/fixsfti.c: Likewise.
47370         * soft-fp/fixtfdi.c: Likewise.
47371         * soft-fp/fixtfsi.c: Likewise.
47372         * soft-fp/fixtfti.c: Likewise.
47373         * soft-fp/fixunsdfdi.c: Likewise.
47374         * soft-fp/fixunsdfsi.c: Likewise.
47375         * soft-fp/fixunsdfti.c: Likewise.
47376         * soft-fp/fixunssfdi.c: Likewise.
47377         * soft-fp/fixunssfsi.c: Likewise.
47378         * soft-fp/fixunssfti.c: Likewise.
47379         * soft-fp/fixunstfdi.c: Likewise.
47380         * soft-fp/fixunstfsi.c: Likewise.
47381         * soft-fp/fixunstfti.c: Likewise.
47382         * soft-fp/floatdidf.c: Likewise.
47383         * soft-fp/floatdisf.c: Likewise.
47384         * soft-fp/floatditf.c: Likewise.
47385         * soft-fp/floatsidf.c: Likewise.
47386         * soft-fp/floatsisf.c: Likewise.
47387         * soft-fp/floatsitf.c: Likewise.
47388         * soft-fp/floattidf.c: Likewise.
47389         * soft-fp/floattisf.c: Likewise.
47390         * soft-fp/floattitf.c: Likewise.
47391         * soft-fp/floatundidf.c: Likewise.
47392         * soft-fp/floatundisf.c: Likewise.
47393         * soft-fp/floatunditf.c: Likewise.
47394         * soft-fp/floatunsidf.c: Likewise.
47395         * soft-fp/floatunsisf.c: Likewise.
47396         * soft-fp/floatunsitf.c: Likewise.
47397         * soft-fp/floatuntidf.c: Likewise.
47398         * soft-fp/floatuntisf.c: Likewise.
47399         * soft-fp/floatuntitf.c: Likewise.
47400         * soft-fp/fmadf4.c: Likewise.
47401         * soft-fp/fmasf4.c: Likewise.
47402         * soft-fp/fmatf4.c: Likewise.
47403         * soft-fp/gedf2.c: Likewise.
47404         * soft-fp/gesf2.c: Likewise.
47405         * soft-fp/getf2.c: Likewise.
47406         * soft-fp/ledf2.c: Likewise.
47407         * soft-fp/lesf2.c: Likewise.
47408         * soft-fp/letf2.c: Likewise.
47409         * soft-fp/muldf3.c: Likewise.
47410         * soft-fp/mulsf3.c: Likewise.
47411         * soft-fp/multf3.c: Likewise.
47412         * soft-fp/negdf2.c: Likewise.
47413         * soft-fp/negsf2.c: Likewise.
47414         * soft-fp/negtf2.c: Likewise.
47415         * soft-fp/op-1.h: Likewise.
47416         * soft-fp/op-2.h: Likewise.
47417         * soft-fp/op-4.h: Likewise.
47418         * soft-fp/op-8.h: Likewise.
47419         * soft-fp/op-common.h: Likewise.
47420         * soft-fp/quad.h: Likewise.
47421         * soft-fp/single.h: Likewise.
47422         * soft-fp/soft-fp.h: Likewise.
47423         * soft-fp/sqrtdf2.c: Likewise.
47424         * soft-fp/sqrtsf2.c: Likewise.
47425         * soft-fp/sqrttf2.c: Likewise.
47426         * soft-fp/subdf3.c: Likewise.
47427         * soft-fp/subsf3.c: Likewise.
47428         * soft-fp/subtf3.c: Likewise.
47429         * soft-fp/truncdfsf2.c: Likewise.
47430         * soft-fp/trunctfdf2.c: Likewise.
47431         * soft-fp/trunctfsf2.c: Likewise.
47432         * soft-fp/trunctfxf2.c: Likewise.
47433         * soft-fp/unorddf2.c: Likewise.
47434         * soft-fp/unordsf2.c: Likewise.
47435         * soft-fp/unordtf2.c: Likewise.
47437 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
47439         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
47440         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
47442 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
47444         * elf/dl-libc.c: Clear initfini list after freeing.
47446 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
47448         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
47449         * soft-fp/addsf3.c: Likewise.
47450         * soft-fp/addtf3.c: Likewise.
47451         * soft-fp/divdf3.c: Likewise.
47452         * soft-fp/divsf3.c: Likewise.
47453         * soft-fp/divtf3.c: Likewise.
47454         * soft-fp/double.h: Likewise.
47455         * soft-fp/eqdf2.c: Likewise.
47456         * soft-fp/eqsf2.c: Likewise.
47457         * soft-fp/eqtf2.c: Likewise.
47458         * soft-fp/extenddftf2.c: Likewise.
47459         * soft-fp/extended.h: Likewise.
47460         * soft-fp/extendsfdf2.c: Likewise.
47461         * soft-fp/extendsftf2.c: Likewise.
47462         * soft-fp/extendxftf2.c: Likewise.
47463         * soft-fp/fixdfdi.c: Likewise.
47464         * soft-fp/fixdfsi.c: Likewise.
47465         * soft-fp/fixdfti.c: Likewise.
47466         * soft-fp/fixsfdi.c: Likewise.
47467         * soft-fp/fixsfsi.c: Likewise.
47468         * soft-fp/fixsfti.c: Likewise.
47469         * soft-fp/fixtfdi.c: Likewise.
47470         * soft-fp/fixtfsi.c: Likewise.
47471         * soft-fp/fixtfti.c: Likewise.
47472         * soft-fp/fixunsdfdi.c: Likewise.
47473         * soft-fp/fixunsdfsi.c: Likewise.
47474         * soft-fp/fixunsdfti.c: Likewise.
47475         * soft-fp/fixunssfdi.c: Likewise.
47476         * soft-fp/fixunssfsi.c: Likewise.
47477         * soft-fp/fixunssfti.c: Likewise.
47478         * soft-fp/fixunstfdi.c: Likewise.
47479         * soft-fp/fixunstfsi.c: Likewise.
47480         * soft-fp/fixunstfti.c: Likewise.
47481         * soft-fp/floatdidf.c: Likewise.
47482         * soft-fp/floatdisf.c: Likewise.
47483         * soft-fp/floatditf.c: Likewise.
47484         * soft-fp/floatsidf.c: Likewise.
47485         * soft-fp/floatsisf.c: Likewise.
47486         * soft-fp/floatsitf.c: Likewise.
47487         * soft-fp/floattidf.c: Likewise.
47488         * soft-fp/floattisf.c: Likewise.
47489         * soft-fp/floattitf.c: Likewise.
47490         * soft-fp/floatundidf.c: Likewise.
47491         * soft-fp/floatundisf.c: Likewise.
47492         * soft-fp/floatunsidf.c: Likewise.
47493         * soft-fp/floatunsisf.c: Likewise.
47494         * soft-fp/floatuntidf.c: Likewise.
47495         * soft-fp/floatuntisf.c: Likewise.
47496         * soft-fp/floatuntitf.c: Likewise.
47497         * soft-fp/fmadf4.c: Likewise.
47498         * soft-fp/fmasf4.c: Likewise.
47499         * soft-fp/fmatf4.c: Likewise.
47500         * soft-fp/gedf2.c: Likewise.
47501         * soft-fp/gesf2.c: Likewise.
47502         * soft-fp/getf2.c: Likewise.
47503         * soft-fp/ledf2.c: Likewise.
47504         * soft-fp/lesf2.c: Likewise.
47505         * soft-fp/letf2.c: Likewise.
47506         * soft-fp/muldf3.c: Likewise.
47507         * soft-fp/mulsf3.c: Likewise.
47508         * soft-fp/multf3.c: Likewise.
47509         * soft-fp/negdf2.c: Likewise.
47510         * soft-fp/negsf2.c: Likewise.
47511         * soft-fp/negtf2.c: Likewise.
47512         * soft-fp/op-1.h: Likewise.
47513         * soft-fp/op-2.h: Likewise.
47514         * soft-fp/op-4.h: Likewise.
47515         * soft-fp/op-8.h: Likewise.
47516         * soft-fp/op-common.h: Likewise.
47517         * soft-fp/quad.h: Likewise.
47518         * soft-fp/single.h: Likewise.
47519         * soft-fp/soft-fp.h: Likewise.
47520         * soft-fp/sqrtdf2.c: Likewise.
47521         * soft-fp/sqrtsf2.c: Likewise.
47522         * soft-fp/sqrttf2.c: Likewise.
47523         * soft-fp/subdf3.c: Likewise.
47524         * soft-fp/subsf3.c: Likewise.
47525         * soft-fp/subtf3.c: Likewise.
47526         * soft-fp/truncdfsf2.c: Likewise.
47527         * soft-fp/trunctfdf2.c: Likewise.
47528         * soft-fp/trunctfsf2.c: Likewise.
47529         * soft-fp/trunctfxf2.c: Likewise.
47530         * soft-fp/unorddf2.c: Likewise.
47531         * soft-fp/unordsf2.c: Likewise.
47532         * soft-fp/unordtf2.c: Likewise.
47534 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
47536         [BZ #15672]
47537         * misc/error.c (error_tail): Fix possible buffer overflow.
47539 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
47541         [BZ #13028]
47542         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
47543         address.
47545 2013-10-14  P. J. McDermott  <pj@pehjota.net>
47547         [BZ #832]
47548         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
47549         testing pipefail option.
47551 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
47553         * soft-fp/double.h: Indent preprocessor directives inside #if.
47554         * soft-fp/extended.h: Likewise.
47555         * soft-fp/op-2.h: Likewise.
47556         * soft-fp/op-4.h: Likewise.
47557         * soft-fp/op-common.h: Likewise.
47558         * soft-fp/quad.h: Likewise.
47559         * soft-fp/single.h: Likewise.
47560         * soft-fp/soft-fp.h: Likewise.
47562 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
47564         * iconv/iconv_prog.c: Fix typos.
47565         * stdio-common/psiginfo-data.h: Likewise.
47567 2013-10-12   Reuben Thomas <rrt@sc3d.org>
47569         [BZ #15764]
47570         * locale/setlocale.c: Fix typo.
47572 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
47574         [BZ #16036]
47575         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
47576         signaling NaN arguments.
47577         * soft-fp/unordsf2.c (__unordsf2): Likewise.
47578         * soft-fp/unordtf2.c (__unordtf2): Likewise.
47580         [BZ #14910]
47581         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
47582         unordered operands.
47583         * soft-fp/gesf2.c (__gesf2): Likewise.
47584         * soft-fp/getf2.c (__getf2): Likewise.
47585         * soft-fp/ledf2.c (__ledf2): Likewise.
47586         * soft-fp/lesf2.c (__lesf2): Likewise.
47587         * soft-fp/letf2.c (__letf2): Likewise.
47589         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
47590         * soft-fp/eqsf2.c (__eqsf2): Likewise.
47591         * soft-fp/eqtf2.c (__eqtf2): Likewise.
47592         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
47593         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
47594         * soft-fp/fixdfti.c (__fixdfti): Likewise.
47595         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
47596         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
47597         * soft-fp/fixsfti.c (__fixsfti): Likewise.
47598         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
47599         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
47600         * soft-fp/fixtfti.c (__fixtfti): Likewise.
47601         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
47602         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
47603         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
47604         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
47605         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
47606         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
47607         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
47608         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
47609         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
47610         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
47611         * soft-fp/floatdisf.c (__floatdisf): Likewise.
47612         * soft-fp/floatsisf.c (__floatsisf): Likewise.
47613         * soft-fp/floattidf.c (__floattidf): Likewise.
47614         * soft-fp/floattisf.c (__floattisf): Likewise.
47615         * soft-fp/floattitf.c (__floattitf): Likewise.
47616         * soft-fp/floatundidf.c (__floatundidf): Likewise.
47617         * soft-fp/floatundisf.c (__floatundisf): Likewise.
47618         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
47619         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
47620         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
47621         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
47622         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
47623         * soft-fp/gesf2.c (__gesf2): Likewise.
47624         * soft-fp/getf2.c (__getf2): Likewise.
47625         * soft-fp/ledf2.c (__ledf2): Likewise.
47626         * soft-fp/lesf2.c (__lesf2): Likewise.
47627         * soft-fp/letf2.c (__letf2): Likewise.
47629         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
47630         Undefine and redefine.
47631         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
47632         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
47633         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
47634         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
47635         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47636         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
47637         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47638         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
47639         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47640         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
47641         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47642         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
47643         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47644         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
47645         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47647         [BZ #16032]
47648         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
47649         without decrementing exponent if mantissa >= that for the
47650         denominator, not >.
47651         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
47652         denominator, not >.  Decrement exponent in < case instead of
47653         incrementing in >= case.
47654         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
47655         without decrementing exponent if mantissa >= that for the
47656         denominator, not >.
47658         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
47659         computing saturated result for unsigned overflow.
47661 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47662             Jeff Law  <law@redhat.com>
47664         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
47665         (atan2Mp): Add systemtap probe marker.
47666         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
47667         (__ieee754_log): Add systemtap probe marker.
47668         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
47669         (atanMp): Add systemtap probe marker.
47670         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
47671         (tanMp): Add systemtap probe marker.
47672         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
47673         (__slowexp): Add systemtap probe marker.
47674         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
47675         (__slowpow): Add systemtap probe marker.
47676         * manual/probes.texi: Document probes.
47678 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
47680         [BZ #15362]
47681         * libio/fileops.c (_IO_new_file_write): Return count of bytes
47682         written.
47683         (_IO_new_file_xsputn): Don't return EOF if nothing has been
47684         written.
47685         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
47686         written to buffer but not flushed.
47687         * libio/iofwrite_u.c:  Likewise.
47688         * libio/iopadn.c:  Return bytes returned even if EOF was
47689         encountered.
47690         * libio/iowpadn.c:  Likewise.
47691         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
47692         if _IO_padn does not write the whole buffer.
47693         [!COMPILE_WPRINTF] (PAD): Likewise.
47695 2013-10-10  David S. Miller  <davem@davemloft.net>
47697         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
47698         directory block.
47700 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
47702         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
47703         instead of FSF address.
47704         * soft-fp/fixdfti.c: Likewise.
47705         * soft-fp/fixsfti.c: Likewise.
47706         * soft-fp/fixtfti.c: Likewise.
47707         * soft-fp/fixunsdfti.c: Likewise.
47708         * soft-fp/fixunssfti.c: Likewise.
47709         * soft-fp/fixunstfti.c: Likewise.
47710         * soft-fp/floattidf.c: Likewise.
47711         * soft-fp/floattisf.c: Likewise.
47712         * soft-fp/floattitf.c: Likewise.
47713         * soft-fp/floatuntidf.c: Likewise.
47714         * soft-fp/floatuntisf.c: Likewise.
47715         * soft-fp/floatuntitf.c: Likewise.
47716         * soft-fp/trunctfxf2.c: Likewise.
47718         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
47719         * soft-fp/fixdfti.c: Likewise.
47720         * soft-fp/fixsfti.c: Likewise.
47721         * soft-fp/fixtfti.c: Likewise.
47722         * soft-fp/fixunsdfti.c: Likewise.
47723         * soft-fp/fixunssfti.c: Likewise.
47724         * soft-fp/fixunstfti.c: Likewise.
47725         * soft-fp/floattidf.c: Likewise.
47726         * soft-fp/floattisf.c: Likewise.
47727         * soft-fp/floattitf.c: Likewise.
47728         * soft-fp/floatuntidf.c: Likewise.
47729         * soft-fp/floatuntisf.c: Likewise.
47730         * soft-fp/floatuntitf.c: Likewise.
47731         * soft-fp/trunctfxf2.c: Likewise.
47733 2013-10-10  David S. Miller  <davem@davemloft.net>
47735         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47737 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
47739         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
47740         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
47741         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
47742         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
47743         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
47744         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
47745         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
47747         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
47748         for NaNs before doing comparisons on argument.
47749         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
47750         Likewise.
47752 2013-10-10  Will Newton  <will.newton@linaro.org>
47754         * malloc/hooks.c (memalign_check): Ensure the value of bytes
47755         passed to _int_memalign does not overflow.
47757 2013-10-10  Torvald Riegel  <triegel@redhat.com>
47759         * scripts/bench.pl: Add include-sources directive.
47760         * benchtests/README: Update documentation.
47762 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
47764         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
47765         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
47766         instead of FP_INIT_ROUNDMODE.
47767         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
47768         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
47770         [BZ #16034]
47771         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
47772         copy class of input value.
47773         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
47774         not handle exceptions.
47775         * soft-fp/negsf2.c (__negsf2): Likewise.
47776         * soft-fp/negtf2.c (__negtf2): Likewise.
47777         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
47779 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
47781         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
47782         semicolon.  From Linux kernel.
47784 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
47786         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
47788 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
47790         [BZ #156]
47791         * manual/socket.texi: Added statement about buffer
47792         for gethostbyname2_r.
47794 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
47796         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
47797         Use .p2align directive instead, throughout.
47798         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
47799         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
47800         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
47801         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47802         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47803         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
47804         * sysdeps/x86_64/strchr.S: Likewise.
47805         * sysdeps/x86_64/strrchr.S: Likewise.
47807 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
47809         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
47811         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
47813         * sysdeps/generic/math_private.h (__mpsin1): Remove
47814         declaration.
47815         (__mpcos1): Likewise.
47816         (__mpsin): New argument __range_reduce.
47817         (__mpcos): Likewise.
47818         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47819         (slow): Use __mpsin and __mpcos.
47820         (slow1): Likewise.
47821         (slow2): Likewise.
47822         (sloww): Likewise.
47823         (sloww1): Likewise.
47824         (sloww2): Likewise.
47825         (bsloww): Likewise.
47826         (bsloww1): Likewise.
47827         (bsloww2): Likewise.
47828         (cslow2): Likewise.
47829         (csloww): Likewise.
47830         (csloww1): Likewise.
47831         (csloww2): Likewise.
47832         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
47833         range_reduce.  Merge in __mpsin1.
47834         (__mpcos): Likewise.
47835         (__mpsin1): Remove.
47836         (__mpcos1): Likewise.
47838 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
47840         * locale/loadlocale.c (_nl_intern_locale_data): Use
47841         LOCFILE_ALIGNED_P.
47842         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
47843         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
47844         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
47845         obstack data is appropriately aligned.
47846         (obstack_int32_grow_fast): Likewise.
47847         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
47848         * locale/programs/locfile.c (add_locale_uint32): Likewise.
47849         (add_locale_uint32_array): Likewise.
47851 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
47853         * benchtests/Makefile: Remove ARGLIST and RET variables.
47854         ($(objpfx)bench-%.c): Pass only function name to the script.
47855         * benchtests/README: Update documentation.
47856         * benchtests/acos-inputs: Add new directives.
47857         * benchtests/acosh-inputs: Likewise.
47858         * benchtests/asin-inputs: Likewise.
47859         * benchtests/asinh-inputs: Likewise.
47860         * benchtests/atan-inputs: Likewise.
47861         * benchtests/atanh-inputs: Likewise.
47862         * benchtests/cos-inputs: Likewise.
47863         * benchtests/cosh-inputs: Likewise.
47864         * benchtests/exp-inputs: Likewise.
47865         * benchtests/log-inputs: Likewise.
47866         * benchtests/pow-inputs: Likewise.
47867         * benchtests/rint-inputs: Likewise.
47868         * benchtests/sin-inputs: Likewise.
47869         * benchtests/sinh-inputs: Likewise.
47870         * benchtests/tan-inputs: Likewise.
47871         * benchtests/tanh-inputs: Likewise.
47872         * scripts/bench.pl: Add support for new directives.
47874 2013-10-07  Alan Modra  <amodra@gmail.com>
47876         * README: Fix careless merge.
47878 2013-10-05  Alan Modra  <amodra@gmail.com>
47880         * NEWS: Mention powerpc64le support and bugs fixed.
47881         * README: Both big-endian and little-endian powerpc64 supported.
47883 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47885         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
47886         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
47887         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
47888         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
47890 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
47892         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
47893         match prototype.
47895 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
47897         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
47898         Move -mhard-float appending from
47899         ports/sysdeps/powerpc/powerpc32/Makefile.
47900         [$(with-fp) = yes] (ASFLAGS): Likewise.
47901         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
47902         * sysdeps/powerpc/nofpu: Move directory from
47903         ports/sysdeps/powerpc/nofpu.
47904         * sysdeps/powerpc/soft-fp: Move directory from
47905         ports/sysdeps/powerpc/soft-fp.
47906         * sysdeps/powerpc/powerpc32/405: Move directory from
47907         ports/sysdeps/powerpc/powerpc32/405.
47908         * sysdeps/powerpc/powerpc32/440: Move directory from
47909         ports/sysdeps/powerpc/powerpc32/440.
47910         * sysdeps/powerpc/powerpc32/464: Move directory from
47911         ports/sysdeps/powerpc/powerpc32/464.
47912         * sysdeps/powerpc/powerpc32/476: Move directory from
47913         ports/sysdeps/powerpc/powerpc32/476.
47914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
47915         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
47916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
47917         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
47918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
47919         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
47920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
47921         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
47922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
47923         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
47924         * README: Update for powerpc-*-linux-gnu software floating point
47925         support in libc.
47927         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
47928         case to powerpc/powerpc32*.
47929         * sysdeps/unix/sysv/linux/configure: Regenerated.
47931         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
47932         (_FPU_MASK_OM): Define as 0x04.
47933         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
47934         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
47935         0x00c10080.
47936         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
47937         0x0000003c.
47938         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
47940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
47941         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
47942         getcontext_e500.
47943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
47944         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
47945         setcontext_e500.
47946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
47947         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
47948         and setcontext_e500.
47950 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
47952         * locale/iso-3166.def: Update iso-1366.def and related occurrences
47954 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47956         * manual/threads.texi (Default Thread Attributes): Fix typo.
47958 2013-10-04  Will Newton  <will.newton@linaro.org>
47960         * malloc/Makefile: Add tst-memalign.
47961         * malloc/tst-memalign.c: New file.
47963         * malloc/tst-posix_memalign.c: Add comments.
47964         (do_test): Add comments and call free on all potentially
47965         allocated pointers. Add space after cast.
47967         * malloc/tst-pvalloc.c: Add comments.
47968         (do_test): Add comments and call free on all potentially
47969         allocated pointers. Remove duplicate check for NULL pointer.
47970         Add space after cast.
47972         * malloc/tst-valloc.c: Add comments.
47973         (do_test): Add comments and call free on all potentially
47974         allocated pointers. Remove duplicate check for NULL pointer.
47975         Add space after cast.
47977 2013-10-04  Alan Modra  <amodra@gmail.com>
47979         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
47980         Use stdint types in rather than __attribute__((mode())).
47981         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
47983 2013-10-04  Alan Modra  <amodra@gmail.com>
47985         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
47986         Correct handling of unaligned relocs for little-endian.
47987         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
47989 2013-10-04  Alan Modra  <amodra@gmail.com>
47991         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
47992         * configure: Regenerate.
47993         * nptl/shlib-versions: Powerpc*le starts at 2.18.
47994         * shlib-versions: Likewise.
47996 2013-10-04  Alan Modra  <amodra@gmail.com>
47998         * string/tester.c (test_memrchr): Increment reported test cycle.
48000 2013-10-04  Alan Modra  <amodra@gmail.com>
48002         * string/test-memcpy.c (do_one_test): When reporting errors, print
48003         string address and don't overrun end of string.
48005 2013-10-04  Alan Modra  <amodra@gmail.com>
48007         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
48008         insrdi.  Make better use of reg selection to speed exit slightly.
48009         Schedule entry path a little better.  Remove useless "are we done"
48010         checks on entry to main loop.  Handle wrapping around zero address.
48011         Correct main loop count.  Handle single left-over word from main
48012         loop inline rather than by using loop_small.  Remove extra word
48013         case in loop_small caused by wrong loop count.  Add little-endian
48014         support.
48015         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
48016         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
48017         cache hint.
48018         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
48019         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
48020         support.  Avoid rlwimi.
48021         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
48023 2013-10-04  Alan Modra  <amodra@gmail.com>
48025         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
48026         insrdi.  Formatting.
48027         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
48028         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
48029         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
48030         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
48031         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
48032         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
48034 2013-10-04  Alan Modra  <amodra@gmail.com>
48036         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
48037         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
48038         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
48039         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
48040         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
48041         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
48042         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
48043         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
48044         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
48045         use of regs.  Use power7 mtocrf.  Tidy function tails.
48047 2013-10-04  Alan Modra  <amodra@gmail.com>
48049         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
48050         Formatting.  Consistently use rXXX register defines or rN defines.
48051         Use early exit labels that avoid restoring unused non-volatile regs.
48052         Make cr field use more consistent with rWORDn compares.  Rename
48053         regs used as shift registers for unaligned loop, using rN defines
48054         for short lifetime/multiple use regs.
48055         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
48056         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
48057         addi 1,1,64 to pop stack frame.  Simplify return value code.
48058         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
48060 2013-10-04  Alan Modra  <amodra@gmail.com>
48062         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
48063         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
48064         rather than rlwimi.
48065         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
48066         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
48067         little-endian support.  Correct typos.
48068         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
48069         rather than rlwimi.
48070         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
48071         in loop and entry code to keep "and." results.
48072         (strchr): Add little-endian support.  Comment.  Move cntlzd
48073         earlier in tail.
48074         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
48076 2013-10-04  Alan Modra  <amodra@gmail.com>
48078         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
48079         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
48080         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
48081         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
48083 2013-10-04  Alan Modra  <amodra@gmail.com>
48085         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
48086         (rTMP): Define as r11.
48087         (strcmp): Add little-endian support.  Optimise tail.
48088         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
48089         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
48090         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
48091         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48092         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
48093         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48094         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48096 2013-10-04  Alan Modra  <amodra@gmail.com>
48098         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
48099         little-endian support.  Remove unnecessary "are we done" tests.
48100         Handle "s" wrapping around zero and extremely large "size".
48101         Correct main loop count.  Handle single left-over word from main
48102         loop inline rather than by using small_loop.  Correct comments.
48103         Delete "zero" tail, use "end_max" instead.
48104         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
48106 2013-10-04  Alan Modra  <amodra@gmail.com>
48108         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
48109         support.  Don't branch over align.
48110         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
48111         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
48112         support.  Rearrange tmp reg use to suit.  Comment.
48113         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
48115 2013-10-04  Alan Modra  <amodra@gmail.com>
48117         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
48119 2013-10-04  Alan Modra  <amodra@gmail.com>
48121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
48122         conditional form of branch and link when obtaining pc.
48123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
48125 2013-10-04  Alan Modra  <amodra@gmail.com>
48127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
48128         HIWORD/LOWORD.
48129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
48130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
48132 2013-10-04  Alan Modra  <amodra@gmail.com>
48134         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
48135         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
48136         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
48137         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
48138         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
48139         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
48140         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
48141         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
48142         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
48143         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
48145 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
48146             Alistair Popple <alistair@ozlabs.au.ibm.com>
48147             Alan Modra <amodra@gmail.com>
48149         [BZ #15723]
48150         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
48151         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
48152         _dl_hwcap access for little-endian.
48153         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
48154         destroy vmx regs when saving unaligned.
48155         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
48156         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
48157         destroy vmx regs when saving unaligned.
48159 2013-10-04  Alan Modra  <amodra@gmail.com>
48161         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
48162         Don't use a union to pack hi/low value.
48164 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
48166         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
48167         for little-endian.
48168         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
48169         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
48170         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
48171         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
48172         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
48174 2013-10-04  Alan Modra  <amodra@gmail.com>
48176         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
48177         constants to usual value for .cst8 section, and remove redundant
48178         high address load.
48179         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
48180         constant for 0x1p52.  Load little-endian words of double from
48181         correct stack offsets.
48183 2013-10-04  Alan Modra  <amodra@gmail.com>
48185         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
48186         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
48187         words of double from correct stack offsets.
48188         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
48189         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
48190         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
48191         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
48192         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
48193         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
48194         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
48195         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
48196         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
48197         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
48198         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
48199         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
48200         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
48201         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
48202         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
48203         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
48204         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
48206 2013-10-04  Alan Modra  <amodra@gmail.com>
48208         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
48209         64-bit int/double union.
48210         (_FPU_SETCW): Likewise.
48211         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
48212         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
48214 2013-10-04  Alan Modra  <amodra@gmail.com>
48216         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
48217         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
48219 2013-10-04  Alan Modra  <amodra@gmail.com>
48221         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
48222         use vector int constants.
48223         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
48225 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
48227         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
48228         array with long long.
48229         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
48230         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
48231         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
48232         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
48233         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
48234         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
48235         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
48236         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
48237         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
48238         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
48239         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
48240         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
48241         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
48243 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
48245         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
48246         (__signbit): Likewise.  Correct for little-endian.
48247         (__signbitl): Call __signbit.
48248         (lrint): Correct for little-endian.
48249         (lrintf): Call lrint.
48251 2013-10-04  Alan Modra  <amodra@gmail.com>
48253         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
48254         union 32-bit int array member with 64-bit int array.
48255         (t515, tm256): Double rather than long double.
48256         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
48258 2013-10-04  Alan Modra  <amodra@gmail.com>
48260         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
48261         Delete.
48262         (IEEE854_LONG_DOUBLE_BIAS): Delete.
48263         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
48264         version of math_ldbl.h.
48266 2013-10-04  Alan Modra  <amodra@gmail.com>
48268         [BZ #15734], [BZ #15735]
48269         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
48270         all uses of ieee875 long double macros and unions.  Simplify test
48271         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
48272         ldbl_extract_mantissa value for ix,iy exponents.  Properly
48273         normalize after ldbl_extract_mantissa, and don't add hidden bit
48274         already handled.  Don't treat low word of ieee854 mantissa like
48275         low word of IBM long double and mask off bit when testing for
48276         zero.
48277         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
48278         all uses of ieee875 long double macros and unions.  Simplify tests
48279         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
48280         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
48281         two1022, instead use their values.  Recognise that tests for large
48282         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
48283         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
48284         Rewrite all uses of ieee875 long double macros and unions.  Simplify
48285         test for 0.0L and nan.  Correct negation.
48286         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
48287         ieee875 long double macros and unions.  Correct output for large
48288         magnitude x.  Correct absolute value calculation.
48289         (__erfcl): Likewise.
48290         * math/libm-test.inc: Add tests for errors discovered in IBM long
48291         double versions of fmodl, remainderl, erfl and erfcl.
48293 2013-10-04  Alan Modra  <amodra@gmail.com>
48295         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
48296         all uses of ieee854 long double macros and unions.  Simplify tests
48297         for long doubles that are fully specified by the high double.
48298         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
48299         Likewise.
48300         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
48301         Remove dead code too.
48302         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
48303         (__ieee754_ynl): Likewise.
48304         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
48305         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
48306         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
48307         Remove dead code too.
48308         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
48309         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
48310         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
48311         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
48312         Simplify.
48313         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
48314         Simplify.
48315         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
48316         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
48317         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
48318         Comment on variable precision.
48319         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
48320         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
48321         Likewise.
48322         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
48323         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
48324         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
48325         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
48326         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
48328 2013-10-04  Alan Modra  <amodra@gmail.com>
48330         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
48331         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
48332         all uses of ieee854 long double macros and unions.
48333         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
48334         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
48335         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
48336         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
48337         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
48338         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
48339         Likewise.
48340         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
48341         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
48342         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
48343         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
48344         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
48345         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
48346         Simplify sign and nan test too.
48347         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
48348         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
48349         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
48350         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
48351         Likewise.
48352         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
48353         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
48354         Likewise.
48355         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48356         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
48357         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
48358         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
48359         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
48360         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
48362 2013-10-04  Alan Modra  <amodra@gmail.com>
48364         * stdio-common/printf_size.c (__printf_size): Don't use
48365         union ieee854_long_double in fpnum union.
48366         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
48367         signbit macro to retrieve sign from long double.
48368         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
48369         retrieve sign from long double.
48370         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
48371         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
48372         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
48373         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
48374         * math/test-misc.c (main): Don't use union ieee854_long_double.
48376 2013-10-04  Alan Modra  <amodra@gmail.com>
48378         [BZ #15680]
48379         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
48380         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
48381         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
48382         calculation.  Remove unnecessary test for denormal exponent.
48383         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
48384         Correct handling of denormals.  Avoid undefined shift behaviour.
48385         Correct normalisation of low mantissa when low double is denormal.
48386         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
48387         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
48388         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
48389         Correct normalisation of low mantissa.  Test for overflow of high
48390         mantissa and normalise.
48391         (ldbl_nearbyint): Use more readable constant for two52.
48392         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
48393         (__mpn_construct_long_double): Fix test for overflow of high
48394         mantissa and correct normalisation.  Avoid undefined shift.
48396 2013-10-04  Alan Modra  <amodra@gmail.com>
48398         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
48399         (union ibm_extended_long_double): Define as an array of ieee754_double.
48400         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
48401         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
48402         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
48403         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
48404         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48405         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
48406         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
48407         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
48408         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
48409         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
48410         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
48412 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
48414         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
48415         page size instead of calling getpagesize.
48417         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
48418         (LOCFILE_ALIGN_MASK): Likewise.
48419         (LOCFILE_ALIGN_UP): Likewise.
48420         (LOCFILE_ALIGNED_P): Likewise.
48421         * locale/programs/ld-collate.c (collate_output): Use the new
48422         macros instead of __alignof__ (int32_t).
48423         * locale/weight.h (findidx): Likewise.
48425 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
48427         [BZ #431]
48428         * manual/string.texi: Fix strncat and wcsncat.
48430 2013-10-03  Brooks Moses  <bmoses@google.com>
48432         [BZ #15915]
48433         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
48434         * Makerules: ...here, and adjust associated comments.
48436 2013-10-02  Will Newton  <will.newton@linaro.org>
48438         * malloc/Makefile: Add tst-pvalloc.
48439         * malloc/tst-pvalloc.c: New file.
48441 2013-10-02  Will Newton  <will.newton@linaro.org>
48443         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
48444         improve test coverage.
48446 2013-10-02  Will Newton  <will.newton@linaro.org>
48448         * malloc/Makefile: Add tst-posix_memalign.
48449         * malloc/tst-posix_memalign.c: New file.
48451 2013-10-01  Eric Blake  <eblake@redhat.com>
48453         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
48454         Use __THROWNL rather than __THROW on static functions.
48456 2013-09-30  Petr Machata  <pmachata@redhat.com>
48458         * elf/elf.h (R_AARCH64_ABS16): New macro.
48459         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
48460         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
48461         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
48462         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
48463         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
48464         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
48465         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
48466         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
48467         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
48468         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
48469         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
48470         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
48471         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
48472         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
48473         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
48474         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
48475         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
48476         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
48477         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
48478         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
48479         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
48480         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
48481         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
48482         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
48483         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
48484         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
48485         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
48486         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
48487         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
48488         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
48489         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
48490         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
48491         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
48492         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
48493         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
48494         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
48495         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
48496         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
48497         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
48498         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
48499         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
48500         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
48501         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
48502         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
48503         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
48504         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
48505         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
48506         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
48507         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
48508         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
48509         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
48510         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
48511         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
48512         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
48513         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
48514         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
48515         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
48516         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
48517         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
48518         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
48519         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
48520         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
48521         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
48522         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
48523         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
48524         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
48525         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
48526         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
48527         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
48528         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
48529         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
48530         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
48531         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
48532         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
48533         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
48534         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
48535         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
48536         (R_AARCH64_TLSDESC_LDR): Likewise.
48537         (R_AARCH64_TLSDESC_ADD): Likewise.
48538         (R_AARCH64_TLSDESC_CALL): Likewise.
48540 2013-09-30  Andreas Schwab  <schwab@suse.de>
48542         [BZ #15048]
48543         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
48544         the nss database lookup.
48545         * nscd/initgrcache.c (addinitgroupsX): Likewise.
48546         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48548 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
48550         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
48552 2013-09-28  P. J. McDermott  <pj@pehjota.net>
48554         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
48555         ${Bash-specific parameter/pattern/string} parameter expansion.
48556         * sysdeps/unix/make-syscalls.sh: Likewise.
48558 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48560         * sysdeps/sh/stackguard-macros.h: New file.
48562 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
48564         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
48565         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
48566         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
48567         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
48568         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48569         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
48571 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48573         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
48574         Fix thread ID register.
48576 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
48578         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
48579         [POSIX || UNIX98]: Require rather than permitting all symbols from
48580         <time.h>.
48581         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
48582         element of struct sched_param.
48583         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
48584         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
48585         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
48586         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
48587         constant.
48589 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
48591         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
48592         argument calculation.
48594 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
48596         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
48597         Expect macro.
48598         [POSIX] (pthread_attr_t): Do not require type.
48599         [POSIX] (pthread_cond_t): Likewise.
48600         [POSIX] (pthread_condattr_t): Likewise.
48601         [POSIX] (pthread_key_t): Likewise.
48602         [POSIX] (pthread_mutex_t): Likewise.
48603         [POSIX] (pthread_mutexattr_t): Likewise.
48604         [POSIX] (pthread_once_t): Likewise.
48605         [POSIX] (pthread_t): Likewise.
48606         [POSIX-based standards] (pthread_atfork): Expect function.
48608 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
48609             Richard Sandiford  <richard@codesourcery.com>
48611         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
48612         (swap_endianness_p): New extern variable.
48613         (set_big_endian): New inline function.
48614         (maybe_swap_uint32): Likewise.
48615         (maybe_swap_uint32_array): Likewise.
48616         (maybe_swap_uint32_obstack): Likewise.
48617         * locale/programs/locfile.c: Include <stdbool.h>.
48618         (swap_endianness_p): New variable.
48619         (add_locale_uint32): Call maybe_swap_uint32.
48620         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
48621         (write_locale_data): Call maybe_swap_uint32_array.
48622         * locale/programs/ld-collate.c (obstack_int32_grow): Call
48623         maybe_swap_uint32.
48624         (obstack_int32_grow_fast): Likewise.
48625         (output_weightwc): Call maybe_swap_uint32_obstack.
48626         (collate_output): Likewise.
48627         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
48628         (OPT_LITTLE_ENDIAN): Likewise.
48629         (options): Add --little-endian and --big-endian options.
48630         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
48631         * locale/programs/locarchive.c: Include "locfile.h".
48632         (GET): New macro.
48633         (SET): Likewise.
48634         (INC): Likewise.
48635         (create_archive): Use the new macros to access fields of
48636         structures directly mapped from or written to locale archives.
48637         (oldlocrecentcmp): Likewise.
48638         (enlarge_archive): Likewise.
48639         (insert_name): Likewise.
48640         (add_alias): Likewise.
48641         (add_locale): Likewise.
48642         (delete_locales_from_archive): Likewise.
48643         (show_archive_content): Likewise.
48644         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
48645         locale data.
48647 2013-09-24  Roland McGrath  <roland@hack.frob.com>
48649         * manual/freemanuals.texi: Updated from (newly) canonical copy at
48650         http://www.gnu.org/doc/freemanuals.texi.
48651         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
48653 2013-09-24  Will Newton  <will.newton@linaro.org>
48655         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
48656         macro.
48658 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
48660         * locale/hashval.h (compute_hashval): Interpret bytes of key as
48661         unsigned char.
48663 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
48665         * manual/threads.texi (POSIX Threads): Fix a typo.
48667 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
48669         [BZ #14547]
48670         * string/tst-strcoll-overflow.c: New test case.
48671         * string/Makefile (xtests): Add tst-strcoll-overflow.
48672         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
48673         cache if string sizes may cause integer overflow.
48675         [BZ #14547]
48676         * string/strcoll_l.c (coll_seq): New members rule, idx,
48677         save_idx and back_us.
48678         (get_next_seq_nocache): New function.
48679         (do_compare_nocache): New function.
48680         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
48681         when malloc fails.
48683 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
48685         [BZ #15754]
48686         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
48687         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
48688         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
48690         [BZ #15754]
48691         * elf/Makefile (tests): Add tst-ptrguard1.
48692         (tests-static): Add tst-ptrguard1-static.
48693         (tst-ptrguard1-ARGS): Define.
48694         (tst-ptrguard1-static-ARGS): Define.
48695         * elf/tst-ptrguard1.c: New file.
48696         * elf/tst-ptrguard1-static.c: New file.
48697         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
48698         * sysdeps/i386/stackguard-macros.h: Likewise.
48699         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
48700         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
48701         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
48702         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
48703         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
48704         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
48706 2013-09-23  Hector Marco  <hecmargi@upv.es>
48707             Ismael Ripoll  <iripoll@disca.upv.es>
48708             Carlos O'Donell  <carlos@redhat.com>
48710         [BZ #15754]
48711         * sysdeps/generic/stackguard-macros.h: Define
48712         __pointer_chk_guard_local and POINTER_CHK_GUARD.
48713         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
48714         Define __pointer_chk_guard_local.
48715         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
48716         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
48718 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
48720         [BZ #15859]
48721         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
48723 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
48725         * include/string.h (__ffs): Declare as hidden.
48726         * string/ffs.c (__ffs): Define as hidden.
48727         * sysdeps/i386/ffs.c (__ffs): Likewise.
48728         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
48729         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
48730         * sysdeps/s390/ffs.c (__ffs): Likewise.
48731         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
48733 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
48735         * NEWS: Mention malloc probes.
48737         * malloc/arena.c (new_heap): New memory_heap_new probe.
48738         (grow_heap): New memory_heap_more probe.
48739         (shrink_heap): New memory_heap_less probe.
48740         (heap_trim): New memory_heap_free probe.
48741         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
48742         (systrim): New memory_sbrk_less probe.
48743         * manual/probes.texi: Document them.
48745         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
48746         * manual/probes.texi: Document it.
48748         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
48749         (__libc_realloc): Add memory_realloc_retry probe.
48750         (__libc_memalign): Add memory_memalign_retry probe.
48751         (__libc_valloc): Add memory_valloc_retry probe.
48752         (__libc_pvalloc): Add memory_pvalloc_retry probe.
48753         (__libc_calloc): Add memory_calloc_retry probe.
48754         * manual/probes.texi: Document them.
48756         * malloc/arena.c (get_free_list): Add probe
48757         memory_arena_reuse_free_list.
48758         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
48759         and memory_arena_reuse.
48760         (arena_get2) [!PER_THREAD]: Likewise.
48761         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
48762         memory_arena_reuse_realloc.
48763         * manual/probes.texi: Document them.
48765         * malloc/malloc.c (__libc_free): Add
48766         memory_mallopt_free_dyn_thresholds probe.
48767         (__libc_mallopt): Add multiple memory_mallopt probes.
48768         * manual/probes.texi: Document them.
48770         * malloc/malloc.c: Include stap-probe.h.
48771         (__libc_mallopt): Add memory_mallopt probe.
48772         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
48773         * manual/probes.texi: New.
48774         * manual/Makefile (chapters): Add probes.
48775         * manual/threads.texi: Set next node.
48777 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
48779         [BZ #15963, #13985]
48780         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
48781         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
48782         Add `Chinese' to `nan' entry name.
48784 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
48786         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
48787         (POLYNOMIAL): Likewise.
48788         (TAYLOR_SINCOS): Likewise.
48789         (TAYLOR_SLOW): Likewise.
48790         (__sin): Use TAYLOR_SINCOS.
48791         (__cos): Likewise.
48792         (slow): Use TAYLOR_SLOW.
48793         (sloww): Likewise.
48794         (bsloww): Likewise.
48795         (csloww): Likewise.
48797 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48799         * stdlib/strtod_l.c: Fix buffer overrun.
48801 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
48803         * benchtests/Makefile (bench): Add sincos.
48804         * benchtests/bench-sincos.c: New file.
48806         * math/libm-test.inc (cos_test_data): New test inputs.
48807         (sin_test_data): Likewise.
48809         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
48810         macro.
48811         (__sin): Use it.
48812         (__cos): Likewise.
48813         (slow1): Likewise.
48814         (slow2): Likewise.
48815         (sloww1): Likewise.
48816         (sloww2): Likewise.
48817         (bsloww1): Likewise.
48818         (bsloww2): Likewise.
48819         (cslow2): Likewise.
48820         (csloww1): Likewise.
48821         (csloww2): Likewise.
48823         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
48824         function.
48825         (__sin): Use it.
48826         (__cos): Likewise.
48828         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
48829         gotos.
48830         (__cos): Likewise.
48832 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
48834         * config.h.in (HAVE_MIPS_NAN2008): New macro.
48835         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
48836         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
48837         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
48838         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
48839         * elf/cache.c (print_entry): Handle the new cache flags.
48841 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
48842             Aldy Hernandez  <aldyh@redhat.com>
48844         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
48845         Change condition to [_SOFT_FLOAT].
48846         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
48847         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
48848         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
48849         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
48850         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
48851         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
48852         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
48853         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
48854         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
48855         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
48856         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
48857         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
48858         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
48859         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
48860         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
48861         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
48862         declaration.
48864 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
48866         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
48867         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
48868         (__longjmp): Use LOAD_GP to load saved GPRs.
48869         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
48870         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
48871         (__sigsetjmp): Use SAVE_GP to save GPRs.
48873         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
48874         Do not append -msoft-float.
48875         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
48877 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
48879         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
48881 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
48883         [BZ #15966]
48884         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
48885         (_FPU_GETCW): Use initial "__" on variable and field names but not
48886         on macro parameter name.
48887         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
48888         parentheses around reference to macro parameter.
48890 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
48892         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
48893         prototype.
48894         (ctype_startup): Use uint32_t in cast and sizeof for
48895         ctype->charnames.
48897 2013-09-11  Jia Liu  <proljc@gmail.com>
48899         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
48900         __daddr_t_defined.
48901         [__FreeBSD__]: Likewise.
48903 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
48905         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
48906         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
48907         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
48908         (strchr): Remove __strchr_sse42 ifunc selection.
48909         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
48910         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
48912 2013-09-11  Will Newton  <will.newton@linaro.org>
48914         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
48915         parameter to RES. Remove hardcoded 1000 value.
48916         * benchtests/bench-skeleton.c (main): Pass RES parameter
48917         to TIMING_INIT and multiply result by 1000.
48919 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48921         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48923 2013-09-11  Andreas Schwab  <schwab@suse.de>
48925         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
48926         if not defined.
48927         (O_TMPFILE) [__USE_GNU]: Define.
48928         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
48929         Define.
48931 2013-09-11  Will Newton  <will.newton@linaro.org>
48933         [BZ #15857]
48934         * malloc/malloc.c (__libc_memalign): Check the value of bytes
48935         does not overflow.
48937 2013-09-11  Will Newton  <will.newton@linaro.org>
48939         [BZ #15856]
48940         * malloc/malloc.c (__libc_valloc): Check the value of bytes
48941         does not overflow.
48943 2013-09-11  Will Newton  <will.newton@linaro.org>
48945         [BZ #15855]
48946         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
48947         does not overflow.
48949 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
48951         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
48952         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48953         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48954         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48955         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48957 2013-09-10  Allan McRae  <allan@archlinux.org>
48959         [BZ #15748]
48960         * manual/arith.texi (Parsing of Floats): Clarify
48961         cross-reference.
48963         [BZ #15849]
48964         * manual/install.texi (Running make install): Mention
48965         --enable-pt-chown.
48966         * INSTALL: Regenerated.
48968 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
48970         * csu/init-first.c (_init): Remove the !SHARED condition around
48971         FPU control word initialization.
48972         * elf/dl-support.c (_dl_fpu_control): New variable.
48973         (_dl_aux_init) <AT_FPUCW>: Initialize it.
48974         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
48975         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
48976         * math/test-fpucw-static.c: New file.
48977         * math/test-fpucw-ieee.c: New file.
48978         * math/test-fpucw-ieee-static.c: New file.
48979         * math/Makefile (tests): Add `test-fpucw-ieee' and
48980         `$(tests-static)'.
48981         (tests-static): New variable.
48982         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
48983         dependency to...
48984         [($(build-shared),yes)]
48985         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
48986         ... this.
48987         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
48988         New dependency.
48990 2013-09-09  Allan McRae  <allan@archlinux.org>
48992         [BZ #15939]
48993         * manual/string.texi (Collation Functions): Fix typo in
48994         strcoll example.
48995         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
48997         [BZ #15893]
48998         * stdlib/isomac.c (get_null_defines): Fix memory leak.
49000         [BZ #15892]
49001         * libio/memstream.c (open_memstream): Fix memory leak.
49002         * libio/wmemstream.c (open_wmemstream): Likewise.
49004         [BZ #15895]
49005         * nscd/netgroupcache.c: Fix nesting of ifdefs.
49007 2013-09-09  Will Newton  <will.newton@linaro.org>
49009         * malloc/Makefile: Add tst-realloc to tests.
49010         * malloc/tst-realloc.c: New file.
49012 2013-09-09  Allan McRae  <allan@archlinux.org>
49014         [BZ #15844]
49015         * COPYING: Update from GNU website to fix FSF address.
49016         * COPYING.LIB: Likewise.
49018 2013-09-06  David S. Miller  <davem@davemloft.net>
49020         * po/zh_TW.po: Update Chinese (traditional) translation from
49021         translation project.
49023 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
49024             Joseph Myers  <joseph@codesourcery.com>
49026         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
49027         "localeinfo.h".
49028         (obstack_chunk_alloc): New macro.
49029         (obstack_chunk_free): Likewise.
49030         (record_offset): New function.
49031         (init_locale_data): Likewise.
49032         (align_locale_data): Likewise.
49033         (add_locale_empty): Likewise.
49034         (add_locale_raw_data): Likewise.
49035         (add_locale_raw_obstack): Likewise.
49036         (add_locale_string): Likewise.
49037         (add_locale_wstring): Likewise.
49038         (add_locale_uint32): Likewise.
49039         (add_locale_uint32_array): Likewise.
49040         (add_locale_char): Likewise.
49041         (start_locale_structure): Likewise.
49042         (end_locale_structure): Likewise.
49043         (start_locale_prelude): Likewise.
49044         (end_locale_prelude): Likewise.
49045         (write_locale_data): Take locale_file structure rather than an
49046         iovec.
49047         * locale/programs/locfile.h: Include "obstack.h".
49048         (struct locale_file): Change to store locale file contents instead
49049         of header.
49050         (init_locale_data): New prototype.
49051         (align_locale_data): Likewise.
49052         (add_locale_empty): Likewise.
49053         (add_locale_raw_data): Likewise.
49054         (add_locale_raw_obstack): Likewise.
49055         (add_locale_string): Likewise.
49056         (add_locale_wstring): Likewise.
49057         (add_locale_uint32): Likewise.
49058         (add_locale_uint32_array): Likewise.
49059         (add_locale_char): Likewise.
49060         (start_locale_structure): Likewise.
49061         (end_locale_structure): Likewise.
49062         (start_locale_prelude): Likewise.
49063         (end_locale_prelude): Likewise.
49064         (write_locale_data): Update prototype.
49065         * locale/programs/3level.h (struct TABLE): Remove result field.
49066         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
49067         Use new locale_file interface.
49068         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
49069         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
49070         * locale/programs/ld-address.c (address_output): Use new
49071         locale_file interface.
49072         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
49073         NO_ADD_LOCALE.
49074         (collate_finish): Don't call collseq_table_finalize.
49075         (collate_output): Use new locale_file interface.
49076         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
49077         in file.
49078         (NO_FINALIZE): Change to NO_ADD_LOCALE.
49079         (TABLE): Move defines earlier in file.
49080         (ELEMENT): Likewise.
49081         (DEFAULT): Likewise.
49082         (wctrans_table_add): Move macro and inline function earlier in
49083         file.
49084         (struct wctype_table): Move type earlier in file.
49085         (add_locale_wctype_table): New static prototype.
49086         (struct locale_ctype_t): Use logical types instead of struct iovec
49087         pointers for members.
49088         (ctype_output): Use new locale_file interface.
49089         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
49090         new locale_file interface.
49091         (allocate_arrays): Update for use of new locale_file interface.
49092         * locale/programs/ld-identification.c (identification_output): Use
49093         new locale_file interface.
49094         * locale/programs/ld-measurement.c (measurement_output): Likewise.
49095         * locale/programs/ld-messages.c (messages_output): Likewise.
49096         * locale/programs/ld-monetary.c (monetary_output): Likewise.
49097         * locale/programs/ld-name.c (name_output): Likewise.
49098         * locale/programs/ld-numeric.c (numeric_output): Likewise.
49099         * locale/programs/ld-paper.c (paper_output): Likewise.
49100         * locale/programs/ld-telephone.c (telephone_output): Likewise.
49101         * locale/programs/ld-time.c (time_output): Likewise.
49103 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49105         * benchtests/Makefile: Add memrchr benchmark.
49106         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
49107         benchmark as memrchr.
49108         * benchtests/bench-memrchr-ifunc.c: New file.
49109         * benchtests/bench-memrchr.c: New file.
49111 2013-09-06   Will Newton  <will.newton@linaro.org>
49113         * benchtests/Makefile (string-bench): Add memcpy.
49115 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
49116             Cong Wang  <amwang@redhat.com>
49118         [BZ #15850]
49119         * sysdeps/unix/sysv/linux/bits/in.h
49120         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
49121         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
49122         before __USE_KERNEL_IPV6_DEFS uses.
49123         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
49124         IPPROTO_BEETPH.
49125         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
49126         sockaddr_in6, or ipv6_mreq.
49128 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49130         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
49131         memory access for final bytes in some large inputs.
49132         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
49134 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49136         * string/test-memrchr.c: New file.
49137         * string/test-memrchr-ifunc.c: New file.
49138         * string/Makefile: Add new memrchr testcase.
49140 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
49142         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
49143         fanotify_init returns EPERM.
49145 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
49147         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
49148         errors.
49149         (top level): Treat second token from macro or constant entries for
49150         allowed headers as allowed.
49151         * include/complex.h: Condition internal declarations on
49152         [!_ISOMAC].
49153         * include/fenv.h: Condition include of <stdbool.h> and internal
49154         declarations on [!_ISOMAC].
49156 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
49158         [BZ #15923]
49159         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
49161 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
49163         * configure.in (--enable-versioning): Remove configure option.
49164         (libc_cv_asm_symver_directive): Remove configure test.
49165         (libc_cv_ld_version_script_option): Likewise.
49166         (VERSIONING): Remove variable and AC_SUBST.
49167         (DO_VERSIONING): Remove AC_DEFINE.
49168         * configure: Regenerated.
49169         * config.h.in (DO_VERSIONING): Remove macro.
49170         * Makerules [$(versioning) = yes]: Change conditionals to
49171         [$(build-shared) = yes].
49172         * config.make.in (versioning): Remove variable.
49173         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
49174         [$(build-shared) = yes].
49175         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
49176         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
49177         * elf/Makefile [$(versioning) = yes]: Change conditionals to
49178         [$(build-shared) = yes].
49179         * extra-lib.mk [$(versioning) = yes]: Likewise.
49180         * hurd/Makefile [$(versioning) = yes]: Likewise.
49181         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
49182         [SHARED].
49183         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
49184         [SHARED].
49185         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
49186         [SHARED && !NO_HIDDEN].
49187         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
49188         [SHARED].
49189         [SHARED && DO_VERSIONING]: Likewise..
49190         * libio/Makefile [$(versioning) = yes]: Change conditionals to
49191         [$(build-shared) = yes].
49192         * manual/install.texi (--disable-versioning): Remove
49193         documentation.
49194         * INSTALL: Regenerated.
49195         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
49196         to [SHARED].
49197         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
49198         [$(build-shared) = yes].
49199         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
49200         * sysdeps/i386/i686/multiarch/strstr-c.c
49201         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
49202         [SHARED && !NO_HIDDEN].
49203         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
49204         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
49205         * sysdeps/powerpc/powerpc32/dl-machine.c
49206         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
49207         * sysdeps/powerpc/powerpc32/sysdep.h
49208         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
49209         to [SHARED && PIC && !NO_HIDDEN].
49210         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
49211         conditional to [SHARED].
49213 2013-09-04   Will Newton  <will.newton@linaro.org>
49215         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
49216         * benchtests/bench-string.h: Include bench-timing.h instead
49217         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
49218         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
49219         call to HP_TIMING_DIFF_INIT.
49220         * benchtests/bench-memccpy.c: Use bench-timing.h macros
49221         instead of hp-timing.h macros.
49222         * benchtests/bench-memchr.c: Likewise.
49223         * benchtests/bench-memcmp.c: Likewise.
49224         * benchtests/bench-memcpy.c: Likewise.
49225         * benchtests/bench-memmem.c: Likewise.
49226         * benchtests/bench-memmove.c: Likewise.
49227         * benchtests/bench-memset.c: Likewise.
49228         * benchtests/bench-rawmemchr.c: Likewise.
49229         * benchtests/bench-strcasecmp.c: Likewise.
49230         * benchtests/bench-strcasestr.c: Likewise.
49231         * benchtests/bench-strcat.c: Likewise.
49232         * benchtests/bench-strchr.c: Likewise.
49233         * benchtests/bench-strcmp.c: Likewise.
49234         * benchtests/bench-strcpy.c: Likewise.
49235         * benchtests/bench-strcpy_chk.c: Likewise.
49236         * benchtests/bench-strlen.c: Likewise.
49237         * benchtests/bench-strncasecmp.c: Likewise.
49238         * benchtests/bench-strncat.c: Likewise.
49239         * benchtests/bench-strncmp.c: Likewise.
49240         * benchtests/bench-strncpy.c: Likewise.
49241         * benchtests/bench-strnlen.c: Likewise.
49242         * benchtests/bench-strpbrk.c: Likewise.
49243         * benchtests/bench-strrchr.c: Likewise.
49244         * benchtests/bench-strspn.c: Likewise.
49245         * benchtests/bench-strstr.c: Likewise.
49247 2013-09-04  Will Newton  <will.newton@linaro.org>
49249         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
49251 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
49253         [BZ #15427]
49254         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
49255         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
49256         * math/libm-test.inc (lgamma_test_data): Add more tests.
49257         * sysdeps/i386/fpu/libm-test-ulps: Update.
49258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49260 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
49262         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
49263         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
49264         Add ifunc.
49265         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
49266         Add strcmp-sse2-unaligned
49267         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
49269 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
49271         * Versions.def (libc): Add GLIBC_2.19.
49273 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
49275         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
49276         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
49278 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
49280         [BZ #14155]
49281         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
49282         intermediate calculations in recurrence.
49283         (__ieee754_ynf): Likewise.
49284         * math/libm-test.inc (jn_test_data): Do not allow spurious
49285         underflow exception.  Add more tests.
49286         (yn_test_data): Add more tests.
49287         * sysdeps/i386/fpu/libm-test-ulps: Update.
49288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49290 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
49292         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
49294 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
49296         * csu/init-first.c: Fix then/than typos.
49297         * locale/programs/ld-collate.c: Likewise.
49298         * locale/programs/linereader.h: Likewise.
49299         * manual/charset.texi: Likewise.
49300         * manual/filesys.texi: Likewise.
49301         * manual/stdio.texi: Likewise.
49302         * manual/string.texi: Likewise.
49303         * stdlib/fmtmsg.c: Likewise.
49304         * sysdeps/i386/stpncpy.S: Likewise.
49305         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
49306         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
49307         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
49308         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
49310 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
49312         * elf/dl-open.c: Fix typos.
49313         * iconvdata/gbbig5.c: Likewise.
49314         * iconvdata/iso-2022-jp.c: Likewise.
49315         * iconv/gconv_int.h: Likewise.
49316         * iconv/loop.c: Likewise.
49317         * nis/rpcsvc/nis.h: Likewise.
49318         * resolv/ns_name.c: Likewise.
49319         * stdio-common/vfscanf.c: Likewise.
49320         * streams/stropts.h: Likewise.
49321         * sunrpc/rpc_thread.c: Likewise.
49322         * sysdeps/i386/strpbrk.S: Likewise.
49323         * sysdeps/ieee754/k_standard.c: Likewise.
49324         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
49325         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49326         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
49327         * sysdeps/mach/hurd/profil.c: Likewise.
49328         * sysdeps/s390/dl-procinfo.h: Likewise.
49329         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
49330         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
49331         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
49332         * sysdeps/x86_64/dl-trampoline.S: Likewise.
49333         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
49335 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
49337         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
49338         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
49340 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
49342         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
49343         aix specific files.
49344         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
49345         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
49346         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
49347         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
49348         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
49349         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
49350         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
49351         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
49353 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
49354             Roland McGrath  <roland@hack.frob.com>
49356         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
49357         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
49359 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49361         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
49362         __executable_start symbol instead of _start.
49364 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
49366         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
49367         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
49368         Move macros to...
49369         * sysdeps/gnu/ldsodefs.h: ... this new file.
49371         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
49372         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
49373         instead of ELFOSABI_LINUX.
49375         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
49376         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
49377         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
49378         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
49379         Likewise.
49380         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
49381         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
49382         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
49383         Likewise.
49384         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
49385         (ibm_extended_long_double): Add ieee_nan member.
49386         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
49387         (do_test): New function.
49389         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
49390         TEST_TRUNC.
49391         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
49392         functions, renamed from truncdfsf_test, trunctfsf_test,
49393         trunctfdf_test.
49394         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
49395         functions.
49396         (do_test): Run all these.
49398 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
49400         * argp/argp-help.c: Fix typos.
49401         * argp/argp-parse.c: Likewise.
49402         * debug/backtracesyms.c: Likewise.
49403         * elf/elf.h: Likewise.
49404         * malloc/malloc.c: Likewise.
49405         * nis/nis_print.c: Likewise.
49406         * resolv/res_comp.c: Likewise.
49407         * stdlib/stdlib.h: Likewise.
49408         * sunrpc/clnt_tcp.c: Likewise.
49409         * sunrpc/clnt_udp.c: Likewise.
49410         * sunrpc/clnt_unix.c: Likewise.
49411         * sysdeps/unix/bsd/ptsname.c: Likewise.
49412         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
49413         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
49414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
49415         Likewise.
49416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
49417         Likewise.
49418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
49419         Likewise.
49420         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
49422 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49424         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
49425         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49427 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
49429         [BZ #15897]
49430         * dlfcn/Makefile (tests): Add bug-dl-leaf.
49431         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
49432         ($(objpfx)bug-dl-leaf): New rule.
49433         ($(objpfx)bug-dl-leaf.so): Likewise.
49434         ($(objpfx)bug-dl-leaf.out): Likewise.
49435         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
49436         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
49437         * dlfcn/bug-dl-leaf.c: New test.
49438         * dlfcn/bug-dl-leaf-lib.c: Likewise.
49439         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
49440         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
49441         (dlclose): Likewise.
49442         (dlmopen): Likewise.
49444 2013-08-27  Roland McGrath  <roland@hack.frob.com>
49446         * include/netdb.h [!_ISOMAC]:
49447         Don't include <tls.h>.
49448         (h_errno, __libc_h_errno): Move declaration and macros out of
49449         [_LIBC_REENTRANT].
49451         * include/resolv.h [_RESOLV_H_]:
49452         Don't include <tls.h>.
49453         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
49454         * resolv/res_libc.c: Don't include <tls.h>.
49455         (_res): Use __attribute__ ((nocommon)) in place of
49456         __attribute__ ((section (".bss"))).
49458         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
49459         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
49461         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
49463         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
49464         only under [SIOCGIFCONF && SIOCGIFNETMASK].
49466         * resolv/res_mkquery.c: Include <sys/time.h>.
49468         * inet/ifreq.c: Moved to ...
49469         * sysdeps/unix/ifreq.c: ... here.
49470         * inet/ifreq.c: New file, true stub version.
49472         * socket/sa_len.c: New file.
49473         * socket/Makefile (aux): Add it.
49474         * sysdeps/unix/sysv/linux/Makefile
49475         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
49476         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
49477         and #include <socket/sa_len.c>.
49478         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
49479         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
49481         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
49482         * bits/socket.h: ... here.
49484         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
49485         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
49486         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
49488 2013-08-27  Andreas Schwab  <schwab@suse.de>
49490         [BZ #15736]
49491         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
49492         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
49493         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
49494         * string/test-strcasecmp.c (test_main): Run tests in several
49495         locales.
49496         * string/test-strncasecmp.c (test_main): Likewise.
49498         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
49499         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
49500         to __strcasecmp_nonascii and __strncasecmp_nonascii.
49501         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
49502         (__strncasecmp_ssse3) [PIC]: Likewise.
49504 2013-08-26  Roland McGrath  <roland@hack.frob.com>
49506         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
49508         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
49509         instead of explicitly declaring xdecrypt.
49510         * nis/nss_nis/nis-publickey.c: Likewise.
49512 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49514         [BZ #15890]
49515         * nscd/aicache.c: Include res_hconf.h.
49516         (addhstaiX): Initialize res_hconf.
49518 2013-08-26  Andreas Schwab  <schwab@suse.de>
49520         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
49521         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
49523 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49525         * nscd/aicache.c (addhstaiX): Fix indentation.
49527 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
49529         * configure.ac: Quote $build_pt_chown test.
49530         * configure: Regenerated.
49532 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
49534         [BZ #15532]
49535         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
49536         * math/s_cexpf.c (__cexpf): Likewise.
49537         * math/s_cexpl.c (__cexpl): Likewise.
49538         * math/libm-test.inc (cexp_test_data): Correct expected return
49539         value for NaN + i0.  Add another test.
49541 2013-08-22  David S. Miller  <davem@davemloft.net>
49543         * po/ca.po: Update Catalan translation from translation project.
49544         * po/uk.po: Add Ukrainian translations from translation project.
49546 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
49548         [BZ #15797]
49549         * math/s_fdim.c (__fdim): Check for infinite arguments if result
49550         is infinite, not alongside NaN test.
49551         * math/s_fdimf.c (__fdimf): Likewise.
49552         * math/s_fdiml.c (__fdiml): Likewise.
49553         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
49554         errno is unchanged.
49556 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
49558         * argp/argp-help.c: Fix typos.
49559         * crypt/speeds.c: Likewise.
49560         * csu/check_fds.c: Likewise.
49561         * elf/dl-load.c: Likewise.
49562         * elf/dl-open.c: Likewise.
49563         * elf/reldep3.c: Likewise.
49564         * elf/reldep.c: Likewise.
49565         * elf/sprof.c: Likewise.
49566         * iconv/iconv_charmap.c: Likewise.
49567         * iconv/skeleton.c: Likewise.
49568         * iconv/strtab.c: Likewise.
49569         * io/lockf64.c: Likewise.
49570         * libio/libioP.h: Likewise.
49571         * resolv/gai_notify.c: Likewise.
49572         * resolv/ns_name.c: Likewise.
49573         * resolv/ns_samedomain.c: Likewise.
49574         * resolv/res_send.c: Likewise.
49575         * stdlib/random.c: Likewise.
49576         * sunrpc/rpc/xdr.h: Likewise.
49577         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
49578         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
49579         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
49580         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
49581         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
49582         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
49583         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
49584         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
49585         * sysdeps/mach/hurd/check_fds.c: Likewise.
49586         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
49587         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
49588         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
49589         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
49590         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
49591         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
49592         * sysdeps/pthread/aio_notify.c: Likewise.
49593         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
49594         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
49595         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
49596         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
49597         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
49599 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49601         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
49602         version if bit_Slow_SSE4_2 is set.
49603         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49604         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
49606 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49608         [BZ #15867]
49609         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
49610         trampoline stack frame information.
49611         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
49612         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
49613         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
49614         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
49615         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
49616         * sysdeps/unix/sysv/linux/powerpc/init-first.c
49617         (_libc_vdso_platform_setup): Initialize the signal trampolines.
49618         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
49619         sa_flags value.
49620         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
49621         interrupting a syscall and set with option SA_SIGINFO.
49623 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
49625         [BZ #15531]
49626         * math/s_cproj.c (__cproj): Only return an infinity if one part of
49627         argument is infinite.
49628         * math/s_cprojf.c (__cprojf): Likewise.
49629         * math/s_cprojl.c (__cprojl): Likewise.
49630         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
49631         * math/libm-test.inc (cproj_test_data): Add more tests.
49633         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
49635         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
49636         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
49637         size.  Use __ffs to determine corresponding shift.
49639 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
49640             Roland McGrath  <roland@hack.frob.com>
49642         * Makefile (INSTALL): Remove trailing blank lines from output of
49643         makeinfo.
49645 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49647         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
49648         Align 32 bit compat elf_greg to 8 bytes.
49650 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
49652         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
49654 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
49656         * string/strcoll_l.c (coll_seq): New structure.
49657         (get_next_seq_cached): New function.
49658         (get_next_seq): New function.
49659         (do_compare): New function.
49660         (STRCOLL): Use GNU style definition.  Simplify implementation
49661         by using get_next_seq, get_next_seq_cached and do_compare.
49663 2013-08-16  Florian Weimer  <fweimer@redhat.com>
49665         [BZ #14699]
49666         CVE-2013-4237
49667         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
49668         member.
49669         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
49670         member.
49671         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
49672         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
49673         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
49674         conditional.
49675         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
49676         GETDENTS_64BIT_ALIGNED.
49677         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
49678         * manual/filesys.texi (Reading/Closing Directory): Document
49679         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
49680         strongly.
49681         * manual/conf.texi (Limits for Files): Add portability note to
49682         NAME_MAX, PATH_MAX.
49683         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
49685 2013-08-13  Andreas Schwab  <schwab@suse.de>
49687         [BZ #15749]
49688         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
49689         of fabs.
49690         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
49691         LDBL_MAX_EXP >= 16384]: Add tests for it.
49693 2013-08-12  David S. Miller  <davem@davemloft.net>
49695         * version.h (RELEASE): Set to "development".
49696         (VERSION): Set to "2.18.90".
49697         * NEWS: Add 2.19 section.
49699 2013-08-03  David S. Miller  <davem@davemloft.net>
49701         * po/ko.po: Update Korean translation from translation project.
49703 2013-08-01  David S. Miller  <davem@davemloft.net>
49705         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
49706         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
49707         Bilka.
49709 2013-07-30  David S. Miller  <davem@davemloft.net>
49711         * po/fr.po: Update French translation from translation project.
49713 2013-07-28  David S. Miller  <davem@davemloft.net>
49715         * po/cs.po: Update Czech translation from translation project.
49717         * po/sv.po: Update Swedish translation from translation project.
49719 2013-07-27  David S. Miller  <davem@davemloft.net>
49721         * po/eo.po: Update Esperanto translation from translation project.
49723         * po/vi.po: Update Vietnamese translation from translation project.
49725         * po/de.po: Update German translation from translation project.
49727 2013-07-26  David S. Miller  <davem@davemloft.net>
49729         * po/bg.po: Update Bulgarian translation from translation project.
49731         * po/nl.po: Update Dutch translation from translation project.
49732         * po/pl.po: Update Polish translation from translation project.
49733         * po/ru.po: Update Russian translation from translation project.
49735 2013-07-24  David S. Miller  <davem@davemloft.net>
49737         * po/libc.pot: Update.
49739 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49741         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
49742         variable page size.
49743         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
49744         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
49745         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
49747 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49749         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
49751 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49752             Andreas Schwab  <schwab@suse.de>
49753             Roland McGrath  <roland@hack.frob.com>
49754             Joseph Myers  <joseph@codesourcery.com>
49755             Carlos O'Donell  <carlos@redhat.com>
49757         [BZ #15755]
49758         * config.h.in: Define HAVE_PT_CHOWN.
49759         * config.make.in (build-pt-chown): New variable.
49760         * configure.in (--enable-pt_chown): New configure option.
49761         * configure: Regenerate.
49762         * login/Makefile: Include Makeconfig.  Build pt_chown only if
49763         build-pt-chown is enabled.
49764         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
49765         pt_chown to fix pty ownership.
49766         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
49767         CLOSE_ALL_FDS.
49768         * manual/install.texi (Configuring and compiling): Mention
49769         --enable-pt_chown. Add @findex for grantpt.
49770         * INSTALL: Regenerate.
49772 2013-07-20  David S. Miller  <davem@davemloft.net>
49774         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
49775         difference between 32-bit and 64-bit.
49777 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
49779         [BZ #15711]
49780         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
49781         Avoid system header dependency with -ffreestanding.
49782         ($(objpfx)bits/syscall%d): Likewise.
49784 2013-07-13  David S. Miller  <davem@davemloft.net>
49786         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
49787         underflows from atanl/atan2l due to bug 15319.
49788         (casinh_test_data): Likewise.
49790 2013-07-07  David S. Miller  <davem@davemloft.net>
49792         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
49794 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
49796         * sysdeps/i386/fpu/libm-test-ulps: Update.
49797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49799 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49801         * configure.in (--enable-lock-elision): Fix message text.
49802         * INSTALL: Regenerate.
49803         * configure: Regenerate.
49805 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49807         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49809 2013-07-03  Andreas Jaeger  <aj@suse.de>
49811         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
49812         define.
49813         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
49814         (ptrace_peeksiginfo_args): Add.
49815         (__ptrace_peeksiginfo_flags): Add.
49816         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49817         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49818         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49820 2013-07-03  Allan McRae  <allan@archlinux.org>
49822         * sysdeps/i386/fpu/libm-test-ulps: Update.
49824 2013-07-02  David S. Miller  <davem@davemloft.net>
49826         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49828 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
49830         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49832 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
49834         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
49835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49837 2013-07-02  Andi Kleen <ak@linux.intel.com>
49839         * config.h.in (ENABLE_LOCK_ELISION): Add.
49840         * configure.in (--enable-lock-elision): Add option.
49841         * manual/install.texi: Document --enable lock elision.
49842         * configure: Regenerate
49843         * INSTALL: Regenerate.
49845 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
49847         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
49848         SSE4.2 strcasecmp for libc.a.
49849         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
49851 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
49853         [BZ #13304]
49854         * soft-fp/op-common.h (_FP_FMA): New macro.
49855         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
49856         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
49857         (_FP_MUL_MEAT_1_imm): ... here.
49858         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
49859         (_FP_MUL_MEAT_1_wide): ... here.
49860         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
49861         (_FP_MUL_MEAT_1_hard): ... here.
49862         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
49863         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
49864         (_FP_MUL_MEAT_2_wide): ... here.
49865         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
49866         (_FP_MUL_MEAT_2_wide_3mul): ... here.
49867         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
49868         (_FP_MUL_MEAT_2_gmp): ... here.
49869         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
49870         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
49871         (_FP_MUL_MEAT_4_wide): ... here.
49872         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
49873         (_FP_MUL_MEAT_4_gmp): ... here.
49874         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
49875         (_FP_WFRACBITS_DW_S): Likewise.
49876         (_FP_WFRACXBITS_DW_S): Likewise.
49877         (_FP_HIGHBIT_DW_S): Likewise.
49878         (FP_FMA_S): Likewise.
49879         (_FP_FRAC_HIGH_DW_S): Likewise.
49880         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
49881         (_FP_WFRACBITS_DW_D): Likewise.
49882         (_FP_WFRACXBITS_DW_D): Likewise.
49883         (_FP_HIGHBIT_DW_D): Likewise.
49884         (FP_FMA_D): Likewise.
49885         (_FP_FRAC_HIGH_DW_D): Likewise.
49886         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
49887         (_FP_WFRACBITS_DW_E): Likewise.
49888         (_FP_WFRACXBITS_DW_E): Likewise.
49889         (_FP_HIGHBIT_DW_E): Likewise.
49890         (FP_FMA_E): Likewise.
49891         (_FP_FRAC_HIGH_DW_E): Likewise.
49892         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
49893         (_FP_WFRACBITS_DW_Q): Likewise.
49894         (_FP_WFRACXBITS_DW_Q): Likewise.
49895         (_FP_HIGHBIT_DW_Q): Likewise.
49896         (FP_FMA_Q): Likewise.
49897         (_FP_FRAC_HIGH_DW_Q): Likewise.
49898         * soft-fp/fmasf4.c: New file.
49899         * soft-fp/fmadf4.c: Likewise.
49900         * soft-fp/fmatf4.c: Likewise.
49902 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49904         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49905         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
49906         Silvermont.
49907         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
49908         macro.
49909         (index_Slow_SSE4_2): Likewise.
49910         (index_Prefer_PMINUB_for_stringop): Likewise.
49911         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
49912         bit_Slow_SSE4_2 is set.
49913         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
49914         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
49916 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49918         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
49919         rtld_global._dl_hwcap2.
49920         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
49921         POWER8.
49922         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
49923         POWER8 feature descriptions defined in _dl_hwcap2.
49924         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
49925         string handling for POWER8 feature bits.
49926         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
49927         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
49928         _dl_powerpc_cap_flags.
49929         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
49930         * sysdeps/powerpc/rtld-global-offsets.sym
49931         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
49932         _dl_hwcap2 in the rtld_global_ro structure.
49934 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49936         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
49937         hardware capabilities in support of AT_HWCAP2.
49938         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
49939         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
49940         GLRO(dl_hwcap2).
49941         (_dl_show_auxv): Add support for calling _dl_procinfo to display
49942         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
49943         explicitly the unknown a_type display mechanism is used.
49944         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
49945         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
49946         struct member.
49947         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
49948         to macro prototype for AT_HWCAP2 support.
49949         * sysdeps/i386/dl-procinfo.h: Likewise.
49950         * sysdeps/s390/dl-procinfo.h: Likewise.
49951         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
49952         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
49953         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
49954         return -1 for unknown a_type display fallback.
49955         * sysdeps/sparc/dl-procinfo.h: Likewise.
49956         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
49957         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
49959 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
49961         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
49962         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
49964 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
49966         [BZ #12492]
49967         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
49968         mprotect making __stack_prot writable.
49970 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
49971             Joseph Myers  <joseph@codesourcery.com>
49973         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
49974         as being properly aligned.
49976 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
49978         * dlfcn/modstatic5.c: New file.
49979         * dlfcn/tststatic5.c: New file.
49980         * dlfcn/Makefile (tests): Add tststatic5.
49981         (tests-static): Likewise.
49982         (modules-names): Add modstatic5.
49983         (tststatic5-ENV): New variable.
49984         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
49986         [BZ #15022]
49987         * elf/dl-support.c (_dl_main_map): New variable.
49988         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
49989         (_dl_nns, _dl_load_adds): Set to 1.
49990         (_dl_initial_searchlist): Refer to _dl_main_map.
49991         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
49992         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
49993         call to _dl_get_origin.
49994         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
49995         around call_map.
49996         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
49997         * dlfcn/modstatic3.c: New file.
49998         * dlfcn/tststatic3.c: New file.
49999         * dlfcn/tststatic4.c: New file.
50000         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
50001         (tests-static): Likewise.
50002         (modules-names): Add modstatic3.
50003         (tststatic3-ENV, tststatic4-ENV): New variables.
50004         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
50005         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
50007 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
50009         * configure.in (CC): Require GCC version 4.4 or later.
50010         * configure: Regenerated.
50011         * manual/install.texi (Tools for Compilation): Update GCC version
50012         requirement.
50013         * INSTALL: Regenerated.
50015 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50017         [BZ #15674]
50018         * string/test-memcmp.c (check2): New.
50019         (main): Call check2.
50021         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
50023 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
50025         [BZ #15022]
50026         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
50027         over to...
50028         (dl_open_worker) [!SHARED]: ... here.
50030 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50032         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
50034 2013-06-25  Richard Henderson  <rth@redhat.com>
50036         * locale/programs/locarchive.c: Include <libc-internal.h>
50038 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
50040         * manual/texinfo.tex: Update to version 2013-06-21.17, with
50041         trailing whitespace removed.
50043 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
50045         [BZ #10283]
50046         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
50047         * locale/programs/locarchive.c: Include libc-mmap.h.
50048         (prepare_address_space): Take two new outputs (the mmap base and len).
50049         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
50050         values.
50051         (create_archive): Declare new mmap base and len values for
50052         prepare_address_space, and store the result in ah.
50053         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
50054         (enlarge_archive): If ah->mmap_base is not NULL, use that and
50055         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
50056         Declare new mmap base and len values for
50057         prepare_address_space, and store the result in new_ah.
50058         (open_archive): Declare new mmap base and len values for
50059         prepare_address_space, and store the result in ah.
50060         (close_archive): If ah->mmap_base is not NULL, use that and
50061         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
50062         * sysdeps/generic/libc-mmap.h: New file.
50064 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
50066         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
50067         (ALIGN_UP): Likewise.
50068         (PTR_ALIGN_DOWN): Likewise.
50069         (PTR_ALIGN_UP): Likewise.
50071 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50073         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
50074         entry mapped to PPC_PLATFORM_POWER8.
50075         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
50076         POWER8.
50077         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
50078         (_dl_string_platform): Add case for exporting platform position for
50079         POWER8.
50080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
50081         search path to sysdeps/powerpc/powerpc32/power8 directory.
50082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
50083         search path to sysdeps/powerpc/powerpc64/power8 directory.
50084         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
50085         power7 directories.
50086         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
50087         power7 directories.
50089 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
50091         * INSTALL: Regenerate.
50093         * nscd/connections.c (nscd_init): Fix comment.
50095 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
50097         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
50099         [BZ #15667]
50100         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
50101         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
50103 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
50105         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
50106         DL_DST_REQ_STATIC.
50107         (DL_DST_REQ_STATIC): Remove macro.
50109 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
50111         [BZ #7006]
50112         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
50113         with a shift of 0 bits.
50115 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
50117         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
50118         $(tststatic-ENV).
50120 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50122         [BZ #15655]
50123         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
50125 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50127         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
50128         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
50129         accepts -fno-tree-loop-distribute-patterns.
50130         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
50131         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
50132         recursive call.
50133         * string/memset.c (memset): Likewise.
50134         * string/test-memmove.c (simple_memmove): Disable loop transformation
50135         to library calls.
50136         * string/test-memset.c (simple_memset): Likewise.
50137         * benchtests/bench-memmove.c (simple_memmove): Likewise.
50138         * benchtests/bench-memset.c (simple_memset): Likewise.
50139         * configure: Regenerated.
50141 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
50143         * math/test-misc.c (main): Ignore fesetround failure when failures
50144         of subsequent rounding tests would be ignored.
50146         [BZ #15654]
50147         * math/fedisblxcpt.c (fedisableexcept): Return 0.
50148         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
50149         * math/fegetenv.c (__fegetenv): Return 0.
50150         * math/fegetexcept.c (fegetexcept): Return 0.
50151         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
50152         FE_TONEAREST.
50153         * math/feholdexcpt.c (feholdexcept): Return 0.
50154         * math/fesetenv.c (__fesetenv): Return 0.
50155         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
50156         argument FE_TONEAREST.
50157         * math/feupdateenv.c (__feupdateenv): Return 0.
50158         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
50160 2013-06-18  Roland McGrath  <roland@hack.frob.com>
50162         * elf/rtld-Rules (rtld-compile-command.S): New variable.
50163         (rtld-compile-command.s, rtld-compile-command.c): New variables.
50164         ($(objpfx)rtld-%.os rules): Use them.
50166 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50168         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
50169         fields.
50171 2013-06-17  Roland McGrath  <roland@hack.frob.com>
50173         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
50174         length of target pattern, then descending length of dependency pattern.
50175         * configure.in (AWK): Require gawk 3.1.2 or newer.
50176         * manual/install.texi (Tools for Compilation): Say that we do.
50177         * configure: Regenerated.
50179         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
50180         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
50181         * scripts/sysd-rules.awk: ... this new script.
50182         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
50183         than a glob-style pattern.
50185 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
50187         * math/test-misc.c (main): Do not treat incorrectly rounded
50188         conversions as failure unless ROUNDING_TESTS passes.
50190 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
50192         [BZ #15631]
50193         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
50194         restore exception state around main square root computation, then
50195         check for inexactness explicitly.
50197         * math/libm-test.inc (fma_test_data): Add another test.
50199 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50201         * manual/threads.texi (Non-POSIX Extensions): New document
50202         node.  Document pthread_getattr_default_np and
50203         pthread_setattr_default_np.
50205         * Versions.def (libpthread): Add GLIBC_2.18.
50206         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
50207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
50208         Likewise.
50209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
50210         Likewise.
50211         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50212         Likewise.
50213         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50214         Likewise.
50215         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
50216         Likewise.
50217         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
50218         Likewise.
50219         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
50220         Likewise.
50221         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
50222         Likewise.
50223         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
50224         Likewise.
50226 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50228         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50229         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
50231 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
50232             H.J. Lu  <hjl.tools@gmail.com>
50234         [BZ #15627]
50235         * sysdeps/x86_64/rtld-memset.c: Remove file.
50236         * sysdeps/x86_64/rtld-memset.S: New file.
50238 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
50240         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
50241         (test_in_one_mode): Take arguments for whether the rounding mode
50242         is supported for each floating-point type.
50243         (do_test): Pass new arguments to test_in_one_mode using
50244         ROUNDING_TESTS.
50246 2013-06-13  Roland McGrath  <roland@hack.frob.com>
50248         * posix/tst-waitid.c (do_test): Distinguish different instances of
50249         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
50250         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
50251         before entering the kernel for waitpid.
50253 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
50255         * NEWS: Fix note on clock function precision.  Text by Roland
50256         McGrath.
50258 2013-06-13  Roland McGrath  <roland@hack.frob.com>
50260         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
50261         it into place only when and if the sanity check passes.
50263 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
50265         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
50266         output for whether conversion result is exact.  Take argument
50267         indicating whether type is IBM long double.
50268         (round_for_all): Change need_exact field to ibm_ld.
50269         * stdlib/tst-strtod-round.c (struct exactness): New type.
50270         (struct test): Change bool ld_ok field to struct exactness exact.
50271         (TEST): Update all definitions for change to field.
50272         (tests): Regenerate array contents.
50273         (test_in_one_mode): Take pointer to new field instead of old ld_ok
50274         field value.  Check for IBM long double here.
50275         (do_test): Update calls to test_in_one_mode.
50277 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
50279         [BZ #12515]
50280         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
50281         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
50283 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50285         [BZ #15605]
50286         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
50287         generated by the compiler on loop optimizations.
50288         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
50289         general definitions.
50291 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
50293         * math/bug-nextafter.c: Include <math-tests.h>.
50294         (main): Only test for exceptions if EXCEPTION_TESTS is true for
50295         the relevant type.
50296         * math/bug-nexttoward.c: Include <math-tests.h>.
50297         (main): Only test for exceptions if EXCEPTION_TESTS is true for
50298         the relevant type.
50299         * math/test-misc.c: Include <math-tests.h>.
50300         (main): Only test for exceptions if EXCEPTION_TESTS is true for
50301         the relevant type.
50303 2013-06-12  Andreas Jaeger  <aj@suse.de>
50305         * po/ia.po: Update Interlingua translation from translation
50306         project.
50308 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
50310         * include/fenv.h: Include stdbool.h.
50311         (struct rm_ctx): New structure.
50312         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
50313         Define macro.
50314         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
50315         (SET_RESTORE_ROUNDF): Likewise.
50316         (SET_RESTORE_ROUNDL): Likewise.
50317         (SET_RESTORE_ROUND_NOEX): Likewise.
50318         (SET_RESTORE_ROUND_NOEXF): Likewise.
50319         (SET_RESTORE_ROUND_NOEXL): Likewise.
50320         (SET_RESTORE_ROUND_53BIT): Likewise.
50321         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
50322         (libc_feresetround_noexf_ctx): Likewise.
50323         (libc_feresetround_noexl_ctx): Likewise.
50324         (libc_feholdsetround_53bit_ctx): Likewise.
50325         (libc_feresetround_53bit_ctx): Likewise.
50326         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
50327         (libc_feholdexcept_setround_sse_ctx): New function.
50328         (libc_fesetenv_sse_ctx): Likewise.
50329         (libc_feupdateenv_sse_ctx): Likewise.
50330         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
50331         (libc_feholdexcept_setround_387_ctx): Likewise.
50332         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
50333         (libc_feholdsetround_387_prec_ctx): Likewise.
50334         (libc_feholdsetround_387_ctx): Likewise.
50335         (libc_feholdsetround_387_53bit_ctx): Likewise.
50336         (libc_feholdsetround_sse_ctx): Likewise.
50337         (libc_feresetround_sse_ctx): Likewise.
50338         (libc_feresetround_387_ctx): Likewise.
50339         (libc_feupdateenv_387_ctx): Likewise.
50340         (libc_feholdexcept_setroundf_ctx): Define macro.
50341         (libc_fesetenvf_ctx): Likewise.
50342         (libc_feupdateenvf_ctx): Likewise.
50343         (libc_feholdsetroundf_ctx): Likewise.
50344         (libc_feresetroundf_ctx): Likewise.
50345         (libc_feholdexcept_setround_ctx): Likewise.
50346         (libc_fesetenv_ctx): Likewise.
50347         (libc_feupdateenv_ctx): Likewise.
50348         (libc_feholdsetround_ctx): Likewise.
50349         (libc_feresetround_ctx): Likewise.
50350         (libc_feholdexcept_setroundl_ctx): Likewise.
50351         (libc_feupdateenvl_ctx): Likewise.
50352         (libc_feholdsetroundl_ctx): Likewise.
50353         (libc_feresetroundl_ctx): Likewise.
50354         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
50355         (libc_feresetround_53bit_ctx): Likewise.
50357 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50359         * locale/iso-639.def: Convert to UTF-8.
50361 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
50363         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
50364         (EXCEPTION_TESTS_double): Likewise.
50365         (EXCEPTION_TESTS_long_double): Likewise.
50366         (EXCEPTION_TESTS): Likewise.
50367         * math/libm-test.inc (test_exceptions): Only test exceptions if
50368         EXCEPTION_TESTS (FLOAT).
50370 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50372         * benchtests/Makefile (string-bench): Add strcpy_chk and
50373         stpcpy_chk.
50374         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
50375         * benchtests/bench-stpcpy_chk.c: New file.
50376         * benchtests/bench-strcpy_chk-ifunc.c: New file.
50377         * benchtests/bench-strcpy_chk.c: New file.
50378         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
50379         code.
50380         (do_test): Likewise.
50382 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50384         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
50385         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
50386         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
50387         with tabs where appropriate.
50388         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
50389         dl-procinfo.h.
50390         [PPC_PLATFORM_PPC440]: Likewise.
50391         [PPC_PLATFORM_PPC464]: Likewise.
50392         [PPC_PLATFORM_PPC476]: Likewise.
50393         (_dl_string_platform): Add support for detecting ppc405, ppc440,
50394         ppc464, and ppc476 platform strings merging from ports/
50395         dl-procinfo.h.
50397 2013-06-11  Andreas Schwab  <schwab@suse.de>
50399         [BZ #14991]
50400         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
50401         (from_ucs4_idx): Regenerate.
50402         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
50403         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
50404         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
50405         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
50406         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
50407         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
50408         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
50409         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
50410         from FROM_LOOP and TO_LOOP specific macros.
50411         (BODY): Handle combining characters.
50412         * iconvdata/BIG5HKSCS.irreversible: Update.
50413         * iconvdata/BIG5HKSCS.precomposed: New file.
50414         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
50415         characters.
50416         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
50418 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50420         * include/sys/time.h: Fix indentation and add copyright header.
50422         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
50423         (do_test): Likewise.
50424         * string/test-memchr.c (do_one_test): Likewise.
50425         (do_test): Likewise.
50426         * string/test-memcmp.c (do_one_test): Likewise.
50427         (do_test): Likewise.
50428         * string/test-memcpy.c (do_one_test): Likewise.
50429         (do_test): Likewise.
50430         * string/test-memmem.c (do_one_test): Likewise.
50431         (do_test): Likewise.
50432         (do_random_tests): Likewise.
50433         * string/test-memmove.c (do_one_test): Likewise.
50434         (do_test): Likewise.
50435         * string/test-memset.c (do_one_test): Likewise.
50436         (do_test): Likewise.
50437         * string/test-rawmemchr.c (do_one_test): Likewise.
50438         (do_test): Likewise.
50439         * string/test-strcasecmp.c (do_one_test): Likewise.
50440         (do_test): Likewise.
50441         * string/test-strcasestr.c (do_one_test): Likewise.
50442         (do_test): Likewise.
50443         * string/test-strcat.c (do_one_test): Likewise.
50444         (do_test): Likewise.
50445         * string/test-strchr.c (do_one_test): Likewise.
50446         (do_test): Likewise.
50447         * string/test-strcmp.c (do_one_test): Likewise.
50448         (do_test): Likewise.
50449         * string/test-strcpy.c (do_one_test): Likewise.
50450         (do_test): Likewise.
50451         * string/test-string.h: Likewise.
50452         (test_init): Likewise.
50453         * string/test-strlen.c (do_one_test): Likewise.
50454         (do_test): Likewise.
50455         * string/test-strncasecmp.c (do_one_test): Likewise.
50456         (do_test): Likewise.
50457         * string/test-strncat.c (do_one_test): Likewise.
50458         (do_test): Likewise.
50459         * string/test-strncmp.c (do_one_test): Likewise.
50460         (do_test_limit): Likewise.
50461         (do_test): Likewise.
50462         * string/test-strncpy.c (do_one_test): Likewise.
50463         (do_test): Likewise.
50464         * string/test-strnlen.c (do_one_test): Likewise.
50465         (do_test): Likewise.
50466         * string/test-strpbrk.c (do_one_test): Likewise.
50467         (do_test): Likewise.
50468         * string/test-strrchr.c (do_one_test): Likewise.
50469         (do_test): Likewise.
50470         * string/test-strspn.c (do_one_test): Likewise.
50471         (do_test): Likewise.
50472         * string/test-strstr.c (do_one_test): Likewise.
50473         (do_test): Likewise.
50475         * benchtests/Makefile (string-bench): Add string benchmarks.
50476         * benchtests/bench-bcopy-ifunc.c: New file.
50477         * benchtests/bench-bcopy.c: New file.
50478         * benchtests/bench-bzero-ifunc.c: New file.
50479         * benchtests/bench-bzero.c: New file.
50480         * benchtests/bench-memccpy-ifunc.c: New file.
50481         * benchtests/bench-memccpy.c: New file.
50482         * benchtests/bench-memchr-ifunc.c: New file.
50483         * benchtests/bench-memchr.c: New file.
50484         * benchtests/bench-memcmp-ifunc.c: New file.
50485         * benchtests/bench-memcmp.c: New file.
50486         * benchtests/bench-memmem-ifunc.c: New file.
50487         * benchtests/bench-memmem.c: New file.
50488         * benchtests/bench-memmove-ifunc.c: New file.
50489         * benchtests/bench-memmove.c: New file.
50490         * benchtests/bench-mempcpy-ifunc.c: New file.
50491         * benchtests/bench-mempcpy.c: New file.
50492         * benchtests/bench-memset-ifunc.c: New file.
50493         * benchtests/bench-memset.c: New file.
50494         * benchtests/bench-rawmemchr-ifunc.c: New file.
50495         * benchtests/bench-rawmemchr.c: New file.
50496         * benchtests/bench-stpcpy-ifunc.c: New file.
50497         * benchtests/bench-stpcpy.c: New file.
50498         * benchtests/bench-stpncpy-ifunc.c: New file.
50499         * benchtests/bench-stpncpy.c: New file.
50500         * benchtests/bench-strcasecmp-ifunc.c: New file.
50501         * benchtests/bench-strcasecmp.c: New file.
50502         * benchtests/bench-strcasestr-ifunc.c: New file.
50503         * benchtests/bench-strcasestr.c: New file.
50504         * benchtests/bench-strcat-ifunc.c: New file.
50505         * benchtests/bench-strcat.c: New file.
50506         * benchtests/bench-strchr-ifunc.c: New file.
50507         * benchtests/bench-strchr.c: New file.
50508         * benchtests/bench-strchrnul-ifunc.c: New file.
50509         * benchtests/bench-strchrnul.c: New file.
50510         * benchtests/bench-strcmp-ifunc.c: New file.
50511         * benchtests/bench-strcmp.c: New file.
50512         * benchtests/bench-strcpy-ifunc.c: New file.
50513         * benchtests/bench-strcpy.c: New file.
50514         * benchtests/bench-strcspn-ifunc.c: New file.
50515         * benchtests/bench-strcspn.c: New file.
50516         * benchtests/bench-strlen-ifunc.c: New file.
50517         * benchtests/bench-strlen.c: New file.
50518         * benchtests/bench-strncasecmp-ifunc.c: New file.
50519         * benchtests/bench-strncasecmp.c: New file.
50520         * benchtests/bench-strncat-ifunc.c: New file.
50521         * benchtests/bench-strncat.c: New file.
50522         * benchtests/bench-strncmp-ifunc.c: New file.
50523         * benchtests/bench-strncmp.c: New file.
50524         * benchtests/bench-strncpy-ifunc.c: New file.
50525         * benchtests/bench-strncpy.c: New file.
50526         * benchtests/bench-strnlen-ifunc.c: New file.
50527         * benchtests/bench-strnlen.c: New file.
50528         * benchtests/bench-strpbrk-ifunc.c: New file.
50529         * benchtests/bench-strpbrk.c: New file.
50530         * benchtests/bench-strrchr-ifunc.c: New file.
50531         * benchtests/bench-strrchr.c: New file.
50532         * benchtests/bench-strspn-ifunc.c: New file.
50533         * benchtests/bench-strspn.c: New file.
50534         * benchtests/bench-strstr-ifunc.c: New file.
50535         * benchtests/bench-strstr.c: New file.
50537         * benchtests/Makefile: Disable parallel execution of targets.
50538         (string-bench): Add memcpy.
50539         (benchset): New variable to store a list of benchmark sets.
50540         (bench-func): Renamed from bench.
50541         (bench-set): New target.
50542         (bench): Depend on bench-func and bench-set.
50543         * benchtests/README: Add section on benchmark sets.
50544         * benchtests/bench-memcpy-ifunc.c: New file.
50545         * benchtests/bench-memcpy.c: New file.
50546         * benchtests/bench-string.h: New file.
50548 2013-06-11  Andreas Schwab  <schwab@suse.de>
50550         [BZ #15577]
50551         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
50552         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
50553         values in the triple.
50554         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
50555         terminator in the group key.
50557 2013-06-11  Andreas Jaeger  <aj@suse.de>
50559         * po/zh_TW.po: Update Chinese (traditional) translation from
50560         translation project.
50562 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50564         * include/time.h (__clock_gettime): Add libc_hidden_proto.
50565         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
50566         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
50567         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
50568         (clock_getcpuclockid): Likewise.
50569         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
50570         Add weak_alias and libc_hidden_def.
50571         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
50572         * rt/clock_gettime.c (clock_gettime): Rename to
50573         __clock_gettime.  Add weak_alias and libc_hidden_def.
50574         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
50575         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
50576         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
50577         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
50578         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
50579         Likewise.
50580         * rt/clock_settime.c (clock_settime): Rename to
50581         __clock_settime.  Add weak_alias and libc_hidden_def.
50582         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
50584 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
50586         * mach/err_boot.sub: Remove trailing whitespace.
50587         * mach/err_ipc.sub: Likewise.
50588         * mach/err_mach.sub: Likewise.
50590         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
50591         (ROUNDING_TESTS_double): Likewise.
50592         (ROUNDING_TESTS_long_double): Likewise.
50593         (ROUNDING_TESTS): Likewise.
50594         * math/libm-test.inc: Include <math-tests.h>.
50595         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
50596         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
50597         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
50598         (IF_ROUND_INIT_FE_UPWARD): Likewise.
50600 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50602         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
50603         of assigning.
50605 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
50607         * sysdeps/gnu/errlist.awk: Do not generate space at end of
50608         otherwise empty TRANS lines.
50609         * sysdeps/gnu/errlist.c: Regenerated.
50611         * catgets/gencat.c (error_print): Use (void) in function
50612         definition.
50613         * crypt/crypt_util.c (__init_des): Likewise.
50614         * crypt/speeds.c (Stop): Likewise.
50615         (main): Likewise.
50616         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
50617         * inet/ruserpass.c (token): Likewise.
50618         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
50619         * intl/localealias.c (extend_alias_table): Likewise.
50620         * intl/plural-exp.c (init_germanic_plural): Likewise.
50621         * libio/fcloseall.c (__fcloseall): Likewise.
50622         * libio/genops.c (_IO_flush_all): Likewise.
50623         (_IO_flush_all_linebuffered): Likewise.
50624         (_IO_cleanup): Likewise.
50625         (_IO_iter_begin): Likewise.
50626         (_IO_iter_end): Likewise.
50627         (_IO_list_lock): Likewise.
50628         (_IO_list_unlock): Likewise.
50629         (_IO_list_resetlock): Likewise.
50630         * libio/getchar.c (getchar): Likewise.
50631         * libio/getchar_u.c (getchar_unlocked): Likewise.
50632         * libio/getwchar.c (getwchar): Likewise.
50633         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
50634         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
50635         * login/getpt.c (__getpt): Likewise.
50636         * login/tst-utmp.c (main): Likewise.
50637         * malloc/hooks.c (__malloc_check_init): Likewise.
50638         * malloc/malloc.c (__malloc_stats): Likewise.
50639         * malloc/mtrace.c (tr_break): Likewise.
50640         (mtrace): Likewise.
50641         (muntrace): Likewise.
50642         * misc/fstab.c (endfsent): Likewise.
50643         * misc/getclktck.c (__getclktck): Likewise.
50644         * misc/getdtsz.c (__getdtablesize): Likewise.
50645         * misc/gethostid.c (gethostid): Likewise.
50646         * misc/getpagesize.c (__getpagesize): Likewise.
50647         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
50648         (__get_nprocs): Likewise.
50649         (__get_phys_pages): Likewise.
50650         (__get_avphys_pages): Likewise.
50651         * misc/getttyent.c (getttyent): Likewise.
50652         (setttyent): Likewise.
50653         (endttyent): Likewise.
50654         * misc/getusershell.c (getusershell): Likewise.
50655         (endusershell): Likewise.
50656         (setusershell): Likewise.
50657         (initshells): Likewise.
50658         * misc/hsearch.c (__hdestroy): Likewise.
50659         * misc/sync.c (sync): Likewise.
50660         * misc/syslog.c (closelog_internal): Likewise.
50661         (closelog): Likewise.
50662         * misc/ttyslot.c (ttyslot): Likewise.
50663         * misc/vhangup.c (vhangup): Likewise.
50664         * posix/fork.c (__fork): Likewise.
50665         * posix/getegid.c (__getegid): Likewise.
50666         * posix/geteuid.c (__geteuid): Likewise.
50667         * posix/getgid.c (__getgid): Likewise.
50668         * posix/getpid.c (__getpid): Likewise.
50669         * posix/getppid.c (__getppid): Likewise.
50670         * posix/getuid.c (__getuid): Likewise.
50671         * posix/pause.c (pause): Likewise.
50672         * posix/setpgrp.c (setpgrp): Likewise.
50673         * posix/setsid.c (__setsid): Likewise.
50674         * posix/test-vfork.c (noop): Likewise.
50675         * resolv/gethnamaddr.c (_endhtent): Likewise.
50676         (_gethtent): Likewise.
50677         (ht_endhostent): Likewise.
50678         (gethostent): Likewise.
50679         (dns_service): Likewise.
50680         * stdlib/drand48.c (drand48): Likewise.
50681         * stdlib/lrand48.c (lrand48): Likewise.
50682         * stdlib/mrand48.c (mrand48): Likewise.
50683         * stdlib/rand.c (rand): Likewise.
50684         * stdlib/random.c (__random): Likewise.
50685         * stdlib/setenv.c (clearenv): Likewise.
50686         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
50687         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
50688         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
50689         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
50690         (__get_nprocs): Likewise.
50691         (__get_phys_pages): Likewise.
50692         (__get_avphys_pages): Likewise.
50693         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
50694         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
50695         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
50696         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
50697         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
50698         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
50699         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
50700         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
50701         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
50702         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
50703         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
50704         * sysdeps/mach/hurd/sync.c (sync): Likewise.
50705         * sysdeps/posix/clock.c (clock): Likewise.
50706         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
50707         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
50708         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
50709         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
50710         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
50711         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
50712         (__get_nprocs_conf): Likewise.
50713         (__get_phys_pages): Likewise.
50714         (__get_avphys_pages): Likewise.
50715         * time/clock.c (clock): Likewise.
50716         * time/tzset.c (__tzname_max): Likewise.
50718 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
50720         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
50721         (__bswap_32): Do not use "register".
50722         * crypt/crypt.c (_ufc_doit_r): Likewise.
50723         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
50724         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
50725         * gmon/gmon.c (__monstartup): Likewise.
50726         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
50727         * hurd/hurdmalloc.c (more_memory): Likewise.
50728         (malloc): Likewise.
50729         (free): Likewise.
50730         (realloc): Likewise.
50731         (malloc_fork_prepare): Likewise.
50732         (malloc_fork_parent): Likewise.
50733         (malloc_fork_child): Likewise.
50734         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
50735         (_svcauth_des): Likewise.
50736         * inet/inet_lnaof.c (inet_lnaof): Likewise.
50737         * inet/inet_net.c (inet_network): Likewise.
50738         * inet/inet_netof.c (inet_netof): Likewise.
50739         * inet/rcmd.c (__validuser2_sa): Likewise.
50740         * io/fts.c (fts_open): Likewise.
50741         (fts_load): Likewise.
50742         (fts_close): Likewise.
50743         (fts_read): Likewise.
50744         (fts_children): Likewise.
50745         (fts_build): Likewise.
50746         (fts_stat): Likewise.
50747         (fts_sort): Likewise.
50748         (fts_alloc): Likewise.
50749         (fts_lfree): Likewise.
50750         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
50751         (_IO_file_xsgetn): Likewise.
50752         (_IO_file_xsgetn_mmap): Likewise.
50753         * libio/iofopncook.c (_IO_cookie_read): Likewise.
50754         (_IO_cookie_write): Likewise.
50755         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
50756         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
50757         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
50758         * malloc/obstack.c (_obstack_begin): Likewise.
50759         (_obstack_begin_1): Likewise.
50760         (_obstack_newchunk): Likewise.
50761         (_obstack_allocated_p): Likewise.
50762         (obstack_free): Likewise.
50763         (_obstack_memory_used): Likewise.
50764         * misc/getttyent.c (getttynam): Likewise.
50765         (getttyent): Likewise.
50766         (skip): Likewise.
50767         (value): Likewise.
50768         * misc/getusershell.c (initshells): Likewise.
50769         * misc/syslog.c (__vsyslog_chk): Likewise.
50770         * misc/ttyslot.c (ttyslot): Likewise.
50771         * nis/nis_hash.c (__nis_hash): Likewise.
50772         * posix/fnmatch_loop.c (FCT): Likewise.
50773         * posix/getconf.c (print_all): Likewise.
50774         (main): Likewise.
50775         * posix/getopt.c (exchange): Likewise.
50776         * posix/glob.c (globfree): Likewise.
50777         (prefix_array): Likewise.
50778         (__glob_pattern_type): Likewise.
50779         * resolv/arpa/nameser.h (NS_GET16): Likewise.
50780         (NS_GET32): Likewise.
50781         (NS_PUT16): Likewise.
50782         (NS_PUT32): Likewise.
50783         * resolv/gethnamaddr.c (getanswer): Likewise.
50784         (gethostbyname2): Likewise.
50785         (gethostbyaddr): Likewise.
50786         (_gethtent): Likewise.
50787         (_gethtbyname2): Likewise.
50788         (_gethtbyaddr): Likewise.
50789         * resolv/ns_print.c (dst_s_get_int16): Likewise.
50790         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
50791         * resolv/res_init.c (__res_vinit): Likewise.
50792         (net_mask): Likewise.
50793         * resolv/res_mkquery.c (outchar): Likewise.
50794         (PRINT): Likewise.
50795         * stdio-common/printf_fp.c (outchar): Likewise.
50796         (PRINT): Likewise.
50797         * stdio-common/printf_fphex.c (outchar): Likewise.
50798         (PRINT): Likewise.
50799         * stdio-common/printf_size.c (outchar): Likewise.
50800         (PRINT): Likewise.
50801         * stdio-common/test_rdwr.c (main): Likewise.
50802         * stdio-common/tfformat.c (matches): Likewise.
50803         * stdio-common/vfprintf.c (outchar): Likewise.
50804         (printf_unknown): Likewise.
50805         (buffered_vfprintf): Likewise.
50806         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
50807         * stdio-common/xbug.c (AppendToBuffer): Likewise.
50808         (ReadFile): Likewise.
50809         * stdlib/qsort.c (SWAP): Likewise.
50810         (_quicksort): Likewise.
50811         * stdlib/setenv.c (__add_to_environ): Likewise.
50812         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
50813         * stdlib/strtol_l.c (__strtol_l): Likewise.
50814         * stdlib/tst-strtod.c (main): Likewise.
50815         * stdlib/tst-strtol.c (main): Likewise.
50816         * stdlib/tst-strtoll.c (main): Likewise.
50817         * string/bits/string2.h (__strcmp_cc): Likewise.
50818         (__strcmp_cg): Likewise.
50819         (__strcspn_c1): Likewise.
50820         (__strcspn_c2): Likewise.
50821         (__strcspn_c3): Likewise.
50822         (__strspn_c1): Likewise.
50823         (__strspn_c2): Likewise.
50824         (__strspn_c3): Likewise.
50825         (__strsep_1c): Likewise.
50826         (__strsep_2c): Likewise.
50827         (__strsep_3c): Likewise.
50828         * string/memccpy.c (__memccpy): Likewise.
50829         * string/stpcpy.c (__stpcpy): Likewise.
50830         * string/strcmp.c (strcmp): Likewise.
50831         * string/strrchr.c (strrchr): Likewise.
50832         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
50833         Likewise.
50834         * sysdeps/mach/hurd/getcwd.c
50835         (_hurd_canonicalize_directory_name_internal): Likewise.
50836         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
50837         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
50838         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
50839         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
50840         Likewise, in both definitions.
50841         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
50842         definitions.
50843         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
50844         64] (__bswap_64): Likewise.
50845         * time/test_time.c (main): Likewise.
50846         * time/tzfile.c (__tzfile_read): Likewise.
50847         (__tzfile_compute): Likewise.
50848         * time/tzset.c (__tzset_parse_tz): Likewise.
50849         (tzset_internal): Likewise.
50850         (compute_change): Likewise.
50851         * wcsmbs/wcscat.c (__wcscat): Likewise.
50852         * wcsmbs/wcschr.c (wcschr): Likewise.
50853         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
50854         * wcsmbs/wcscspn.c (wcscspn): Likewise.
50855         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
50856         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
50857         * wcsmbs/wcsspn.c (wcsspn): Likewise.
50858         * wcsmbs/wcsstr.c (wcsstr): Likewise.
50859         * wcsmbs/wmemchr.c (wmemchr): Likewise.
50860         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
50861         * wcsmbs/wmemset.c (wmemset): Likewise.
50863 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
50865         * scripts/config.guess: Update to version 2013-05-16.
50866         * scripts/config.sub: Update to version 2013-04-24.
50867         * scripts/install-sh: Update to version 2011-11-20.07.
50868         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
50869         * scripts/move-if-change: Update to version 2012-01-06 07:23.
50871 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
50873         * debug/fgetws_u_chk.c: Fix leading whitespaces.
50874         * elf/sln.c: Likewise.
50875         * hurd/hurd/ioctl.h: Likewise.
50876         * hurd/hurdmalloc.c: Likewise.
50877         * hurd/xattr.c: Likewise.
50878         * include/shlib-compat.h: Likewise.
50879         * inet/ruserpass.c: Likewise.
50880         * libio/iofgets_u.c: Likewise.
50881         * libio/iofgetws_u.c: Likewise.
50882         * locale/programs/ld-identification.c: Likewise.
50883         * locale/programs/ld-time.c: Likewise.
50884         * mach/msg-destroy.c: Likewise.
50885         * nss/nss_files/files-netgrp.c: Likewise.
50886         * resolv/res_data.c: Likewise.
50887         * soft-fp/op-1.h: Likewise.
50888         * soft-fp/op-2.h: Likewise.
50889         * soft-fp/op-4.h: Likewise.
50890         * soft-fp/op-common.h: Likewise.
50891         * stdio-common/printf_fphex.c: Likewise.
50892         * stdlib/strtod_l.c: Likewise.
50893         * sunrpc/rpc/clnt.h: Likewise.
50894         * sysdeps/generic/framestate.c: Likewise.
50895         * sysdeps/i386/bsd-_setjmp.S: Likewise.
50896         * sysdeps/i386/bsd-setjmp.S: Likewise.
50897         * sysdeps/i386/__longjmp.S: Likewise.
50898         * sysdeps/i386/setjmp.S: Likewise.
50899         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50900         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50901         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50902         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50903         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50904         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
50905         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50906         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50907         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50908         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
50909         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
50910         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
50911         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
50912         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
50913         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
50914         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50915         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
50916         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
50917         * sysdeps/ieee754/support.c: Likewise.
50918         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
50919         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
50920         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
50921         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
50922         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
50923         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
50924         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
50925         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
50926         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
50927         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
50928         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
50929         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
50930         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
50931         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
50932         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
50933         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
50934         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
50935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
50937 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
50939         * posix/transbug.c: Remove executable mode.
50941 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
50943         * crypt/speeds.c: Remove trailing whitespace.
50944         * dlfcn/default.c: Likewise.
50945         * elf/ifuncdep2.c: Likewise.
50946         * elf/ifuncmain1.c: Likewise.
50947         * elf/ifuncmain1vis.c: Likewise.
50948         * elf/testobj.h: Likewise.
50949         * elf/tst-stackguard1.c: Likewise.
50950         * gmon/sys/gmon.h: Likewise.
50951         * hurd/hurdmsg.c: Likewise.
50952         * hurd/new-fd.c: Likewise.
50953         * hurd/ports-get.c: Likewise.
50954         * iconvdata/ibm1008_420.c: Likewise.
50955         * inet/tst-getni1.c: Likewise.
50956         * inet/tst-getni2.c: Likewise.
50957         * libio/ioungetc.c: Likewise.
50958         * libio/wfiledoalloc.c: Likewise.
50959         * manual/libm-err-tab.pl: Likewise.
50960         * math/w_dremf.c: Likewise.
50961         * misc/ftruncate.c: Likewise.
50962         * posix/bug-glob2.c: Likewise.
50963         * posix/tst-pcre.c: Likewise.
50964         * posix/wait4.c: Likewise.
50965         * resolv/README: Likewise.
50966         * resolv/res_debug.h: Likewise.
50967         * resolv/tst-inet_ntop.c: Likewise.
50968         * setjmp/bug269-setjmp.c: Likewise.
50969         * soft-fp/extended.h: Likewise.
50970         * soft-fp/op-1.h: Likewise.
50971         * soft-fp/op-2.h: Likewise.
50972         * soft-fp/op-4.h: Likewise.
50973         * soft-fp/op-8.h: Likewise.
50974         * soft-fp/testit.c: Likewise.
50975         * stdio-common/bug16.c: Likewise.
50976         * stdlib/random.c: Likewise.
50977         * sunrpc/rpcsvc/rquota.x: Likewise.
50978         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
50979         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50980         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50981         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50982         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50983         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50984         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50985         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50986         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50987         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50988         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50989         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
50990         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50991         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
50992         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50993         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
50994         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
50995         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50996         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
50997         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50998         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50999         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
51000         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
51001         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
51002         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
51003         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
51004         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
51005         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
51006         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
51007         * sysdeps/ieee754/s_lib_version.c: Likewise.
51008         * sysdeps/mach/hurd/check_fds.c: Likewise.
51009         * sysdeps/mach/hurd/getsockname.c: Likewise.
51010         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
51011         * sysdeps/mach/hurd/recvfrom.c: Likewise.
51012         * sysdeps/powerpc/bits/link.h: Likewise.
51013         * sysdeps/powerpc/dl-procinfo.c: Likewise.
51014         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
51015         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
51016         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
51017         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
51018         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
51019         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
51020         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
51021         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
51022         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
51023         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
51024         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
51025         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
51026         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
51027         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
51028         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
51029         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
51030         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
51031         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
51032         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
51033         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
51034         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
51035         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
51036         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
51037         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
51038         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
51039         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
51040         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
51041         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
51042         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
51043         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
51044         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
51045         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
51046         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
51047         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
51048         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
51049         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
51050         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
51051         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
51052         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
51053         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
51054         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
51055         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
51056         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
51057         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
51058         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
51059         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
51060         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
51061         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
51062         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
51063         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
51064         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
51065         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
51066         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
51067         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
51068         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
51069         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
51070         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
51071         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
51072         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
51073         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
51074         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
51075         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
51076         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
51077         * sysdeps/powerpc/sysdep.h: Likewise.
51078         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
51079         * sysdeps/s390/s390-64/sub_n.S: Likewise.
51080         * sysdeps/sh/dl-trampoline.S: Likewise.
51081         * sysdeps/sh/memset.S: Likewise.
51082         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
51083         * sysdeps/sh/strlen.S: Likewise.
51084         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
51085         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
51086         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
51087         * sysdeps/sparc/sparc32/rem.S: Likewise.
51088         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
51089         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
51090         * sysdeps/sparc/sparc32/strchr.S: Likewise.
51091         * sysdeps/sparc/sparc32/udiv.S: Likewise.
51092         * sysdeps/sparc/sparc32/urem.S: Likewise.
51093         * sysdeps/sparc/sparc64/add_n.S: Likewise.
51094         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
51095         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
51096         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
51097         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
51098         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
51099         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
51100         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
51101         * sysdeps/unix/bsd/times.c: Likewise.
51102         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
51103         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
51104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
51105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
51106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
51107         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
51108         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
51109         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
51110         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
51111         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
51112         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
51113         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
51114         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
51115         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
51116         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
51117         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
51118         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
51119         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
51120         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
51121         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
51122         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
51123         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
51124         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
51125         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
51126         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
51127         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
51128         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
51129         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
51130         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
51131         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
51132         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
51133         * sysdeps/x86_64/strcspn.S: Likewise.
51135 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51137         * locale/C-translit.h: Revert #include <stdint.h> because this is a
51138         generated file.  Regenerate properly from gen-translit.pl.
51139         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
51140         locale/C-translit.h.
51142 2013-06-05  Andreas Schwab  <schwab@suse.de>
51144         [BZ #15100]
51145         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
51146         week as 6 instead of -1.
51147         * time/tst-strptime.c (day_tests): Add test case.
51149 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
51151         * sysdeps/generic/math_private.h
51152         (libc_feholdexcept_setround_53bit): Replace with
51153         libc_feholdsetround_53bit.
51154         (libc_feupdateenv_53bit): Replace with
51155         libc_feresetround_53bit.
51156         (SET_RESTORE_ROUND_53BIT): Adjust.
51158 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
51160         * string/test-strchrnul.c: Add copyright header.
51162         * posix/tst-getaddrinfo4.c: Increase test timeout.
51164 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
51166         [BZ #15536]
51167         * math/libm-test.inc (MAX_EXP): Remove
51168         (MIN_EXP): Define.
51169         (ulp): Use MIN_EXP - MANT_DIG.
51170         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
51172 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
51174         * po/be.po: Revert last change.
51175         * po/zh_CN.po: Likewise.
51176         * po/header.pot: Likewise.
51178 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
51180         * Makefile ($(common-objpfx)linkobj/libc.so): Define
51181         link-libc-deps to empty as target-specific variable.
51182         * Makerules (link-libc-args): New variable.
51183         (libc-for-link): Likewise.
51184         (link-libc-deps): Likewise.
51185         (lib%.so): Depend on $(link-libc-deps).  Link with
51186         $(link-libc-args).
51187         (build-module): Link with $(link-libc-args).
51188         (build-module-asneeded): Likewise.
51189         (build-module-helper-objlist): Filter out $(link-libc-deps) from
51190         list of objects.
51191         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
51192         target-specific variable.
51193         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
51194         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
51195         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
51196         libc.
51197         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
51198         libc and ld.so.
51199         ($(objpfx)libpcprofile.so): Likewise.
51200         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
51201         libc_nonshared.a.
51202         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
51203         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
51204         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
51205         $(link-libc-deps).
51206         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
51207         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
51208         * login/Makefile ($(objpfx)libutil.so): Likewise.
51209         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
51210         * math/Makefile ($(objpfx)libm.so): Likewise.
51211         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
51212         $(objpfx)libnsl.so): Define libc-for-link as target-specific
51213         variable instead of depending directly on libc.
51214         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
51215         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
51216         $(link-libc-deps).
51217         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
51218         libc.
51219         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
51220         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
51221         ($(objpfx)libanl.so): Likewise.
51222         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
51223         ld.so.
51224         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
51225         $(link-libc-deps).
51226         * sysdeps/i386/fpu/Makefile: Remove file.
51227         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
51228         ($(objpfx)libm.so): Remove dependency on ld.so.
51230 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
51232         [BZ # 15553]
51233         * nis/yp_xdr.c (XDRMAXNAME): Define.
51234         (XDRMAXRECORD): Define.
51235         (xdr_domainname): Use XDRMAXNAME.
51236         (xdr_mapname): Likewise.
51237         (xdr_peername): Likewise.
51238         (xdr_keydat): Use XDRMAXRECORD.
51239         (xdr_valdat): Likewise.
51241 2013-05-30  Jeff Law  <law@redhat.com>
51243         [BZ #14256]
51244         * manual/errno.texi (ESTALE): Update to account for more than
51245         just NFS file systems.
51246         * sysdeps/gnu/errlist.c: Regenerated.
51248 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
51250         [BZ #15465]
51251         * elf/Makefile (tests): Add tst-null-argv.
51252         (modules-names):  Add tst-null-argv-lib.
51253         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
51254         (tst-null-argv-ENV): Set environment for tst-null-argv.
51255         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
51256         (RTLD_PROGNAME): New macro.
51257         * elf/tst-null-argv.c: New test case.
51258         * elf/tst-null-argv-lib.c: Library for test case.
51259         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
51260         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
51261         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
51262         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
51263         * elf/dl-init.c (call_init): Likewise.
51264         (_dl_init): Likewise.
51265         * elf/dl-load.c (print_search_path): Likewise.
51266         (_dl_map_object): Likewise.
51267         * elf/dl-lookup.c (do_lookup_x): Likewise.
51268         (add_dependency): Likewise.
51269         (_dl_lookup_symbol_x): Likewise.
51270         (_dl_debug_bindings): Likewise.
51271         * elf/dl-open.c (_dl_show_scope): Likewise.
51272         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
51273         * elf/dl-version.c (match_symbol): Likewise.
51274         (_dl_check_map_versions): Likewise.
51275         * elf/rtld.c (dl_main): Likewise.
51276         (print_unresolved): Use RTLD_PROGNAME.
51277         (print_missing_version): Likewise.
51278         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
51279         (elf_machine_rela): Likewise.
51280         * sysdeps/powerpc/powerpc32/dl-machine.c
51281         (__process_machine_rela): Likewise.
51282         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51283         Likewise.
51284         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
51285         Likewise.
51286         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
51287         Likewise.
51288         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
51289         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
51290         Likewise.
51291         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
51292         Likewise.
51293         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
51295 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
51297         * po/be.po: Add descriptive title.
51298         * po/zh_CN.po: Likewise.
51299         * po/header.pot: Likewise.
51301 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
51303         * locale/programs/locarchive.c (create_archive): Inlucde fname in
51304         error message.
51305         (enlarge_archive): Likewise.
51307 2013-05-28  Ben North  <ben@redfrontdoor.org>
51309         * manual/arith.texi (frexp): It is the magnitude of the return
51310         value which lies in [0.5, 1), not the return value itself.
51312 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51314         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51316 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
51318         * stdio-common/bug26.c (main): Correct fscanf template.
51320         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
51321         declare _dl_skip_args.
51323         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
51324         Don't declare.
51326         * manual/platform.texi: Add missing @end deftypefun.
51328 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
51330         [BZ #15529]
51331         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
51332         bit of mantissa of 2^16382.
51333         * math/libm-test.inc (hypot_test_data): Add more tests.
51335         * math/libm-test.inc: Add drem and pow10 to list of tested
51336         functions.
51337         (pow10_test): New function.
51338         (drem_test): Likewise.
51339         (drem_test_tonearest): Likewise.
51340         (drem_test_towardzero): Likewise.
51341         (drem_test_downward): Likewise.
51342         (drem_test_upward): Likewise.
51343         (main): Call the new functions.
51345         * math/libm-test.inc (finite_test_data): Remove.
51346         (finite_test): Run tests from isfinite_test_data.
51347         (gamma_test_data): Remove.
51348         (gamma_test): Run tests from lgamma_test_data.
51349         * sysdeps/i386/fpu/libm-test-ulps: Update.
51350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51352 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51354         * manual/platform.texi: Add PowerPC PPR function set documentation.
51355         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
51356         implementation.
51358 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
51360         * math/libm-test.inc (MAX_EXP): Define.
51361         (ULPDIFF): Define.
51362         (ulp): New function.
51363         (check_float_internal): Use ULPDIFF.
51364         (cpow_test): Disable failing test.
51365         (check_ulp): Test ulp() implemetnation.
51366         (main): Call check_ulp before starting tests.
51368 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
51370         * math/gen-libm-test.pl (generate_testfile): Do not handle
51371         START_DATA and END_DATA.
51372         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
51373         END_DATA.
51374         (acos_tonearest_test_data): Likewise.
51375         (acos_towardzero_test_data): Likewise.
51376         (acos_downward_test_data): Likewise.
51377         (acos_upward_test_data): Likewise.
51378         (acosh_test_data): Likewise.
51379         (asin_test_data): Likewise.
51380         (asin_tonearest_test_data): Likewise.
51381         (asin_towardzero_test_data): Likewise.
51382         (asin_downward_test_data): Likewise.
51383         (asin_upward_test_data): Likewise.
51384         (asinh_test_data): Likewise.
51385         (atan_test_data): Likewise.
51386         (atanh_test_data): Likewise.
51387         (atan2_test_data): Likewise.
51388         (cabs_test_data): Likewise.
51389         (cacos_test_data): Likewise.
51390         (cacosh_test_data): Likewise.
51391         (carg_test_data): Likewise.
51392         (casin_test_data): Likewise.
51393         (casinh_test_data): Likewise.
51394         (catan_test_data): Likewise.
51395         (catanh_test_data): Likewise.
51396         (cbrt_test_data): Likewise.
51397         (ccos_test_data): Likewise.
51398         (ccosh_test_data): Likewise.
51399         (ceil_test_data): Likewise.
51400         (cexp_test_data): Likewise.
51401         (cimag_test_data): Likewise.
51402         (clog_test_data): Likewise.
51403         (clog10_test_data): Likewise.
51404         (conj_test_data): Likewise.
51405         (copysign_test_data): Likewise.
51406         (cos_test_data): Likewise.
51407         (cos_tonearest_test_data): Likewise.
51408         (cos_towardzero_test_data): Likewise.
51409         (cos_downward_test_data): Likewise.
51410         (cos_upward_test_data): Likewise.
51411         (cosh_test_data): Likewise.
51412         (cosh_tonearest_test_data): Likewise.
51413         (cosh_towardzero_test_data): Likewise.
51414         (cosh_downward_test_data): Likewise.
51415         (cosh_upward_test_data): Likewise.
51416         (cpow_test_data): Likewise.
51417         (cproj_test_data): Likewise.
51418         (creal_test_data): Likewise.
51419         (csin_test_data): Likewise.
51420         (csinh_test_data): Likewise.
51421         (csqrt_test_data): Likewise.
51422         (ctan_test_data): Likewise.
51423         (ctan_tonearest_test_data): Likewise.
51424         (ctan_towardzero_test_data): Likewise.
51425         (ctan_downward_test_data): Likewise.
51426         (ctan_upward_test_data): Likewise.
51427         (ctanh_test_data): Likewise.
51428         (ctanh_tonearest_test_data): Likewise.
51429         (ctanh_towardzero_test_data): Likewise.
51430         (ctanh_downward_test_data): Likewise.
51431         (ctanh_upward_test_data): Likewise.
51432         (erf_test_data): Likewise.
51433         (erfc_test_data): Likewise.
51434         (exp_test_data): Likewise.
51435         (exp_tonearest_test_data): Likewise.
51436         (exp_towardzero_test_data): Likewise.
51437         (exp_downward_test_data): Likewise.
51438         (exp_upward_test_data): Likewise.
51439         (exp10_test_data): Likewise.
51440         (exp2_test_data): Likewise.
51441         (expm1_test_data): Likewise.
51442         (fabs_test_data): Likewise.
51443         (fdim_test_data): Likewise.
51444         (finite_test_data): Likewise.
51445         (floor_test_data): Likewise.
51446         (fma_test_data): Likewise.
51447         (fma_towardzero_test_data): Likewise.
51448         (fma_downward_test_data): Likewise.
51449         (fma_upward_test_data): Likewise.
51450         (fmax_test_data): Likewise.
51451         (fmin_test_data): Likewise.
51452         (fmod_test_data): Likewise.
51453         (fpclassify_test_data): Likewise.
51454         (frexp_test_data): Likewise.
51455         (gamma_test_data): Likewise.
51456         (hypot_test_data): Likewise.
51457         (ilogb_test_data): Likewise.
51458         (isfinite_test_data): Likewise.
51459         (isgreater_test_data): Likewise.
51460         (isgreaterequal_test_data): Likewise.
51461         (isinf_test_data): Likewise.
51462         (isless_test_data): Likewise.
51463         (islessequal_test_data): Likewise.
51464         (islessgreater_test_data): Likewise.
51465         (isnan_test_data): Likewise.
51466         (isnormal_test_data): Likewise.
51467         (issignaling_test_data): Likewise.
51468         (isunordered_test_data): Likewise.
51469         (j0_test_data): Likewise.
51470         (j1_test_data): Likewise.
51471         (jn_test_data): Likewise.
51472         (ldexp_test_data): Likewise.
51473         (lgamma_test_data): Likewise.
51474         (lrint_test_data): Likewise.
51475         (lrint_tonearest_test_data): Likewise.
51476         (lrint_towardzero_test_data): Likewise.
51477         (lrint_downward_test_data): Likewise.
51478         (lrint_upward_test_data): Likewise.
51479         (llrint_test_data): Likewise.
51480         (llrint_tonearest_test_data): Likewise.
51481         (llrint_towardzero_test_data): Likewise.
51482         (llrint_downward_test_data): Likewise.
51483         (llrint_upward_test_data): Likewise.
51484         (log_test_data): Likewise.
51485         (log10_test_data): Likewise.
51486         (log1p_test_data): Likewise.
51487         (log2_test_data): Likewise.
51488         (logb_test_data): Likewise.
51489         (logb_downward_test_data): Likewise.
51490         (lround_test_data): Likewise.
51491         (llround_test_data): Likewise.
51492         (modf_test_data): Likewise.
51493         (nearbyint_test_data): Likewise.
51494         (nextafter_test_data): Likewise.
51495         (nexttoward_test_data): Likewise.
51496         (pow_test_data): Likewise.
51497         (pow_tonearest_test_data): Likewise.
51498         (pow_towardzero_test_data): Likewise.
51499         (pow_downward_test_data): Likewise.
51500         (pow_upward_test_data): Likewise.
51501         (remainder_test_data): Likewise.
51502         (remainder_tonearest_test_data): Likewise.
51503         (remainder_towardzero_test_data): Likewise.
51504         (remainder_downward_test_data): Likewise.
51505         (remainder_upward_test_data): Likewise.
51506         (remquo_test_data): Likewise.
51507         (rint_test_data): Likewise.
51508         (rint_tonearest_test_data): Likewise.
51509         (rint_towardzero_test_data): Likewise.
51510         (rint_downward_test_data): Likewise.
51511         (rint_upward_test_data): Likewise.
51512         (round_test_data): Likewise.
51513         (scalb_test_data): Likewise.
51514         (scalbn_test_data): Likewise.
51515         (scalbln_test_data): Likewise.
51516         (signbit_test_data): Likewise.
51517         (sin_test_data): Likewise.
51518         (sin_tonearest_test_data): Likewise.
51519         (sin_towardzero_test_data): Likewise.
51520         (sin_downward_test_data): Likewise.
51521         (sin_upward_test_data): Likewise.
51522         (sincos_test_data): Likewise.
51523         (sinh_test_data): Likewise.
51524         (sinh_tonearest_test_data): Likewise.
51525         (sinh_towardzero_test_data): Likewise.
51526         (sinh_downward_test_data): Likewise.
51527         (sinh_upward_test_data): Likewise.
51528         (sqrt_test_data): Likewise.
51529         (tan_test_data): Likewise.
51530         (tan_tonearest_test_data): Likewise.
51531         (tan_towardzero_test_data): Likewise.
51532         (tan_downward_test_data): Likewise.
51533         (tan_upward_test_data): Likewise.
51534         (tanh_test_data): Likewise.
51535         (tgamma_test_data): Likewise.
51536         (trunc_test_data): Likewise.
51537         (y0_test_data): Likewise.
51538         (y1_test_data): Likewise.
51539         (yn_test_data): Likewise.
51540         (significand_test_data): Likewise.
51542         * math/gen-libm-test.pl (@functions): Remove variable.
51543         (generate_testfile): Don't handle START and END lines.
51544         * math/libm-test.inc (START): New macro.
51545         (END): Likewise.
51546         (END_COMPLEX): Likewise.
51547         (acos_test): Use END macro without arguments.
51548         (acos_test_tonearest): Likewise.
51549         (acos_test_towardzero): Likewise.
51550         (acos_test_downward): Likewise.
51551         (acos_test_upward): Likewise.
51552         (acosh_test): Likewise.
51553         (asin_test): Likewise.
51554         (asin_test_tonearest): Likewise.
51555         (asin_test_towardzero): Likewise.
51556         (asin_test_downward): Likewise.
51557         (asin_test_upward): Likewise.
51558         (asinh_test): Likewise.
51559         (atan_test): Likewise.
51560         (atanh_test): Likewise.
51561         (atan2_test): Likewise.
51562         (cabs_test): Likewise.
51563         (cacos_test): Use END_COMPLEX macro without arguments.
51564         (cacosh_test): Likewise.
51565         (carg_test): Use END macro without arguments.
51566         (casin_test): Use END_COMPLEX macro without arguments.
51567         (casinh_test): Likewise.
51568         (catan_test): Likewise.
51569         (catanh_test): Likewise.
51570         (cbrt_test): Use END macro without arguments.
51571         (ccos_test): Use END_COMPLEX macro without arguments.
51572         (ccosh_test): Likewise.
51573         (ceil_test): Use END macro without arguments.
51574         (cexp_test): Use END_COMPLEX macro without arguments.
51575         (cimag_test): Use END macro without arguments.
51576         (clog_test): Use END_COMPLEX macro without arguments.
51577         (clog10_test): Likewise.
51578         (conj_test): Likewise.
51579         (copysign_test): Use END macro without arguments.
51580         (cos_test): Likewise.
51581         (cos_test_tonearest): Likewise.
51582         (cos_test_towardzero): Likewise.
51583         (cos_test_downward): Likewise.
51584         (cos_test_upward): Likewise.
51585         (cosh_test): Likewise.
51586         (cosh_test_tonearest): Likewise.
51587         (cosh_test_towardzero): Likewise.
51588         (cosh_test_downward): Likewise.
51589         (cosh_test_upward): Likewise.
51590         (cpow_test): Use END_COMPLEX macro without arguments.
51591         (cproj_test): Likewise.
51592         (creal_test): Use END macro without arguments.
51593         (csin_test): Use END_COMPLEX macro without arguments.
51594         (csinh_test): Likewise.
51595         (csqrt_test): Likewise.
51596         (ctan_test): Likewise.
51597         (ctan_test_tonearest): Likewise.
51598         (ctan_test_towardzero): Likewise.
51599         (ctan_test_downward): Likewise.
51600         (ctan_test_upward): Likewise.
51601         (ctanh_test): Likewise.
51602         (ctanh_test_tonearest): Likewise.
51603         (ctanh_test_towardzero): Likewise.
51604         (ctanh_test_downward): Likewise.
51605         (ctanh_test_upward): Likewise.
51606         (erf_test): Use END macro without arguments.
51607         (erfc_test): Likewise.
51608         (exp_test): Likewise.
51609         (exp_test_tonearest): Likewise.
51610         (exp_test_towardzero): Likewise.
51611         (exp_test_downward): Likewise.
51612         (exp_test_upward): Likewise.
51613         (exp10_test): Likewise.
51614         (exp2_test): Likewise.
51615         (expm1_test): Likewise.
51616         (fabs_test): Likewise.
51617         (fdim_test): Likewise.
51618         (finite_test): Likewise.
51619         (floor_test): Likewise.
51620         (fma_test): Likewise.
51621         (fma_test_towardzero): Likewise.
51622         (fma_test_downward): Likewise.
51623         (fma_test_upward): Likewise.
51624         (fmax_test): Likewise.
51625         (fmin_test): Likewise.
51626         (fmod_test): Likewise.
51627         (fpclassify_test): Likewise.
51628         (frexp_test): Likewise.
51629         (gamma_test): Likewise.
51630         (hypot_test): Likewise.
51631         (ilogb_test): Likewise.
51632         (isfinite_test): Likewise.
51633         (isgreater_test): Likewise.
51634         (isgreaterequal_test): Likewise.
51635         (isinf_test): Likewise.
51636         (isless_test): Likewise.
51637         (islessequal_test): Likewise.
51638         (islessgreater_test): Likewise.
51639         (isnan_test): Likewise.
51640         (isnormal_test): Likewise.
51641         (issignaling_test): Likewise.
51642         (isunordered_test): Likewise.
51643         (j0_test): Likewise.
51644         (j1_test): Likewise.
51645         (jn_test): Likewise.
51646         (ldexp_test): Likewise.
51647         (lgamma_test): Likewise.
51648         (lrint_test): Likewise.
51649         (lrint_test_tonearest): Likewise.
51650         (lrint_test_towardzero): Likewise.
51651         (lrint_test_downward): Likewise.
51652         (lrint_test_upward): Likewise.
51653         (llrint_test): Likewise.
51654         (llrint_test_tonearest): Likewise.
51655         (llrint_test_towardzero): Likewise.
51656         (llrint_test_downward): Likewise.
51657         (llrint_test_upward): Likewise.
51658         (log_test): Likewise.
51659         (log10_test): Likewise.
51660         (log1p_test): Likewise.
51661         (log2_test): Likewise.
51662         (logb_test): Likewise.
51663         (logb_test_downward): Likewise.
51664         (lround_test): Likewise.
51665         (llround_test): Likewise.
51666         (modf_test): Likewise.
51667         (nearbyint_test): Likewise.
51668         (nextafter_test): Likewise.
51669         (nexttoward_test): Likewise.
51670         (pow_test): Likewise.
51671         (pow_test_tonearest): Likewise.
51672         (pow_test_towardzero): Likewise.
51673         (pow_test_downward): Likewise.
51674         (pow_test_upward): Likewise.
51675         (remainder_test): Likewise.
51676         (remainder_test_tonearest): Likewise.
51677         (remainder_test_towardzero): Likewise.
51678         (remainder_test_downward): Likewise.
51679         (remainder_test_upward): Likewise.
51680         (remquo_test): Likewise.
51681         (rint_test): Likewise.
51682         (rint_test_tonearest): Likewise.
51683         (rint_test_towardzero): Likewise.
51684         (rint_test_downward): Likewise.
51685         (rint_test_upward): Likewise.
51686         (round_test): Likewise.
51687         (scalb_test): Likewise.
51688         (scalbn_test): Likewise.
51689         (scalbln_test): Likewise.
51690         (signbit_test): Likewise.
51691         (sin_test): Likewise.
51692         (sin_test_tonearest): Likewise.
51693         (sin_test_towardzero): Likewise.
51694         (sin_test_downward): Likewise.
51695         (sin_test_upward): Likewise.
51696         (sincos_test): Likewise.
51697         (sinh_test): Likewise.
51698         (sinh_test_tonearest): Likewise.
51699         (sinh_test_towardzero): Likewise.
51700         (sinh_test_downward): Likewise.
51701         (sinh_test_upward): Likewise.
51702         (sqrt_test): Likewise.
51703         (tan_test): Likewise.
51704         (tan_test_tonearest): Likewise.
51705         (tan_test_towardzero): Likewise.
51706         (tan_test_downward): Likewise.
51707         (tan_test_upward): Likewise.
51708         (tanh_test): Likewise.
51709         (tgamma_test): Likewise.
51710         (trunc_test): Likewise.
51711         (y0_test): Likewise.
51712         (y1_test): Likewise.
51713         (yn_test): Likewise.
51714         (significand_test): Likewise.
51716 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
51718         [BZ #15381]
51719         * libio/genops.c (_IO_no_init): Initialize wide struct info.
51721 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
51723         [BZ #14894]
51724         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
51725         __ppc_mdoio and __ppc_mdoom.
51726         * manual/platform.texi: Document new functions __ppc_yield,
51727         __ppc_mdoio and __ppc_mdoom.
51729 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
51731         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
51732         (main): Mention "tls" pseudo-hwcap is legacy.
51733         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
51735 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
51737         * math/gen-libm-test.pl (parse_args): Output only string of
51738         arguments as text for test name, not full call or descriptions of
51739         tests for extra outputs.
51740         (generate_testfile): Do not pass function name to parse_args.
51741         Generate this_func variable from START.
51742         * math/libm-test.inc (struct test_f_f_data): Rename test_name
51743         field to arg_str.
51744         (struct test_ff_f_data): Likewise.
51745         (test_ff_f_data_nexttoward): Likewise.
51746         (struct test_fi_f_data): Likewise.
51747         (struct test_fl_f_data): Likewise.
51748         (struct test_if_f_data): Likewise.
51749         (struct test_fff_f_data): Likewise.
51750         (struct test_c_f_data): Likewise.
51751         (struct test_f_f1_data): Likewise.  Remove field extra_name.
51752         (struct test_fF_f1_data): Likewise.
51753         (struct test_ffI_f1_data): Likewise.
51754         (struct test_c_c_data): Rename test_name field to arg_str.
51755         (struct test_cc_c_data): Likewise.
51756         (struct test_f_i_data): Likewise.
51757         (struct test_ff_i_data): Likewise.
51758         (struct test_f_l_data): Likewise.
51759         (struct test_f_L_data): Likewise.
51760         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
51761         and extra2_name.
51762         (COMMON_TEST_SETUP): New macro.
51763         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
51764         (COMMON_TEST_CLEANUP): Likewise.
51765         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
51766         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
51767         macros.
51768         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
51769         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
51770         macros.
51771         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
51772         (RUN_TEST_fff_f): Take argument string.  Call new setup and
51773         cleanup macros.
51774         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
51775         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
51776         macros.
51777         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
51778         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
51779         macros.
51780         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
51781         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
51782         cleanup macros.
51783         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
51784         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
51785         cleanup macros.
51786         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
51787         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
51788         cleanup macros.
51789         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
51790         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
51791         macros.
51792         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
51793         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
51794         macros.
51795         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
51796         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
51797         macros.
51798         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
51799         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
51800         cleanup macros.
51801         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
51802         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
51803         cleanup macros.
51804         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
51805         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
51806         macros.
51807         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
51808         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
51809         cleanup macros.
51810         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
51811         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
51812         macros.
51813         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
51814         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
51815         macros.
51816         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
51817         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
51818         cleanup macros.
51819         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
51821 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
51823         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
51824         to _sifields.sigfault.
51825         (si_addr_lsb): Define new macro.
51826         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
51827         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51828         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
51830 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
51832         [BZ #15441]
51833         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
51834         returns -1.
51835         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
51836         null return -1.
51837         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
51838         loading the domain.
51840 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
51842         * math/gen-libm-test.pl (parse_args): Do not include expected
51843         result in test name.
51844         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
51845         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51846         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
51847         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
51848         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
51849         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51851 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
51853         * benchtests/Makefile: Sort function entries.
51855         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
51856         tanh, asinh, acosh, atanh.
51857         * benchtests/acos-inputs: New file.
51858         * benchtests/acosh-inputs: New file.
51859         * benchtests/asin-inputs: New file.
51860         * benchtests/asinh-inputs: New file.
51861         * benchtests/atanh-inputs: New file.
51862         * benchtests/cosh-inputs: New file.
51863         * benchtests/log-inputs: New file.
51864         * benchtests/sinh-inputs: New file.
51865         * benchtests/tanh-inputs: New file.
51867 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
51869         [BZ #15339]
51870         * posix/tst-getaddrinfo4.c: New test.
51871         * posix/Makefile (tests): Add it.
51873 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51875         [BZ #15339]
51876         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
51877         when no services were used.
51878         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
51879         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
51881 2013-05-21  Andreas Schwab  <schwab@suse.de>
51883         [BZ #15014]
51884         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
51885         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
51886         successful.
51887         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
51888         redundant variable declarations and reallocation of buffer when
51889         parsing as IPv6 address.  Always set NSS status when called from
51890         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
51891         buffer too small.  Correct computation of needed size.
51892         * nss/Makefile (tests): Add test-digits-dots.
51893         * nss/test-digits-dots.c: New test.
51895 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51897         * benchtests/Makefile: Remove instructions for adding
51898         benchmark tests.
51899         * benchtests/README: New file to explain how to execute and
51900         enhance the benchmark tests.
51902 2013-05-21  Andreas Schwab  <schwab@suse.de>
51904         [BZ #15493]
51905         * setjmp/Makefile (tests): Add tst-sigsetjmp.
51906         * setjmp/tst-sigsetjmp.c: New test.
51908 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
51910         * sysdeps/x86_64/memset.S (memset): New implementation.
51911         (__bzero): Likewise.
51912         (__memset_tail): New function.
51914 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
51916         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
51917         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
51918         __memcpy_sse2_unaligned ifunc selection.
51919         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
51920         Add memcpy-sse2-unaligned.S.
51921         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
51922         Add: __memcpy_sse2_unaligned.
51924 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
51926         [BZ #15490]
51927         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
51928         math_force_eval before restoring floating-point envrionment.
51929         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
51930         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
51931         Likewise.
51932         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
51933         <math_private.h>.
51934         (__nearbyintl): Use math_force_eval before restoring
51935         floating-point environment.
51936         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
51938         * math/gen-libm-test.pl (special_functions): Remove.
51939         (parse_args): Don't handle TEST_extra.  Handle functions with no
51940         return value.
51941         * math/libm-test.inc (struct test_sincos_data): Replace with
51942         struct test_fFF_11_data.
51943         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
51944         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
51945         (sincos_test_data): Change element type to struct
51946         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
51947         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
51948         RUN_TEST_LOOP_sincos.
51949         * math/README.libm-test: Don't mention special handling of
51950         individual functions.
51951         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
51952         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51953         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
51954         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
51955         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
51956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51958         * math/gen-libm-test.pl (get_variable): Remove function.
51959         (parse_args): Don't show pointer parameters to call in test
51960         names.  Use "extra output N" in test names for extra outputs
51961         rather than naming variables.
51963 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
51965         [BZ #15488]
51966         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
51967         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
51968         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
51969         double tests.
51970         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
51971         disable.
51972         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
51973         check_long_double.
51975         * math/gen-libm-test.pl (@tests): Remove variable.
51976         ($count): Likewise.
51977         (new_test): Remove function.
51978         (show_exceptions): New function.
51979         (special_functions): Use show_exceptions instead of new_test.
51980         (parse_args): Likewise.
51981         (generate_testfile): Pass only function name in generated call to
51982         print_max_error or print_complex_max_error.
51983         (get_ulps): Do not handle complex tests specially.
51984         (output_test): Rename to ...
51985         (get_all_ulps_for_test): ... this.  Return a string rather than
51986         printing to a file.  Require ulps to be present.
51987         (output_ulps): Generate arrays rather than #defines.
51988         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
51989         (struct ulp_data): New type.
51990         (BUILD_COMPLEX_ULP): Remove macro.
51991         (compare_ulp_data): New function.
51992         (find_ulps): Likewise.
51993         (find_test_ulps): Likewise.
51994         (find_function_ulps): Likewise.
51995         (find_complex_function_ulps): Likewise.
51996         (print_max_error): Determine allowed ulps using
51997         find_function_ulps.
51998         (print_complex_max_error): Determine allowed ulps using
51999         find_complex_function_ulps.
52000         (check_float_internal): Determine max ulps using find_test_ulps.
52001         (check_float): Do not take max_ulp parameter.  Update call to
52002         check_float_internal.
52003         (check_complex): Likewise.
52004         (check_int): Do not take max_ulp parameter.
52005         (check_long): Likewise.
52006         (check_bool): Likewise.
52007         (check_longlong): Likewise.
52008         (struct test_f_f_data): Remove max_ulp field.
52009         (struct test_ff_f_data): Likewise.
52010         (struct test_ff_f_data_nexttoward): Likewise.
52011         (struct test_fi_f_data): Likewise.
52012         (struct test_fl_f_data): Likewise.
52013         (struct test_if_f_data): Likewise.
52014         (struct test_fff_f_data): Likewise.
52015         (struct test_c_f_data): Likewise.
52016         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
52017         (struct test_fF_f1_data): Likewise.
52018         (struct test_ffI_f1_data): Likewise.
52019         (struct test_c_c_data): Remove max_ulp field.
52020         (struct test_cc_c_data): Likewise.
52021         (struct test_f_i_data): Likewise.
52022         (struct test_ff_i_data): Likewise.
52023         (struct test_f_l_data): Likewise.
52024         (struct test_f_L_data): Likewise.
52025         (struct test_sincos_data): Likewise.
52026         (RUN_TEST_f_f): Do not handle ulps.
52027         (RUN_TEST_LOOP_f_f): Likewise.
52028         (RUN_TEST_2_f): Likewise.
52029         (RUN_TEST_LOOP_2_f): Likewise.
52030         (RUN_TEST_fff_f): Likewise.
52031         (RUN_TEST_LOOP_fff_f): Likewise.
52032         (RUN_TEST_c_f): Likewise.
52033         (RUN_TEST_LOOP_c_f): Likewise.
52034         (RUN_TEST_f_f1): Likewise.
52035         (RUN_TEST_LOOP_f_f1): Likewise.
52036         (RUN_TEST_fF_f1): Likewise.
52037         (RUN_TEST_LOOP_fF_f1): Likewise.
52038         (RUN_TEST_fI_f1): Likewise.
52039         (RUN_TEST_LOOP_fI_f1): Likewise.
52040         (RUN_TEST_ffI_f1): Likewise.
52041         (RUN_TEST_LOOP_ffI_f1): Likewise.
52042         (RUN_TEST_c_c): Likewise.
52043         (RUN_TEST_LOOP_c_c): Likewise.
52044         (RUN_TEST_cc_c): Likewise.
52045         (RUN_TEST_LOOP_cc_c): Likewise.
52046         (RUN_TEST_f_i): Likewise.
52047         (RUN_TEST_LOOP_f_i): Likewise.
52048         (RUN_TEST_f_i_tg): Likewise.
52049         (RUN_TEST_LOOP_f_i_tg): Likewise.
52050         (RUN_TEST_ff_i_tg): Likewise.
52051         (RUN_TEST_LOOP_ff_i_tg): Likewise.
52052         (RUN_TEST_f_b): Likewise.
52053         (RUN_TEST_LOOP_f_b): Likewise.
52054         (RUN_TEST_f_b_tg): Likewise.
52055         (RUN_TEST_LOOP_f_b_tg): Likewise.
52056         (RUN_TEST_f_l): Likewise.
52057         (RUN_TEST_LOOP_f_l): Likewise.
52058         (RUN_TEST_f_L): Likewise.
52059         (RUN_TEST_LOOP_f_L): Likewise.
52060         (RUN_TEST_sincos): Likewise.
52061         (RUN_TEST_LOOP_sincos): Likewise.
52063 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
52065         [BZ #15480]
52066         [BZ #15485]
52067         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
52068         main case of finite arguments, set rounding mode to FE_TONEAREST
52069         and discard exceptions.
52070         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
52071         exceptions.
52072         (remainder_tonearest_test_data): New variable.
52073         (remainder_test_tonearest): New function.
52074         (remainder_towardzero_test_data): New variable.
52075         (remainder_test_towardzero): New function.
52076         (remainder_downward_test_data): New variable.
52077         (remainder_test_downward): New function.
52078         (remainder_upward_test_data): New variable.
52079         (remainder_test_upward): New function.
52080         (main): Call the new test functions.
52082         * math/libm-test.inc (struct test_f_f1_data): Remove field
52083         extra_init.
52084         (struct test_fF_f1_data): Likewise.
52085         (struct test_ffI_f1_data): Likewise.
52086         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
52087         based on value of EXTRA_EXPECTED.
52088         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
52089         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
52090         EXTRA_VAR based on value of EXTRA_EXPECTED.
52091         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
52092         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
52093         EXTRA_VAR based on value of EXTRA_EXPECTED.
52094         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
52095         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
52096         EXTRA_VAR based on value of EXTRA_EXPECTED.
52097         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
52098         * math/gen-libm-test.pl (parse_args): Don't output initializers
52099         for extra output values.
52101         * math/libm-test.inc (check_int): Expect result to be exactly
52102         equal to expected value and do not handle ulps.
52103         (check_long): Likewise.
52104         (check_longlong): Likewise.
52106         * math/libm-test.inc (ceil_test_data): Test for "inexact"
52107         exceptions.
52108         (cimag_test_data): Likewise.
52109         (conj_test_data): Likewise.
52110         (copysign_test_data): Likewise.
52111         (cproj_test_data): Likewise.
52112         (creal_test_data): Likewise.
52113         (fabs_test_data): Likewise.
52114         (fdim_test_data): Likewise.
52115         (finite_test_data): Likewise.
52116         (floor_test_data): Likewise.
52117         (fmax_test_data): Likewise.
52118         (fmin_test_data): Likewise.
52119         (fmod_test_data): Likewise.
52120         (fpclassify_test_data): Likewise.
52121         (frexp_test_data): Likewise.
52122         (ilogb_test_data): Likewise.
52123         (isfinite_test_data): Likewise.
52124         (isgreater_test_data): Likewise.
52125         (isgreaterequal_test_data): Likewise.
52126         (isinf_test_data): Likewise.
52127         (isless_test_data): Likewise.
52128         (islessequal_test_data): Likewise.
52129         (islessgreater_test_data): Likewise.
52130         (isnan_test_data): Likewise.
52131         (isnormal_test_data): Likewise.
52132         (issignaling_test_data): Likewise.
52133         (isunordered_test_data): Likewise.
52134         (ldexp_test_data): Likewise.
52135         (lrint_test_data): Likewise.
52136         (lrint_test_data) [TEST_FLOAT]: Disable one test.
52137         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
52138         (lrint_tonearest_test_data): Test for "inexact" exceptions.
52139         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
52140         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
52141         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
52142         test input.
52143         (lrint_towardzero_test_data): Test for "inexact" exceptions.
52144         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
52145         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
52146         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
52147         that test input.
52148         (lrint_downward_test_data): Test for "inexact" exceptions.
52149         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
52150         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
52151         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
52152         test input.
52153         (lrint_upward_test_data): Test for "inexact" exceptions.
52154         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
52155         test input.
52156         (llrint_test_data): Test for "inexact" exceptions.
52157         (llrint_test_data) [TEST_FLOAT]: Disable one test.
52158         (llrint_tonearest_test_data): Test for "inexact" exceptions.
52159         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
52160         (llrint_towardzero_test_data): Test for "inexact" exceptions.
52161         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
52162         (llrint_downward_test_data): Test for "inexact" exceptions.
52163         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
52164         (llrint_upward_test_data): Test for "inexact" exceptions.
52165         (logb_test_data): Likewise.
52166         (logb_downward_test_data): Likewise.
52167         (nextafter_test_data): Likewise.
52168         (nexttoward_test_data): Likewise.
52169         (remainder_test_data): Likewise.
52170         (remquo_test_data): Likewise.
52171         (scalbn_test_data): Likewise.
52172         (scalbln_test_data): Likewise.
52173         (signbit_test_data): Likewise.
52174         (sqrt_test_data): Likewise.
52175         (significand_test_data): Likewise.
52177 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
52179         [BZ #15424]
52180         * benchtests/bench-modf.c (struct args): Mark arg0 as
52181         volatile.
52182         * scripts/bench.pl: Mark members of struct args as volatile.
52184 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52186         [BZ # 15497]
52187         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
52188         negative infinity on POWER6 or lower.
52189         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
52191 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
52193         [BZ #15442]
52194         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
52195         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
52196         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
52197         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
52198         (_FP_SETQNAN): New macro.
52199         (_FP_SETQNAN_SEMIRAW): Likewise.
52200         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
52201         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
52202         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
52203         (FP_EXTEND): Use _FP_FRAC_SNANP.
52204         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
52205         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
52206         into account.
52207         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
52208         New macro.
52209         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
52210         Likewise.
52212 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
52214         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
52215         with DIVIDE_BY_ZERO_EXCEPTION.
52216         (gamma_test_data): Likewise.
52217         (lgamma_test_data): Likewise.
52218         (log_test_data): Likewise.
52219         (log10_test_data): Likewise.
52220         (log2_test_data): Likewise.
52221         (tgamma_test_data): Likewise.
52223         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
52224         (acos_test_tonearest): Likewise.
52225         (acos_test_towardzero): Likewise.
52226         (acos_test_downward): Likewise.
52227         (acos_test_upward): Likewise.
52228         (acosh_test): Likewise.
52229         (asin_test): Likewise.
52230         (asin_test_tonearest): Likewise.
52231         (asin_test_towardzero): Likewise.
52232         (asin_test_downward): Likewise.
52233         (asin_test_upward): Likewise.
52234         (asinh_test): Likewise.
52235         (atan_test): Likewise.
52236         (atanh_test): Likewise.
52237         (atan2_test): Likewise.
52238         (cabs_test): Likewise.
52239         (cacos_test): Likewise.
52240         (cacosh_test): Likewise.
52241         (casin_test): Likewise.
52242         (casinh_test): Likewise.
52243         (catan_test): Likewise.
52244         (catanh_test): Likewise.
52245         (cbrt_test): Likewise.
52246         (ccos_test): Likewise.
52247         (ccosh_test): Likewise.
52248         (cexp_test): Likewise.
52249         (clog_test): Likewise.
52250         (clog10_test): Likewise.
52251         (cos_test): Likewise.
52252         (cos_test_tonearest): Likewise.
52253         (cos_test_towardzero): Likewise.
52254         (cos_test_downward): Likewise.
52255         (cos_test_upward): Likewise.
52256         (cosh_test): Likewise.
52257         (cosh_test_tonearest): Likewise.
52258         (cosh_test_towardzero): Likewise.
52259         (cosh_test_downward): Likewise.
52260         (cosh_test_upward): Likewise.
52261         (cpow_test): Likewise.
52262         (csin_test): Likewise.
52263         (csinh_test): Likewise.
52264         (csqrt_test): Likewise.
52265         (ctan_test): Likewise.
52266         (ctan_test_tonearest): Likewise.
52267         (ctan_test_towardzero): Likewise.
52268         (ctan_test_downward): Likewise.
52269         (ctan_test_upward): Likewise.
52270         (ctanh_test): Likewise.
52271         (ctanh_test_tonearest): Likewise.
52272         (ctanh_test_towardzero): Likewise.
52273         (ctanh_test_downward): Likewise.
52274         (ctanh_test_upward): Likewise.
52275         (erf_test): Likewise.
52276         (erfc_test): Likewise.
52277         (exp_test): Likewise.
52278         (exp_test_tonearest): Likewise.
52279         (exp_test_towardzero): Likewise.
52280         (exp_test_downward): Likewise.
52281         (exp_test_upward): Likewise.
52282         (exp10_test): Likewise.
52283         (exp2_test): Likewise.
52284         (expm1_test): Likewise.
52285         (fmod_test): Likewise.
52286         (gamma_test): Likewise.
52287         (hypot_test): Likewise.
52288         (j0_test): Likewise.
52289         (j1_test): Likewise.
52290         (jn_test): Likewise.
52291         (lgamma_test): Likewise.
52292         (log_test): Likewise.
52293         (log10_test): Likewise.
52294         (log1p_test): Likewise.
52295         (log2_test): Likewise.
52296         (logb_test_downward): Likewise.
52297         (pow_test): Likewise.
52298         (pow_test_tonearest): Likewise.
52299         (pow_test_towardzero): Likewise.
52300         (pow_test_downward): Likewise.
52301         (pow_test_upward): Likewise.
52302         (remainder_test): Likewise.
52303         (remquo_test): Likewise.
52304         (sin_test): Likewise.
52305         (sin_test_tonearest): Likewise.
52306         (sin_test_towardzero): Likewise.
52307         (sin_test_downward): Likewise.
52308         (sin_test_upward): Likewise.
52309         (sincos_test): Likewise.
52310         (sinh_test): Likewise.
52311         (sinh_test_tonearest): Likewise.
52312         (sinh_test_towardzero): Likewise.
52313         (sinh_test_downward): Likewise.
52314         (sinh_test_upward): Likewise.
52315         (sqrt_test): Likewise.
52316         (tan_test): Likewise.
52317         (tan_test_tonearest): Likewise.
52318         (tan_test_towardzero): Likewise.
52319         (tan_test_downward): Likewise.
52320         (tan_test_upward): Likewise.
52321         (tanh_test): Likewise.
52322         (tgamma_test): Likewise.
52323         (y0_test): Likewise.
52324         (y1_test): Likewise.
52325         (yn_test): Likewise.
52327         * math/gen-libm-test.pl (adjust_arg): Remove function.
52328         (special_function): Remove argument $in_func.  Only handle
52329         generating output for tables of tests, not inside functions.
52330         (parse_args): Likewise.
52331         (generate_testfile): Remove variable $in_func.  Update call to
52332         parse_args.
52333         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
52334         (MINUS_ZERO_INIT): Rename macro to minus_zero.
52335         (PLUS_INFTY_INIT): Rename macro to plus_infty.
52336         (MINUS_INFTY_INIT): Rename macro to minus_infty.
52337         (QNAN_VALUE_INIT): Rename macro to qnan_value.
52338         (MAX_VALUE_INIT): Rename macro to max_value.
52339         (MIN_VALUE_INIT): Rename macro to min_value.
52340         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
52341         (plus_zero): Remove variable.
52342         (minus_zero): Likewise.
52343         (plus_infty): Likewise.
52344         (minus_infty): Likewise.
52345         (qnan_value): Likewise.
52346         (max_value): Likewise.
52347         (min_value): Likewise.
52348         (min_subnorm_value): Likewise.
52350 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52352         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
52353         uint64_t or uint32_t usage.
52354         * crypt/sha256-block.c: Likewise.
52355         * crypt/sha256-crypt.c: Likewise.
52356         * crypt/sha256.c: Likewise.
52357         * crypt/sha512-block.c: Likewise.
52358         * crypt/sha512-crypt.c: Likewise.
52359         * crypt/sha512.c: Likewise.
52360         * debug/backtrace-tst.c: Likewise.
52361         * debug/pcprofiledump.c: Likewise.
52362         * elf/cache.c: Likewise.
52363         * elf/dl-cache.c: Likewise.
52364         * elf/dl-misc.c: Likewise.
52365         * elf/dl-profile.c: Likewise.
52366         * elf/dl-support.c: Likewise.
52367         * elf/ldconfig.c: Likewise.
52368         * elf/sprof.c: Likewise.
52369         * iconv/dummy-repertoire.c: Likewise.
52370         * iconv/iconv_charmap.c: Likewise.
52371         * iconv/skeleton.c: Likewise.
52372         * iconvdata/8bit-generic.c: Likewise.
52373         * iconvdata/cp737.h: Likewise.
52374         * iconvdata/cp775.h: Likewise.
52375         * iconvdata/ibm1008.h: Likewise.
52376         * iconvdata/ibm1025.h: Likewise.
52377         * iconvdata/ibm1046.h: Likewise.
52378         * iconvdata/ibm1097.h: Likewise.
52379         * iconvdata/ibm1112.h: Likewise.
52380         * iconvdata/ibm1122.h: Likewise.
52381         * iconvdata/ibm1123.h: Likewise.
52382         * iconvdata/ibm1124.h: Likewise.
52383         * iconvdata/ibm1129.h: Likewise.
52384         * iconvdata/ibm1130.h: Likewise.
52385         * iconvdata/ibm1132.h: Likewise.
52386         * iconvdata/ibm1133.h: Likewise.
52387         * iconvdata/ibm1137.h: Likewise.
52388         * iconvdata/ibm1140.h: Likewise.
52389         * iconvdata/ibm1141.h: Likewise.
52390         * iconvdata/ibm1142.h: Likewise.
52391         * iconvdata/ibm1143.h: Likewise.
52392         * iconvdata/ibm1144.h: Likewise.
52393         * iconvdata/ibm1145.h: Likewise.
52394         * iconvdata/ibm1146.h: Likewise.
52395         * iconvdata/ibm1147.h: Likewise.
52396         * iconvdata/ibm1148.h: Likewise.
52397         * iconvdata/ibm1149.h: Likewise.
52398         * iconvdata/ibm1153.h: Likewise.
52399         * iconvdata/ibm1154.h: Likewise.
52400         * iconvdata/ibm1155.h: Likewise.
52401         * iconvdata/ibm1156.h: Likewise.
52402         * iconvdata/ibm1157.h: Likewise.
52403         * iconvdata/ibm1158.h: Likewise.
52404         * iconvdata/ibm1160.h: Likewise.
52405         * iconvdata/ibm1161.h: Likewise.
52406         * iconvdata/ibm1162.h: Likewise.
52407         * iconvdata/ibm1163.h: Likewise.
52408         * iconvdata/ibm1164.h: Likewise.
52409         * iconvdata/ibm1166.h: Likewise.
52410         * iconvdata/ibm1167.h: Likewise.
52411         * iconvdata/ibm12712.h: Likewise.
52412         * iconvdata/ibm1390.h: Likewise.
52413         * iconvdata/ibm1399.h: Likewise.
52414         * iconvdata/ibm16804.h: Likewise.
52415         * iconvdata/ibm4517.h: Likewise.
52416         * iconvdata/ibm4899.h: Likewise.
52417         * iconvdata/ibm4909.h: Likewise.
52418         * iconvdata/ibm4971.h: Likewise.
52419         * iconvdata/ibm5347.h: Likewise.
52420         * iconvdata/ibm803.h: Likewise.
52421         * iconvdata/ibm856.h: Likewise.
52422         * iconvdata/ibm901.h: Likewise.
52423         * iconvdata/ibm902.h: Likewise.
52424         * iconvdata/ibm9030.h: Likewise.
52425         * iconvdata/ibm9066.h: Likewise.
52426         * iconvdata/ibm921.h: Likewise.
52427         * iconvdata/ibm922.h: Likewise.
52428         * iconvdata/ibm9448.h: Likewise.
52429         * iconvdata/isiri-3342.h: Likewise.
52430         * iconvdata/jis0201.h: Likewise.
52431         * include/link.h: Likewise.
52432         * include/netdb.h: Likewise.
52433         * inet/check_native.c: Likewise.
52434         * inet/check_pf.c: Likewise.
52435         * inet/getipv4sourcefilter.c: Likewise.
52436         * inet/getnameinfo.c: Likewise.
52437         * inet/getsourcefilter.c: Likewise.
52438         * inet/htonl.c: Likewise.
52439         * inet/setipv4sourcefilter.c: Likewise.
52440         * inet/setsourcefilter.c: Likewise.
52441         * inet/test-inet6_opt.c: Likewise.
52442         * inet/tst-network.c: Likewise.
52443         * locale/C-collate.c: Likewise.
52444         * locale/C-ctype.c: Likewise.
52445         * locale/C-time.c: Likewise.
52446         * locale/C-translit.h: Likewise.
52447         * locale/loadarchive.c: Likewise.
52448         * locale/programs/3level.h: Likewise.
52449         * locale/programs/charmap.c: Likewise.
52450         * locale/programs/charmap.h: Likewise.
52451         * locale/programs/ld-address.c: Likewise.
52452         * locale/programs/ld-collate.c: Likewise.
52453         * locale/programs/ld-ctype.c: Likewise.
52454         * locale/programs/ld-identification.c: Likewise.
52455         * locale/programs/ld-measurement.c: Likewise.
52456         * locale/programs/ld-messages.c: Likewise.
52457         * locale/programs/ld-monetary.c: Likewise.
52458         * locale/programs/ld-name.c: Likewise.
52459         * locale/programs/ld-numeric.c: Likewise.
52460         * locale/programs/ld-paper.c: Likewise.
52461         * locale/programs/ld-telephone.c: Likewise.
52462         * locale/programs/ld-time.c: Likewise.
52463         * locale/programs/linereader.c: Likewise.
52464         * locale/programs/locale.c: Likewise.
52465         * locale/programs/locarchive.c: Likewise.
52466         * locale/programs/locfile.h: Likewise.
52467         * locale/programs/repertoire.c: Likewise.
52468         * locale/programs/simple-hash.c: Likewise.
52469         * locale/programs/simple-hash.h: Likewise.
52470         * malloc/memusage.c: Likewise.
52471         * malloc/memusagestat.c: Likewise.
52472         * nis/nis_defaults.c: Likewise.
52473         * nis/nis_hash.c: Likewise.
52474         * nis/nis_print.c: Likewise.
52475         * nis/nis_xdr.c: Likewise.
52476         * nscd/connections.c: Likewise.
52477         * nscd/hstcache.c: Likewise.
52478         * nscd/nscd_gethst_r.c: Likewise.
52479         * nscd/nscd_getserv_r.c: Likewise.
52480         * nscd/nscd_helper.c: Likewise.
52481         * nscd/servicescache.c: Likewise.
52482         * nss/makedb.c: Likewise.
52483         * nss/nss_db/db-XXX.c: Likewise.
52484         * nss/nss_db/db-initgroups.c: Likewise.
52485         * nss/nss_db/db-netgrp.c: Likewise.
52486         * nss/nss_files/files-network.c: Likewise.
52487         * nss/nss_files/files-parse.c: Likewise.
52488         * posix/bug-regex5.c: Likewise.
52489         * posix/fnmatch_loop.c: Likewise.
52490         * posix/regcomp.c: Likewise.
52491         * posix/regexec.c: Likewise.
52492         * posix/tst-rfc3484-2.c: Likewise.
52493         * posix/tst-rfc3484-3.c: Likewise.
52494         * posix/tst-rfc3484.c: Likewise.
52495         * resolv/nss_dns/dns-canon.c: Likewise.
52496         * resolv/nss_dns/dns-network.c: Likewise.
52497         * resolv/res_init.c: Likewise.
52498         * resolv/res_mkquery.c: Likewise.
52499         * resolv/tst-aton.c: Likewise.
52500         * stdlib/cxa_atexit.c: Likewise.
52501         * stdlib/cxa_finalize.c: Likewise.
52502         * stdlib/gen-fpioconst.c: Likewise.
52503         * stdlib/strtol_l.c: Likewise.
52504         * string/tst-endian.c: Likewise.
52505         * sunrpc/auth_des.c: Likewise.
52506         * sunrpc/clnt_udp.c: Likewise.
52507         * sunrpc/rtime.c: Likewise.
52508         * sunrpc/svcauth_des.c: Likewise.
52509         * sunrpc/xdr.c: Likewise.
52510         * sunrpc/xdr_intXX_t.c: Likewise.
52511         * sunrpc/xdr_rec.c: Likewise.
52512         * sysdeps/generic/ldconfig.h: Likewise.
52513         * sysdeps/generic/ldsodefs.h: Likewise.
52514         * sysdeps/generic/memusage.h: Likewise.
52515         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
52516         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
52517         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
52518         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
52519         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52520         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
52521         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
52522         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
52523         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52524         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
52525         * sysdeps/posix/getaddrinfo.c: Likewise.
52526         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52527         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52528         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
52529         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52530         * sysdeps/powerpc/test-gettimebase.c: Likewise.
52531         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
52532         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
52533         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
52534         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
52535         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
52536         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
52537         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
52538         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
52539         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
52540         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
52541         * sysdeps/x86_64/dl-tls.h: Likewise.
52542         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
52543         * time/alt_digit.c: Likewise.
52544         * time/era.c: Likewise.
52545         * wcsmbs/tst-c16c32-1.c: Likewise.
52547 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
52549         * math/libm-test.inc (struct test_sincos_data): New type.
52550         (RUN_TEST_LOOP_sincos): New macro.
52551         (sincos_test_data): New variable.
52552         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
52554 2013-05-16  Richard Henderson  <rth@redhat.com>
52556         * math/atest-exp2.c (LIMB64): New macro.
52557         (CONSTSZ): New macro.
52558         (mp_exp1, mp_exp_m1, mp_log2): New variables.
52559         (hexdig): Move ...
52560         (print_mpn_fp): ... to function scope.
52561         (read_mpn_hex): Remove.
52562         (get_log2): Remove.
52563         (exp2_mpn): Use mp_log2.
52564         (main): Use mp_exp1.
52566 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
52568         * math/libm-test.inc: Remove comment about not testing "inexact"
52569         exceptions.
52570         (INEXACT_EXCEPTION): New macro.
52571         (NO_INEXACT_EXCEPTION): Likewise.
52572         (INVALID_EXCEPTION_OK): Update value.
52573         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
52574         (OVERFLOW_EXCEPTION_OK): Likewise.
52575         (UNDERFLOW_EXCEPTION_OK): Likewise.
52576         (IGNORE_ZERO_INF_SIGN): Likewise.
52577         (ERRNO_UNCHANGED): Likewise.
52578         (ERRNO_EDOM): Likewise.
52579         (ERRNO_ERANGE): Likewise.
52580         (test_exceptions): Handle testing "inexact" exceptions.
52581         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
52582         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
52583         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
52584         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
52585         INEXACT_EXCEPTION.
52586         (rint_towardzero_test_data): Likewise.
52587         (rint_downward_test_data): Likewise.
52588         (rint_upward_test_data): Likewise.
52590         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
52591         with OVERFLOW_EXCEPTION.
52592         (exp10_test_data): Likewise.
52593         (exp2_test_data): Likewise.
52594         (expm1_test_data): Likewise.
52595         (lgamma_test_data): Likewise.
52596         (pow_test_data): Likewise.
52597         (tgamma_test_data): Likewise.
52598         (yn_test_data): Remove duplicate test of overflow.
52600         * math/libm-test.inc (struct test_cc_c_data): New type.
52601         (RUN_TEST_LOOP_cc_c): New macro.
52602         (cpow_test_data): New variable.
52603         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
52605         * math/libm-test.inc (struct test_f_L_data): New type.
52606         (RUN_TEST_LOOP_f_L): New macro.
52607         (llrint_test_data): New variable.
52608         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
52609         (llrint_tonearest_test_data): New variable.
52610         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
52611         (llrint_towardzero_test_data): New variable.
52612         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
52613         (llrint_downward_test_data): New variable.
52614         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
52615         (llrint_upward_test_data): New variable.
52616         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
52617         (llround_test_data): New variable.
52618         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
52620 2013-05-13  Peter Collingbourne  <pcc@google.com>
52622         * math/atest-exp2.c (get_log2): Remove const attribute.
52624 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
52626         * math/libm-test.inc (struct test_f_l_data): New type.
52627         (RUN_TEST_LOOP_f_l): New macro.
52628         (lrint_test_data): New variable.
52629         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
52630         (lrint_tonearest_test_data): New variable.
52631         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
52632         (lrint_towardzero_test_data): New variable.
52633         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
52634         (lrint_downward_test_data): New variable.
52635         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
52636         (lrint_upward_test_data): New variable.
52637         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
52638         (lround_test_data): New variable.
52639         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
52641 2013-05-15  Peter Collingbourne  <pcc@google.com>
52643         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
52644         (EXTRACT_WORDS64) Use where appropriate.
52645         (INSERT_WORDS64) Likewise.
52647         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
52648         constraints with x constraints.
52649         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
52651         * malloc/obstack.c (_obstack_compat): Add initializer.
52653 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
52655         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
52656         si_trapno and add si_addr_lsb to _sifields.sigfault.
52657         (si_trapno): Remove macro.
52658         (si_addr_lsb): Define new macro.
52659         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
52661 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
52663         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
52664         instead of TEST_f_l.
52665         (llrint_test_tonearest): Likewise.
52666         (llrint_test_towardzero): Likewise.
52667         (llrint_test_downward): Likewise.
52668         (llrint_test_upward): Likewise.
52669         (llround_test): Likewise.
52671         * math/libm-test.inc (struct test_f_i_data): Add comment.
52672         (RUN_TEST_LOOP_f_b): New macro.
52673         (RUN_TEST_LOOP_f_b_tg): Likewise.
52674         (finite_test_data): New variable.
52675         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
52676         (isfinite_test_data): New variable.
52677         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52678         (isinf_test_data): New variable.
52679         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52680         (isnan_test_data): New variable.
52681         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52682         (isnormal_test_data): New variable.
52683         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52684         (issignaling_test_data): New variable.
52685         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52686         (signbit_test_data): New variable.
52687         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52689         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
52690         with INVALID_EXCEPTION.
52691         (acosh_test_data): Likewise.
52692         (asin_test_data): Likewise.
52693         (atanh_test_data): Likewise.
52694         (fmod_test_data): Likewise.
52695         (log_test_data): Likewise.
52696         (log10_test_data): Likewise.
52697         (log2_test_data): Likewise.
52698         (pow_test_data): Likewise.
52699         (sqrt_test_data): Likewise.
52700         (y0_test_data): Likewise.
52701         (y1_test_data): Likewise.
52702         (yn_test_data): Likewise.
52704         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
52705         function contents.
52707         * math/libm-test.inc (struct test_ff_i_data): New type.
52708         (RUN_TEST_LOOP_ff_i_tg): New macro.
52709         (isgreater_test_data): New variable.
52710         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52711         (isgreaterequal_test_data): New variable.
52712         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52713         (isless_test_data): New variable.
52714         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52715         (islessequal_test_data): New variable.
52716         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52717         (islessgreater_test_data): New variable.
52718         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52719         (isunordered_test_data): New variable.
52720         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52722 2013-05-14  David S. Miller  <davem@davemloft.net>
52724         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52726 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
52728         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
52730         * math/libm-test.inc (struct test_fF_f1_data): Change type of
52731         extra_test to int.
52732         (struct test_f_i_data): Change type of max_ulp to int.
52734         * math/libm-test.inc (test_ffI_f1_data): New type.
52735         (RUN_TEST_LOOP_ffI_f1): New macro.
52736         (remquo_test_data): New variable.
52737         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
52739         * setjmp/tst-setjmp-fp.c: New file.
52740         * setjmp/Makefile (tests): Add tst-setjmp-fp.
52741         (link-libm): New variable.
52742         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
52744         * math/libm-test.inc (struct test_f_i_data): New type.
52745         (RUN_TEST_LOOP_f_i): New macro.
52746         (RUN_TEST_LOOP_f_i_tg): Likewise.
52747         (fpclassify_test_data): New variable.
52748         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
52749         (ilogb_test_data): New variable.
52750         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
52752         * math/libm-test.inc (scalbln_test): Correct function name in END
52753         call.
52755         * math/libm-test.inc (struct test_f_f1_data): Add comment.
52756         (RUN_TEST_LOOP_fI_f1): New macro.
52757         (frexp_test_data): New variable.
52758         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
52760         * math/libm-test.inc (struct test_fF_f1_data): New type.
52761         (RUN_TEST_LOOP_fF_f1): New macro.
52762         (modf_test_data): New variable.
52763         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
52765         * math/libm-test.inc (struct test_f_f1_data): New type.
52766         (RUN_TEST_LOOP_f_f1): New macro.
52767         (gamma_test_data): New variable.
52768         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
52769         (lgamma_test_data): New variable.
52770         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
52772 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
52774         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
52775         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
52776         (main): Comment "tls" pseudo-hwcap.
52778 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
52780         * math/libm-test.inc (struct test_fl_f_data): New type.
52781         (RUN_TEST_LOOP_fl_f): New variable.
52782         (scalbln_test_data): New variable.
52783         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
52785         * math/libm-test.inc (struct test_fi_f_data): New type.
52786         (RUN_TEST_LOOP_fi_f): New macro.
52787         (ldexp_test_data): New variable.
52788         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
52789         (scalbn_test_data): New variable.
52790         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
52792         * math/libm-test.inc (struct test_c_f_data): New type.
52793         (RUN_TEST_LOOP_c_f): New macro.
52794         (cabs_test_data): New variable.
52795         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
52796         (carg_test_data): New variable.
52797         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
52798         (cimag_test_data): New variable.
52799         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
52800         (creal_test_data): New variable.
52801         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
52803         * math/libm-test.inc (struct test_if_f_data): New type.
52804         (RUN_TEST_LOOP_if_f): New macro.
52805         (jn_test_data): New variable.
52806         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
52807         (yn_test_data): New variable.
52808         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
52810         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
52812 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52814         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
52815         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
52817 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
52819         * benchtests/Makefile (CPPFLAGS-nonlib): Add
52820         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
52821         (bench-deps): Add bench-timing.h.
52822         * benchtests-bench-skeleton.c: Include bench-timing.h.
52823         (main): Use TIMING_* macros instead of clock_gettime.
52824         * benchtests/bench-timing.h: New file.
52826         [BZ #14582]
52827         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
52828         Renamed from _LIB_VERSION.
52829         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
52831 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
52833         * math/libm-test.inc (struct test_fff_f_data): New type.
52834         (RUN_TEST_LOOP_fff_f): New macro.
52835         (fma_test_data): New variable.
52836         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
52837         (fma_towardzero_test_data): New variable.
52838         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
52839         (fma_downward_test_data): New variable.
52840         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
52841         (fma_upward_test_data): New variable.
52842         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
52844         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
52845         (struct test_c_c_data): New type.
52846         (RUN_TEST_LOOP_c_c): New macro.
52847         (cacos_test_data): New variable.
52848         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
52849         (cacosh_test_data): New variable.
52850         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
52851         (casin_test_data): New variable.
52852         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
52853         (casinh_test_data): New variable.
52854         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
52855         (catan_test_data): New variable.
52856         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
52857         (catanh_test_data): New variable.
52858         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
52859         (ccos_test_data): New variable.
52860         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
52861         (ccosh_test_data): New variable.
52862         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
52863         (cexp_test_data): New variable.
52864         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
52865         (clog_test_data): New variable.
52866         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
52867         (clog10_test_data): New variable.
52868         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
52869         (conj_test_data): New variable.
52870         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
52871         (cproj_test_data): New variable.
52872         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
52873         (csin_test_data): New variable.
52874         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
52875         (csinh_test_data): New variable.
52876         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
52877         (csqrt_test_data): New variable.
52878         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
52879         (ctan_test_data): New variable.
52880         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
52881         (ctan_tonearest_test_data): New variable.
52882         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
52883         (ctan_towardzero_test_data): New variable.
52884         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
52885         (ctan_downward_test_data): New variable.
52886         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
52887         (ctan_upward_test_data): New variable.
52888         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
52889         (ctanh_test_data): New variable.
52890         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
52891         (ctanh_tonearest_test_data): New variable.
52892         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
52893         (ctanh_towardzero_test_data): New variable.
52894         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
52895         (ctanh_downward_test_data): New variable.
52896         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
52897         (ctanh_upward_test_data): New variable.
52898         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
52899         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
52900         of BUILD_COMPLEX.
52902         * math/libm-test.inc (struct test_ff_f_data): New type.
52903         (struct test_ff_f_data_nexttoward): Likewise.
52904         (RUN_TEST_LOOP_2_f): New macro.
52905         (RUN_TEST_LOOP_ff_f): Likewise.
52906         (atan2_test_data): New variable.
52907         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
52908         (copysign_test_data): New variable.
52909         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
52910         (fdim_test_data): New variable.
52911         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
52912         (fmax_test_data): New variable.
52913         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
52914         (fmin_test_data): New variable.
52915         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
52916         (fmod_test_data): New variable.
52917         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
52918         (hypot_test_data): New variable.
52919         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
52920         (nextafter_test_data): New variable.
52921         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
52922         (nexttoward_test_data): New variable.
52923         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
52924         (pow_test_data): New variable.
52925         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
52926         (pow_tonearest_test_data): New variable.
52927         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
52928         (pow_towardzero_test_data): New variable.
52929         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
52930         (pow_downward_test_data): New variable.
52931         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
52932         (pow_upward_test_data): New variable.
52933         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
52934         (remainder_test_data): New variable.
52935         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
52936         (scalb_test_data): New variable.
52937         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
52938         * sysdeps/i386/fpu/libm-test-ulps: Update.
52940 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
52942         * math/libm-test.inc (fma_test): Use max_value instead of local
52943         variable fltmax.
52944         (nextafter_test): Likewise.
52946         * math/libm-test.inc (acos_towardzero_test_data): New variable.
52947         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52948         (acos_downward_test_data): New variable.
52949         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52950         (acos_upward_test_data): New variable.
52951         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52952         (acosh_test_data): New variable.
52953         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
52954         (asin_test_data): New variable.
52955         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
52956         (asin_tonearest_test_data): New variable.
52957         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52958         (asin_towardzero_test_data): New variable.
52959         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52960         (asin_downward_test_data): New variable.
52961         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52962         (asin_upward_test_data): New variable.
52963         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52964         (asinh_test_data): New variable.
52965         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
52966         (atan_test_data): New variable.
52967         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
52968         (atanh_test_data): New variable.
52969         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
52970         (cbrt_test_data): New variable.
52971         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
52972         (ceil_test_data): New variable.
52973         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
52974         (cos_test_data): New variable.
52975         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
52976         (cos_tonearest_test_data): New variable.
52977         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52978         (cos_towardzero_test_data): New variable.
52979         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52980         (cos_downward_test_data): New variable.
52981         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52982         (cos_upward_test_data): New variable.
52983         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52984         (cosh_test_data): New variable.
52985         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
52986         (cosh_tonearest_test_data): New variable.
52987         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52988         (cosh_towardzero_test_data): New variable.
52989         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52990         (cosh_downward_test_data): New variable.
52991         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52992         (cosh_upward_test_data): New variable.
52993         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52994         (erf_test_data): New variable.
52995         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
52996         (erfc_test_data): New variable.
52997         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
52998         (exp_test_data): New variable.
52999         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
53000         (exp_tonearest_test_data): New variable.
53001         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53002         (exp_towardzero_test_data): New variable.
53003         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53004         (exp_downward_test_data): New variable.
53005         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53006         (exp_upward_test_data): New variable.
53007         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53008         (exp10_test_data): New variable.
53009         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
53010         (exp2_test_data): New variable.
53011         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
53012         (expm1_test_data): New variable.
53013         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
53014         (fabs_test_data): New variable.
53015         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
53016         (floor_test_data): New variable.
53017         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
53018         (j0_test_data): New variable.
53019         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
53020         (j1_test_data): New variable.
53021         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
53022         (log_test_data): New variable.
53023         (log_test): Run tests with RUN_TEST_LOOP_f_f.
53024         (log10_test_data): New variable.
53025         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
53026         (log1p_test_data): New variable.
53027         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
53028         (log2_test_data): New variable.
53029         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
53030         (logb_test_data): New variable.
53031         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
53032         (logb_downward_test_data): New variable.
53033         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53034         (nearbyint_test_data): New variable.
53035         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
53036         (rint_test_data): New variable.
53037         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
53038         (rint_tonearest_test_data): New variable.
53039         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53040         (rint_towardzero_test_data): New variable.
53041         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53042         (rint_downward_test_data): New variable.
53043         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53044         (rint_upward_test_data): New variable.
53045         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53046         (round_test_data): New variable.
53047         (round_test): Run tests with RUN_TEST_LOOP_f_f.
53048         (sin_test_data): New variable.
53049         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
53050         (sin_tonearest_test_data): New variable.
53051         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53052         (sin_towardzero_test_data): New variable.
53053         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53054         (sin_downward_test_data): New variable.
53055         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53056         (sin_upward_test_data): New variable.
53057         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53058         (sinh_test_data): New variable.
53059         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
53060         (sinh_tonearest_test_data): New variable.
53061         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53062         (sinh_towardzero_test_data): New variable.
53063         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53064         (sinh_downward_test_data): New variable.
53065         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53066         (sinh_upward_test_data): New variable.
53067         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53068         (sqrt_test_data): New variable.
53069         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
53070         (tan_test_data): New variable.
53071         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
53072         (tan_tonearest_test_data): New variable.
53073         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53074         (tan_towardzero_test_data): New variable.
53075         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53076         (tan_downward_test_data): New variable.
53077         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53078         (tan_upward_test_data): New variable.
53079         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53080         (tanh_test_data): New variable.
53081         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
53082         (tgamma_test_data): New variable.
53083         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
53084         (trunc_test_data): New variable.
53085         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
53086         (y0_test_data): New variable.
53087         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
53088         (y1_test_data): New variable.
53089         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
53090         (significand_test_data): New variable.
53091         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
53093 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
53095         [BZ #12387]
53096         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
53098 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
53100         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
53102 2013-05-10  Andreas Jaeger  <aj@suse.de>
53104         [BZ #15448]
53105         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
53106         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
53108 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
53110         * math/gen-libm-test.pl (adjust_arg): New function.
53111         (special_functions): Handle generating output in both functions
53112         and arrays.
53113         (parse_args): Likewise.
53114         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
53115         $in_func argument to parse_args.
53116         * math/libm-test.inc (struct test_f_f_data): New type.
53117         (IF_ROUND_INIT_): New macro.
53118         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
53119         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
53120         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
53121         (IF_ROUND_INIT_FE_UPWARD): Likewise.
53122         (ROUND_RESTORE_): Likewise.
53123         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
53124         (ROUND_RESTORE_FE_TONEAREST): Likewise.
53125         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
53126         (ROUND_RESTORE_FE_UPWARD): Likewise.
53127         (RUN_TEST_LOOP_f_f): New macro.
53128         (acos_test_data): New variable.
53129         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
53130         (acos_tonearest_test_data): New variable.
53131         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53133 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53135         * benchtests/bench-skeleton.c (startup): Fix coding style.
53137 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
53139         [BZ #6809]
53140         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
53141         negative infinity argument.
53142         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
53143         negative infinity argument.
53144         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
53145         negative infinity argument.
53146         * math/libm-test.inc (tgamma_test): Expect errno to be set for
53147         domain errors.
53149 2013-05-10  Florian Weimer  <fweimer@redhat.com>
53151         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
53152         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
53153         * iconv/iconv_prog.c (main): Likewise.
53154         * locale/programs/charmap-dir.c (charmap_readdir)
53155         (fopen_uncompressed): Likewise.
53156         * locale/programs/locfile.c (siblings_uncached)
53157         (write_locale_data): Use lstat64 instead of lstat.
53158         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
53159         stat.
53161 2013-05-10  Andreas Jaeger  <aj@suse.de>
53163         [BZ #15395]
53164         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
53165         localization.
53166         Include <locale.h>.
53168 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
53170         * elf/dl-close.c (_dl_close_worker): Add comments.
53172 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
53174         [BZ #15359]
53175         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
53176         high part of pi/2.
53177         (__ieee754_rem_pio2l): Update comments.
53179         [BZ #15429]
53180         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
53181         high part of pi/2.
53182         (__ieee754_rem_pio2l): Update comments.
53184         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
53185         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
53187         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
53188         M_PI_4l.
53190         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
53191         (M_PI_34_LOG10El): Likewise.
53192         (M_PI2_LOG10El): Likewise.
53193         (M_PI4_LOG10El): Likewise.
53194         (M_PI_LOG10El): Likewise.
53196 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53198         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53200 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
53202         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
53203         (MINUS_ZERO_INIT): Likewise.
53204         (PLUS_INFTY_INIT): Likewise.
53205         (MINUS_INFTY_INIT): Likewise.
53206         (QNAN_VALUE_INIT): Likewise.
53207         (MAX_VALUE_INIT): Likewise.
53208         (MIN_VALUE_INIT): Likewise.
53209         (MIN_SUBNORM_VALUE_INIT): Likewise.
53210         (plus_zero): Initialize with PLUS_ZERO_INIT.
53211         (minus_zero): Initialize with MINUS_ZERO_INIT.
53212         (plus_infty): Initialize with PLUS_INFTY_INIT.
53213         (minus_infty): Initialize with MINUS_INFTY_INIT.
53214         (qnan_value): Initialize with QNAN_VALUE_INIT.
53215         (max_value): Initialize with MAX_VALUE_INIT.
53216         (min_value): Initialize with MIN_VALUE_INIT.
53217         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
53219         * math/libm-test.inc (RUN_TEST_if_f): New macro.
53220         (jn_test): Use TEST_if_f instead of TEST_ff_f.
53221         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
53222         (yn_test): Use TEST_if_f instead of TEST_ff_f.
53224         * math/libm-test.inc (RUN_TEST_f_f): New macro.
53225         (RUN_TEST_2_f): Likewise.
53226         (RUN_TEST_ff_f): Likewise.
53227         (RUN_TEST_fi_f): Likewise.
53228         (RUN_TEST_fl_f): Likewise.
53229         (RUN_TEST_fff_f): Likewise.
53230         (RUN_TEST_c_f): Likewise.
53231         (RUN_TEST_f_f1): Likewise.
53232         (RUN_TEST_fF_f1): Likewise.
53233         (RUN_TEST_fI_f1): Likewise.
53234         (RUN_TEST_ffI_f1): Likewise.
53235         (RUN_TEST_c_c): Likewise.
53236         (RUN_TEST_cc_c): Likewise.
53237         (RUN_TEST_f_i): Likewise.
53238         (RUN_TEST_f_i_tg): Likewise.
53239         (RUN_TEST_ff_i_tg): Likewise.
53240         (RUN_TEST_f_b): Likewise.
53241         (RUN_TEST_f_b_tg): Likewise.
53242         (RUN_TEST_f_l): Likewise.
53243         (RUN_TEST_f_L): Likewise.
53244         (RUN_TEST_sincos): Likewise.
53245         * math/gen-libm-test.pl (new_test): Take new argument to indicate
53246         whether to show exceptions.  Do not include ");\n" in return
53247         value.
53248         (special_functions): Output call to RUN_TEST_sincos instead of
53249         check_float calls.  Update calls to new_test.
53250         (parse_args): Output call to single RUN_TEST_* macro instead of
53251         check_* calls and other assignments.  Update calls to new_test.
53253         [BZ #2546]
53254         [BZ #2560]
53255         [BZ #5159]
53256         [BZ #15426]
53257         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
53258         input to result for tgamma overflow.
53259         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
53260         (gamma_coeff): New variable.
53261         (NCOEFF): New macro.
53262         (gamma_positive): New function.
53263         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
53264         underflow here.  Use gamma_positive instead of exp (lgamma) for
53265         other arguments.
53266         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
53267         (gamma_coeff): New variable.
53268         (NCOEFF): New macro.
53269         (gammaf_positive): New function.
53270         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
53271         underflow here.  Use gamma_positive instead of exp (lgamma) for
53272         other arguments.
53273         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
53274         (gamma_coeff): New variable.
53275         (NCOEFF): New macro.
53276         (gammal_positive): New function.
53277         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
53278         underflow here.  Use gamma_positive instead of exp (lgamma) for
53279         other arguments.
53280         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
53281         (gamma_coeff): New variable.
53282         (NCOEFF): New macro.
53283         (gammal_positive): New function.
53284         (__ieee754_gammal_r): Handle positive infinity, overflow and
53285         underflow here.  Handle NaN the same as positive infinity.  Remove
53286         check x < 0xffffffff for negative integers.  Use gamma_positive
53287         instead of exp (lgamma) for other arguments.
53288         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
53289         (gamma_coeff): New variable.
53290         (NCOEFF): New macro.
53291         (gammal_positive): New function.
53292         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
53293         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
53294         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
53295         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
53296         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
53297         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
53298         * sysdeps/generic/math_private.h (__gamma_productf): New
53299         prototype.
53300         (__gamma_product): Likewise.
53301         (__gamma_productl): Likewise.
53302         * math/Makefile (libm-calls): Add gamma_product.
53303         * math/libm-test.inc (tgamma_test): Add more tests.
53304         * sysdeps/i386/fpu/libm-test-ulps: Update.
53305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53307 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
53309         * benchtests/bench-skeleton.c (main): Preheat CPU.
53311 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
53313         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
53315 2013-05-07  Roland McGrath  <roland@hack.frob.com>
53317         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
53318         and _dl_skip_args_internal.
53320 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
53322         * manual/message.texi (Message Translation): Talk about users.
53323         Message to key mapping impacts design.
53325 2013-05-06  Roland McGrath  <roland@hack.frob.com>
53327         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
53329         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
53331         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
53332         * sysdeps/wordsize-64/glob64.c: ... here.
53334         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
53335         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
53336         New macros.
53338         * debug/getlogin_r_chk.c: Moved to ...
53339         * login/getlogin_r_chk.c: ... here.
53340         * debug/Makefile (routines): Move getlogin_r_chk to ...
53341         * login/Makefile (routines): ... here.
53342         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
53343         * login/Versions (libc: GLIBC_2.4): ... here.
53345         * io/poll.c (__poll): Renamed from poll.
53346         Add libc_hidden_def.
53347         (poll): Define as weak alias.
53349         * debug/ptsname_r_chk.c: Moved to ...
53350         * login/ptsname_r_chk.c: ... here.
53351         * debug/Makefile (routines): Move ptsname_r_chk to ...
53352         * login/Makefile (routines): ... here.
53353         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
53354         * login/Versions (libc: GLIBC_2.4): ... here.
53356         * posix/getlogin.c: Moved to ...
53357         * login/getlogin.c: ... here.
53358         * posix/getlogin_r.c: Moved to ...
53359         * login/getlogin_r.c: ... here.
53360         * posix/getlogin_r.c: Moved to ...
53361         * login/getlogin_r.c: ... here.
53362         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
53363         * login/Makefile (routines): ... here.
53364         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
53365         * login/Versions (libc: GLIBC_2.0): ... here.
53367         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
53368         (setrlimit): Define as weak alias.
53370         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
53371         Call __ names for open, ftruncate, and close.
53372         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
53373         (truncate): Define as weak alias.
53375 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
53377         * math/gen-libm-test.pl (parse_args): Initialize x before each
53378         test of frexp, modf and remquo.
53380         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
53381         test signgam value.
53383 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53385         [BZ #15418]
53386         [BZ #15419]
53387         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
53388         internal tests.
53389         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53391 2013-05-06  Roland McGrath  <roland@hack.frob.com>
53393         * elf/dl-writev.h: New file.
53394         * elf/dl-misc.c: Include it.
53395         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
53396         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
53398 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
53400         * math/libm-test.inc (noXFails): Remove variable.
53401         (noXPasses): Likewise.
53402         (BUILD_COMPLEX_INT): Remove macro.
53403         (print_screen): Remove xfail argument.
53404         (print_screen_max_error): Likewise.
53405         (update_stats): Likewise.
53406         (print_max_error): Likewise.  Update calls to other affected
53407         functions.
53408         (print_complex_max_error): Likewise.
53409         (test_single_exception): Update calls to print_screen.
53410         (test_single_errno): Likewise.
53411         (check_float_internal): Remove xfail argument.  Update calls to
53412         other affected functions.
53413         (check_float): Likewise.
53414         (check_complex): Likewise.
53415         (check_int): Likewise.
53416         (check_long): Likewise.
53417         (check_bool): Likewise.
53418         (check_longlong): Likewise.
53419         (main): Don't print noXFails and noXPasses.
53420         * math/gen-libm-test.pl (top level): Don't mention expected
53421         failure handling in comment.
53422         (new_test): Don't handle expected failures.
53423         (parse_args): Don't mention expected failure handling in comment.
53424         (generate_testfile): Don't handle expected failures.
53425         (parse_ulps): Likewise.
53426         (print_ulps_file): Likewise.
53427         (get_failure): Remove function.
53428         (output_test): Don't handle expected failures.
53429         * make/README.libm-test: Don't mention expected failure handling.
53431         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
53432         (minus_zero): Likewise.
53433         (plus_infty): Likewise.
53434         (minus_infty): Likewise.
53435         (qnan_value): Likewise.
53436         (max_value): Likewise.
53437         (min_value): Likewise.
53438         (min_subnorm_value): Likewise.
53439         (initialize): Do not initialize those variables dynamically.
53441 2013-05-03  Roland McGrath  <roland@hack.frob.com>
53443         * io/open.c (__open_2): Moved to ...
53444         * io/open_2.c: ... this new file.
53445         * io/open64.c (__open64_2): Moved to ...
53446         * io/open64_2.c: ... this new file.
53447         * io/openat.c (__openat_2): Moved to ...
53448         * io/openat_2.c: ... this new file.
53449         * io/openat64.c (__openat64_2): Moved to ...
53450         * io/openat64_2.c: ... this new file.
53451         * io/Makefile (routines): Add them.
53452         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
53453         * sysdeps/unix/sysv/linux/open_2.c: File removed.
53454         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
53455         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
53456         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
53457         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
53458         (__openat64): Add hidden_ver.
53459         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
53460         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
53462         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
53463         Separately conditionalize setting of GLRO(dl_sysinfo) so
53464         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
53465         as well, but the actual setting is only under [NEED_DL_SYSINFO].
53467 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53469         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
53470         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
53471         definition.
53472         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
53473         * sysdeps/unix/sysv/linux/powerpc/init-first.c
53474         (_libc_vdso_platform_setup): Add __vdso_time initialization.
53475         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
53476         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
53478 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
53480         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
53481         test signgam value.
53483         * math/libm-test.inc (hypot_test): Do not use
53484         IGNORE_ZERO_INF_SIGN.
53486 2013-05-03  Andreas Jaeger  <aj@suse.de>
53488         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
53489         Linux 3.9.
53490         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
53491         (PF_MAX): Adjust for VSOCK change.
53493 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53495         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53497 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
53499         [BZ #15264]
53500         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
53501         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
53502         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
53504 2013-05-02  David S. Miller  <davem@davemloft.net>
53506         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53508 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
53510         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
53512 2013-05-01  Roland McGrath  <roland@hack.frob.com>
53514         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
53516 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
53518         [BZ #14952]
53519         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
53520         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
53521         Use __attribute__ ((__gnu_inline__)).
53522         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
53523         Don't use __attribute__ ((__gnu_inline__)).
53525 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
53527         [BZ #15423]
53528         * math/s_catan.c (__catan): Handle small real or imaginary part of
53529         input specially to avoid spurious underflow.
53530         * math/s_catanf.c (__catanf): Likewise.
53531         * math/s_catanh.c (__catanh): Likewise.
53532         * math/s_catanhf.c (__catanhf): Likewise.
53533         * math/s_catanhl.c (__catanhl): Likewise.
53534         * math/s_catanl.c (__catanl): Likewise.
53535         * math/libm-test.inc (catan_test): Add more tests.
53536         (catanh_test): Likewise.
53537         * sysdeps/i386/fpu/libm-test-ulps: Update.
53538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53540 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53542         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53544 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
53546         [BZ #15416]
53547         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
53548         accurately for denominator in atan2.
53549         * math/s_catanf.c (__catanf): Likewise.
53550         * math/s_catanh.c (__catanh): Likewise.
53551         * math/s_catanhf.c (__catanhf): Likewise.
53552         * math/s_catanhl.c (__catanhl): Likewise.
53553         * math/s_catanl.c (__catanl): Likewise.
53554         * math/libm-test.inc (catan_test): Add more tests.
53555         (catanh_test): Likewise.
53556         * sysdeps/i386/fpu/libm-test-ulps: Update.
53557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53559 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
53561         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
53563         * benchtests/Makefile (bench): Remove slow benchmarks.
53564         * benchtests/atan-inputs: Add slow benchmark inputs.
53565         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
53566         (BENCH_FUNC): Accept variant offset.
53567         (VARIANT): Define.
53568         * benchtests/bench-skeleton.c (main): Run benchmark for each
53569         variant.
53570         * benchtests/cos-inputs: Add slow benchmark inputs.
53571         * benchtests/exp-inputs: Likewise.
53572         * benchtests/pow-inputs: Likewise.
53573         * benchtests/sin-inputs: Likewise.
53574         * benchtests/slowatan-inputs: Remove.
53575         * benchtests/slowatan.c: Remove.
53576         * benchtests/slowcos-inputs: Remove.
53577         * benchtests/slowcos.c: Remove.
53578         * benchtests/slowexp-inputs: Remove.
53579         * benchtests/slowexp.c: Remove.
53580         * benchtests/slowpow-inputs: Remove.
53581         * benchtests/slowpow.c: Remove.
53582         * benchtests/slowsin-inputs: Remove.
53583         * benchtests/slowsin.c: Remove.
53584         * benchtests/slowtan-inputs: Remove.
53585         * benchtests/slowtan.c: Remove.
53586         * benchtests/tan-inputs: Add slow benchmark inputs.
53587         * scripts/bench.pl: Parse comments and directives.
53589         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
53590         in CPPFLAGS.
53591         ($(objpfx)bench-%.c): Remove *-ITER.
53592         * benchtests/bench-modf.c: Remove definition of ITER.
53593         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
53594         (main): Loop for DURATION seconds instead of fixed number of
53595         iterations.
53596         * scripts/bench.pl: Don't expect iterations in parameters.
53598 2013-04-29  Roland McGrath  <roland@hack.frob.com>
53600         * io/fchdir.c (__fchdir): Renamed from fchdir.
53601         (fchdir): Define as weak alias.
53603 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
53605         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
53606         (ERRNO_EDOM): Likewise.
53607         (ERRNO_ERANGE): Likewise.
53608         (noErrnoTests): New variable.
53609         (init_max_error): Set errno to 0.
53610         (test_single_errno): New function.
53611         (test_errno): Likewise.
53612         (check_float_internal): Call test_errno.  Set errno to 0.
53613         (check_complex): Refer to errno tests in comment.
53614         (check_int): Call test_errno.  Set errno to 0.
53615         (check_long): Likewise.
53616         (check_bool): Likewise.
53617         (check_longlong): Likewise.
53618         (cos_test): Use ERRNO_* flags for errno tests instead of
53619         check_int.
53620         (expm1_test): Likewise.
53621         (fmod_test): Likewise.
53622         (ilogb_test): Likewise.
53623         (lgamma_test): Likewise.
53624         (pow_test): Likewise.
53625         (remainder_test): Likewise.
53626         (sin_test): Likewise.
53627         (tan_test): Likewise.
53628         (yn_test): Likewise.
53629         (initialize): Set errno to 0.
53630         (main): Print number of errno tests.
53631         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
53633 2013-04-29  Andreas Jaeger  <aj@suse.de>
53635         [BZ #15084]
53636         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
53637         and RES_USEVC.
53639         [BZ #15085]
53640         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
53641         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
53642         unimplemented.
53644         [BZ #15380]
53645         * stdlib/random.c (__initstate): Return NULL if
53646         __initstate fails.
53648         [BZ #15086]
53649         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
53650         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
53651         RES_SNGLKUPREOP.
53653 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53655         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53657 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
53659         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
53660         of individual tests.
53661         (casin_test): Likewise.
53662         (casinh_test): Likewise.
53664 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
53666         [BZ #15409]
53667         * math/s_catan.c (__catan): Handle arguments with large real or
53668         imaginary part separately without squaring.
53669         * math/s_catanf.c (__catanf): Likewise.
53670         * math/s_catanh.c (__catanh): Likewise.
53671         * math/s_catanhf.c (__catanhf): Likewise.
53672         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
53673         and redefine.
53674         (__catanhl): Handle arguments with large real or imaginary part
53675         separately without squaring.
53676         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
53677         and redefine.
53678         (__catanl): Handle arguments with large real or imaginary part
53679         separately without squaring.
53680         * math/libm-test.inc (catan_test): Add more tests.
53681         (catanh_test): Likewise.
53682         * sysdeps/i386/fpu/libm-test-ulps: Update.
53683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53685 2013-04-27  Andreas Jaeger  <aj@suse.de>
53687         [BZ #15007]
53688         * stdlib/stdlib.h: Update guards for qecvt.
53689         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
53690         <stdlib.h>.
53692 2013-04-27  Allan McRae  <allan@archlinux.org>
53694         * sysdeps/i386/fpu/libm-test-ulps: Update.
53696 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
53698         [BZ #15406]
53699         * math/s_catan.c: Include <float.h>.
53700         (__catan): Ensure underflow exception occurs for underflowed
53701         result.
53702         * math/s_catanf.c: Include <float.h>.
53703         (__catanf): Ensure underflow exception occurs for underflowed
53704         result.
53705         * math/s_catanh.c: Include <float.h>.
53706         (__catanh): Ensure underflow exception occurs for underflowed
53707         result.
53708         * math/s_catanhf.c: Include <float.h>.
53709         (__catanhf): Ensure underflow exception occurs for underflowed
53710         result.
53711         * math/s_catanhl.c: Include <float.h>.
53712         (__catanhl): Ensure underflow exception occurs for underflowed
53713         result.
53714         * math/s_catanl.c: Include <float.h>.
53715         (__catanl): Ensure underflow exception occurs for underflowed
53716         result.
53717         * math/libm-test.inc (catan_test): Add more tests.
53718         (catanh_test): Likewise.
53720         [BZ #15405]
53721         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
53722         underflowed result.
53723         * math/s_ccoshf.c (__ccoshf): Likewise.
53724         * math/s_ccoshl.c (__ccoshl): Likewise.
53725         * math/s_csin.c (__csin): Likewise.
53726         * math/s_csinf.c (__csinf): Likewise.
53727         * math/s_csinh.c (__csinh): Likewise.
53728         * math/s_csinhf.c (__csinhf): Likewise.
53729         * math/s_csinhl.c (__csinhl): Likewise.
53730         * math/s_csinl.c (__csinl): Likewise.
53731         * math/libm-test.inc (ccos_test): Add more tests.
53732         (ccosh_test): Likewise.
53733         (csin_test): Likewise.
53734         (csinh_test): Likewise.
53736 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53738         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
53739         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
53740         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
53741         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
53742         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
53743         powerpc/power5+/fpu folders.
53744         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
53747 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
53749         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53751 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
53753         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
53754         additions to variable.
53755         [$(config-machine) = x86_64] (modules-names): Likewise.
53756         ($(objpfx)tst-audit3): Remove dependency.
53757         ($(objpfx)tst-audit3.out): Likewise.
53758         ($(objpfx)tst-audit4): Likewise.
53759         ($(objpfx)tst-audit4.out): Likewise.
53760         ($(objpfx)tst-audit5): Likewise.
53761         ($(objpfx)tst-audit5.out): Likewise.
53762         ($(objpfx)tst-audit6): Likewise.
53763         ($(objpfx)tst-audit6.out): Likewise.
53764         ($(objpfx)tst-audit7): Likewise.
53765         ($(objpfx)tst-audit7.out): Likewise.
53766         (tst-audit3-ENV): Remove variable.
53767         (tst-audit4-ENV): Likewise.
53768         (tst-audit5-ENV): Likewise.
53769         (tst-audit6-ENV): Likewise.
53770         (tst-audit7-ENV): Likewise.
53771         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
53772         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
53773         addition to variable.
53774         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
53775         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
53776         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
53777         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
53778         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
53779         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
53780         tst-audit3, tst-audit4 and tst-audit5.
53781         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
53782         tst-audit6 and tst-audit7.
53783         [$(subdir) = elf] (modules-names): Add audit modules for those
53784         tests.
53785         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
53786         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
53787         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
53788         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
53789         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
53790         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
53791         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
53792         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
53793         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
53794         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
53795         [$(subdir) = elf] (tst-audit3-ENV): New variable.
53796         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
53797         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
53798         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
53799         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
53800         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
53801         Likewise.
53802         [$(subdir) = elf && $(config-cflags-avx) = yes]
53803         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
53804         [$(subdir) = elf && $(config-cflags-avx) = yes]
53805         (CFLAGS-tst-auditmod4a.c): Likewise.
53806         [$(subdir) = elf && $(config-cflags-avx) = yes]
53807         (CFLAGS-tst-auditmod4b.c): Likewise.
53808         [$(subdir) = elf && $(config-cflags-avx) = yes]
53809         (CFLAGS-tst-auditmod6b.c): Likewise.
53810         [$(subdir) = elf && $(config-cflags-avx) = yes]
53811         (CFLAGS-tst-auditmod6c.c): Likewise.
53812         [$(subdir) = elf && $(config-cflags-avx) = yes]
53813         (CFLAGS-tst-auditmod7b.c): Likewise.
53814         * elf/tst-audit3.c: Move to ...
53815         * sysdeps/x86_64/tst-audit3.c: ... here.
53816         * elf/tst-audit4.c: Move to ...
53817         * sysdeps/x86_64/tst-audit4.c: ... here.
53818         * elf/tst-audit5.c: Move to ...
53819         * sysdeps/x86_64/tst-audit5.c: ... here.
53820         * elf/tst-audit6.c: Move to ...
53821         * sysdeps/x86_64/tst-audit6.c: ... here.
53822         * elf/tst-audit7.c: Move to ...
53823         * sysdeps/x86_64/tst-audit7.c: ... here.
53824         * elf/tst-auditmod3a.c: Move to ...
53825         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
53826         * elf/tst-auditmod3b.c: Move to ...
53827         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
53828         * elf/tst-auditmod4a.c: Move to ...
53829         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
53830         * elf/tst-auditmod4b.c: Move to ...
53831         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
53832         * elf/tst-auditmod5a.c: Move to ...
53833         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
53834         * elf/tst-auditmod5b.c: Move to ...
53835         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
53836         * elf/tst-auditmod6a.c: Move to ...
53837         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
53838         * elf/tst-auditmod6b.c: Move to ...
53839         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
53840         * elf/tst-auditmod6c.c: Move to ...
53841         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
53842         * elf/tst-auditmod7a.c: Move to ...
53843         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
53844         * elf/tst-auditmod7b.c: Move to ...
53845         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
53847 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
53849         [BZ #15366]
53850         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
53851         define unconditionally.
53852         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
53853         define unconditionally.
53854         (INT8_C, INT16_C, etc.): Likewise.
53856 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
53858         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
53859         __ehdr_start with hidden visibility.
53861         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
53863 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
53865         * math/libm-test.inc (cos_test): Use accurate hex constants.
53866         (sincost_test): Likewise.
53868 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
53870         * math/libm-test.inc (catan_test): Add more tests.
53871         (catanh_test): Likewise.
53873         * math/s_catanf.c (__catanf): Use suffixed floating-point
53874         constants.
53875         * math/s_catanhf.c (__catanhf): Likewise.
53876         * math/s_catanhl.c (__catanhl): Likewise.
53877         * math/s_catanl.c (__catanl): Likewise.
53879         [BZ #15394]
53880         * math/s_catan.c (__catan): Calculate imaginary part of result
53881         with log1p not log unless computing log of number close to 0.
53882         * math/s_catanf.c (__catanf): Likewise.
53883         * math/s_catanl.c (__catanl): Likewise.
53884         * math/s_catanh.c (__catanh): Calculate real part of result with
53885         log1p not log unless computing log of number close to 0.
53886         * math/s_catanhf.c (__catanhf): Likewise.
53887         * math/s_catanhl.c (__catanhl): Likewise.
53888         * math/libm-test.inc (catan_test): Add more tests.
53889         (catanh_test): Likewise.
53890         * sysdeps/i386/fpu/libm-test-ulps: Update.
53891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53893 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
53895         * benchtests/Makefile: Mention files in which fast and slow
53896         paths of math functions are implemented.
53898 2013-04-23  Roland McGrath  <roland@hack.frob.com>
53900         * sysdeps/posix/timespec_get.c: New file.
53902 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53904         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
53905         POWER.
53906         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
53907         for POWER.
53908         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
53909         powerpc/power5/fpu folders.
53910         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
53911         * benchtests/Makefile: Add modf testcase.
53912         * benchtests/bench-modf.c: New file: Benchmark test for mo
53914 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
53916         [BZ #14888]
53917         * time/Makefile (tests): Add tst-strptime-whitespace.
53918         * time/strptime_l.c (get_number): Use ISSPACE.
53919         (__strptime_internal): Likewise.
53920         * time/tst-strptime-whitespace.c: New test case.
53922 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
53924         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
53925         member.
53926         (_nss_files_init): Set it here.
53928 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
53930         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
53931         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
53932         unsigned.
53934 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
53936         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
53938 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
53940         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
53941         size just once.
53943 2013-04-21  David S. Miller  <davem@davemloft.net>
53945         * po/ru.po: Update Russion translation from translation project.
53947 2013-04-17  Adam Conrad  <adconrad@0c3.net>
53949         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
53950         and setfsgid.
53952 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
53954         * configure.in: Remove i386 configure warning. Remove i386 case.
53955         * configure: Regenerate.
53956         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
53957         Add example to error message.
53958         * sysdeps/i386/configure: Regenerate.
53960 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
53962         * benchtests/Makefile (bench): Add cos, tan, slowcos and
53963         slowtan.
53964         * benchtests/cos-inputs: New file.
53965         * benchtests/slowcos-inputs: New file.
53966         * benchtests/slowcos.c: New file.
53967         * benchtests/slowtan-inputs: New file.
53968         * benchtests/slowtan.c: New file.
53969         * benchtests/tan-inputs: New file.
53971 2013-04-16  Roland McGrath  <roland@hack.frob.com>
53973         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
53974         considered kosher.
53976 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53978         * benchtests/Makefile: Include cppflags-iterator.mk to add
53979         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
53981         * Makefile.in (bench-clean): New target.
53982         * benchtests/Makefile (bench-clean): Likewise.
53984 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
53986         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
53988 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
53990         * stdio-common/tstdiomisc.c: Fix coding-style violation.
53992 2013-04-15  Andreas Schwab  <schwab@suse.de>
53994         * nscd/grpcache.c (cache_addgr): Properly check for short write.
53995         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53996         * nscd/pwdcache.c (cache_addpw): Likewise.
53997         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
53998         more than recsize.
54000 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54002         * benchtests/Makefile (bench): Write all output to
54003         bench-out.tmp together.
54005 2013-04-15  Andreas Schwab  <schwab@suse.de>
54007         * nscd/nscd.c (main): Don't fork again after closing files.
54009 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54011         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
54013         * benchtests/Rules (bench-deps): Collect dependencies into a
54014         single variable.  Add Makefile to dependencies.
54015         ($(objpfx)bench-%.c): Depend on bench-deps.
54017 2013-04-12  Roland McGrath  <roland@hack.frob.com>
54018             Xavier Roche  <roche+kml2@exalead.com>
54020         [BZ #15361]
54021         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
54022         just that it's a file descriptor.
54023         * manual/llio.texi (Synchronizing AIO Operations): Update description
54024         for EBADF error from aio_fsync.
54026 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
54028         * Rules (bench): Move target definition...
54029         * benchtests/Makefile: ... here.
54031 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
54033         * math/libm-test.inc (cos_test): Fix PI/2 test.
54034         (sincos_test): Likewise.
54035         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
54036         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
54038 2013-04-11  Andreas Schwab  <schwab@suse.de>
54040         [BZ #13988]
54041         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
54042         accept exponent character only when digits were seen.
54043         * stdio-common/Makefile (tests): Add bug26.
54044         * stdio-common/bug26.c: New file.
54046         [BZ #14293]
54047         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
54048         non-freeable.
54050 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54052         * Makeconfig (rtld-prefix): Define built linker prefix.
54053         * Rules (run-bench): Use it.
54054         * math/Makefile (run-regen-ulps): Likewise.
54056         * Rules (bench): Remove eval.
54058 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
54059             Roland McGrath  <roland@hack.frob.com>
54060             Ondrej Bilka  <neleai@seznam.cz>
54062         [BZ #15346]
54063         * time/getdate.c: Include ctype.h and alloca.h.
54064         (__getdate_r): Trim leading and trailing spaces of input.
54065         * time/tst-getdate.c (tests): Add tests with leading and
54066         trailing spaces.
54068 2013-04-08  Roland McGrath  <roland@hack.frob.com>
54070         [BZ #14280]
54071         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
54072         when computing value.
54074 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
54076         * math/README.libm-test (How can I generate "libm-test-ulps"?):
54077         Use testrun.sh to run libm tests.
54079         [BZ #15309]
54080         * elf/dl-open.c (dl_open_worker): memset all of seen array.
54082 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
54084         [BZ #15264]
54085         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
54087 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
54089         * Makefile.in (regen-ulps): New target.
54090         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
54091         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
54092         [ifneq (no,$(PERL)] (regen-ulps): New target.
54093         [ifeq (no,$(PERL)] (regen-ulps): New target.
54094         * math/libm-test.inc (ulps_file_name): Define.
54095         (output_dir): New variable.
54096         (options): Add "output-dir" option.
54097         (parse_opt): Handle 'o' case.
54098         (main): If output_dir is non-NULL use it as a prefix
54099         otherwise use "".
54100         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
54102 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
54104         [BZ #10060, #10062]
54105         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
54106         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
54107         fail configure if __sync_val_compare_and_swap is not inlined.
54108         * sysdeps/i386/configure: Regenerate.
54109         * configure.in: Build for i686 when configured for i386.
54110         * configure: Regenerate.
54111         * README: Remove i386 reference.
54113 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
54115         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
54116         * sysdeps/s390/s390-64/sysdep.h: Likewise.
54118 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
54120         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
54121         (lmsnanval): New variables.
54122         (F): Add conversion tests.
54123         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
54124         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
54126         * stdio-common/tstdiomisc.c (F): Properly collect individual
54127         tests' results.
54129         [BZ #14686, #15336]
54130         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
54131         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
54132         Instead, use input NaN values or generate a qNaN by arithmetic
54133         operation.  Also fix bugs to comply with the standard.
54134         * math/libm-test.inc (remainder_test): Add more tests.
54136         [BZ #15335, #15342]
54137         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
54138         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
54139         input NaN values or generate a qNaN by arithmetic operation.
54141         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
54142         unreachable code.
54144         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
54145         definitions.
54147 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
54149         [BZ #14478]
54150         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
54151         underflowed result.
54152         * math/s_cexpf.c (__cexpf): Likewise.
54153         * math/s_cexpl.c (__cexpl): Likewise.
54154         * math/libm-test.inc (cexp_test): Add more tests.
54156 2013-04-03  Andreas Schwab  <schwab@suse.de>
54158         [BZ #15330]
54159         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
54160         order arrays from heap if bigger than alloca cutoff.
54162 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
54164         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
54165         (SNAN_TESTS_double): Refer to GCC PR56831.
54166         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
54167         GCC PR56828.
54169 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
54171         * Rules (bench): Move bench.out after the run is complete.
54173         * Rules (bench): Echo currently running benchmark.
54175         * benchtests/Makefile (bench): Add atan and slowatan.
54176         * benchtests/atan-inputs: New file.
54177         * benchtests/slowatan-inputs: New file.
54178         * benchtests/slowatan.c: New file.
54180         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
54181         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
54182         its value.
54184         [BZ #15305]
54185         * sysdeps/unix/sysv/linux/kernel-features.h
54186         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
54187         __ASSUME_XFS_RESTRICTED_CHOWN.
54188         * sysdeps/unix/sysv/linux/pathconf.c
54189         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
54190         Save and restore errno.
54192 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
54194         [BZ #15327]
54195         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
54196         arguments using __kernel_casinh.
54197         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
54198         arguments using __kernel_casinhf.
54199         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
54200         arguments using __kernel_casinhl.
54201         * math/libm-test.inc (cacosh_test): Add more tests.
54202         * sysdeps/i386/fpu/libm-test-ulps: Update.
54203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54205 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
54207         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
54208         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
54210         * bench/Makefile (bench): Add sin and slowsin.
54211         * benchtests/sin-inputs: New file.
54212         * benchtests/slowsin-inputs: New file.
54213         * benchtests/slowsin.c: New file.
54215         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
54216         (bench): Add slowexp and slowpow.
54217         (exp-ITER): Increase iterations.
54218         (pow-ITER): Likewise.
54219         * benchtests/exp-inputs: Change input.
54220         * benchtests/pow-inputs: Likewise.
54221         * benchtests/slowexp-inputs: New file.
54222         * benchtests/slowexp.c: New file.
54223         * benchtests/slowpow-inputs: New file.
54224         * benchtests/slowpow.c: New file.
54226 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54228         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
54229         instructions.
54230         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
54231         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
54232         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
54233         * benchtests/Makefile: Add rint benchtest.
54234         * benchtests/rint-inputs: Input for rint benchtest.
54236 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
54238         * Versions.def (libm): Add GLIBC_2.18.
54239         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
54240         hidden libm prototypes.
54241         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
54242         * math/Makefile (libm-calls): Add s_issignaling.
54243         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
54244         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
54245         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
54246         declaration.
54247         * math/math.h [__USE_GNU] (issignaling): New macro.
54248         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
54249         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
54250         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
54251         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
54252         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
54253         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
54254         * manual/arith.texi (issignaling): New section.
54255         * manual/libm-err-tab.pl (@all_functions): Update comment.
54256         * math/gen-libm-test.pl (parse_args): Apply special handling for
54257         issignaling.
54258         * math/libm-test.inc (print_float, issignaling_test): New
54259         functions.
54260         (check_float_internal): Add issignaling checks.
54261         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
54262         default definition.
54263         * sysdeps/powerpc/math-tests.h: New file.
54264         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
54265         tests.
54266         * math/test-snan.c (TEST_FUNC): Likewise.
54268 2013-03-30  David S. Miller  <davem@davemloft.net>
54270         * po/de.po: Update from translation team.
54272 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
54274         [BZ #10357]
54275         * math/k_casinh.c (__kernel_casinh): Handle arguments with
54276         imaginary part less than 1.0 and real part less than 0.5
54277         specially.
54278         * math/k_casinhf.c (__kernel_casinhf): Likewise.
54279         * math/k_casinhl.c (__kernel_casinhl): Likewise.
54280         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
54281         (cacos_test): Add more tests.
54282         (casin_test): Likewise.
54283         (casinh_test): Likewise.
54284         * sysdeps/i386/fpu/libm-test-ulps: Update.
54285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54287 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
54289         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
54290         ONE with its value.
54292         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
54293         (__pow_mp): Replace ONE and MONE with their values.
54294         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
54295         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
54296         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
54297         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
54298         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
54299         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
54301         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
54303         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
54304         (__pow_mp): Replace ZERO and MZERO with their values.
54305         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
54306         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
54307         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
54308         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
54309         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
54310         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
54311         (__sqr): Likewise.
54313         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
54315         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
54317 2013-03-28  Roland McGrath  <roland@hack.frob.com>
54319         * include/stdlib.h [!SHARED] (__call_tls_dtors):
54320         Declare with __attribute__ ((weak)).
54321         * stdlib/exit.c (__libc_atexit) [!SHARED]:
54322         Call __call_tls_dtors only if it's not NULL.
54324 2013-03-28  Roland McGrath  <roland@hack.frob.com>
54326         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
54327         didn't do it already, then set _dl_phdr and _dl_phnum based on the
54328         magic __ehdr_start linker symbol if it's defined.
54329         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
54330         them up here if it was already done.
54332         * elf/dl-support.c (_dl_phdr): Make pointer to const.
54333         (_dl_aux_init): Use const in cast when setting it.
54334         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
54335         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
54336         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
54338         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
54339         Declare them here.
54340         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
54341         * csu/libc-tls.c: Nor here.
54342         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
54344         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
54345         (__libc_message): Never call vsyslog.
54347 2013-03-28  Alan Modra  <amodra@gmail.com>
54349         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
54350         Define as empty.
54351         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
54352         Likewise.
54354 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54356         [BZ #15214]
54357         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
54358         underflow.
54359         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54361 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54363         [BZ #15304]
54364         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
54365         Don't add gid passed as argument.
54367         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
54369 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
54371         [BZ #15307]
54372         * math/k_casinh.c (__kernel_casinh): Handle arguments with
54373         imaginary part between 1.0 and 1.5 and real part less than 0.5
54374         specially.
54375         * math/k_casinhf.c (__kernel_casinhf): Likewise.
54376         * math/k_casinhl.c (__kernel_casinhl): Likewise.
54377         * math/libm-test.inc (cacos_test): Add more tests.
54378         (casin_test): Likewise.
54379         (casinh_test): Likewise.
54380         * sysdeps/i386/fpu/libm-test-ulps: Update.
54381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54383 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54385         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
54386         constants.
54387         (norm): Likewise.
54388         (denorm): Likewise.
54389         (__dbl_mp): Likewise.
54390         (add_magnitudes): Likewise.
54391         (sub_magnitudes): Likewise.
54392         (__add): Likewise.
54393         (__sub): Likewise.
54394         (__mul): Likewise.
54395         (__sqr): Likewise.
54396         (__inv): Likewise.
54397         (__dvd): Likewise.
54399         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
54400         commented code.
54401         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
54402         (__dubcos): Likewise.
54403         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
54404         (__ieee754_acos): Likewise.
54405         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
54406         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
54407         (__exp1): Likewise.
54408         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
54409         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
54410         (log1): Likewise.
54411         (my_log2): Likewise.
54412         (checkint): Likewise.
54413         * sysdeps/ieee754/dbl-64/e_remainder.c
54414         (__ieee754_remainder): Likewise.
54415         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
54416         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
54417         (bsloww): Likewise.
54418         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
54420         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
54421         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
54422         MANTISSA_STORE_T to store computations on mantissa.  Use
54423         macros for rounding and division.
54424         (denorm): Likewise.
54425         (__dbl_mp): Likewise.
54426         (add_magnitudes): Likewise.
54427         (sub_magnitudes): Likewise.
54428         (__mul): Likewise.
54429         (__sqr): Likewise.
54430         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
54431         powers of two in terms of TWOPOW macro.
54432         (mp_no): Make type of mantissa as MANTISSA_T.
54433         [!RADIXI]: Define RADIXI.
54434         [!TWO52]: Define TWO52.
54435         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
54437 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54439         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
54440         llroundl symbol when building for PPC32.
54442 2013-03-24  Mark H Weaver  <mhw@netris.org>
54444         * manual/arith.texi (Normalization Functions): Fix prototypes for
54445         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
54447 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54449         [BZ #13889]
54450         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
54451         high value to check if expl overflow.
54452         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
54453         to check for underflow and overflow.
54454         * math/libm-test.inc: Add exp test.
54456 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
54458         [BZ #11120]
54459         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
54460         with NOT_IN_libc.
54462 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54464         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
54465         symbol.
54467 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
54469         * math/gen-libm-test.pl (parse_args, special_functions): Properly
54470         wrap blocks consisting of several statements.
54472         * sysdeps/generic/math-tests.h: New file.
54473         * sysdeps/i386/fpu/math-tests.h: Likewise.
54474         * math/test-snan.c: Include it.
54475         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
54477 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
54479         [BZ #15285]
54480         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
54481         (__ieee754_j0l): Do not improve calculations using cos of twice
54482         input for inputs above LDBL_MAX / 2.0L.
54483         (__ieee754_y0l): Likewise.
54484         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
54485         (__ieee754_j1l): Do not improve calculations using cos of twice
54486         input for inputs above LDBL_MAX / 2.0L.
54487         (__ieee754_y1l): Likewise.
54488         * math/libm-test.inc (j0_test): Add another test.
54489         (j1_test): Likewise.
54490         (y0_test): Likewise.
54491         (y1_test): Likewise.
54492         * sysdeps/i386/fpu/libm-test-ulps: Update.
54494 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54496         * Rules ($(objpfx)bench-%.c): Include code from a C source
54497         file.
54499 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
54501         [BZ #15287]
54502         * math/k_casinh.c (__kernel_casinh): Handle arguments with
54503         imaginary part 1.0 and real part less than 0.5 specially.
54504         * math/k_casinhf.c (__kernel_casinhf): Likewise.
54505         * math/k_casinhl.c (__kernel_casinhl): Likewise.
54506         * math/libm-test.inc (cacos_test): Add more tests.
54507         (casin_test): Likewise.
54508         (casinh_test): Likewise.
54509         * sysdeps/i386/fpu/libm-test-ulps: Update.
54510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54512 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54514         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
54515         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
54517 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
54519         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
54520         * config.make.in (config-cflags-sse4): Remove variable.
54521         (config-cflags-avx): Likewise.
54522         (config-cflags-sse2avx): Likewise.
54523         (config-cflags-novzeroupper): Likewise.
54524         (config-asflags-i686): Likewise.
54525         (have-mfma4): Likewise.
54526         (have-as-vis3): Likewise.
54527         (MIG): Likewise.
54528         * configure.in (MIG): Do not AC_SUBST.
54529         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
54530         (libc_cv_cc_sse4): Do not AC_SUBST.
54531         (libc_cv_cc_avx): Likewise.
54532         (libc_cv_cc_sse2avx): Likewise.
54533         (libc_cv_cc_novzeroupper): Likewise.
54534         (libc_cv_cc_fma4): Likewise.
54535         (libc_cv_as_i686): Likewise.
54536         (libc_cv_sparc_as_vis3): Likewise.
54537         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
54538         LIBC_CONFIG_VAR.
54539         (config-asflags-i686): Likewise.
54540         (config-cflags-avx): Likewise.
54541         (config-cflags-sse2avx): Likewise.
54542         (have-mfma4): Likewise.
54543         (config-cflags-novzeroupper): Likewise.
54544         * sysdeps/mach/configure.in (MIG): Likewise.
54545         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
54546         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
54547         LIBC_CONFIG_VAR.
54548         (config-cflags-avx): Likewise.
54549         (config-cflags-sse2avx): Likewise.
54550         (have-mfma4): Likewise.
54551         (config-cflags-novzeroupper): Likewise.
54552         * configure: Regenerated.
54553         * sysdeps/i386/configure: Likewise.
54554         * sysdeps/mach/configure: Likewise.
54555         * sysdeps/sparc/configure: Likewise.
54556         * sysdeps/x86_64/configure: Likewise.
54558 2013-03-20  Roland McGrath  <roland@hack.frob.com>
54560         [BZ #14812]
54561         * locale/programs/localedef.c (options): Put N_ translation marker
54562         on argument names, not just descriptions.
54564 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54566         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
54568 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
54570         [BZ #14176]
54571         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
54573 2013-03-19  Roland McGrath  <roland@hack.frob.com>
54575         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
54576         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
54577         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
54578         [!BEFORE_ABORT] (before_abort): New function.
54579         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
54580         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
54581         (writev_for_fatal): New function.
54582         (WRITEV_FOR_FATAL): New macro; call that.
54583         (backtrace_and_maps): New function.
54584         (BEFORE_ABORT): New macro; call that.
54585         (struct str_list): Type removed.
54586         (__libc_message, __libc_fatal): Functions removed.
54587         Include <sysdeps/posix/libc_fatal.c> instead.
54589 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
54591         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
54592         constants.
54593         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
54594         double constants.
54596 2013-03-19  Andreas Schwab  <schwab@suse.de>
54598         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
54599         * sysdeps/gnu/configure: Regenerate.
54601         * configure.in: Substitute libc_cv_rtlddir.
54602         * configure: Regenerate.
54603         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
54604         * Makeconfig (rtlddir, inst_rtlddir): New variables.
54605         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
54606         * elf/Makefile (install-others, CFLAGS-interp.c)
54607         (ldso_install, common-ldd-rewrite): Likewise.
54608         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
54609         $(inst_slibdir)/$(rtld-installed-name).
54610         * scripts/rellns-sh: Add -p option.
54611         * Makerules (make-shlib-link): Use rellns-sh to get relative name
54612         for source.
54614 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54616         * manual/nptl.texi: Renamed to ...
54617         * manual/threads.texi: ... this.
54618         * manual/Makefile (chapters): Update.
54620 2013-03-18  Roland McGrath  <roland@hack.frob.com>
54622         [BZ #14812]
54623         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
54624         on argument names, not just descriptions.
54625         * malloc/memusagestat.c (options): Likewise.
54626         * nss/getent.c (options): Likewise.
54628 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
54630         [BZ #14812]
54631         * iconv/iconv_prog.c (options): Put N_ translation marker
54632         on argument names, not just descriptions.
54633         * iconv/iconvconfig.c (options): Likewise.
54635 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
54637         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
54638         implementation which is faster on all x86_64 architectures.
54639         Tested on AMD, Intel Nehalem, SNB, IVB.
54640         * sysdeps/x86_64/strnlen.S: Likewise.
54642         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
54643         Remove all multiarch strlen and strnlen versions.
54644         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
54645         Remove strlen and strnlen related parts.
54647         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
54648         Inline strlen part.
54649         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
54651         * sysdeps/x86_64/multiarch/strlen.S: Remove.
54652         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
54653         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
54654         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
54655         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
54656         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
54658 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
54660         * manual/memory.texi (Malloc Tunable Parameters):
54661         Sort parameters alphabetically. Add comments for missing entries.
54663 2013-03-17  David S. Miller  <davem@davemloft.net>
54665         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54667 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
54669         [BZ #15283]
54670         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
54671         for arguments at most half maximum finite value.
54672         * math/libm-test.inc (j0_test): Add more tests.
54673         (j1_test): Likewise.
54674         (y0_test): Likewise.
54675         (y1_test): Likewise.
54676         * sysdeps/i386/fpu/libm-test-ulps: Update.
54677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54679         [BZ #14155]
54680         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
54681         1 / x and functions P and Q for arguments above 0x1p256L.
54682         (__ieee754_y0l): Likewise.
54683         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
54684         (__ieee754_y1l): Likewise.
54685         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
54686         (j1_test): Likewise.
54687         (y0_test): Likewise.
54688         (y1_test): Likewise.
54690 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
54692         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
54693         variable.
54695 2013-03-15  Roland McGrath  <roland@hack.frob.com>
54697         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
54698         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
54699         zero since it's initialized to EXEC_PAGESIZE.
54701         * sysdeps/unix/sysv/linux/ldsodefs.h
54702         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
54703         * sysdeps/generic/ldsodefs.h: ... here.
54705 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
54707         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
54709         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
54710         math/test-snan.c.
54711         * math/test-snan.c: Renamed from
54712         sysdeps/powerpc/fpu/test-powerpc-snan.c.
54713         * math/Makefile (tests): Add test-snan.
54714         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
54715         test-powerpc-snan.
54717         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
54718         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
54719         functions.
54720         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
54721         __builtin_nan family of functions.
54722         * math/libm-test.inc (initialize): Initialize qnan_value with
54723         __builtin_nan family of functions.
54724         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
54725         Remove variables.
54726         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
54727         Remove functions.
54728         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
54729         storage class.  Initialize qNaN_var and sNaN_var with
54730         __builtin_nan and __builtin_nans families of functions,
54731         respectively.
54733         * math/libm-test.inc (acosh_test): Also test with qNaN input.
54734         (sqrt_test): Remove duplicate test with qNaN input.
54735         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
54736         (round_test, signbit_test, significand_test): Note missing +/-Inf
54737         as well as qNaN tests.
54739         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
54740         qNaN_var.  Fix a few strings, too.
54741         * math/libm-test.inc (nan_value): Rename to qnan_value.
54742         * math/gen-libm-test.pl (%beautify): Adjust to that.
54743         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
54744         * math/test-misc.c (main): Likewise.
54745         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
54746         to __qnan_bytes, and __qnan_union, respectively.
54747         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
54748         Likewise.
54749         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
54750         and lqnanval, respectively.
54751         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
54752         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
54753         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
54754         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
54756         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
54757         * math/test-misc.c (main) [__x86_64__]: Enable test for long
54758         doubles.
54760         * math/test-misc.c (main): Fix copy'n'pastos.
54761         * misc/tst-efgcvt.c (special): Likewise.
54763         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
54764         Remove declarations.
54766 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54768         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
54769         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
54770         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
54771         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
54773 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54775         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
54776         macro to return vdso values correctly in IFUNC implementations.
54777         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
54778         Optimization by using IFUNC.
54780 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54781             Richard Henderson  <rth@redhat.com>
54782             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54784         * Makefile.in (bench): New target.
54785         * NEWS: Mention the benchmark framework.
54786         * Rules (bench): Likewise.
54787         (binaries-bench): Generate binaries for functions to
54788         benchmark.
54789         * benchtests/Makefile: New makefile for benchmark tests.
54790         * benchtests/bench-skeleton.c: New skeleton file for benchmark
54791         programs.
54792         * benchtests/exp-inputs: New input file for EXP function.
54793         * benchtests/pow-inputs: New input file for POW function.
54794         * scripts/bench.pl: New script to generate source files for
54795         benchmark programs.
54797 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54799         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
54800         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
54801         computations on mantissa.  Use macros for rounding and
54802         division.
54803         (denorm): Likewise.
54804         (__dbl_mp): Likewise.
54805         (add_magnitudes): Likewise.
54806         (sub_magnitudes): Likewise.
54807         (__mul): Likewise.
54808         (__sqr): Likewise.
54809         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
54810         powers of two in terms of TWOPOW macro.
54811         (mp_no): Make type of mantissa as MANTISSA_T.
54812         [!RADIXI]: Define RADIXI.
54813         [!TWO52]: Define TWO52.
54814         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
54816         * manual/nptl.texi (cindex): Modify threads to pthreads.
54818 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
54820         * sysdeps/x86_64/preconfigure: Regenerated.
54822 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
54824         [BZ #14155]
54825         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
54826         0x1p28 and above.
54827         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
54828         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
54829         0x1p28 and above.
54830         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
54831         * math/libm-test.inc (j0_test): Do not allow one spurious
54832         underflow exception.
54833         (y1_test): Likewise.
54835 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
54837         * manual/Makefile (chapters): Add nptl.
54838         * manual/debug.texi (Debugging Support): Add link to Threads
54839         chapter.
54840         * manual/nptl.texi: New file.
54842         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
54844 2013-03-14  Petr Baudis  <pasky@ucw.cz>
54846         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
54847         for non-NULL pointer before the memory validity test. Pointed
54848         out by Holger Brunck <holger.brunck@keymile.com>.
54850 2013-03-13  Andreas Schwab  <schwab@suse.de>
54852         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
54853         instead of .os.
54855 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
54857         * timezone/zic.c: Update from tzcode 2013b.
54859 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
54861         * manual/install.texi (Configuring and compiling):
54862         Mention i686 and i586.
54863         * INSTALL: Regenerate.
54865 2013-03-12  Roland McGrath  <roland@hack.frob.com>
54867         * sysdeps/init_array/elf-init.c: New file.
54868         * csu/elf-init.c
54869         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
54870         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
54872         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
54873         __gmon_start__ as global, but as static with a .preinit_array pointer.
54874         * sysdeps/init_array/gmon-start.c: New file.  Use that.
54875         * sysdeps/init_array/crti.S: New file, empty except for comments.
54876         * sysdeps/init_array/crtn.S: Likewise.
54878 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
54880         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
54881         definining bcopy.
54882         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54883         Remove Prefer_SSE_for_memop.
54884         * sysdeps/x86_64/multiarch/init-arch.h: Remove
54885         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
54886         HAS_PREFER_SSE_FOR_MEMOP.
54887         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
54888         memset-x86-64.
54889         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
54890         Remove bzero, memset ifunc support.
54891         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
54892         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
54893         * sysdeps/x86_64/multiarch/memset.S: Likewise.
54894         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
54896 2013-03-11  Andreas Schwab  <schwab@suse.de>
54898         [BZ #15234]
54899         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
54900         by SHLIB_COMPAT.
54901         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
54902         (GLIBC_2.16): Remove pthread_atfork.
54904 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
54906         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
54907         (ptestcases.h): Likewise.
54909 2013-03-08  Roland McGrath  <roland@hack.frob.com>
54911         * Makeconfig ($(common-objpfx)config.status): Depend on
54912         sysdeps/*/preconfigure{,.in} too.
54914 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
54916         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
54917         (__free_hook): Use void * instead of __malloc_ptr_t.
54918         (__malloc_hook): Likewise.
54919         (__realloc_hook): Likewise.
54920         (__memalign_hook): Likewise.
54921         (__after_morecore_hook): Likewise.
54922         * malloc/arena.c (save_malloc_hook): Likewise.
54923         (save_free_hook): Likewise.
54924         * malloc/hooks.c (malloc_hook_ini): Likewise.
54925         (realloc_hook_ini): Likewise.
54926         (memalign_hook_ini): Likewise.
54927         * malloc/malloc.c (malloc_hook_ini): Likewise.
54928         (realloc_hook_ini): Likewise.
54929         (memalign_hook_ini): Likewise.
54930         (__free_hook): Likewise.
54931         (__malloc_hook): Likewise.
54932         (__realloc_hook): Likewise.
54933         (__memalign_hook): Likewise.
54934         (__libc_malloc): Likewise.
54935         (__libc_free): Likewise.
54936         (__libc_realloc): Likewise.
54937         (__libc_memalign): Likewise.
54938         (__libc_valloc): Likewise.
54939         (__libc_pvalloc): Likewise.
54940         (__libc_calloc): Likewise.
54941         (__posix_memalign): Likewise.
54942         * malloc/morecore.c (__sbrk): Likewise.
54943         (__default_morecore): Likewise.
54945         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
54947         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
54948         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
54949         __malloc_ptrdiff_t.
54951         * malloc/malloc.h (__malloc_size_t): Remove macro.
54952         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
54953         __malloc_size_t.
54954         (old_memalign_hook): Likewise.
54955         (old_realloc_hook): Likewise.
54956         (struct hdr): Likewise.
54957         (flood): Likewise.
54958         (mallochook): Likewise.
54959         (memalignhook): Likewise.
54960         (reallochook): Likewise.
54961         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
54962         (tr_old_realloc_hook): Likewise.
54963         (tr_old_memalign_hook): Likewise.
54964         (tr_mallochook): Likewise.
54965         (tr_reallochook): Likewise.
54966         (tr_memalignhook): Likewise.
54968 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54970         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
54971         default_ldbl_pack and using as default implementation.
54972         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
54973         implementation.
54974         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
54975         redundant definition.
54976         (ldbl_insert_mantissa): Likewise.
54977         (ldbl_canonicalize): Likewise.
54978         (ldbl_nearbyint): Likewise.
54979         (ldbl_pack): Rename to ldbl_pack_ppc.
54980         (ldbl_unpack): Rename to ldbl_unpack_ppc.
54981         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
54982         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
54984 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
54986         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
54987         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
54988         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
54989         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
54990         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
54991         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
54992         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
54993         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
54995 2013-03-07  Andreas Jaeger  <aj@suse.de>
54997         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54998         bits/mman-linux.h.
55000 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
55002         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
55003         Include mpa.h and declare __MPEXP.
55004         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
55005         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
55006         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
55007         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
55008         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
55009         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
55010         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
55012         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
55013         (__slowpow): Use long double EXPL and LOGL functions to
55014         compute POW.
55015         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
55016         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
55017         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
55018         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
55019         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
55020         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
55022         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
55023         intermediate variable to calculate exponent.
55024         (__sqr): Likewise.
55025         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
55026         Likewise.
55027         (__sqr): Likewise.
55029         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
55030         [!NO__SQR]: Define __sqr.
55031         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
55032         and NO__SQR.  Remove all code except __mul and __sqr.  Include
55033         sysdeps/ieee754/dbl-64/mpa.c.
55034         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55036         [BZ #12723]
55037         * posix/Makefile (tests): Add tst-pathconf.
55038         * posix/tst-pathconf.c: New test case.
55039         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
55040         _PC_PIPE_BUF.
55041         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
55043 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
55045         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
55047 2013-03-06  Andreas Jaeger  <aj@suse.de>
55049         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
55050         definition via __MAP_ANONYMOUS.
55052         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
55053         it's not part of Linux headers.
55055         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
55056         (MAP_HUGE_MASK): Define.
55058         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
55059         Define.
55060         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
55061         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
55062         Define.
55063         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
55064         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
55065         Define.
55066         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
55067         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
55068         Define.
55069         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
55071         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
55072         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
55073         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
55074         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
55075         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
55076         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
55078         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
55079         Handle f2fs.
55081         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55082         Handle f2fs and efivarfs.
55084         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
55085         f2fs.
55087         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
55088         (EFIVARFS_MAGIC): Add.
55089         (F2FS_LINK_MAX): Add.
55091 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
55093         * stdio-common/vfprintf.c: Replace __builtin_expect with
55094         __glibc_unlikely.
55096 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
55098         [BZ #13550]
55099         * sysdeps/generic/bp-sym.h: Remove file.
55100         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
55101         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
55102         <bp-sym.h> and <bp-asm.h>.
55103         (__longjmp): Don't use BP_SYM.
55104         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
55105         and <bp-asm.h>.
55106         (memcpy): Don't use BP_SYM.
55107         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
55108         <bp-sym.h> and <bp-asm.h>.
55109         (memcpy): Don't use BP_SYM.
55110         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
55111         <bp-asm.h>.
55112         (memcpy): Don't use BP_SYM.
55113         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
55114         <bp-asm.h>.
55115         (memset): Don't use BP_SYM.
55116         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
55117         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
55118         (__bzero): Don't use BP_SYM.
55119         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
55120         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
55121         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
55122         <bp-sym.h> and <bp-asm.h>.
55123         (memcmp): Don't use BP_SYM.  Remove comment about bounded
55124         pointers.
55125         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
55126         <bp-sym.h> and <bp-asm.h>.
55127         (memcpy): Don't use BP_SYM.
55128         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
55129         <bp-sym.h> and <bp-asm.h>.
55130         (memset): Don't use BP_SYM.
55131         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
55132         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
55133         (__bzero): Don't use BP_SYM.
55134         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
55135         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
55136         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
55137         <bp-sym.h> and <bp-asm.h>.
55138         (strncmp): Don't use BP_SYM.  Remove comment about bounded
55139         pointers.
55140         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
55141         <bp-sym.h> and <bp-asm.h>.
55142         (memcpy): Don't use BP_SYM.
55143         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
55144         <bp-sym.h> and <bp-asm.h>.
55145         (memset): Don't use BP_SYM.
55146         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
55147         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
55148         (__bzero): Don't use BP_SYM.
55149         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
55150         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
55151         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
55152         <bp-sym.h> and <bp-asm.h>.
55153         (__memchr): Don't use BP_SYM.
55154         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
55155         <bp-sym.h> and <bp-asm.h>.
55156         (memcmp): Don't use BP_SYM.  Remove comment about bounded
55157         pointers.
55158         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
55159         <bp-sym.h> and <bp-asm.h>.
55160         (memcpy): Don't use BP_SYM.
55161         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
55162         <bp-sym.h> and <bp-asm.h>.
55163         (__mempcpy): Don't use BP_SYM.
55164         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
55165         <bp-sym.h> and <bp-asm.h>.
55166         (__memrchr): Don't use BP_SYM.
55167         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
55168         <bp-sym.h> and <bp-asm.h>.
55169         (memset): Don't use BP_SYM.
55170         (__bzero): Likewise.
55171         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
55172         <bp-sym.h> and <bp-asm.h>.
55173         (__rawmemchr): Don't use BP_SYM.
55174         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
55175         <bp-sym.h> and <bp-asm.h>.
55176         (__STRCMP): Don't use BP_SYM.
55177         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
55178         <bp-sym.h> and <bp-asm.h>.
55179         (strchr): Don't use BP_SYM.
55180         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
55181         <bp-sym.h> and <bp-asm.h>.
55182         (__strchrnul): Don't use BP_SYM.
55183         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
55184         <bp-sym.h> and <bp-asm.h>.
55185         (strlen): Don't use BP_SYM.
55186         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
55187         <bp-sym.h> and <bp-asm.h>.
55188         (strncmp): Don't use BP_SYM.  Remove comment about bounded
55189         pointers.
55190         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
55191         <bp-sym.h> and <bp-asm.h>.
55192         (__strnlen): Don't use BP_SYM.
55193         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
55194         <bp-sym.h> and <bp-asm.h>.
55195         (__GI__setjmp): Don't use BP_SYM.
55196         (_setjmp): Likewise.
55197         (__sigsetjmp): Likewise.
55198         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
55199         (L(start_addresses)): Don't use BP_SYM.
55200         (_start): Likewise.
55201         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
55202         <bp-asm.h>.
55203         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
55204         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
55205         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
55206         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
55207         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
55208         <bp-asm.h>.
55209         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
55210         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
55211         about bounded pointers.
55212         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
55213         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
55214         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
55215         <bp-asm.h>.
55216         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
55217         about bounded pointers.  Remove GKM FIXME comments.
55218         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
55219         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
55220         <bp-asm.h>.
55221         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
55222         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
55223         Remove GKM FIXME comments.
55224         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
55225         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
55226         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
55227         <bp-asm.h>.
55228         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
55229         about bounded pointers.  Remove GKM FIXME comment.
55230         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
55231         and <bp-asm.h>.
55232         (strncmp): Don't use BP_SYM.  Remove comment about bounded
55233         pointers.
55234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
55235         <bp-sym.h> and <bp-asm.h>.
55236         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
55237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
55238         <bp-sym.h> and <bp-asm.h>.
55239         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
55240         comment.
55242 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
55244         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
55245         call free(NULL).
55247 2013-03-05  David S. Miller  <davem@davemloft.net>
55249         * po/es.po: Update from translation team.
55251 2013-03-05  Andreas Jaeger  <aj@suse.de>
55253         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
55254         <bits/mman-linux.h>.
55255         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
55256         is fine.
55257         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
55258         <bits/mman-linux.h> to end of file.
55259         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
55260         is fine.
55261         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
55262         <bits/mman-linux.h> to end of file.
55263         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
55264         is fine.
55265         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
55266         <bits/mman-linux.h> to end of file.
55268         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
55269         (MCL_CURRENT, MCL_FUTURE): Define here.
55271 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55273         [BZ #15232]
55274         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
55275         attribute_hidden.
55276         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
55278 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55280         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
55281         fourth parameter needed for rt_sigprocmask syscall.
55282         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
55283         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
55284         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
55285         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
55286         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
55287         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
55289 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
55291         [BZ #13550]
55292         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
55293         comment about bounded pointers.
55294         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
55295         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
55297 2013-03-04  Andreas Jaeger  <aj@suse.de>
55299         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
55300         common definitions.
55302         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
55303         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
55304         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
55305         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55306         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
55307         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55309 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55311         [BZ #15055]
55312         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
55313         __ieee754_sqrl instead of __sqrl.
55315 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
55317         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
55318         * sysdeps/powerpc/fpu_control.h: ... here.
55319         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
55320         * sysdeps/powerpc/bits/fenvinline.h: ... here.
55321         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
55322         * sysdeps/powerpc/bits/mathinline.h: ... here.
55324 2013-03-01  Roland McGrath  <roland@hack.frob.com>
55326         * elf/dl-hwcaps.c (_dl_important_hwcaps):
55327         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
55328         to just [NEED_DL_SYSINFO_DSO].
55329         * elf/dl-support.c: Likewise.
55330         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
55331         * elf/rtld.c (dl_main): Likewise.
55332         * elf/setup-vdso.h (setup_vdso): Likewise.
55333         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
55334         * sysdeps/unix/sysv/linux/dl-sysdep.c
55335         (_dl_discover_osversion): Likewise.
55337 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
55339         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
55340         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
55342 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
55344         * NEWS: Mention libm performance improvements and non-x86 PI
55345         futex support.
55347         * csu/libc-start.c (__pthread_initialize_minimal): Change
55348         function arguments.
55349         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
55351 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
55353         [BZ #13550]
55354         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
55355         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
55356         <bp-sym.h> and <bp-asm.h>.
55357         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
55358         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
55359         and <bp-asm.h>.
55360         (memcpy): Don't use BP_SYM.
55361         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
55362         <bp-asm.h>.
55363         (__mpn_add_n): Don't use BP_SYM.
55364         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
55365         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
55366         and <bp-asm.h>.
55367         (__mpn_addmul_1): Don't use BP_SYM.
55368         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55369         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
55370         <bp-sym.h>.
55371         (_setjmp): Don't use BP_SYM.
55372         (__novmx_setjmp): Likewise.
55373         (__GI__setjmp): Likewise.
55374         (__vmx_setjmp): Likewise.
55375         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
55376         <bp-sym.h>.
55377         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
55378         (__bzero): Don't use BP_SYM.
55379         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
55380         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
55381         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
55382         <bp-sym.h> and <bp-asm.h>.
55383         (memcpy): Don't use BP_SYM.
55384         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
55385         <bp-sym.h> and <bp-asm.h>.
55386         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
55387         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
55388         <bp-sym.h> and <bp-asm.h>.
55389         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
55390         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
55391         <bp-asm.h>.
55392         (__mpn_lshift): Don't use BP_SYM.
55393         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55394         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
55395         <bp-asm.h>.
55396         (memset): Don't use BP_SYM.
55397         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
55398         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
55399         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
55400         <bp-asm.h>.
55401         (__mpn_mul_1): Don't use BP_SYM.
55402         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55403         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
55404         <bp-sym.h> and <bp-asm.h>.
55405         (memcmp): Don't use BP_SYM.
55406         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
55407         <bp-sym.h> and <bp-asm.h>.
55408         (memcpy): Don't use BP_SYM.
55409         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
55410         <bp-sym.h> and <bp-asm.h>.
55411         (memset): Don't use BP_SYM.
55412         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
55413         <bp-sym.h> and <bp-asm.h>.
55414         (strncmp): Don't use BP_SYM.
55415         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
55416         <bp-sym.h> and <bp-asm.h>.
55417         (memcpy): Don't use BP_SYM.
55418         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
55419         <bp-sym.h> and <bp-asm.h>.
55420         (memset): Don't use BP_SYM.
55421         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
55422         <bp-sym.h> and <bp-asm.h>.
55423         (__memchr): Don't use BP_SYM.
55424         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
55425         <bp-sym.h> and <bp-asm.h>.
55426         (memcmp): Don't use BP_SYM.
55427         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
55428         <bp-sym.h> and <bp-asm.h>.
55429         (memcpy): Don't use BP_SYM.
55430         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
55431         <bp-sym.h> and <bp-asm.h>.
55432         (__mempcpy): Don't use BP_SYM.
55433         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
55434         <bp-sym.h> and <bp-asm.h>.
55435         (__memrchr): Don't use BP_SYM.
55436         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
55437         <bp-sym.h> and <bp-asm.h>.
55438         (memset): Don't use BP_SYM.
55439         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
55440         <bp-sym.h> and <bp-asm.h>.
55441         (__rawmemchr): Don't use BP_SYM.
55442         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
55443         <bp-sym.h> and <bp-asm.h>.
55444         (__STRCMP): Don't use BP_SYM.
55445         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
55446         <bp-sym.h> and <bp-asm.h>.
55447         (strchr): Don't use BP_SYM.
55448         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
55449         <bp-sym.h> and <bp-asm.h>.
55450         (__strchrnul): Don't use BP_SYM.
55451         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
55452         <bp-sym.h> and <bp-asm.h>.
55453         (strlen): Don't use BP_SYM.
55454         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
55455         <bp-sym.h> and <bp-asm.h>.
55456         (strncmp): Don't use BP_SYM.
55457         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
55458         <bp-sym.h> and <bp-asm.h>.
55459         (__strnlen): Don't use BP_SYM.
55460         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
55461         <bp-asm.h>.
55462         (__mpn_rshift): Don't use BP_SYM.
55463         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55464         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
55465         <bp-sym.h> and <bp-asm.h>.
55466         (__sigsetjmp): Don't use BP_SYM.
55467         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
55468         (L(start_addresses)): Don't use BP_SYM.
55469         (_start): Likewise.
55470         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
55471         <bp-asm.h>.
55472         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
55473         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
55474         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
55475         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
55476         <bp-asm.h>.
55477         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
55478         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
55479         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
55480         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
55481         <bp-asm.h>.
55482         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
55483         comments.
55484         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
55485         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
55486         <bp-asm.h>.
55487         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
55488         FIXME comments.
55489         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
55490         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
55491         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
55492         <bp-asm.h>.
55493         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
55494         comment.
55495         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
55496         and <bp-asm.h>.
55497         (strncmp): Don't use BP_SYM,
55498         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
55499         <bp-asm.h>.
55500         (__mpn_sub_n): Don't use BP_SYM.
55501         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55502         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
55503         and <bp-asm.h>.
55504         (__mpn_submul_1): Don't use BP_SYM.
55505         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
55507         <bp-sym.h> and <bp-asm.h>.
55508         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
55509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
55510         <bp-sym.h> and <bp-asm.h>.
55511         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
55512         comment.
55514 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55516         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
55517         Use ZK to minimize writes to Z.
55518         (sub_magnitudes): Simplify code a bit.
55519         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
55520         Use ZK to minimize writes to Z.
55521         (sub_magnitudes): Simplify code a bit.
55523 2013-02-27  Roland McGrath  <roland@hack.frob.com>
55525         * csu/gmon-start.c: Add special exception to license text.
55527 2013-02-27  Richard Henderson  <rth@redhat.com>
55529         * scripts/config.guess: Update from config.git.
55530         * scripts/config.sub: Likewise.
55532 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
55534         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
55536         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
55538         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
55540         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
55542         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
55544 2013-02-26  Roland McGrath  <roland@hack.frob.com>
55546         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
55547         [$(build-shared = yes].
55549 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
55551         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
55552         (__mul): Reduce iterations for calculating mantissa.
55554         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
55555         MPTWO.
55556         (__mpranred): Likewise.
55558         [BZ #15160]
55559         * malloc/memusagestat.c (main): Draw graphs for heap and stack
55560         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
55562 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
55564         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
55565         Define __attribute__.
55567 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
55569         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
55570         unused.
55571         * posix/regex_internal.h (__attribute): Remove.
55572         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
55573         (re_string_context_at): Likewise.
55574         (bitset_not): Use __attribute__ and mark function as possibly
55575         unused.
55576         (bitset_merge): Likewise.
55577         (bitset_mask): Likewise.
55578         (re_string_char_size_at): Likewise.
55579         (re_string_wchar_at): Likewise.
55580         (re_string_elem_size_at): Likewise.
55582 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
55584         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
55585         code.
55586         (cc32): Likewise.
55588         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
55589         (__acr): Likewise.
55590         (__cpy): Likewise.
55591         (norm): Likewise.
55592         (denorm): Likewise.
55593         (__dbl_mp): Likewise.
55594         (add_magnitudes): Likewise.
55595         (sub_magnitudes): Likewise.
55596         (__mul): Likewise.
55597         (__inv): Likewise.
55599         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
55600         style.
55602         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
55603         style.
55605         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
55606         code.
55608         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
55609         up changes with default code.
55610         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
55611         Likewise.
55613 2013-02-24  Allan McRae  <allan@archlinux.org>
55615         * manual/socket.texi (The Internet Namespace): Order menu items
55616         to match that in the file.
55618         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
55619         node listing of the info page menu.
55621 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
55623         [BZ #13550]
55624         * sysdeps/i386/bp-asm.h: Remove file.
55625         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
55626         (PARMS): Do not use macros from bp-asm.h.
55627         (S1): Likewise.
55628         (S2): Likewise.
55629         (SIZE): Likewise.
55630         (__mpn_add_n): Do not use BP_SYM
55631         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
55632         "bp-asm.h".
55633         (PARMS): Do not use macros from bp-asm.h.
55634         (S1): Likewise.
55635         (SIZE): Likewise.
55636         (__mpn_addmul_1): Do not use BP_SYM
55637         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
55638         "bp-asm.h".
55639         (PARMS): Do not use macros from bp-asm.h.
55640         (SIGMSK): Likewise.
55641         (_setjmp): Likewise.  Do not use BP_SYM.
55642         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
55643         "bp-asm.h".
55644         (PARMS): Do not use macros from bp-asm.h.
55645         (SIGMSK): Likewise.
55646         (setjmp): Likewise.  Do not use BP_SYM.
55647         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
55648         "bp-asm.h".
55649         (PARMS): Do not use macros from bp-asm.h.
55650         (__frexp): Do not use BP_SYM.
55651         (frexp): Likewise.
55652         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
55653         "bp-asm.h".
55654         (PARMS): Do not use macros from bp-asm.h.
55655         (__frexpf): Do not use BP_SYM.
55656         (frexpf): Likewise.
55657         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
55658         "bp-asm.h".
55659         (PARMS): Do not use macros from bp-asm.h.
55660         (__frexpl): Do not use BP_SYM.
55661         (frexpl): Likewise.
55662         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
55663         "bp-asm.h".
55664         (PARMS): Do not use macros from bp-asm.h.
55665         (__remquo): Do not use BP_SYM.
55666         (remquo): Likewise.
55667         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
55668         "bp-asm.h".
55669         (PARMS): Do not use macros from bp-asm.h.
55670         (__remquof): Do not use BP_SYM.
55671         (remquof): Likewise.
55672         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
55673         "bp-asm.h".
55674         (PARMS): Do not use macros from bp-asm.h.
55675         (__remquol): Do not use BP_SYM.
55676         (remquol): Likewise.
55677         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
55678         "bp-asm.h".
55679         (PARMS): Do not use macros from bp-asm.h.
55680         (DEST): Likewise.
55681         (SRC): Likewise.
55682         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
55683         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
55684         "bp-asm.h".
55685         (PARMS): Do not use macros from bp-asm.h.
55686         (strlen): Do not use BP_SYM.
55687         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
55688         "bp-asm.h".
55689         (PARMS): Do not use macros from bp-asm.h.
55690         (S1): Likewise.
55691         (S2): Likewise.
55692         (SIZE): Likewise.
55693         (__mpn_add_n): Do not use BP_SYM.
55694         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
55695         "bp-asm.h".
55696         (PARMS): Do not use macros from bp-asm.h.
55697         (S1): Likewise.
55698         (SIZE): Likewise.
55699         (__mpn_addmul_1): Do not use BP_SYM.
55700         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
55701         weak_alias.
55702         (bzero): Likewise.
55703         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
55704         "bp-asm.h".
55705         (PARMS): Do not use macros from bp-asm.h.
55706         (S): Likewise.
55707         (SIZE): Likewise.
55708         (__mpn_lshift): Do not use BP_SYM.
55709         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
55710         "bp-asm.h".
55711         (PARMS): Do not use macros from bp-asm.h.
55712         (DEST): Likewise.
55713         (SRC): Likewise.
55714         (LEN): Likewise.
55715         (memcpy): Likewise.  Do not use BP_SYM.
55716         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
55717         libc_hidden_def and weak_alias.
55718         (mempcpy): Do not use BP_SYM in weak_alias.
55719         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
55720         "bp-asm.h".
55721         (PARMS): Do not use macros from bp-asm.h.
55722         (DEST): Likewise.
55723         (LEN): Likewise.
55724         [!BZERO_P] (CHR): Likewise.
55725         (memset): Likewise.  Do not use BP_SYM.
55726         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
55727         "bp-asm.h".
55728         (PARMS): Do not use macros from bp-asm.h.
55729         (S1): Likewise.
55730         (SIZE): Likewise.
55731         (__mpn_mul_1): Do not use BP_SYM.
55732         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
55733         "bp-asm.h".
55734         (PARMS): Do not use macros from bp-asm.h.
55735         (S): Likewise.
55736         (SIZE): Likewise.
55737         (__mpn_rshift): Do not use BP_SYM.
55738         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
55739         "bp-asm.h".
55740         (PARMS): Do not use macros from bp-asm.h.
55741         (STR): Likewise.
55742         (CHR): Likewise.
55743         (strchr): Likewise.  Do not use BP_SYM.
55744         (index): Do not use BP_SYM in weak_alias.
55745         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
55746         "bp-asm.h".
55747         (PARMS): Do not use macros from bp-asm.h.
55748         (DEST): Likewise.
55749         (SRC): Likewise.
55750         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
55751         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
55752         "bp-asm.h".
55753         (PARMS): Do not use macros from bp-asm.h.
55754         (strlen): Do not use BP_SYM.
55755         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
55756         "bp-asm.h".
55757         (PARMS): Do not use macros from bp-asm.h.
55758         (S1): Likewise.
55759         (S2): Likewise.
55760         (SIZE): Likewise.
55761         (__mpn_sub_n): Do not use BP_SYM.
55762         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
55763         "bp-asm.h".
55764         (PARMS): Do not use macros from bp-asm.h.
55765         (S1): Likewise.
55766         (SIZE): Likewise.
55767         (__mpn_submul_1): Do not use BP_SYM.
55768         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
55769         "bp-asm.h".
55770         (PARMS): Do not use macros from bp-asm.h.
55771         (S1): Likewise.
55772         (S2): Likewise.
55773         (SIZE): Likewise.
55774         (__mpn_add_n): Do not use BP_SYM.
55775         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
55776         weak_alias.
55777         (bzero): Likewise.
55778         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
55779         "bp-asm.h".
55780         (PARMS): Do not use macros from bp-asm.h.
55781         (BLK2): Likewise.
55782         (LEN): Likewise.
55783         (memcmp): Do not use BP_SYM.
55784         (bcmp): Do not use BP_SYM in weak_alias.
55785         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
55786         "bp-asm.h".
55787         (PARMS): Do not use macros from bp-asm.h.
55788         (DEST): Likewise.
55789         (SRC): Likewise.
55790         (LEN): Likewise.
55791         (memcpy): Likewise.  Do not use BP_SYM.
55792         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
55793         "bp-asm.h".
55794         (PARMS): Do not use macros from bp-asm.h.
55795         (DEST): Likewise.
55796         (SRC): Likewise.
55797         (LEN): Likewise.
55798         (memmove): Likewise.  Do not use BP_SYM.
55799         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
55800         "bp-asm.h".
55801         (PARMS): Do not use macros from bp-asm.h.
55802         (DEST): Likewise.
55803         (SRC): Likewise.
55804         (LEN): Likewise.
55805         (__mempcpy): Likewise.  Do not use BP_SYM.
55806         (mempcpy): Do not use BP_SYM in weak_alias.
55807         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
55808         "bp-asm.h".
55809         (PARMS): Do not use macros from bp-asm.h.
55810         (DEST): Likewise.
55811         (LEN): Likewise.
55812         [!BZERO_P] (CHR): Likewise.
55813         (memset): Likewise.  Do not use BP_SYM.
55814         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
55815         "bp-asm.h".
55816         (PARMS): Do not use macros from bp-asm.h.
55817         (STR2): Likewise.
55818         (strcmp): Do not use BP_SYM.
55819         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
55820         "bp-asm.h".
55821         (PARMS): Do not use macros from bp-asm.h.
55822         (STR): Likewise.
55823         (DELIM): Likewise.
55824         [USE_AS_STRTOK_R] (SAVE): Likewise.
55825         (FUNCTION): Likewise.  Do not use BP_SYM.
55826         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
55827         aliases.
55828         (strtok_r): Likewise.
55829         (__GI___strtok_r): Likewise.
55830         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
55831         (PARMS): Do not use macros from bp-asm.h.
55832         (S): Likewise.
55833         (SIZE): Likewise.
55834         (__mpn_lshift): Do not use BP_SYM.
55835         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
55836         (PARMS): Do not use macros from bp-asm.h.
55837         (STR): Likewise.
55838         (CHR): Likewise.
55839         (__memchr): Do not use BP_SYM.
55840         (memchr): Do not use BP_SYM in weak_alias.
55841         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
55842         (PARMS): Do not use macros from bp-asm.h.
55843         (BLK2): Likewise.
55844         (LEN): Likewise.
55845         (memcmp): Do not use BP_SYM.
55846         (bcmp): Do not use BP_SYM in weak_alias.
55847         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
55848         (PARMS): Do not use macros from bp-asm.h.
55849         (S1): Likewise.
55850         (SIZE): Likewise.
55851         (__mpn_mul_1): Do not use BP_SYM.
55852         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
55853         "bp-asm.h".
55854         (PARMS): Do not use macros from bp-asm.h.
55855         (STR): Likewise.
55856         (CHR): Likewise.
55857         (__rawmemchr): Do not use BP_SYM.
55858         (rawmemchr): Do not use BP_SYM in weak_alias.
55859         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
55860         (PARMS): Do not use macros from bp-asm.h.
55861         (S): Likewise.
55862         (SIZE): Likewise.
55863         (__mpn_rshift): Do not use BP_SYM.
55864         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
55865         (PARMS): Do not use macros from bp-asm.h.
55866         (SIGMSK): Likewise.
55867         (__sigsetjmp): Likewise.  Do not use BP_SYM.
55868         * sysdeps/i386/start.S: Do not include "bp-sym.h".
55869         (_start): Do not use BP_SYM.
55870         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
55871         (PARMS): Do not use macros from bp-asm.h.
55872         (DEST): Likewise.
55873         (SRC): Likewise.
55874         (__stpcpy): Likewise.  Do not use BP_SYM.
55875         (stpcpy): Do not use BP_SYM in weak_alias.
55876         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
55877         "bp-asm.h".
55878         (PARMS): Do not use macros from bp-asm.h.
55879         (DEST): Likewise.
55880         (SRC): Likewise.
55881         (LEN): Likewise.
55882         (__stpncpy): Likewise.  Do not use BP_SYM.
55883         (stpncpy): Do not use BP_SYM in weak_alias.
55884         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
55885         (PARMS): Do not use macros from bp-asm.h.
55886         (STR): Likewise.
55887         (CHR): Likewise.
55888         (strchr): Likewise.  Do not use BP_SYM.
55889         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
55890         "bp-asm.h".
55891         (PARMS): Do not use macros from bp-asm.h.
55892         (STR): Likewise.
55893         (CHR): Likewise.
55894         (__strchrnul): Likewise.  Do not use BP_SYM.
55895         (strchrnul): Do not use BP_SYM in weak_alias.
55896         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
55897         "bp-asm.h".
55898         (PARMS): Do not use macros from bp-asm.h.
55899         (STOP): Likewise.
55900         (strcspn): Do not use BP_SYM.
55901         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
55902         "bp-asm.h".
55903         (PARMS): Do not use macros from bp-asm.h.
55904         (STR): Likewise.
55905         (STOP): Likewise.
55906         (strpbrk): Likewise.  Do not use BP_SYM.
55907         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
55908         "bp-asm.h".
55909         (PARMS): Do not use macros from bp-asm.h.
55910         (STR): Likewise.
55911         (CHR): Likewise.
55912         (strrchr): Likewise.  Do not use BP_SYM.
55913         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
55914         (PARMS): Do not use macros from bp-asm.h.
55915         (SKIP): Likewise.
55916         (strspn): Do not use BP_SYM.
55917         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
55918         (PARMS): Do not use macros from bp-asm.h.
55919         (STR): Likewise.
55920         (DELIM): Likewise.
55921         (SAVE): Likewise.
55922         (FUNCTION): Likewise.  Do not use BP_SYM.
55923         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
55924         aliases.
55925         (strtok_r): Likewise.
55926         (__GI___strtok_r): Likewise.
55927         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
55928         (PARMS): Do not use macros from bp-asm.h.
55929         (S1): Likewise.
55930         (S2): Likewise.
55931         (SIZE): Likewise.
55932         (__mpn_sub_n): Do not use BP_SYM.
55933         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
55934         "bp-asm.h".
55935         (PARMS): Do not use macros from bp-asm.h.
55936         (S1): Likewise.
55937         (SIZE): Likewise.
55938         (__mpn_submul_1): Do not use BP_SYM.
55939         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
55940         <bp-sym.h>.
55941         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
55942         and <bp-asm.h>.
55943         (PARMS): Do not use macros from bp-asm.h.
55944         (FLAGS): Likewise.
55945         (PTID): Likewise.
55946         (TLS): Likewise.
55947         (CTID): Likewise.
55948         (__clone): Do not use BP_SYM.
55949         (clone): Do not use BP_SYM in weak_alias.
55950         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
55951         and <bp-asm.h>.
55952         (PARMS): Do not use macros from bp-asm.h.
55953         (LEN): Likewise.
55954         (__mmap64): Do not use BP_SYM.
55955         (mmap64): Do not use BP_SYM in weak_alias.
55956         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
55957         <bp-sym.h> and <bp-asm.h>.
55958         (PARMS): Do not use macros from bp-asm.h.
55959         (__posix_fadvise64_l64): Do not use BP_SYM.
55960         * sysdeps/unix/sysv/linux/i386/semtimedop.S
55961         (PARMS): Do not use macros from bp-asm.h.
55962         (NSOPS): Likewise.
55963         (semtimedop): Do not use BP_SYM.
55964         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
55965         and <bp-asm.h>.
55967 2013-02-21  Allan McRae  <allan@archlinux.org>
55969         * manual/message.texi (Charset conversion in gettext):
55970         Move @end statement to beginning of line.
55972 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55974         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
55975         static.
55976         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
55977         Likewise.
55979         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
55980         (denorm): Likewise.
55981         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
55982         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
55984 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55986         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
55987         tail-call to the resolved function if pltexit isn't needed.
55989 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55991         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
55992         or Y being zero as being unlikely.
55993         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
55994         Likewise.
55996 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
55998         * manual/nss.texi (System Databases and Name Service Switch):
55999         Remove frobnicate @pxref.
56001 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
56003         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
56004         __attribute__ ((unused)) to __attribute__ ((__unused__)).
56006 2013-02-20  Petr Machata  <pmachata@redhat.com>
56008         * elf/elf.h (R_ARM_TARGET1): New macro.
56009         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
56010         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
56011         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
56012         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
56013         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
56014         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
56015         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
56016         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
56017         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
56018         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
56019         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
56020         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
56021         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
56022         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
56023         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
56024         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
56025         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
56026         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
56027         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
56028         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
56029         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
56030         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
56031         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
56032         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
56033         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
56034         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
56035         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
56036         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
56037         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
56038         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
56039         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
56040         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
56041         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
56042         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
56043         (R_ARM_THM_GOT_BREL12): Likewise.
56044         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
56045         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
56046         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
56047         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
56048         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
56049         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
56050         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
56051         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
56052         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
56054 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
56056         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
56057         __attribute_used__ to __attribute__ ((unused)).
56059 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
56061         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
56062         powerpc mpa.c.
56063         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
56064         comment formatting.
56065         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
56067 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
56069         [BZ #13550]
56070         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
56071         Remove macro.
56072         (ENTER): Remove both macro definitions.
56073         (LEAVE): Likewise.
56074         (CHECK_BOUNDS_LOW): Likewise.
56075         (CHECK_BOUNDS_HIGH): Likewise.
56076         (CHECK_BOUNDS_BOTH): Likewise.
56077         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
56078         (RETURN_BOUNDED_POINTER): Likewise.
56079         (RETURN_NULL_BOUNDED_POINTER): Likewise.
56080         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
56081         (POP_ERRNO_LOCATION_RETURN): Likewise.
56082         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
56083         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56084         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
56085         macros.
56086         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56087         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
56088         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
56089         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
56090         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
56091         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
56092         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
56093         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
56094         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
56095         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
56096         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
56097         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
56098         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56099         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
56100         removed macros.
56101         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56102         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
56103         macros.
56104         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56105         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
56106         * sysdeps/i386/i586/memset.S (memset): Likewise.
56107         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
56108         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56109         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
56110         macros.
56111         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56112         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
56113         Change uses of L(2) to L(out).
56114         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
56115         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
56116         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
56117         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56118         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
56119         removed macros.
56120         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56121         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
56122         macros.
56123         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56124         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
56125         (RETURN): Do not use macro LEAVE.
56126         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
56127         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
56128         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
56129         * sysdeps/i386/i686/memset.S (memset): Likewise.
56130         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
56131         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
56132         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
56133         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
56134         Likewise.
56135         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
56136         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
56137         L(1_2) and L(1_3) into L(1).
56138         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
56139         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
56140         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56141         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
56142         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
56143         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
56144         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
56145         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56146         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
56147         macros.
56148         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
56149         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56150         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
56151         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
56152         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
56153         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
56154         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
56155         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
56156         * sysdeps/i386/strcspn.S (strcspn): Likewise.
56157         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
56158         * sysdeps/i386/strrchr.S (strrchr): Likewise.
56159         * sysdeps/i386/strspn.S (strspn): Likewise.
56160         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
56161         conditional code.
56162         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
56163         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
56164         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
56165         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
56166         L(1_3) into L(1_1).
56167         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
56168         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56169         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
56170         macros.
56171         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56173 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
56175         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
56176         macro.
56178 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
56180         * math/atest-exp.c (exp_mpn): Remove ROUND.
56181         * math/atest-exp2.c (exp_mpn): Likewise.
56182         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
56184         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
56185         * stdlib/tst-tls-atexit-lib.c: Likewise.
56186         * stdlib/tst-tls-atexit.c: Likewise.
56188 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
56190         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
56191         and __attribute_alloc_size__.
56193 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
56195         * include/programs/xmalloc.h: Change __attribute_alloc_size to
56196         __attribute_alloc_size__.
56197         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
56198         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
56200 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
56202         * include/programs/xmalloc.h: New file.
56203         * catgets/gencat.c: Include it.
56204         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
56205         * elf/pldd.c: Likewise.
56206         * iconv/iconv_charmap.c: Likewise.
56207         * iconv/iconvconfig.c: Likewise.
56208         * iconv/strtab.c: Likewise.
56209         * locale/programs/locale.c: Likewise.
56210         * locale/programs/localedef.h: Likewise.
56211         * locale/programs/simple-hash.c: Likewise.
56212         * nscd/nscd.h: Likewise.
56213         * nss/makedb.c: Likewise.
56214         * sysdeps/generic/ldconfig.h: Likewise.
56216 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
56218         * Versions.def: Add GLIBC_2.18.
56219         * include/link.h (struct link_map): New member l_tls_dtor_count.
56220         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
56221         (__call_tls_dtors): Likewise.
56222         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
56223         __cxa_thread_atexit_impl.
56224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56225         Likewise.
56226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56227         Likewise.
56228         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
56229         Likewise.
56230         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
56231         Likewise.
56232         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
56233         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
56234         Likewise.
56235         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
56236         Likewise.
56237         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
56238         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
56239         Likewise.
56240         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
56241         (tests): Add test case tst-tls-atexit.
56242         (modules-names): Add shared library for tst-tls-atexit.
56243         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
56244         (GLIBC_PRIVATE): Add __call_tls_dtors.
56245         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
56246         for libstdc++.
56247         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
56248         * stdlib/tst-tls-atexit.c: New test case.
56249         * stdlib/tst-tls-atexit-lib.c: New test case.
56251         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
56253         * elf/Versions (ld): Add _dl_find_dso_for_object.
56254         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
56255         * elf/dl-open.c (_dl_find_dso_for_object): New function.
56256         (dl_open_worker): Use _dl_find_dso_for_object.
56257         * elf/dl-sym.c (do_sym): Likewise.
56258         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
56260 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56262         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
56263         Syntactic changes only.
56264         (_dl_runtime_profile): Do a tail-call to the resolved function.
56266 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
56268         [BZ #13550]
56269         * sysdeps/x86_64/bp-asm.h: Remove file.
56270         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
56271         <bp-sym.h> and <bp-asm.h>.
56272         (__clone): Do not use BP_SYM.
56273         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
56274         <bp-sym.h> and <bp-asm.h>.
56275         * sysdeps/unix/x86_64/sysdep.S: Likewise.
56276         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
56277         "bp-asm.h".
56278         (_setjmp): Do not use BP_SYM.
56279         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
56280         "bp-asm.h".
56281         (setjmp): Do not use BP_SYM.
56282         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
56283         libc_hidden_def.
56284         (mempcpy): Do not use BP_SYM in weak_alias.
56285         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
56286         "bp-asm.h".
56287         (strchr): Do not use BP_SYM.
56288         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
56289         "bp-asm.h".
56290         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
56291         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
56292         (_start): Do not use BP_SYM.
56293         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
56294         "bp-asm.h".
56295         (strcat): Do not use BP_SYM.
56296         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
56297         "bp-asm.h".
56298         (STRCMP): Do not use BP_SYM.
56299         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
56300         "bp-asm.h".
56301         (STRCPY): Do not use BP_SYM.
56302         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
56303         "bp-asm.h".
56304         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
56305         "bp-asm.h".
56306         (FUNCTION): Do not use BP_SYM.
56307         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
56308         weak_alias.
56309         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
56311 2013-02-17  Andreas Jaeger  <aj@suse.de>
56313         * time/Versions: Sort entries.
56314         * string/Versions: Likewise.
56315         * resolv/Versions: Likewise.
56316         * posix/Versions: Likewise.
56317         * iconv/Versions: Likewise.
56318         * elf/Versions: Likewise.
56319         * wcsmbs/Versions: Likewise.
56321 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56323         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
56324         loop termination condition.
56326         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
56327         variable to calculate EZ.
56328         (__sqr): Likewise.
56330         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
56331         the lower precision input.
56333 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
56335         [BZ #13550]
56336         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
56337         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
56338         (run-via-rtld-prefix): Do not handle %-bp tests.
56339         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
56340         (all-object-suffixes): Remove .ob.
56341         (bppfx): Remove variable.
56342         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
56343         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
56344         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
56345         [$(build-bounded) = yes] (libtype.ob): Likewise.
56346         * Makerules (elide-routines.ob): Remove variable.
56347         (do-tests-clean): Do not handle *-bp.out.
56348         (common-mostlyclean): Do not handle *-bp and *-bp.out.
56349         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
56350         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
56351         (tests): Do not include $(tests-bp.out).
56352         (xtests): Do not include $(xtests-bp.out).
56353         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
56354         [$(build-bounded) = yes] ($(addprefix
56355         $(objpfx),$(binaries-bounded))): Remove rule.
56356         ($(objpfx)%-bp.out): Remove rule.
56357         * config.make.in (build-bounded): Remove variable.
56358         * crypt/Makefile [$(build-bounded) = yes]
56359         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
56360         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
56361         append to variable.
56362         [$(build-bounded) = yes] (install-lib): Likewise.
56363         [$(build-bounded) = yes] (generated): Likewise.
56364         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
56365         Remove rule.
56366         * intl/Makefile [$(build-bounded) = yes]
56367         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
56368         * math/Makefile [$(build-bounded) = yes]
56369         ($(tests:%=$(objpfx)%-bp): Likewise.
56370         * misc/Makefile [$(build-bounded) = yes]
56371         ($(objpfx)tst-tsearch-bp): Likewise.
56372         * nptl/Makeconfig (bounded-thread-library): Remove variable.
56373         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
56374         Remove dependency.
56375         * string/Makefile (o-objects.ob): Remove variable.
56376         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
56377         (CFLAGS-.ob): Remove variable.
56378         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
56379         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
56380         both definitions of variable.
56381         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
56382         (ASFLAGS-.ob): Remove variable.
56384 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
56386         [BZ #13550]
56387         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
56388         Remove __BOUNDED_POINTERS__ from condition.
56389         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
56390         * string/bits/string2.h [!__NO_STRING_INLINES &&
56391         !__BOUNDED_POINTERS__]: Likewise.
56392         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
56393         Likewise.
56394         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
56395         Remove conditional code.
56396         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
56397         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
56398         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
56399         condition.
56401         [BZ #13550]
56402         * csu/libc-start.c: Do not include <bp-sym.h>.
56403         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
56404         * elf/dl-open.c: Do not include <bp-sym.h>.
56405         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
56406         * math/fegetenv.c: Do not include <bp-sym.h>.
56407         (fegetenv): Do not use BP_SYM in versioned symbols.
56408         * nptl/sysdeps/pthread/bits/libc-lockP.h
56409         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
56410         <bp-sym.h>.
56411         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56412         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
56413         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56414         (__pthread_mutex_destroy): Likewise.
56415         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56416         (__pthread_mutex_lock): Likewise.
56417         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56418         (__pthread_mutex_trylock): Likewise.
56419         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56420         (__pthread_mutex_unlock): Likewise.
56421         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56422         (__pthread_mutexattr_init): Likewise.
56423         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56424         (__pthread_mutexattr_destroy): Likewise.
56425         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56426         (__pthread_mutexattr_settype): Likewise.
56427         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56428         (__pthread_rwlock_init): Likewise.
56429         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56430         (__pthread_rwlock_destroy): Likewise.
56431         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56432         (__pthread_rwlock_rdlock): Likewise.
56433         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56434         (__pthread_rwlock_tryrdlock): Likewise.
56435         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56436         (__pthread_rwlock_wrlock): Likewise.
56437         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56438         (__pthread_rwlock_trywrlock): Likewise.
56439         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56440         (__pthread_rwlock_unlock): Likewise.
56441         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56442         (__pthread_key_create): Likewise.
56443         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56444         (__pthread_setspecific): Likewise.
56445         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56446         (__pthread_getspecific): Likewise.
56447         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
56448         Likewise.
56449         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56450         (_pthread_cleanup_push_defer): Likewise.
56451         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56452         (_pthread_cleanup_pop_restore): Likewise.
56453         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56454         (pthread_setcancelstate): Likewise.
56455         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
56456         <bp-sym.h>.
56457         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
56458         (memchr): Do not use BP_SYM in weak_alias.
56459         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
56460         (fegetenv): Do not use BP_SYM in versioned symbols.
56461         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
56462         (fesetenv): Do not use BP_SYM in versioned symbols.
56463         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
56464         (feupdateenv): Do not use BP_SYM in versioned symbols.
56465         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
56466         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
56467         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
56468         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
56469         (open64): Do not use BP_SYM in weak_alias.
56470         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
56471         (fegetenv): Do not use BP_SYM in versioned symbols.
56472         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
56473         (fesetenv): Do not use BP_SYM in versioned symbols.
56474         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
56475         (feupdateenv): Do not use BP_SYM in versioned symbols.
56476         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
56477         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
56478         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
56479         (feraiseexcept): Do not use BP_SYM in versioned symbols.
56480         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
56481         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
56482         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
56483         <bp-sym.h>.
56484         (__libc_start_main): Do not use BP_SYM.
56486 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
56488         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
56489         redundant return line.
56490         (norm): Likewise.
56491         (denorm): Likewise.
56492         (dbl_mp): Likewise.
56493         (sub_magnitudes): Likewise.
56494         (__add): Likewise.
56495         (__sub): Likewise.
56496         (__mul): Likewise.
56497         (__inv): Likewise.
56498         (__dvd): Likewise.
56499         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
56500         (norm): Likewise.
56501         (denorm): Likewise.
56502         (dbl_mp): Likewise.
56503         (sub_magnitudes): Likewise.
56504         (__add): Likewise.
56505         (__sub): Likewise.
56506         (__mul): Likewise.
56507         (__inv): Likewise.
56508         (__dvd): Likewise.
56510         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
56511         instead of __mul.
56512         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
56513         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
56514         (cc32): Likewise.
56516         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
56517         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
56518         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
56519         of __mul for squares.
56520         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
56521         function
56522         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
56523         Likewise.
56524         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
56525         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56527 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
56529         [BZ #13550]
56530         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
56531         code.
56532         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
56533         prototype or function definition.  Rename ubp_* variables and
56534         parameters.  Remove argv definitions conditional on
56535         [__BOUNDED_POINTERS__].
56536         * debug/backtrace.c (__backtrace): Do not use __unbounded.
56537         * elf/dl-runtime.c (_dl_fixup): Likewise.
56538         * include/set-hooks.h (RUN_HOOK): Likewise.
56539         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
56540         definition.
56541         * string/strcpy.c (strcpy): Do not use __unbounded.
56542         * sysdeps/generic/frame.h (struct layout): Likewise.
56543         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
56544         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
56545         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
56546         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
56547         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
56548         (__backtrace): Likewise.
56549         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
56550         use __ptrvalue.
56551         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
56552         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
56553         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
56554         Likewise.
56555         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
56556         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
56557         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
56558         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
56559         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
56560         Do not use __unbounded.
56561         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
56562         Rename __unboundedrlimits parameter to rlimits in prototype.
56563         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
56564         Do not use __unbounded.
56565         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
56566         not use __ptrvalue.
56567         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
56568         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
56569         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
56570         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
56571         __ptrvalue or __unbounded.
56572         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
56573         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
56574         use __unbounded.
56575         (__new_msgctl): Do not use __ptrvalue.
56576         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
56577         __unbounded.
56578         (__libc_msgrcv): Do not use __ptrvalue.
56579         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
56580         startup_info): Do not use __unbounded.
56581         (__libc_start_main): Likewise.  Rename ubp_* variables and
56582         parameters.  Remove argv definitions conditional on
56583         [__BOUNDED_POINTERS__].
56584         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
56585         __ptrvalue.
56586         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
56587         use __unbounded.
56588         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
56589         or __ptrvalue.
56590         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
56591         use __unbounded.
56592         (__new_shmctl): Do not use __ptrvalue.
56593         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
56594         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
56595         Likewise.
56596         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
56597         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
56598         (__libc_sigaction): Likewise.
56599         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
56600         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
56601         Likewise.
56602         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
56604 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
56606         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
56608         * string/mempcpy.c: Implement by calling memcpy.
56610 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
56612         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
56614         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
56615         evaluation.
56617         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
56618         values in the mantissa.
56620         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
56621         minimize writes to Z.
56622         (sub_magnitudes): Simplify code a bit.
56624 2013-02-12  Roland McGrath  <roland@hack.frob.com>
56626         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
56627         from the message.  The linker prefixes all warnings with that already.
56629 2013-02-12  Andreas Schwab  <schwab@suse.de>
56631         [BZ #15078]
56632         * posix/regexec.c (extend_buffers): Add parameter min_len.
56633         (check_matching): Pass minimum needed length.
56634         (clean_state_log_if_needed): Likewise.
56635         (get_subexp): Likewise.
56636         * posix/Makefile (tests): Add bug-regex34.
56637         (bug-regex34-ENV): Define.
56638         * posix/bug-regex34.c: New file.
56640         [BZ #11561]
56641         * posix/regcomp.c (parse_bracket_exp): When looking up collating
56642         elements compare against the byte sequence of it, not its name.
56643         * posix/Makefile (tests): Add bug-regex35.
56644         (bug-regex35-ENV): Define.
56645         * posix/bug-regex35.c: New file.
56647 2013-02-11  Tom de Vries  <tom@codesourcery.com>
56649         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
56650         comment.
56651         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
56652         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
56653         (CHECK_EOL): Add undef.
56655 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
56657         * bits/stdlib-bsearch.h: New file.
56658         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
56659         * stdlib/stdlib.h: Likewise.
56661 2013-02-11  Roland McGrath  <roland@hack.frob.com>
56663         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
56664         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
56665         declaration.
56666         * manual/search.texi (Array Search Function): Add missing const in
56667         lfind prototype.
56668         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
56669         declaration to use rlim_t.
56670         (Basic Scheduling Functions): Remove erroneous const from
56671         sched_getparam prototype.  Remove erroneous * from
56672         sched_get_priority_max and sched_get_priority_min prototypes.
56673         (Resource Usage): Fix summary @comment on vtimes to refer to
56674         sys/vtimes.h rather than vtimes.h.
56675         Add missing *s in vtimes prototype.
56676         (Limits on Resources): Fix ulimit prototype to return long int.
56677         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
56678         prototypes to use long int rather than double.
56679         (BSD Random): Fix initstate and setstate to use char *, not void *.
56680         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
56681         prototype to make second argument 'struct aiocb64 *const[]'.
56682         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
56683         (Status of AIO Operations): Remove erroneous const in aio_return and
56684         aio_return64 prototypes.
56685         (Synchronizing I/O): Fix sync prototype to return void.
56686         * manual/startup.texi (Suboptions): Remove an erroneous const in
56687         getsubopt prototype.
56688         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
56689         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
56690         use size_t rather than int.
56691         (Scanning All Users): Likewise for getpwent_r.
56692         (Setting Groups): Add missing const to setgroups prototype.
56693         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
56694         * manual/socket.texi (Host Names): Fix gethostbyaddr and
56695         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
56696         'const void *' rather than 'const char *'.
56697         (Host Address Functions): Likewise for inet_ntop.
56698         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
56699         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
56700         ssize_t for return value.
56701         (Sending Data): Likewise for send, sendto, sendmsg.
56702         (Socket Option Functions): Add a missing const in setsockopt prototype.
56703         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
56704         use wchar_t for the argument.
56705         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
56706         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
56707         take no arguments.
56708         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
56709         double/float/long double for second argument.
56710         Fix return types of significand, significandf, significandl.
56711         * manual/filesys.texi (Setting Permissions): Use mode_t for second
56712         argument in fchmod prototype.
56713         (File Owner): Use uid_t and gid_t in fchown prototype.
56714         (File Times): Add const to utimes, futimes, and lutimes prototypes.
56715         (Making Special Files): Use mode_t and dev_t in mknod prototype.
56716         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
56717         use 'const struct dirent **' as argument types to CMP function pointer
56718         argument.
56719         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
56720         (File Times): Fix summary magic @comment for struct utimbuf and utime
56721         to refer to utime.h, not time.h.
56722         * manual/string.texi (Argz Functions): Add missing const in
56723         argz_extract and argz_next prototypes.
56724         (Finding Tokens in a String): Likewise for basename.
56725         (String/Array Comparison): Fix typo in wcscasecmp prototype.
56726         (Copying and Concatenation): Fix typo in wmemmove prototype.
56727         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
56728         (Signal Stack): Remove erroneous const in sigstack prototype.
56729         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
56730         prototype.
56731         (Simple Calendar Time): Likewise for stime.
56732         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
56733         prototype.
56734         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
56735         say sys/sysctl.h instead.
56736         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
56737         and vsyslog prototypes.
56739 2013-02-11  Tom de Vries  <tom@codesourcery.com>
56741         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
56742         Remove.
56744 2013-02-11  Roland McGrath  <roland@hack.frob.com>
56746         * misc/sys/mman.h: Fix typo in mremap comment.
56748 2013-02-08  Roland McGrath  <roland@hack.frob.com>
56750         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
56751         the '\0' terminator.
56753 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
56755         [BZ #13550]
56756         * debug/segfault.c: Don't include <bp-checks.h>.
56757         * sysdeps/generic/bp-checks.h: Remove file.
56758         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
56759         (__GETDENTS): Don't use CHECK_N.
56760         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
56761         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
56762         (__getgroups): Don't use CHECK_N.
56763         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
56764         (setgroups): Don't use CHECK_N.
56765         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
56766         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
56767         (__libc_msgrcv): Don't use CHECK_N.
56768         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
56769         (__libc_msgsnd): Don't use CHECK_N.
56770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
56771         <bp-checks.h>.
56772         (__libc_pread): Don't use CHECK_N.
56773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
56774         include <bp-checks.h>.
56775         (__libc_pread64): Don't use CHECK_N.
56776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
56777         include <bp-checks.h>.
56778         (__libc_pwrite): Don't use CHECK_N.
56779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
56780         include <bp-checks.h>.
56781         (__libc_pwrite64): Don't use CHECK_N.
56782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
56783         <bp-checks.h>.
56784         (__libc_pread): Don't use CHECK_N.
56785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
56786         include <bp-checks.h>.
56787         (__libc_pread64): Don't use CHECK_N.
56788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
56789         include <bp-checks.h>.
56790         (__libc_pwrite): Don't use CHECK_N.
56791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
56792         include <bp-checks.h>.
56793         (__libc_pwrite64): Don't use CHECK_N.
56794         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
56795         (do_pread): Don't use CHECK_N.
56796         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
56797         (do_pread64): Don't use CHECK_N.
56798         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
56799         (do_pwrite): Don't use CHECK_N.
56800         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
56801         (do_pwrite64): Don't use CHECK_N.
56802         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
56803         (__libc_readv): Don't use CHECK_N.
56804         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
56805         (semop): Don't use CHECK_N.
56806         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
56807         <bp-checks.h>.
56808         (semtimedop): Don't use CHECK_N.
56809         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
56810         (__libc_pread): Don't use CHECK_N.
56811         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
56812         <bp-checks.h>.
56813         (__libc_pread64): Don't use CHECK_N.
56814         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
56815         <bp-checks.h>.
56816         (__libc_pwrite): Don't use CHECK_N.
56817         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
56818         <bp-checks.h>.
56819         (__libc_pwrite64): Don't use CHECK_N.
56820         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
56821         <bp-checks.h>.
56822         (__libc_msgrcv): Don't use CHECK_N.
56823         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
56824         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
56825         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
56826         (__libc_writev): Don't use CHECK_N.
56828 2013-02-08  Roland McGrath  <roland@hack.frob.com>
56830         * string/strcpy.c: Removed unused variable.
56832         * Makeconfig (+sysdep-includes): Define with := rather than =.
56833         Use an existing include/ subdir of each sysdeps dir before it.
56835 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
56837         * nscd/connection.c (register_traced_file): Comment function.
56838         [HAVE_INOTIFY] (union __inev): Define.
56839         [HAVE_INOTIFY] (inotify_check_files): New function.
56840         [HAVE_INOTIFY] (clear_db_cache): Likewise.
56841         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
56842         clear_db_cache.
56843         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
56845 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
56847         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
56848         loaded if not already and that a failure is permanent.
56850 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
56852         [BZ #15006]
56853         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
56854         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
56856 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
56858         [BZ #13550]
56859         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
56860         (CHECK_1_NULL_OK): Likewise.
56861         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
56862         (__fxstat): Do not use CHECK_1.
56863         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
56864         <bp-checks.h>.
56865         (___fxstat64): Do not use CHECK_1.
56866         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
56867         <bp-checks.h>.
56868         (__fxstatat): Do not use CHECK_1.
56869         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
56870         <bp-checks.h>.
56871         (__fxstatat64): Do not use CHECK_1.
56872         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
56873         <bp-checks.h>.
56874         (__fxstat): Do not use CHECK_1.
56875         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
56876         <bp-checks.h>.
56877         (__fxstatat): Do not use CHECK_1.
56878         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
56879         <bp-checks.h>.
56880         (__getresgid): Do not use CHECK_1.
56881         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
56882         <bp-checks.h>.
56883         (__getresuid): Do not use CHECK_1.
56884         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
56885         <bp-checks.h>.
56886         (__lxstat): Do not use CHECK_1.
56887         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
56888         <bp-checks.h>.
56889         (__old_msgctl): Do not use CHECK_1.
56890         (__new_msgctl): Likewise.
56891         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
56892         <bp-checks.h>.
56893         (__new_setrlimit): Do not use CHECK_1.
56894         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
56895         <bp-checks.h>.
56896         (__old_shmctl): Do not use CHECK_1.
56897         (__new_shmctl): Likewise.
56898         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
56899         <bp-checks.h>.
56900         (__xstat): Do not use CHECK_1.
56901         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
56902         (__lxstat): Do not use CHECK_1.
56903         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
56904         <bp-checks.h>.
56905         (___lxstat64): Do not use CHECK_1.
56906         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
56907         (__old_msgctl): Do not use CHECK_1.
56908         (__new_msgctl): Likewise.
56909         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
56910         <bp-checks.h>.
56911         (__gettimeofday): Do not use CHECK_1.
56912         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
56913         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
56914         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
56915         <bp-checks.h>.
56916         (__gettimeofday): Do not use CHECK_1.
56917         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
56918         (__old_shmctl): Do not use CHECK_1_NULL_OK.
56919         (__new_shmctl): Do not use CHECK_1.
56920         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
56921         <bp-checks.h>.
56922         (do_sigtimedwait): Do not use CHECK_1.
56923         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
56924         <bp-checks.h>.
56925         (do_sigwaitinfo): Do not use CHECK_1.
56926         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
56927         <bp-checks.h>.
56928         (msgctl): Do not use CHECK_1.
56929         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
56930         <bp-checks.h>.
56931         (shmctl): Do not use CHECK_1.
56932         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
56933         (ustat): Do not use CHECK_1.
56934         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
56935         <bp-checks.h>.
56936         (__fxstat): Do not use CHECK_1.
56937         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
56938         <bp-checks.h>.
56939         (__fxstatat): Do not use CHECK_1.
56940         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
56941         <bp-checks.h>.
56942         (__lxstat): Do not use CHECK_1.
56943         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
56944         <bp-checks.h>.
56945         (__xstat): Do not use CHECK_1.
56946         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
56947         (__xstat): Do not use CHECK_1.
56948         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
56949         (___xstat64): Do not use CHECK_1.
56951         [BZ #13550]
56952         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
56953         definitions.
56954         (CHECK_BOUNDS_HIGH): Likewise.
56955         * string/strcpy.c: Do not include <bp-checks.h>.
56956         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
56958 2013-02-07  Roland McGrath  <roland@hack.frob.com>
56960         * nscd/nscd-client.h (__nscd_drop_map_ref):
56961         Add __attribute__ ((unused)).
56962         * nis/nss-nisplus.h (niserr2nss): Likewise.
56964         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
56965         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
56967         * csu/libc-tls.c (init_static_tls, init_slotinfo):
56968         Remove inline keyword.
56969         * include/rounding-mode.h (round_away): Likewise.
56970         * libio/wfileops.c (adjust_wide_data): Likewise.
56971         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
56972         (__m128i_strloadu_tolower): Likewise.
56973         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
56974         (__m128i_strloadu_tolower): Likewise.
56975         * time/mktime.c (ydhms_diff): Likewise.
56976         * locale/elem-hash.h (elem_hash): Likewise.
56977         * locale/setlocale.c (setdata): Likewise.
56978         * posix/regex_internal.h (re_string_char_size_at): Likewise.
56979         (re_string_wchar_at): Likewise.
56980         (bitset_not, bitset_merge, bitset_mask): Likewise.
56981         [!(__GNUC__ > 3)] (inline): Remove macro.
56982         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
56983         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
56984         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
56985         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
56986         * string/memcmp.c (memcmp_bytes): Likewise.
56987         * locale/programs/locarchive.c (compute_hashval): Likewise.
56988         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
56989         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
56990         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
56991         * nss/getent.c (print_rpc, print_protocols): Likewise.
56992         (print_passwd, print_group, print_aliases): Likewise.
56993         * nis/nss-nisplus.h (niserr2nss): Likewise.
56994         * nscd/connections.c (restart_p): Likewise.
56995         Change return type to bool.
56997 2013-02-05  Roland McGrath  <roland@hack.frob.com>
56999         * Makeconfig (all-Depend-files): Add existing
57000         $(sorted-subdirs:=/Depend) files.
57001         (all-subdirs): Remove nss.
57002         * sysdeps/unix/inet/Subdirs: Add it here instead.
57003         * hesiod/Depend: New file.
57005         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
57006         instead of calling alloca.
57008         * io/lseek.c (__lseek): Rename to __libc_lseek.
57009         Define __lseek as an alias.
57011         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
57013 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
57015         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
57016         else clause and remove check for non-standard endianness.
57018 2013-02-04  David S. Miller  <davem@davemloft.net>
57020         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57022 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
57024         [BZ #13550]
57025         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
57026         (__ubp_memchr): Remove prototype.
57027         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
57028         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
57029         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
57030         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
57031         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
57032         Remove alias.
57033         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
57034         (__ubp_memchr): Likewise.
57035         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
57036         (__ubp_memchr): Likewise.
57037         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
57038         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
57039         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
57040         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
57041         CHECK_STRING.
57042         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
57043         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
57044         (__getcwd): Do not use CHECK_STRING.
57045         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
57046         <bp-checks.h>.
57047         (__real_chown): Do not use CHECK_STRING.
57048         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
57049         <bp-checks.h>.
57050         (fchownat): Do not use CHECK_STRING.
57051         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
57052         CHECK_STRING.
57053         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
57054         <bp-checks.h>.
57055         (__lchown): Do not use CHECK_STRING.
57056         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
57057         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
57058         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
57059         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
57060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
57061         include <bp-checks.h>.
57062         (truncate64): Do not use CHECK_STRING.
57063         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
57064         <bp-checks.h>.
57065         (__real_chown): Do not use CHECK_STRING.
57066         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
57067         <bp-checks.h>.
57068         (__lchown): Do not use CHECK_STRING.
57069         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
57070         <bp-checks.h>.
57071         (__chown): Do not use CHECK_STRING.
57072         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
57073         <bp-checks.h>.
57074         (truncate64): Do not use CHECK_STRING.
57075         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
57076         Likewise.
57077         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
57078         (__xmknod): Do not use CHECK_STRING.
57079         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
57080         <bp-checks.h>.
57081         (__xmknodat): Do not use CHECK_STRING.
57082         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
57083         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
57085 2013-02-04  Andreas Schwab  <schwab@suse.de>
57087         [BZ #14142]
57088         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
57089         * include/netdb.h: Likewise for h_errno.
57090         * elf/tst-stackguard1.c: Include <tls.h>.
57092 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
57094         * elf/link.h (struct link_map): Extend the l_addr comment.
57095         * include/link.h (struct link_map): Likewise.
57097 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
57099         [BZ #13550]
57100         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
57101         (BOUNDED_1): Remove macro.
57102         * debug/backtrace.c: Don't include <bp-checks.h>.
57103         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
57104         (__backtrace): Likewise.
57105         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
57106         <bp-checks.h>.
57107         (__backtrace): Don't use BOUNDED_1.
57108         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
57109         <bp-checks.h>.
57110         (__backtrace): Don't use BOUNDED_1.
57111         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
57112         (__backtrace): Don't use BOUNDED_1.
57113         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
57114         (shmat): Don't use BOUNDED_N.
57116 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
57118         [BZ #13550]
57119         * sysdeps/generic/bp-start.h: Remove file.
57120         * csu/libc-start.c: Don't include <bp-start.h>.
57121         (LIBC_START_MAIN): Set up __environ directly instead of using
57122         INIT_ARGV_and_ENVIRON.
57123         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
57124         <bp-start.h>.
57126         [BZ #13550]
57127         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
57128         definitions.
57129         (CHECK_FCNTL): Likewise.
57130         (CHECK_N_PAGES): Likewise.
57132         [BZ #13550]
57133         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
57134         definitions.
57135         (CHECK_SIGSET_NULL_OK): Likewise.
57136         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
57137         <bp-checks.h>.
57138         (sigpending): Don't use CHECK_SIGSET.
57139         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
57140         <bp-checks.h>.
57141         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
57142         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
57143         <bp-checks.h>.
57144         (do_sigsuspend): Don't use CHECK_SIGSET.
57145         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
57146         use CHECK_SIGSET.
57147         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
57148         (do_sigwait): Don't use CHECK_SIGSET.
57149         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
57150         use CHECK_SIGSET.
57151         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
57152         include <bp-checks.h>.
57153         (sigpending): Don't use CHECK_SIGSET.
57154         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
57155         include <bp-checks.h>.
57156         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
57157         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
57158         <bp-checks.h>.
57159         (sigpending): Don't use CHECK_SIGSET.
57160         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
57161         <bp-checks.h>.
57162         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
57164         [BZ #13550]
57165         * sysdeps/generic/bp-semctl.h: Remove file.
57166         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
57167         <bp-checks.h> and <bp-semctl.h>.
57168         (__old_semctl): Don't use CHECK_SEMCTL.
57169         (__new_semctl): Likewise.
57170         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
57171         and <bp-semctl.h>.
57172         (__old_semctl): Don't use CHECK_SEMCTL.
57173         (__new_semctl): Likewise.
57174         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
57175         <bp-checks.h> and <bp-semctl.h>.
57176         (__old_semctl): Don't use CHECK_SEMCTL.
57177         (__new_semctl): Likewise.
57178         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
57179         <bp-checks.h> and <bp-semctl.h>.
57180         (semctl): Don't use CHECK_SEMCTL.
57182         [BZ #13550]
57183         * Makerules (elide-bp-thunks): Remove variable.
57184         (elide-routines.oS): Don't use $(elide-bp-thunks).
57185         (elide-routines.os): Likewise.
57186         (elide-routines.o): Likewise.
57187         (elide-routines.op): Likewise.
57188         (elide-routines.og): Likewise.
57189         (objects): Don't use $(bp-thunks).
57190         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
57191         include.
57192         (common-generated): Do not add s-proto-bp.d.
57193         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
57194         (int): Likewise.
57195         (typ): Likewise.
57196         Do not generate makefile rules for bounded-pointer thunks.
57197         * sysdeps/generic/bp-thunks.h: Remove file.
57198         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
57199         * sysdeps/unix/s-proto-bp.S: Likewise.
57201         [BZ #15062]
57202         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
57203         parts of result separately when argument is not close to line from
57204         -i to i and one part of argument is small.
57205         * math/k_casinhf.c (__kernel_casinhf): Likewise.
57206         * math/k_casinhl.c (__kernel_casinhl): Likewise.
57207         * math/libm-test.inc (cacos_test): Add more tests.
57208         (casin_test): Likewise.
57209         (casinh_test): Likewise.
57210         * sysdeps/i386/fpu/libm-test-ulps: Update.
57211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57213 2013-01-31  David S. Miller  <davem@davemloft.net>
57215         * po/de.po: Update from translation team.
57217 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
57219         * time/tzfile.c: Include stdint.h for SIZE_MAX.
57221 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
57223         * configure.in (_AC_PROG_CC_C89): New definition.
57224         * configure: Regenerate.
57226         * configure.in (AC_PROG_CPP): New definition.
57227         * configure: Regenerate.
57229 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
57231         * debug/tst-backtrace.h: New file.
57232         * debug/tst-backtrace2.c: Include tst-backtrace.h.
57233         (ret): Remove variable.
57234         (x): Likewise.
57235         (FAIL): Remove macro.
57236         (NO_INLINE): Likewise.
57237         (fn1): Use match function instead of strstr.
57238         * debug/tst-backtrace3.c: Include tst-backtrace.h.
57239         (ret): Remove variable.
57240         (x): Likewise.
57241         (FAIL): Remove macro.
57242         (NO_INLINE): Likewise.
57243         (fn): Use match function instead of strstr.
57244         * debug/tst-backtrace4.c: Include tst-backtrace.h.
57245         (ret): Remove variable.
57246         (x): Likewise.
57247         (FAIL): Remove macro.
57248         (NO_INLINE): Likewise.
57249         (handle_signal): Use match function instead of strstr.
57250         * debug/tst-backtrace5.c: Include tst-backtrace.h.
57251         (ret): Remove variable.
57252         (x): Likewise.
57253         (FAIL): Remove macro.
57254         (NO_INLINE): Likewise.
57255         (handle_signal): Use match function instead of strstr.
57257 2013-01-23  Roland McGrath  <roland@hack.frob.com>
57259         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
57261 2013-01-23  David S. Miller  <davem@davemloft.net>
57263         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
57264         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
57265         argument of CAS if possible.
57266         * sysdeps/sparc/sparc64/bits/atomic.h
57267         (__arch_compare_and_exchange_val_32_acq): Likewise.
57268         (__arch_compare_and_exchange_val_64_acq): Likewise.
57270 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
57272         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
57273         * sysdeps/posix/ulimit.c: ... this.
57274         Include <limits.h>.
57275         * sysdeps/unix/bsd/ulimit.c: Remove file.
57277 2013-01-23  Adam Conrad  <adconrad@0c3.net>
57279         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
57280         (LDFLAGS-tst-array5): Likewise.
57282 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
57284         [BZ #15036]
57285         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
57286         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
57287         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
57288         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
57290 2013-01-21  David S. Miller  <davem@davemloft.net>
57292         * sysdeps/sparc/backtrace.c: New file.
57293         * sysdeps/sparc/sparc32/backtrace.h: New file.
57294         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
57295         * sysdeps/sparc/sparc64/backtrace.h: New file.
57296         * sysdeps/sparc/sparc64/backtrace.c: Delete.
57297         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
57298         -funwind-tables.
57300 2013-01-21  Andreas Schwab  <schwab@suse.de>
57302         [BZ #15020]
57303         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
57304         closed its stdout.
57306 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
57308         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
57309         "mpa2.h".
57310         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
57312 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
57313             Mark Mitchell  <mark@codesourcery.com>
57314             Tom de Vries  <tom@codesourcery.com>
57315             Paul Pluzhnikov  <ppluzhnikov@google.com>
57317         * debug/tst-backtrace2.c: New file.
57318         * debug/tst-backtrace3.c: Likewise.
57319         * debug/tst-backtrace4.c: Likewise.
57320         * debug/tst-backtrace5.c: Likewise.
57321         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
57322         (CFLAGS-tst-backtrace3.c): Likewise.
57323         (CFLAGS-tst-backtrace4.c): Likewise.
57324         (CFLAGS-tst-backtrace5.c): Likewise.
57325         (LDFLAGS-tst-backtrace2): Likewise.
57326         (LDFLAGS-tst-backtrace3): Likewise.
57327         (LDFLAGS-tst-backtrace4): Likewise.
57328         (LDFLAGS-tst-backtrace5): Likewise.
57329         (tests): Add new tests tst-backtrace2, tst-backtrace3,
57330         tst-backtrace4 and tst-backtrace5.
57332 2013-01-18  Anton Blanchard  <anton@samba.org>
57333             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57335         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
57336         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
57337         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
57338         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
57339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
57340         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
57341         "+r" and remove output regs list as redundant.  Add explicit inline
57342         asm to specify register of return val to work around compiler codegen
57343         bug.  Remove (int) cast on return value.  Add return type parameter to
57344         use in macro so that this macro does not truncate return value for
57345         64-bit values.
57346         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
57347         pass to INTERNAL_VSYSCALL_NCS.
57348         (INLINE_VSYSCALL): Add 'long int' as return type to
57349         INTERNAL_VSYSCALL_NCS macro invocation.
57350         (INTERNAL_VSYSCALL): Add 'long int' as return type to
57351         INTERNAL_VSYSCALL_NCS macro invocation.
57352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
57354 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
57356         [BZ #14496]
57357         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
57358         Fix application of SIMD FP exception mask.
57360         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
57361         mp_no from a power of two.
57362         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
57363         __mpexp_twomm1.  Use __pow_mp.
57365         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
57366         multiplication.
57368 2013-01-17  David S. Miller  <davem@davemloft.net>
57370         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57372 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
57374         [BZ #15023]
57375         * include/complex.h: Condition contents on [!_COMPLEX_H].
57376         (__kernel_casinhf): New prototype.
57377         (__kernel_casinh): Likewise.
57378         (__kernel_casinhl): Likewise.
57379         * math/Makefile (libm_calls): Add k_casinh.
57380         * math/k_casinh.c: New file.
57381         * math/k_casinhf.c: Likewise.
57382         * math/k_casinhl.c: Likewise.
57383         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
57384         finite nonzero arguments.
57385         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
57386         finite nonzero arguments.
57387         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
57388         finite nonzero arguments.
57389         * math/s_casinh.c: Do not include <float.h>.
57390         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
57391         * math/s_casinhf.c: Do not include <float.h>.
57392         (__casinhf): Move code for finite nonzero arguments to
57393         k_casinhf.c.
57394         * math/s_casinhl.c: Do not include <float.h>.
57395         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
57396         redefine.
57397         (__casinhl): Move code for finite nonzero arguments to
57398         k_casinhl.c.
57399         * math/libm-test.inc (cacos_test): Add more tests.
57400         * sysdeps/i386/fpu/libm-test-ulps: Update.
57401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57403 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
57405         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
57406         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
57407         [!HAVE_MREMAP]: Remove [defined linux] case.
57408         * malloc/arena.c: Do not include <malloc-sysdep.h>.
57410 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
57412         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
57414 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
57416         * elf/elf.h (R_386_SIZE32): New relocation.
57417         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
57418         R_386_SIZE32.
57419         (elf_machine_rela): Likewise.
57420         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
57421         R_X86_64_SIZE64 and R_X86_64_SIZE32.
57423 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
57425         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
57426         (FP_FAST_FMA): Do not define.
57427         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
57428         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
57429         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
57430         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
57431         !_SOFT_FLOAT]: Likewise.
57432         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
57433         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
57434         value.
57435         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
57436         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
57437         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
57438         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
57439         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
57440         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
57441         file.
57443 2013-01-16  Andreas Schwab  <schwab@suse.de>
57445         [BZ #14327]
57446         * include/stdlib.h (__mktemp): Add declaration.
57447         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
57448         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
57450 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57452         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
57453         definitions.
57454         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
57455         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
57456         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
57457         definitions here.
57458         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
57459         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
57460         definitions.
57461         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
57462         and ONE.
57463         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
57464         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
57465         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
57466         definitions.
57467         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
57468         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
57469         definitions.
57470         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
57472         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
57474 2013-01-15  David S. Miller  <davem@davemloft.net>
57476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
57477         trunc{,f} to libm-sysdep_routes.
57478         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
57479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
57480         file.
57481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
57482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
57483         file.
57484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
57485         file.
57486         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
57487         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
57488         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
57489         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
57490         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
57491         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
57492         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
57493         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
57495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
57496         nearbyint{,f} to libm-sysdep_routes.
57497         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
57498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
57499         New file.
57500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
57501         file.
57502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
57503         New file.
57504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
57505         file.
57506         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
57507         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
57508         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
57509         file.
57510         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
57511         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
57512         file.
57513         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
57514         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
57515         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
57517         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
57518         libc_feholdexcept and libc_fesetenv.
57520 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
57522         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
57524 2013-01-14  David S. Miller  <davem@davemloft.net>
57526         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
57527         (SPARC_ASM_VIS2_IFUNC): Likewise.
57528         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
57529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
57530         use of 'siam' instruction.
57531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
57532         Likewise.
57533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
57534         Likewise.
57535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
57536         Likewise.
57537         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
57538         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
57539         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
57540         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
57541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
57542         file.
57543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
57544         file.
57545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
57546         file.
57547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
57548         file.
57549         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
57550         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
57551         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
57552         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
57553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
57554         new VIS2 routines.
57555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
57556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
57557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
57558         Likewise.
57559         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
57560         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
57561         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
57562         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
57563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
57564         routines to libm-sysdep_routines.
57565         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
57567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
57568         fdim/fdimf to libm-sysdep_routines.
57569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
57570         file.
57571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
57572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
57573         file.
57574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
57575         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
57576         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
57577         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
57578         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
57579         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
57580         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
57582 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
57584         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
57585         to optimize copies.
57587         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
57588         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
57589         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
57591         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
57592         local variable MPTWO.
57593         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
57594         Likewise.
57596 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
57598         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
57599         GLOB_NOESCAPE.
57601 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
57603         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
57605 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
57607         * manual/pattern.texi (glob_t): Document gl_flags.
57608         (glob64_t): Likewise.
57610 2013-01-11  David S. Miller  <davem@davemloft.net>
57612         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
57613         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
57614         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
57615         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
57616         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
57617         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
57618         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
57619         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
57620         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
57621         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
57622         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
57623         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
57624         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
57626         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
57627         sparc V9 rather than using V8 code.
57628         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
57629         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
57631         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
57632         Move to...
57633         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
57634         Here.
57636 2013-01-11  Roland McGrath  <roland@hack.frob.com>
57638         [BZ #14941]
57639         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
57640         not in the main loop.
57641         * configure: Regenerated.
57643 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
57645         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
57646         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
57647         to just #else.
57648         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
57649         [!__GLIBC_HAVE_LONG_LONG] case.
57650         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
57651         condition to just #else.
57652         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
57653         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
57654         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
57655         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
57656         unconditional.
57657         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
57658         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
57659         #elif condition to just #else.
57660         * sysdeps/unix/sysv/linux/sys/sysmacros.h
57661         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
57662         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
57663         #elif condition to just #else.
57665 2013-01-11  Steve Ellcey  <sellcey@mips.com>
57667         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
57668         (EF_MIPS_ARCH_64): Fix value.
57669         (EF_MIPS_ARCH_32R2): New.
57670         (EF_MIPS_ARCH_64R2): New.
57672 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
57674         * Makeconfig (+link-pie-before-libc): New.
57675         (+link-pie-after-libc): Likewise.
57676         (+link-pie-tests): Likewise.
57677         (+link-pie): Rewritten.
57678         (link-before-libc): Remove $(config-LDFLAGS).
57679         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
57680         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
57681         (config-LDFLAGS): Renamed to ...
57682         (rtld-LDFLAGS): This.
57683         (rtld-tests-LDFLAGS): New macro.
57684         (link-libc-rpath-link): Likewise.
57685         (link-libc-tests-rpath-link): Likewise.
57686         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
57687         (link-libc): Prepand $(link-libc-rpath-link).
57688         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
57689         (test-program-prefix): New macro.
57690         (test-via-rtld-prefix): Likewise.
57691         (test-program-cmd): Likewise.
57692         (host-test-program-cmd): Likewise.
57693         * Makefile ($(common-objpfx)testrun.sh): Replace
57694         $(run-program-prefix) with $(test-program-prefix).
57695         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
57696         $(rtld-LDFLAGS).
57697         ($(common-objpfx)shlib.lds): Likewise.
57698         (build-module-helper): Likewise.
57699         ($(common-objpfx)format.lds): Likewise.
57700         * Rules (binaries-pie-tests): New.
57701         (binaries-pie-notests): Likewise.
57702         (binaries-pie): Rewritten.
57703         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
57704         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
57705         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
57706         (make-test-out): Replace $(host-built-program-cmd) with
57707         $(host-test-program-cmd).
57708         * config.make.in (build-hardcoded-path-in-tests): New variable.
57709         * configure.in (--enable-hardcoded-path-in-tests): New configure
57710         option.
57711         (hardcoded_path_in_tests): New AC_SUBST.
57712         * configure: Regenerated.
57713         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
57714         $(built-program-cmd) with $(test-program-cmd).
57715         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
57716         (test_program_cmd): This.
57717         * elf/Makefile ($(objpfx)order.out): Run test with
57718         $(test-program-prefix).
57719         ($(objpfx)order2.out): Likewise.
57720         ($(objpfx)tst-initorder.out): Likewise.
57721         ($(objpfx)tst-initorder2.out): Likewise.
57722         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
57723         $(test-program-cmd).
57724         ($(objpfx)tst-array1-static.out): Likewise.
57725         ($(objpfx)tst-array2.out): Likewise.
57726         ($(objpfx)tst-array3.out): Likewise.
57727         ($(objpfx)tst-array4.out): Likewise.
57728         ($(objpfx)tst-array5.out): Likewise.
57729         ($(objpfx)tst-array5-static.out): Likewise.
57730         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
57731         $(test-program-cmd).
57732         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
57733         $(run-program-prefix) with $(test-program-prefix).
57734         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
57735         (test_program_prefix): This.
57736         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
57737         $(run-program-prefix) with $(test-program-prefix).
57738         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
57739         (test_program_prefix): This.
57740         * iconvdata/tst-tables.sh: Likewise.
57741         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
57742         $(run-program-prefix) with $(test-program-prefix).
57743         ($(objpfx)tst-translit.out): Likewise.
57744         ($(objpfx)tst-gettext2.out): Likewise.
57745         ($(objpfx)tst-gettext4.out): Likewise.
57746         ($(objpfx)tst-gettext6.out): Likewise.
57747         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
57748         (test_program_prefix): This.
57749         * intl/tst-gettext2.sh: Likewise.
57750         * intl/tst-gettext4.sh  Likewise.
57751         * intl/tst-gettext6.sh: Likewise.
57752         * intl/tst-translit.sh: Likewise.
57753         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
57754         with $(test-program-cmd).
57755         * libio/Makefile ($(objpfx)test-freopen.out): Replace
57756         $(run-program-prefix) with $(test-program-prefix).
57757         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
57758         (test_program_prefix): This.
57759         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
57760         $(run-program-prefix) with $(test-program-prefix).
57761         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
57762         (test_program_prefix): This.
57763         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
57764         * posix/Makefile ($(objpfx)globtest.out): Replace
57765         $(run-via-rtld-prefix) and $(test-wrapper) with
57766         $(test-program-prefix) and $(test-via-rtld-prefix).
57767         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
57768         $(test-program-prefix).
57769         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
57770         $(host-test-program-cmd).
57771         (tst-spawn-ARGS): Likewise.
57772         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
57773         $(test-program-prefix).
57774         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
57775         (test_via_rtld_prefix): This.
57776         (test_wrapper): Renamed to ...
57777         (test_program_prefix): This.
57778         (run_program_prefix): Replaced by test_program_prefix.
57779         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
57780         (test_program_prefix): This.
57781         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
57782         with $(host-test-program-cmd).
57783         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
57784         $(run-program-prefix) with $(test-program-prefix).
57785         ($(objpfx)tst-printf.out): Likewise.
57786         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
57787         $(test-program-cmd).
57788         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
57789         (test_program_prefix): This.
57790         * stdio-common/tst-unbputc.sh: Likewise.
57791         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
57792         $(run-program-prefix) with $(test-program-prefix).
57793         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
57794         (test_program_prefix): This.
57795         * string/Makefile ($(objpfx)tst-svc.out):  Replace
57796         $(built-program-cmd) with $(test-program-cmd).
57798 2013-01-11  Andreas Jaeger  <aj@suse.de>
57800         [BZ #15003]
57801         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
57802         value. Sync with Linux 3.7.
57804 2013-01-10  David S. Miller  <davem@davemloft.net>
57806         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
57807         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
57808         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
57810 2013-01-10  Roland McGrath  <roland@hack.frob.com>
57812         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
57813         never set.
57814         * configure: Regenerated.
57816 2013-01-10  David S. Miller  <davem@davemloft.net>
57818         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
57819         sparc V9 rather than using V8 code.
57820         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
57821         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
57823 2013-01-10  Roland McGrath  <roland@hack.frob.com>
57825         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
57826         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
57827         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
57828         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
57829         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
57830         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
57831         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
57832         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
57833         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
57834         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
57835         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
57836         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
57837         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
57838         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
57839         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
57840         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
57841         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
57842         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
57843         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
57844         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
57845         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
57846         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
57847         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
57848         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
57849         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
57850         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
57851         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
57853 2013-01-10  David S. Miller  <davem@davemloft.net>
57855         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57857 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
57859         * posix/Makefile (tests-static): New variable.
57860         (tests): Add $(tests-static).
57861         (tst-exec-static-ARGS): New variable.
57862         (tst-spawn-static-ARGS): Likewise.
57863         * posix/tst-exec-static.c: New file.
57864         * posix/tst-spawn-static.c: Likewise.
57865         * posix/tst-exec.c: Support run directly.
57866         * posix/tst-spawn.c: Likewise.
57868 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
57870         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
57871         long.
57872         * math/bits/mathcalls.h (llrint): Likewise.
57873         (llround): Likewise.
57874         * stdlib/stdlib.h (struct drand48_data): Likewise.
57875         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
57876         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
57877         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
57878         Likewise.
57879         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
57880         Likewise.
57881         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
57882         (elf_greg_t): Likewise.
57883         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
57884         (__jmp_buf): Likewise.
57885         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
57886         definitions.
57887         (llrint): Likewise, for all definitions.
57888         (llrintl): Likewise.
57890         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
57891         Remove [__GNUC__] condition.
57892         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
57893         condition to just [__USE_ISOC99].
57894         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
57896 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
57898         [BZ #14200]
57899         * sysdeps/unix/sysv/linux/x86/bits/environments.h
57900         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
57901         defined.
57902         (_POSIX_V6_ILP32_OFF32): Likewise.
57903         (_XBS5_ILP32_OFF32): Likewise.
57904         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
57905         (__ILP32_OFFBIG_LDFLAGS): Likewise.
57907 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
57909         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
57911         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
57912         doubles __mpexp_twomm1.  Adjust usage.
57913         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
57914         Remove.
57916 2013-01-10  Andreas Schwab  <schwab@suse.de>
57918         [BZ #14964]
57919         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
57920         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
57922 2013-01-09  David S. Miller  <davem@davemloft.net>
57924         [BZ #15003]
57925         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
57926         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
57927         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
57928         (TCP_FASTOPEN): Define.
57929         (tcp_repair_opt): New structure.
57930         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
57931         enum values.
57932         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
57933         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
57934         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
57935         (tcp_cookie_transactions): New structure.
57937 2013-01-09  Anton Blanchard  <anton@samba.org>
57939         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
57940         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
57941         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
57942         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
57944 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
57946         * include/features.h (__USE_ANSI): Remove.
57948 2013-01-09  Roland McGrath  <roland@hack.frob.com>
57950         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
57952         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
57954 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
57956         * sysdeps/s390/fpu/libm-test-ulps: Update.
57958         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57960         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
57961         (__acr): Likewise.
57962         (__cpy): Likewise.
57963         (norm): Likewise.
57964         (denorm): Likewise.
57965         (__mp_dbl): Likewise.
57966         (__dbl_mp): Likewise.
57967         (add_magnitudes): Likewise.
57968         (sub_magnitudes): Likewise.
57969         (__add): Likewise.
57970         (__sub): Likewise.
57971         (__mul): Likewise.
57972         (__inv): Likewise.
57973         (__dvd): Likewise.
57974         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
57975         (__acr): Likewise.
57976         (__cpy): Likewise.
57977         (norm): Likewise.
57978         (denorm): Likewise.
57979         (__mp_dbl): Likewise.
57980         (__dbl_mp): Likewise.
57981         (add_magnitudes): Likewise.
57982         (sub_magnitudes): Likewise.
57983         (__add): Likewise.
57984         (__sub): Likewise.
57985         (__mul): Likewise.
57986         (__inv): Likewise.
57987         (__dvd): Likewise.
57988         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
57989         (__acr): Likewise.
57990         (__cpy): Likewise.
57991         (norm): Likewise.
57992         (denorm): Likewise.
57993         (__mp_dbl): Likewise.
57994         (__dbl_mp): Likewise.
57995         (add_magnitudes): Likewise.
57996         (sub_magnitudes): Likewise.
57997         (__add): Likewise.
57998         (__sub): Likewise.
57999         (__mul): Likewise.
58000         (__inv): Likewise.
58001         (__dvd): Likewise.
58003 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
58005         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
58006         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
58007         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
58008         2 && __USE_EXTERN_INLINES]: Likewise.
58010 2013-01-08  Andreas Jaeger  <aj@suse.de>
58012         [BZ# 14985]
58013         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
58014         Remove.
58015         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
58016         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
58018 2013-01-07  Anton Blanchard  <anton@samba.org>
58020         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
58021         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
58022         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
58023         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
58024         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
58025         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
58026         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
58027         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
58028         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
58029         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
58030         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
58031         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
58032         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
58033         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
58034         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
58035         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
58036         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
58037         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
58038         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
58039         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
58040         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
58041         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
58042         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
58043         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
58044         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
58045         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
58046         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
58047         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
58048         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
58049         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
58050         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
58051         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
58052         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
58053         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
58054         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
58055         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
58056         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
58057         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
58058         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
58059         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
58060         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
58061         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58062         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
58064 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
58066         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
58067         (__MALLOC_PMT): Likewise.
58068         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
58069         [__GNUC__], only on [_LIBC].
58070         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
58071         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
58072         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
58073         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
58074         forward declaration.
58075         (realloc_hook_ini): Likewise.
58076         (memalign_hook_ini): Likewise.
58077         (__libc_memalign): Do not use __MALLOC_PMT in variable
58078         declaration.
58079         (__libc_valloc): Likewise.
58080         (__libc_pvalloc): Likewise.
58081         (__libc_calloc): Likewise.
58082         (__posix_memalign): Likewise.
58084         [BZ #14996]
58085         * math/s_casinh.c: Include <float.h>.
58086         (__casinh): Do not do computation with squaring and square root
58087         for large arguments.
58088         * math/s_casinhf.c: Include <float.h>.
58089         (__casinhf): Do not do computation with squaring and square root
58090         for large arguments.
58091         * math/s_casinhl.c: Include <float.h>.
58092         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
58093         (__casinhl): Do not do computation with squaring and square root
58094         for large arguments.
58095         * math/libm-test.inc (casin_test): Add more tests.
58096         (casinh_test): Likewise.
58097         * sysdeps/i386/fpu/libm-test-ulps: Update.
58098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58100 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
58102         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
58103         (__x86_64_raw_data_cache_size): Likewise.
58104         (__x86_64_data_cache_size_half): Likewise.
58105         (__x86_64_raw_data_cache_size_half): Likewise.
58106         (__x86_64_shared_cache_size): Likewise.
58107         (__x86_64_raw_shared_cache_size): Likewise.
58108         (__x86_64_shared_cache_size_half): Likewise.
58109         (__x86_64_raw_shared_cache_size_half): Likewise.
58110         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
58111         to ...
58112         (__x86_data_cache_size): This.
58113         (__x86_64_raw_data_cache_size): Renamed to ...
58114         (__x86_raw_data_cache_size): This.
58115         (__x86_64_data_cache_size_half): Renamed to ...
58116         (__x86_data_cache_size_half): This.
58117         (__x86_64_raw_data_cache_size_half): Renamed to ...
58118         (__x86_raw_data_cache_size_half): This.
58119         (__x86_64_shared_cache_size): Renamed to ...
58120         (__x86_shared_cache_size): This.
58121         (__x86_64_raw_shared_cache_size): Renamed to ...
58122         (__x86_raw_shared_cache_size): This.
58123         (__x86_64_shared_cache_size_half): Renamed to ...
58124         (__x86_shared_cache_size_half): This.
58125         (__x86_64_raw_shared_cache_size_half): Renamed to ...
58126         (__x86_raw_shared_cache_size_half): This.
58127         * sysdeps/x86_64/memcpy.S: Updated.
58128         * sysdeps/x86_64/memset.S: Likewise.
58129         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
58130         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
58131         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
58133 2013-01-04  David S. Miller  <davem@davemloft.net>
58135         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58137 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
58139         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
58140         1 to avoid redefinition warning.
58141         (__USE_GNU): Don't define.
58142         (init_signaling_nan): Protoize.
58144         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58146 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
58148         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
58149         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
58150         (__cpymn): Likewise.
58151         (norm): Remove commented code.
58152         (denorm): Likewise.
58153         (__mp_dbl): Likewise.
58154         (__inv): Likewise.
58155         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
58156         (__cpymn): Likewise.
58157         (norm): Remove commented code.
58158         (denorm): Likewise.
58159         (__mp_dbl): Likewise.
58160         (__inv): Likewise.
58162         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
58163         mp_no value for 1.0 and 2.0.
58164         (norm): Use RADIXI instead of radixi.d.
58165         (denorm): Likewise.
58166         (__mul): Use 0.0 instead of zero.d.
58167         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
58168         mp_no value for 1.0 and 2.0.
58169         (norm): Use RADIXI instead of radixi.d.
58170         (denorm): Likewise.
58171         (__mul): Use 0.0 instead of zero.d.
58173 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
58175         [BZ #14994]
58176         * math/s_casinh.c (__casinh): Reduce finite argument to first
58177         quadrant then set signs of results at the end.
58178         * math/s_casinhf.c (__casinhf): Likewise.
58179         * math/s_casinhl.c (__casinhl): Likewise.
58180         * math/libm-test.inc (casin_test): Add more tests.
58181         (casinh_test): Likewise.
58182         * sysdeps/i386/fpu/libm-test-ulps: Update.
58183         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58185 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
58187         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
58189         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
58191         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
58192         declarations.
58193         (denorm): Likewise.
58194         (__mp_dbl): Likewise.
58195         (__inv): Likewise.
58197         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
58198         and adjust the header comment.
58200         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
58201         variable name from declaration.
58203 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
58205         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58206         Initialize COMMON_CPUID_INDEX_7 element.
58207         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
58208         (CPUID_RTM): Likewise.
58209         (HAS_RTM): Likewise.
58210         (COMMON_CPUID_INDEX_7): New enum.
58212 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
58214         [BZ #14981]
58215         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
58216         size is zero, record memory as freed.
58218 2013-01-03  Andreas Jaeger  <aj@suse.de>
58220         * po/ia.po: Add new Interlingua translation.
58222 2012-01-03  Allan McRae  <allan@archlinux.org>
58224         * locale/programs/localedef.c: Fix description of '--posix' flag.
58226 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
58228         * NEWS: Update dates in second copyright notice.
58229         * README: Update copyright dates in example.
58230         * manual/libc.texinfo: Update copyright dates.
58231         * scripts/test-installation.pl: Update copyright date in --version
58232         output.
58234         * hurd/ctty-input.c: Fix copyright notice formatting.
58235         * hurd/ctty-output.c: Likewise.
58236         * hurd/dtable.c: Likewise.
58237         * hurd/hurd-raise.c: Likewise.
58238         * hurd/hurdprio.c: Likewise.
58239         * hurd/msgportdemux.c: Likewise.
58240         * misc/sys/file.h: Likewise.
58241         * misc/sys/ioctl.h: Likewise.
58242         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
58243         * sysdeps/mach/hurd/chdir.c: Likewise.
58244         * sysdeps/mach/hurd/fchdir.c: Likewise.
58245         * sysdeps/mach/hurd/rename.c: Likewise.
58246         * sysdeps/mach/hurd/rmdir.c: Likewise.
58247         * sysdeps/mach/hurd/seekdir.c: Likewise.
58248         * sysdeps/mach/hurd/setsid.c: Likewise.
58249         * sysdeps/posix/wait3.c: Likewise.
58251         * All files with FSF copyright notices: Update copyright dates
58252         using scripts/update-copyrights.
58253         * intl/plural.c: Regenerated.
58254         * locale/programs/charmap-kw.h: Likewise.
58255         * locale/programs/locfile-kw.h: Likewise.
58257 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
58259         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
58260         four values.
58262         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
58263         calculation loop and add branch prediction.
58265         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
58266         check access beyond bounds of m1np.
58268         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
58269         MPTWO.
58270         (__inv): Remove local variable MPTWO to use the global
58271         constant.
58272         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
58273         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
58274         variable MPTWO.
58275         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
58276         MP3HALFS static const.
58278 2013-01-01  David S. Miller  <davem@davemloft.net>
58280         * po/ca.po: Update from translation team.
58282 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
58284         * scripts/update-copyrights: New file.
58285         * Makeconfig: Reformat copyright notice.
58286         * ctype/ctype.h: Likewise.
58287         * debug/swprintf_chk.c: Likewise.
58288         * elf/dl-cache.c: Likewise.
58289         * elf/dl-debug.c: Likewise.
58290         * elf/dl-object.c: Likewise.
58291         * grp/initgroups.c: Likewise.
58292         * hurd/Makefile: Likewise.
58293         * hurd/hurd/signal.h: Likewise.
58294         * hurd/hurdfault.c: Likewise.
58295         * hurd/hurdioctl.c: Likewise.
58296         * hurd/hurdlookup.c: Likewise.
58297         * hurd/intr-msg.c: Likewise.
58298         * iconv/gconv_open.c: Likewise.
58299         * libio/swprintf.c: Likewise.
58300         * locale/lc-ctype.c: Likewise.
58301         * locale/nl_langinfo.c: Likewise.
58302         * mach/Machrules: Likewise.
58303         * mach/Makefile: Likewise.
58304         * malloc/obstack.h: Likewise.
58305         * manual/Makefile: Likewise.
58306         * manual/tsort.awk: Likewise.
58307         * misc/bits/stab.def: Likewise.
58308         * nis/nis_print_group_entry.c: Likewise.
58309         * nis/nis_table.c: Likewise.
58310         * nis/nss_compat/compat-pwd.c: Likewise.
58311         * nis/nss_compat/compat-spwd.c: Likewise.
58312         * po/Makefile: Likewise.
58313         * posix/fnmatch.c: Likewise.
58314         * posix/regex.h: Likewise.
58315         * resolv/Makefile: Likewise.
58316         * resolv/nss_dns/dns-network.c: Likewise.
58317         * resolv/res_hconf.c: Likewise.
58318         * scripts/gen-sorted.awk: Likewise.
58319         * soft-fp/soft-fp.h: Likewise.
58320         * stdio-common/printf.h: Likewise.
58321         * stdlib/monetary.h: Likewise.
58322         * stdlib/random.c: Likewise.
58323         * stdlib/random_r.c: Likewise.
58324         * sysdeps/generic/Makefile: Likewise.
58325         * sysdeps/gnu/Makefile: Likewise.
58326         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
58327         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58328         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
58329         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58330         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58331         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58332         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58333         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
58334         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58335         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58336         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
58337         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
58338         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
58339         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
58340         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
58341         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
58342         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
58343         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58344         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
58345         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58346         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
58347         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
58348         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
58349         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
58350         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
58351         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
58352         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
58353         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
58354         * sysdeps/mach/hurd/errnos.awk: Likewise.
58355         * sysdeps/mach/hurd/fork.c: Likewise.
58356         * sysdeps/mach/hurd/getcwd.c: Likewise.
58357         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
58358         * sysdeps/mach/hurd/mmap.c: Likewise.
58359         * sysdeps/mach/hurd/utimes.c: Likewise.
58360         * sysdeps/mach/hurd/xmknod.c: Likewise.
58361         * sysdeps/posix/profil.c: Likewise.
58362         * sysdeps/posix/readdir_r.c: Likewise.
58363         * sysdeps/powerpc/bits/mathdef.h: Likewise.
58364         * sysdeps/powerpc/bits/setjmp.h: Likewise.
58365         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
58366         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
58367         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
58368         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
58369         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
58370         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
58371         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
58372         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
58373         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
58374         * sysdeps/pthread/lio_listio.c: Likewise.
58375         * sysdeps/sparc/dl-procinfo.h: Likewise.
58376         * sysdeps/unix/i386/sysdep.S: Likewise.
58377         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
58378         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
58379         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
58380         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
58381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
58382         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
58383         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
58384         * sysdeps/unix/sysv/linux/speed.c: Likewise.
58385         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
58386         * sysdeps/wordsize-32/divdi3.c: Likewise.
58387         * time/sys/time.h: Likewise.
58388         * wcsmbs/Makefile: Likewise.
58390 2013-01-01  David S. Miller  <davem@davemloft.net>
58392         * po/fr.po: Update from translation team.
58394         * catgets/gencat.c: Update copyright year.
58395         * csu/version.c: Likewise.
58396         * debug/catchsegv.sh: Likewise.
58397         * debug/pcprofiledump.c: Likewise.
58398         * debug/xtrace.sh: Likewise.
58399         * elf/ldconfig.c: Likewise.
58400         * elf/ldd.bash.in: Likewise.
58401         * elf/pldd.c: Likewise.
58402         * elf/sotruss.ksh: Likewise.
58403         * elf/sprof.c: Likewise.
58404         * iconv/iconv_prog.c: Likewise.
58405         * iconv/iconvconfig.c: Likewise.
58406         * locale/programs/locale.c: Likewise.
58407         * locale/programs/localedef.c: Likewise.
58408         * login/programs/pt_chown.c: Likewise.
58409         * malloc/memusage.sh: Likewise.
58410         * malloc/memusagestat.c: Likewise.
58411         * malloc/mtrace.pl: Likewise.
58412         * nscd/nscd.c: Likewise.
58413         * nss/getent.c: Likewise.
58414         * nss/makedb.c: Likewise.
58415         * posix/getconf.c: Likewise.
58417 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
58419         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
58420         numbers.
58422 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
58424         * math/bits/mathcalls.h (modf): Use __nonnull.
58426 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
58428         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
58429         (split): Use macro CN instead of the bare value.
58430         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
58431         could be used.
58432         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
58433         instead of the bare value.
58434         (power1): Likewise.
58436 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58438         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
58439         __ATAN_TWOM.
58440         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
58442         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
58443         their values.
58444         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
58445         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
58446         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
58447         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
58449 2012-12-28  Andreas Jaeger  <aj@suse.de>
58451         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
58452         values are from Linux 3.7.
58454         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
58455         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
58457 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58459         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
58460         TRUE case.
58462         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
58463         (norm): Likewise.
58464         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
58465         variables with preprocessor constants.
58466         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
58467         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
58468         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
58470 2012-12-27  Bruno Haible  <bruno@clisp.org>
58472         [BZ #14317]
58473         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
58474         only if needed.
58476 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
58478         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
58479         and use variable directly.
58480         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
58482         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
58483         MPONE.
58484         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
58485         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
58486         variable MPONE.
58487         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
58488         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
58489         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
58490         include directive.  Remove local variable MPONE.
58491         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
58492         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
58493         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
58495 2012-12-25  David S. Miller  <davem@davemloft.net>
58497         * version.h (RELEASE): Set to "development".
58498         (VERSION): Set to "2.17.90".
58499         * NEWS: Add 2.18 section.
58501 2012-12-21  David S. Miller  <davem@davemloft.net>
58503         * po/hr.po: Update from translation team.
58505 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58507         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
58509 2012-12-19  Steve Ellcey  <sellcey@mips.com>
58511         * NEWS:  Mention new memcpy for MIPS.
58513 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58515         * manual/contrib.texi (Contributors): Spelling correction.
58517 2012-12-15  David S. Miller  <davem@davemloft.net>
58519         * po/ru.po: Update from translation team.
58521 2012-12-13  David S. Miller  <davem@davemloft.net>
58523         * NEWS: Mention IFUNC testsuite enhancements.
58525         * po/pl.po: Update from translation team.
58526         * po/bg.po: Likewise.
58528         * manual/contrib.texi (Contributors): Update entries for Hongjiu
58529         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
58531 2012-12-11  David S. Miller  <davem@davemloft.net>
58533         * po/sv.po: Update from translation team.
58535         * po/vi.po: Update from translation team.
58537         * po/cs.po: Update from translation team.
58539         * po/de.po: Update from translation team.
58540         * po/eo.po: Likewise.
58541         * po/nl.po: Likewise.
58543 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58545         [BZ #14246]
58546         * manual/argp.texi (Argp Helper Functions): Move node to follow
58547         Argp Parsing State.
58549         [BZ #14872]
58550         * manual/conf.texi (Limits on File System Capacity): Mention if
58551         terminating null is included in the max size.
58553 2012-12-10  Andreas Jaeger  <aj@suse.de>
58555         * po/cs.po: Update from translation team.
58557 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
58559         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
58560         void pointer and cast to uintptr_t.
58561         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
58562         path.
58563         * sysdeps/s390/s390-64/memcpy.S: Likewise.
58564         * sysdeps/s390/s390-64/memset.S: Likewise.
58566 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
58568         [BZ #14833]
58569         * menual/message.texi (Message Translation): Fix typos.
58570         (Helper programs for gettext): Likewise.
58572 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
58574         [BZ #14898]
58575         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
58576         Change to -1.
58578 2012-12-07  David S. Miller  <davem@davemloft.net>
58580         * po/libc.pot: Update.
58582 2012-12-07  Richard Henderson  <rth@redhat.com>
58584         [BZ #10114]
58585         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
58586         normal/normal case to before the switch.
58587         (_FP_DIV): Likewise.
58589 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
58590             Mike Frysinger  <vapier@gentoo.org>
58592         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
58593         check for __NR_fadvise64_64.
58595 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
58597         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
58598         0, not just to plain "0" as a statement.
58599         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
58600         with cw.
58602 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
58604         * NEWS: Use sourceware.org in Bugzilla URL.
58606 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
58608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
58609         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
58611         * stdio-common/tst-put-error.c (do_test): Add newline to the
58612         padded test to ensure flush.
58614 2012-12-05  Jeff Law  <law@redhat.com>
58616         * sunrpc/etc.rpc (fedfs_admin): Add entry.
58618 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
58620         * README: Don't refer to ports add-on as distributed separately.
58621         Mention AArch64 in list of systems supported in the ports add-on.
58623         * LICENSES: Add more non-FSF copyright and license notices.
58625         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
58626         ((unused)).
58628         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
58630         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
58631         10000 as width of padded output.
58633 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
58635         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
58637         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
58638         variable LX with __attribute__ ((unused)).
58639         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
58640         Likewise.
58641         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
58642         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
58643         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
58644         with __attribute__ ((unused)).
58646 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
58648         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
58650 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
58652         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
58653         (CFLAGS-nldbl-acos.c): New variable.
58654         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
58655         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
58656         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
58657         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
58658         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
58659         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
58660         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
58661         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
58662         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
58663         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
58664         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
58665         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
58666         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
58667         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
58668         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
58669         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
58670         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
58671         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
58672         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
58673         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
58674         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
58675         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
58676         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
58677         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
58678         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
58679         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
58680         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
58681         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
58682         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
58683         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
58684         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
58685         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
58686         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
58687         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
58688         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
58689         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
58690         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
58691         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
58692         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
58693         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
58694         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
58695         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
58696         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
58697         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
58698         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
58699         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
58700         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
58701         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
58702         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
58703         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
58704         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
58705         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
58706         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
58707         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
58708         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
58709         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
58710         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
58711         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
58712         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
58713         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
58714         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
58715         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
58716         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
58717         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
58718         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
58719         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
58720         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
58721         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
58722         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
58723         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
58724         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
58725         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
58726         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
58727         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
58728         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
58729         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
58730         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
58731         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
58732         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
58733         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
58734         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
58735         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
58736         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
58737         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
58738         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
58739         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
58740         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
58741         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
58742         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
58743         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
58744         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
58745         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
58746         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
58747         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
58748         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
58749         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
58750         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
58752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
58753         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
58755         [BZ #14914]
58756         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
58757         whole low double instead of just low 47 bits when splitting values
58758         into two parts.
58760 2012-12-03  Allan McRae  <allan@archlinux.org>
58762         * manual/stdio.texi (Predefined Printf Handlers): Remove
58763         @hsep and @vsep usage.
58765 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
58767         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
58768         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
58770 2012-12-03  Jeff Law  <law@redhat.com>
58772         * time/sys/time.h (settimeofday): Do not mark TV argument
58773         as __nonnull.
58775 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
58777         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
58778         when currently writing and seek to current position when not.
58779         * libio/Makefile (tests): Remove bug-fclose1.
58780         * libio/bug-fclose1.c: Delete.
58782 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
58784         * manual/arith.texi (feenableexcept): Fix typo.
58785         (fedisableexcept): Likewise.
58787 2012-11-30  Roland McGrath  <roland@hack.frob.com>
58789         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
58790         second, differently-typed declaration, rather than a cast.
58792 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
58794         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
58795         * include/rpc/svc.h: ... here.
58797 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
58799         [BZ #13013]
58800         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
58801         depending n and resplen2 to catch cases where answer
58802         equals answerp2.
58804 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
58806         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
58807         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
58809 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
58811         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
58813 2012-11-29  Roland McGrath  <roland@hack.frob.com>
58815         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
58817 2012-11-28  Jeff Law  <law@redhat.com>
58819         [BZ #13761]
58820         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
58821         dataset_temporary.  Track alloca usage into alloca_used.
58822         If dataset is large allocate and release it via malloc/free.
58824 2012-06-04  Florian Weimer  <fweimer@redhat.com>
58826         [BZ #14197]
58827         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
58829 2012-11-28  David S. Miller  <davem@davemloft.net>
58831         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58833 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
58835         [BZ #14803]
58836         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
58837         of pi/2 rounded to nearest to 64 bits.
58838         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
58839         nearest to 64 bits.
58840         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
58841         bits.
58843 2012-11-28  Jeff Law <law@redhat.com>
58844             Martin Osvald <mosvald@redhat.com>
58846         [BZ #14889]
58847         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
58848         * sunrpc/svc.c: Include time.h.
58849         (__svc_accept_failed): New function.
58850         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
58851         any reason other than EINTR, call __svc_accept_failed.
58852         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
58853         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
58855 2012-11-28  Andreas Schwab  <schwab@suse.de>
58857         * scripts/abilist.awk: Also handle indirect functions in .opd
58858         section.
58860 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
58862         [BZ #13881]
58863         * sysdeps/x86/fpu/powl_helper.c: New file.
58864         * sysdeps/x86/fpu/Makefile: Likewise.
58865         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
58866         (p3): New object.
58867         (__ieee754_powl): Use __powl_helper for finite arguments except
58868         integer exponents below 8.
58869         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
58870         (p3): New object.
58871         (__ieee754_powl): Use __powl_helper for finite arguments except
58872         integer exponents below 8.
58873         * math/libm-test.inc (pow_test): Add more tests and enable some
58874         previously disabled tests.
58875         * sysdeps/i386/fpu/libm-test-ulps: Update.
58876         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58878 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58879             Carlos O'Donell  <carlos_odonell@mentor.com>
58881         * nss/makedb.c (is_prime): Assert that input is odd and greater
58882         than 4.  Note that fact in a comment too.
58883         (next_prime): Add 4 to input.
58885 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
58887         [BZ #11741]
58888         * libio/Makefile (tests): Add test case tst-fwrite-error.
58889         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
58890         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
58891         * libio/tst-fwrite-error.c: New test case.
58893 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
58895         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
58896         before casting to void *.
58897         * include/libc-internal.h (__pointer_type): New macro.
58898         (__integer_if_pointer_type_sub): Likewise.
58899         (__integer_if_pointer_type): Likewise.
58900         (cast_to_integer): Likewise.
58901         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
58902         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
58903         before casting to atomic64_t.
58904         (atomic_exchange_acq): Likewise.
58905         (__arch_exchange_and_add_body): Likewise.
58906         (__arch_add_body): Likewise.
58907         (atomic_add_negative): Likewise.
58908         (atomic_add_zero): Likewise.
58910 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
58912         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
58913         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
58914         (add_fdes): Likewise.
58915         (linear_search_fdes): Likewise.
58916         (binary_search_unencoded_fdes): Likewise.
58918 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
58920         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
58922 2012-11-24  Adam Conrad  <adconrad@0c3.net>
58924         * configure.in: Autodetect C++ header directories.
58925         * configure: Regenerated.
58927 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
58929         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
58931 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
58933         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58935 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
58937         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
58938         LDBL_MANT_DIG == 106]: Disable some tests.
58939         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
58940         Likewise.
58941         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
58942         Likewise.
58944         [BZ #14871]
58945         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
58946         input for small inputs.  Return +/- pi/2 for large inputs.
58947         * math/libm-test.inc (atan_test): Add more tests.
58949         * sysdeps/generic/unwind-dw2-fde-glibc.c
58950         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
58951         __attribute__ ((unused)).
58953         [BZ #14645]
58954         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
58955         x * y if x and y are nonzero and z is zero.
58957         [BZ #14811]
58958         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
58959         nonzero exponents with absolute value below 0x1p-117 to +/-
58960         0x1p-117.
58962         [BZ #14869]
58963         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
58964         up arguments below 2**-450, not just those below 2**-500.
58965         * math/libm-test.inc (hypot_test): Add another test.
58967         [BZ #14868]
58968         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
58969         Return a+b for ratio over 2**120, not 2**60.
58970         * math/libm-test.inc (hypot_test): Add another test.
58972         * math/libm-test.inc (clog_test): Use
58973         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
58974         (clog10_test): Likewise.
58976         [BZ #6778]
58977         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
58979 2012-11-22  Andreas Schwab  <schwab@suse.de>
58981         * sysdeps/i386/fpu/libm-test-ulps: Update.
58983 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
58985         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
58986         printf output with newline.
58988 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
58990         [BZ #14865]
58991         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
58992         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
58993         -z nodlopen, -z initfirst and -z execstack support.
58994         * configure: Regenerated.
58996         * elf/elf.h (DF_1_NODIRECT): New macro.
58997         (DF_1_IGNMULDEF): Likewise.
58998         (DF_1_NOKSYMS): Likewise.
58999         (DF_1_NOHDR): Likewise.
59000         (DF_1_EDITED): Likewise.
59001         (DF_1_NORELOC): Likewise.
59002         (DF_1_SYMINTPOSE): Likewise.
59003         (DF_1_GLOBAUDIT): Likewise.
59004         (DF_1_SINGLETON): Likewise.
59005         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
59006         DT_1_SUPPORTED_MASK bits.
59007         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
59009 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
59011         * sysdeps/unix/make-syscalls.sh: Document prefixes.
59013 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
59015         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
59016         macro.
59018         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
59019         (sendmmsg): Move declarations...
59020         * socket/sys/socket.h: ... here.
59021         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
59022         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
59023         include it from...
59024         * socket/recvmmsg.c: ... this new file.
59025         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
59026         (sendmmsg): Rename to __sendmmsg, create weak alias and make
59027         definition of __sendmmsg hidden.
59028         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
59029         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
59030         Move ENOSYS stub into and include it from...
59031         * socket/sendmmsg.c: ... this new file.
59032         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
59033         (sysdep_routines): Move recvmmsg and sendmmsg...
59034         * socket/Makefile (routines): ... here.
59035         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
59036         (GLIBC_PRIVATE): Add __sendmmsg.
59037         * include/sys/socket.h (__sendmmsg): Add declarations.
59038         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
59039         sendmmsg.
59041 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
59043         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
59044         variable I1 with __attribute__ ((unused)).
59045         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
59047 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
59049         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
59050         DUMMY variables with __attribute__ ((unused)).
59052         * bits/byteswap.h: Include <bits/types.h>.
59053         (__bswap_64): Use __uint64_t instead of unsigned long long int.
59055 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
59057         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
59058         string_t.  Do not manually set errno.
59059         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
59060         length with __strnlen.  Make sure to both set errno and return it on
59061         failure.
59063 2012-11-19  David S. Miller  <davem@davemloft.net>
59065         With help from Joseph Myers.
59066         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
59067         very large arguments properly.
59068         * math/libm-test.inc (atan_test): New tests.
59069         (atan2_test): New tests.
59070         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59071         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59073 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
59075         [BZ #14856]
59076         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
59077         Define to 3.
59079         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
59080         [POSIX] (EADDRNOTAVAIL): Likewise.
59081         [POSIX] (EAFNOSUPPORT): Likewise.
59082         [POSIX] (EALREADY): Likewise.
59083         [POSIX] (ECONNABORTED): Likewise.
59084         [POSIX] (ECONNREFUSED): Likewise.
59085         [POSIX] (ECONNRESET): Likewise.
59086         [POSIX] (EDESTADDRREQ): Likewise.
59087         [POSIX] (EDQUOT): Likewise.
59088         [POSIX] (EHOSTUNREACH): Likewise.
59089         [POSIX] (EIDRM): Likewise.
59090         [POSIX] (EISCONN): Likewise.
59091         [POSIX] (ELOOP): Likewise.
59092         [POSIX] (EMULTIHOP): Likewise.
59093         [POSIX] (ENETDOWN): Likewise.
59094         [POSIX] (ENETUNREACH): Likewise.
59095         [POSIX] (ENOBUFS): Likewise.
59096         [POSIX] (ENODATA): Likewise.
59097         [POSIX] (ENOLINK): Likewise.
59098         [POSIX] (ENOMSG): Likewise.
59099         [POSIX] (ENOPROTOOPT): Likewise.
59100         [POSIX] (ENOSR): Likewise.
59101         [POSIX] (ENOSTR): Likewise.
59102         [POSIX] (ENOTCONN): Likewise.
59103         [POSIX] (ENOTSOCK): Likewise.
59104         [POSIX] (EOPNOTSUPP): Likewise.
59105         [POSIX] (EOVERFLOW): Likewise.
59106         [POSIX] (EPROTO): Likewise.
59107         [POSIX] (EPROTONOSUPPORT): Likewise.
59108         [POSIX] (EPROTOTYPE): Likewise.
59109         [POSIX] (ESTALE): Likewise.
59110         [POSIX] (ETIME): Likewise.
59111         [POSIX] (ETXTBSY): Likewise.
59112         [POSIX] (EWOULDBLOCK): Likewise.
59113         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
59114         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
59115         [POSIX] (SEEK_CUR): Likewise.
59116         [POSIX] (SEEK_END): Likewise.
59117         [POSIX || UNIX98] (mode_t): Do not require.
59118         [POSIX] (off_t): Likewise.
59119         [POSIX] (pid_t): Likewise.
59120         [POSIX] (sys/stat.h): Do not allow header.
59121         [POSIX] (unistd.h): Likewise.
59122         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
59123         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
59124         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
59125         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
59126         require.
59127         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
59128         sigevent): Specify elements.
59129         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
59130         entry.
59131         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
59132         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
59134         * conform/data/cpio.h-data [POSIX]: Disable whole file.
59135         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
59136         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
59137         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
59138         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
59139         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
59140         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
59141         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
59142         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
59143         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
59144         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
59145         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
59146         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
59147         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
59148         Likewise.
59149         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
59150         Likewise.
59151         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
59152         Likewise.
59153         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
59154         Likewise.
59155         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
59156         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
59157         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
59158         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
59159         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
59160         Specify lower bound on value.
59161         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
59162         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
59163         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
59164         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
59165         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
59166         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
59167         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
59168         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
59169         value.
59170         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
59171         as optional.
59172         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
59173         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
59174         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
59175         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
59176         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
59177         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
59178         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
59179         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
59180         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
59181         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
59182         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
59183         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
59184         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
59185         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
59186         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
59187         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
59188         entry.
59189         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
59190         optional.
59191         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
59192         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
59193         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
59194         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
59195         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
59196         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
59197         Likewise.
59198         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
59199         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
59200         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
59201         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
59202         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
59203         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
59204         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
59205         as optional.
59206         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
59207         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
59208         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
59209         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
59210         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
59211         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
59212         specify as optional.
59213         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
59214         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
59215         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
59216         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
59217         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
59218         [XPG3] (NL_LANGMAX): Likewise.
59219         [POSIX || XPG3] (NL_MSGMAX): Likewise.
59220         [POSIX || XPG3] (NL_NMAX): Likewise.
59221         [POSIX || XPG3] (NL_SETMAX): Likewise.
59222         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
59223         [XPG3] (NZERO): Likewise.
59224         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
59225         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
59226         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
59227         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
59228         (REG_ERANGE): Expect.
59229         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
59230         optional-constant.
59231         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
59232         Use (void) in prototype.
59233         [POSIX] (*_t): Allow.
59234         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
59235         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
59236         (WRDE_BADVAL): Expect.
59238         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
59239         expect.
59240         [XPG3 || XPG4] (O_RSYNC): Likewise.
59241         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
59242         Likewise.
59243         [XPG3 || XPG4] (pthread_sigmask): Likewise.
59244         [XPG3 || XPG4] (sigqueue): Likewise.
59245         [XPG3 || XPG4] (sigtimedwait): Likewise.
59246         [XPG3 || XPG4] (sigwaitinfo): Likewise.
59247         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
59248         [XPG3 || XPG4] (vsnprintf): Likewise.
59249         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
59250         Likewise.
59251         [XPG3 || XPG4] (blksize_t): Likewise.
59252         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
59253         Likewise.
59254         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
59255         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
59256         [XPG3 || XPG4] (struct itimerspec): Likewise.
59257         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
59258         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
59259         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
59260         [XPG3 || XPG4] (clockid_t): Likewise.
59261         [XPG3 || XPG4] (timer_t): Likewise.
59262         [XPG3 || XPG4] (clock_getres): Likewise.
59263         [XPG3 || XPG4] (clock_gettime): Likewise.
59264         [XPG3 || XPG4] (clock_settime): Likewise.
59265         [XPG3 || XPG4] (nanosleep): Likewise.
59266         [XPG3 || XPG4] (timer_create): Likewise.
59267         [XPG3 || XPG4] (timer_delete): Likewise.
59268         [XPG3 || XPG4] (timer_gettime): Likewise.
59269         [XPG3 || XPG4] (timer_getoverrun): Likewise.
59270         [XPG3 || XPG4] (timer_settime): Likewise.
59271         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
59272         [XPG3 || XPG4] (getlogin_r): Likewise.
59273         [XPG3 || XPG4] (pread): Likewise.
59274         [XPG3 || XPG4] (pthread_atfork): Likewise.
59275         [XPG3 || XPG4] (pwrite): Likewise.
59277         [BZ #14835]
59278         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
59279         <bits/siginfo.h>.
59281 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
59283         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
59284         finalizing MALLSTREAM.
59286         * sysdeps/mach/hurd/syncfs.c: New file.
59288 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
59290         [BZ #14719]
59291         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
59292         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
59293         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
59294         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
59295         (_nss_dns_gethostbyname4_r): Likewise.
59296         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
59297         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
59299 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
59301         [BZ #13763]
59302         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
59304 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
59306         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
59307         * elf/cache.c (print_entry): Print ",AArch64" for
59308         FLAG_AARCH64_LIB64
59310         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
59311         * elf/cache.c (print_entry): Print ",hard-float" for
59312         FLAG_ARM_LIBHF.
59314 2012-11-18  David S. Miller  <davem@davemloft.net>
59316         With help from Joseph Myers.
59317         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
59318         cutoff to 2**-13.
59319         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
59320         cutoff to 2**-25.
59321         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
59322         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
59323         small.
59324         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
59325         * math/libm-test.inc (y0_test): New tests.
59326         (y1_test): New tests.
59327         * sysdeps/i386/fpu/libm-test-ulps: Update.
59328         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59329         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59331 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
59333         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
59334         64-bit targets.
59335         * configure: Regenerated.
59337 2012-11-17  David S. Miller  <davem@davemloft.net>
59339         [BZ #14811]
59340         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
59341         nonzero exponents with absolute value below 0x1p-128 to +/-
59342         0x1p-128.
59344 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
59346         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
59348         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
59350         * posix/getconf-speclist.c: New file.
59351         * posix/posix-envs.def: Likewise.
59352         * posix/confstr.c (START_ENV_GROUP): New macro.
59353         (END_ENV_GROUP): Likewise.
59354         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
59355         (KNOWN_PRESENT_ENV_STRING): Likewise.
59356         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
59357         (UNKNOWN_ENVIRONMENT): Likewise.
59358         (confstr): Include posix-envs.def instead of handling
59359         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
59360         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
59361         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
59362         (END_ENV_GROUP): Likewise.
59363         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
59364         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
59365         (UNKNOWN_ENVIRONMENT): Likewise.
59366         (__sysconf): Include posix-envs.def instead of handling associated
59367         cases directly here.
59368         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
59369         preprocessing getconf-speclist.c rather than running getconf or
59370         generating empty file.
59372 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
59374         * scripts/check-local-headers.sh: Ignore 'mach' headers.
59376 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
59378         [BZ #14672]
59379         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
59381 2012-11-16  David S. Miller  <davem@davemloft.net>
59383         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
59384         smaller than LDBL_EPSILON/2.0L, just return xm1.
59386 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
59388         * elf/tst-array1.c (init): Set constructor priority to 1000.
59389         (fini): Set destructor priority to 1000.
59390         * elf/tst-array2dep.c: Likewise.
59392 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
59394         [BZ #11741]
59395         * libio/fileops.c (_IO_new_file_write): Correctly return error.
59396         (_IO_new_file_xsputn): Also return EOF if none of the input
59397         data was written when overflow failed.
59398         * libio/iopadn.c (_IO_padn): Likewise.
59399         * libio/iowpadn.c (_IO_wpadn): Likewise.
59400         * stdio-common/tst-put-error.c: Add copyright notice.
59401         (do_test): Add case for printing padded string.
59402         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
59403         _IO_padn returned error.
59404         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
59405         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
59406         return EOF.
59408 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
59410         * libio/libioP.h: Add comment note that the references to C++
59411         bits are now obsolete.
59413 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59415         * math/libm-test.inc (check_complex): Use asprintf.
59417 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
59419         * debug/pcprofiledump.c (print_version): Update copyright year.
59420         * malloc/memusagestat.c (print_version): Likewise.
59422 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
59424         [BZ #14831]
59425         * elf/Makefile (tests): Add tst-audit8.
59426         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
59427         ($(objpfx)tst-audit8.out): New target.
59428         (tst-audit8-ENV): New variable.
59429         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
59430         audit if l_reloc_result is NULL.
59431         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
59432         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
59433         * elf/tst-audit8.c: New file.
59435 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59437         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
59438         * misc/Makefile (CFLAGS-select.c): Define.
59439         * posix/Makefile (CFLAGS-pause.c): Define.
59441 2012-11-13  David S. Miller  <davem@davemloft.net>
59443         * crypt/Makefile: Move test targets after toplevel Rules
59444         inclusion.  Grab any necessary sysdep routines when linking.
59445         * crypt/md5.c (md5_process_block): Remove define, we will always
59446         name it __md5_process_block.
59447         (md5_finish_ctx): Update md5_process_block call.
59448         (md5_stream): Likewise.
59449         (md5_process_bytes): Likewise.
59450         (md5_process_block): Rename to __md5_process_block and move to ...
59451         * crypt/md5-block.c: ... here.
59452         * crypt/sha256.c (sha256_process_block): Move to ...
59453         * crypt/sha256-block.c: ... here.
59454         * crypt/sha512.c (sha512_process_block): Move to ...
59455         * crypt/sha512-block.c: ... here.
59456         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
59457         path.
59458         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
59459         * sysdeps/sparc/sparc64/multiarch/Makefile
59460         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
59461         crypt subdir.
59462         (localedef-aux): Add md5 crypto assembler when in locale subdir.
59463         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
59464         multiarch changes.
59465         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
59466         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
59467         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
59468         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
59469         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
59470         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
59471         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
59472         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
59473         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
59474         file.
59475         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
59476         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
59477         file.
59478         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
59480 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
59482         * timezone/tzselect.ksh: Update from tzcode git revision
59483         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
59484         * timezone/zdump.c: Likewise.
59485         * timezone/zic.c: Likewise.
59486         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
59487         in TZVERSION setting, not $(PKGVERSION).
59488         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
59489         REPORT_BUGS_TO settings.
59491         [BZ #14838]
59492         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
59493         macro.
59495 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59497         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
59498         detection to immediately after _FP_ROUND().
59499         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
59500         bits are 0.
59502 2012-11-11  David S. Miller  <davem@davemloft.net>
59504         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
59505         inttypes.h
59506         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
59507         __close rather than their public counterparts.
59509 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
59511         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
59512         file.
59513         [UNIX98] (sem_timedwait): Do not expect.
59514         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
59515         [XPG4 || UNIX98] (sockatmark): Do not expect.
59516         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
59517         (clock_getcpuclockid): Do not expect.
59518         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
59519         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
59520         Do not expect.
59521         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
59522         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
59523         [UNIX98] (vwscanf): Likewise.
59524         [UNIX98] (vswscanf): Likewise.
59526 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
59528         * timezone/version.h: Remove file.
59529         * timezone/README: Do not refer to version.h.
59530         * timezone/Makefile ($(objpfx)zic.o): New dependency on
59531         $(objpfx)version.h.
59532         ($(objpfx)zdump.o): Likewise.
59533         ($(objpfx)version.h): New target.
59535         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
59536         2012i.
59537         * timezone/README: Don't mention modification to tzselect.ksh.
59538         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
59539         work on unmodified tzselect.ksh.  Substitute version numbers in
59540         tzselect.ksh.
59542         * Makefile (format-me): Remove.
59543         (INSTALL): Adjust indentation.  Use commands directly instead of
59544         using $(format-me).
59546         * aclocal.m4 (ACX_PKGVERSION): New macro.
59547         (ACX_BUGURL): Likewise.
59548         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
59549         (PKGVERSION): New AC_DEFINE_UNQUOTED.
59550         (REPORT_BUGS_TO): Likewise.
59551         * configure: Regenerated.
59552         * config.h.in (PKGVERSION): New macro.
59553         (REPORT_BUGS_TO): Likewise.
59554         * config.make.in (PKGVERSION): New variable.
59555         (PKGVERSION_TEXI): Likewise.
59556         (REPORT_BUGS_TO): Likewise.
59557         (REPORT_BUGS_TEXI): Likewise.
59558         * Makefile (format-me): Use -I$(common-objpfx)manual.
59559         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
59560         ($(common-objpfx)manual/%): New target.
59561         (manual/%): Remove target.
59562         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
59563         (print_version): Use PKGVERSION.
59564         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
59565         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
59566         and REPORT_BUGS_TO.
59567         ($(objpfx)xtrace): Likewise.
59568         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
59569         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
59570         (print_version): Use PKGVERSION.
59571         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
59572         (do_version): Use PKGVERSION.
59573         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
59574         REPORT_BUGS_TO.
59575         (common-ldd-rewrite): Likewise.
59576         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
59577         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
59578         (print_version): Use PKGVERSION.
59579         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
59580         * elf/pldd.c (argp_program_bug_address): Remove variable.
59581         (more_help): New function.
59582         (argp): Use more_help.
59583         (print_version): Use PKGVERSION.
59584         * elf/sln.c (main): Use PKGVERSION.
59585         (usage): Use REPORT_BUGS_TO.
59586         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
59587         (top level): Use PKGVERSION.
59588         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
59589         (print_version): Use PKGVERSION.
59590         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
59591         (print_version): Use PKGVERSION.
59592         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
59593         (print_version): Use PKGVERSION.
59594         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
59595         (print_version): Use PKGVERSION.
59596         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
59597         (print_version): Use PKGVERSION.
59598         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
59599         (print_version): Use PKGVERSION.
59600         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
59601         and BUGURL.
59602         ($(objpfx)memusage): Likewise.
59603         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
59604         (do_version): Use PKGVERSION.
59605         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
59606         (print_version): Use PKGVERSION.
59607         * malloc/mtrace.pl ($PACKAGE): Remove variable.
59608         ($PKGVERSION): New variable.
59609         ($REPORT_BUGS_TO): Likewise.
59610         (usage): Use $REPORT_BUGS_TO.
59611         (top level): Use $PKGVERSION.
59612         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
59613         ($(objpfx)pkgvers.texi): New rule.
59614         ($(objpfx)stamp-pkgvers): Likewise.
59615         * manual/install.texi: Include pkgvers.texi.
59616         (--with-pkgversion): Document new configure option.
59617         (--with-bugurl): Likewise.
59618         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
59619         than necessarily for this particular distribution.  Use
59620         REPORT_BUGS_TO for where to report bugs.
59621         * INSTALL: Regenerated.
59622         * manual/libc.texinfo: Include pkgvers.texi.
59623         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
59624         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
59625         (print_version): Use PKGVERSION.
59626         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
59627         (print_version): Use PKGVERSION.
59628         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
59629         (print_version): Use PKGVERSION.
59630         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
59631         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
59632         macro.
59633         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
59634         (print_version): Use PKGVERSION.
59635         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
59636         (print_version): Use PKGVERSION.
59637         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
59638         and PKGVERSION.
59640         * timezone/checktab.awk: Update from tzcode 2012i.
59641         * timezone/ialloc.c: Likewise.
59642         * timezone/private.h: Likewise.
59643         * timezone/scheck.c: Likewise.
59644         * timezone/tzfile.h: Likewise.
59645         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
59646         (TZVERSION): Hardcode tzcode version number.
59647         * timezone/zdump.c: Update from tzcode 2012i.
59648         * timezone/zic.c: Likewise.
59649         * timezone/version.h: New file.
59650         * timezone/README: Describe version.h.  Update upstream location.
59652         [BZ #14824]
59653         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
59654         (mktemp): Enable declaration.
59655         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
59656         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
59657         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
59658         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
59659         Likewise.
59660         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
59661         Likewise.
59662         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
59663         Likewise.
59664         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
59665         Likewise.
59666         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
59667         Likewise.
59668         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
59669         Likewise.
59671         [BZ #14821]
59672         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
59673         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
59674         for copies of such integer values.
59675         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
59676         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
59678 2012-11-09  Andreas Jaeger  <aj@suse.de>
59680         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
59681         definitions and declarations that are provided by
59682         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
59684 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59686         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
59687         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
59688         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
59689         definition.
59691 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59693         * elf/elf.h: Update comment before AArch64 relocations.
59695 2012-11-07  David S. Miller  <davem@davemloft.net>
59697         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
59698         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
59699         (__start_context): Declare.
59700         (__makecontext_ret): Delete.
59701         (__makecontext): Hook up __start_context instead of
59702         __makecontext_ret.
59703         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
59704         (sysdep_routines): Add __start_context when in stdlib.
59706 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
59708         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
59709         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
59710         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
59711         hardcoded "nm".
59712         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
59713         (READELF): New variable.  Use it instead of hardcoded "readelf".
59715 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
59717         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
59718         * sysdeps/x86/Makefile: Here.
59719         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
59720         * sysdeps/x86/tst-xmmymm.sh: This.
59722 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
59724         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
59725         expectations.
59726         [UNIX98] (pthread_barrier_t): Do not expect.
59727         [UNIX98] (pthread_barrierattr_t): Likewise.
59728         [UNIX98] (pthread_spinlock_t): Likewise.
59729         [UNIX98] (pthread_barrier_destroy): Likewise.
59730         [UNIX98] (pthread_barrier_init): Likewise.
59731         [UNIX98] (pthread_barrier_wait): Likewise.
59732         [UNIX98] (pthread_barrierattr_destroy): Likewise.
59733         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
59734         [UNIX98] (pthread_barrierattr_init): Likewise.
59735         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
59736         [UNIX98] (pthread_getcpuclockid): Likewise.
59737         [UNIX98] (pthread_mutex_timedlock): Likewise.
59738         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
59739         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
59740         [UNIX98] (pthread_sigmask): Likewise.
59741         [UNIX98] (pthread_spin_destroy): Likewise.
59742         [UNIX98] (pthread_spin_init): Likewise.
59743         [UNIX98] (pthread_spin_lock): Likewise.
59744         [UNIX98] (pthread_spin_trylock): Likewise.
59745         [UNIX98] (pthread_spin_unlock): Likewise.
59746         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
59747         Do not expect.
59748         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
59749         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
59750         [XPG3 || XPG4] (pthread_cond_t): Likewise.
59751         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
59752         [XPG3 || XPG4] (pthread_key_t): Likewise.
59753         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
59754         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
59755         [XPG3 || XPG4] (pthread_once_t): Likewise.
59756         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
59757         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
59758         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
59759         [XPG3 || XPG4] (pthread_t): Likewise.
59761         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
59762         not expect.
59763         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
59765         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
59766         Change function return type to int.
59768         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
59769         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
59770         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
59771         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
59772         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
59773         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
59774         [!POSIX] (posix_madvise): Likewise.
59775         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
59776         && !UNIX98].
59777         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
59778         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
59779         (mode_t): Likewise.
59780         (posix_mem_offset): Likewise.
59781         (posix_typed_mem_get_info): Likewise.
59782         (posix_typed_mem_open): Likewise.
59784         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
59785         Change condition to [XOPEN2K8].
59787         * conform/conformtest.pl: Preprocess allow-header data with -x c
59788         instead of from stdin.
59789         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
59790         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
59791         [C99-based standards] (cerfc): Likewise.
59792         [C99-based standards] (cexp2): Likewise.
59793         [C99-based standards] (cexpm1): Likewise.
59794         [C99-based standards] (clog10): Likewise.
59795         [C99-based standards] (clog1p): Likewise.
59796         [C99-based standards] (clog2): Likewise.
59797         [C99-based standards] (clgamma): Likewise.
59798         [C99-based standards] (ctgamma): Likewise.
59799         [C99-based standards] (cerff): Likewise.
59800         [C99-based standards] (cerfcf): Likewise.
59801         [C99-based standards] (cexp2f): Likewise.
59802         [C99-based standards] (cexpm1f): Likewise.
59803         [C99-based standards] (clog10f): Likewise.
59804         [C99-based standards] (clog1pf): Likewise.
59805         [C99-based standards] (clog2f): Likewise.
59806         [C99-based standards] (clgammaf): Likewise.
59807         [C99-based standards] (ctgammaf): Likewise.
59808         [C99-based standards] (cerfl): Likewise.
59809         [C99-based standards] (cerfcl): Likewise.
59810         [C99-based standards] (cexp2l): Likewise.
59811         [C99-based standards] (cexpm1l): Likewise.
59812         [C99-based standards] (clog10l): Likewise.
59813         [C99-based standards] (clog1pl): Likewise.
59814         [C99-based standards] (clog2l): Likewise.
59815         [C99-based standards] (clgammal): Likewise.
59816         [C99-based standards] (ctgammal): Likewise.
59817         * conform/data/inttypes.h-data [C99-based standards]: Include
59818         stdint.h-data.  Remove all expectations for stdint.h contents.
59819         [C99-based standards] (PRI*): Do not allow.
59820         [C99-based standards] (SCN*): Likewise.
59821         [C99-based standards] (*_t): Likewise.
59822         [C99-based-standards] (PRId8): Expect macro.
59823         [C99-based-standards] (PRIi8): Likewise.
59824         [C99-based-standards] (PRIo8): Likewise.
59825         [C99-based-standards] (PRIu8): Likewise.
59826         [C99-based-standards] (PRIx8): Likewise.
59827         [C99-based-standards] (PRIX8): Likewise.
59828         [C99-based-standards] (SCNd8): Likewise.
59829         [C99-based-standards] (SCNi8): Likewise.
59830         [C99-based-standards] (SCNo8): Likewise.
59831         [C99-based-standards] (SCNu8): Likewise.
59832         [C99-based-standards] (SCNx8): Likewise.
59833         [C99-based-standards] (PRIdLEAST8): Likewise.
59834         [C99-based-standards] (PRIiLEAST8): Likewise.
59835         [C99-based-standards] (PRIoLEAST8): Likewise.
59836         [C99-based-standards] (PRIuLEAST8): Likewise.
59837         [C99-based-standards] (PRIxLEAST8): Likewise.
59838         [C99-based-standards] (PRIXLEAST8): Likewise.
59839         [C99-based-standards] (SCNdLEAST8): Likewise.
59840         [C99-based-standards] (SCNiLEAST8): Likewise.
59841         [C99-based-standards] (SCNoLEAST8): Likewise.
59842         [C99-based-standards] (SCNuLEAST8): Likewise.
59843         [C99-based-standards] (SCNxLEAST8): Likewise.
59844         [C99-based-standards] (PRIdFAST8): Likewise.
59845         [C99-based-standards] (PRIiFAST8): Likewise.
59846         [C99-based-standards] (PRIoFAST8): Likewise.
59847         [C99-based-standards] (PRIuFAST8): Likewise.
59848         [C99-based-standards] (PRIxFAST8): Likewise.
59849         [C99-based-standards] (PRIXFAST8): Likewise.
59850         [C99-based-standards] (SCNdFAST8): Likewise.
59851         [C99-based-standards] (SCNiFAST8): Likewise.
59852         [C99-based-standards] (SCNoFAST8): Likewise.
59853         [C99-based-standards] (SCNuFAST8): Likewise.
59854         [C99-based-standards] (SCNxFAST8): Likewise.
59855         [C99-based-standards] (PRId16): Likewise.
59856         [C99-based-standards] (PRIi16): Likewise.
59857         [C99-based-standards] (PRIo16): Likewise.
59858         [C99-based-standards] (PRIu16): Likewise.
59859         [C99-based-standards] (PRIx16): Likewise.
59860         [C99-based-standards] (PRIX16): Likewise.
59861         [C99-based-standards] (SCNd16): Likewise.
59862         [C99-based-standards] (SCNi16): Likewise.
59863         [C99-based-standards] (SCNo16): Likewise.
59864         [C99-based-standards] (SCNu16): Likewise.
59865         [C99-based-standards] (SCNx16): Likewise.
59866         [C99-based-standards] (PRIdLEAST16): Likewise.
59867         [C99-based-standards] (PRIiLEAST16): Likewise.
59868         [C99-based-standards] (PRIoLEAST16): Likewise.
59869         [C99-based-standards] (PRIuLEAST16): Likewise.
59870         [C99-based-standards] (PRIxLEAST16): Likewise.
59871         [C99-based-standards] (PRIXLEAST16): Likewise.
59872         [C99-based-standards] (SCNdLEAST16): Likewise.
59873         [C99-based-standards] (SCNiLEAST16): Likewise.
59874         [C99-based-standards] (SCNoLEAST16): Likewise.
59875         [C99-based-standards] (SCNuLEAST16): Likewise.
59876         [C99-based-standards] (SCNxLEAST16): Likewise.
59877         [C99-based-standards] (PRIdFAST16): Likewise.
59878         [C99-based-standards] (PRIiFAST16): Likewise.
59879         [C99-based-standards] (PRIoFAST16): Likewise.
59880         [C99-based-standards] (PRIuFAST16): Likewise.
59881         [C99-based-standards] (PRIxFAST16): Likewise.
59882         [C99-based-standards] (PRIXFAST16): Likewise.
59883         [C99-based-standards] (SCNdFAST16): Likewise.
59884         [C99-based-standards] (SCNiFAST16): Likewise.
59885         [C99-based-standards] (SCNoFAST16): Likewise.
59886         [C99-based-standards] (SCNuFAST16): Likewise.
59887         [C99-based-standards] (SCNxFAST16): Likewise.
59888         [C99-based-standards] (PRId32): Likewise.
59889         [C99-based-standards] (PRIi32): Likewise.
59890         [C99-based-standards] (PRIo32): Likewise.
59891         [C99-based-standards] (PRIu32): Likewise.
59892         [C99-based-standards] (PRIx32): Likewise.
59893         [C99-based-standards] (PRIX32): Likewise.
59894         [C99-based-standards] (SCNd32): Likewise.
59895         [C99-based-standards] (SCNi32): Likewise.
59896         [C99-based-standards] (SCNo32): Likewise.
59897         [C99-based-standards] (SCNu32): Likewise.
59898         [C99-based-standards] (SCNx32): Likewise.
59899         [C99-based-standards] (PRIdLEAST32): Likewise.
59900         [C99-based-standards] (PRIiLEAST32): Likewise.
59901         [C99-based-standards] (PRIoLEAST32): Likewise.
59902         [C99-based-standards] (PRIuLEAST32): Likewise.
59903         [C99-based-standards] (PRIxLEAST32): Likewise.
59904         [C99-based-standards] (PRIXLEAST32): Likewise.
59905         [C99-based-standards] (SCNdLEAST32): Likewise.
59906         [C99-based-standards] (SCNiLEAST32): Likewise.
59907         [C99-based-standards] (SCNoLEAST32): Likewise.
59908         [C99-based-standards] (SCNuLEAST32): Likewise.
59909         [C99-based-standards] (SCNxLEAST32): Likewise.
59910         [C99-based-standards] (PRIdFAST32): Likewise.
59911         [C99-based-standards] (PRIiFAST32): Likewise.
59912         [C99-based-standards] (PRIoFAST32): Likewise.
59913         [C99-based-standards] (PRIuFAST32): Likewise.
59914         [C99-based-standards] (PRIxFAST32): Likewise.
59915         [C99-based-standards] (PRIXFAST32): Likewise.
59916         [C99-based-standards] (SCNdFAST32): Likewise.
59917         [C99-based-standards] (SCNiFAST32): Likewise.
59918         [C99-based-standards] (SCNoFAST32): Likewise.
59919         [C99-based-standards] (SCNuFAST32): Likewise.
59920         [C99-based-standards] (SCNxFAST32): Likewise.
59921         [C99-based-standards] (PRId64): Likewise.
59922         [C99-based-standards] (PRIi64): Likewise.
59923         [C99-based-standards] (PRIo64): Likewise.
59924         [C99-based-standards] (PRIu64): Likewise.
59925         [C99-based-standards] (PRIx64): Likewise.
59926         [C99-based-standards] (PRIX64): Likewise.
59927         [C99-based-standards] (SCNd64): Likewise.
59928         [C99-based-standards] (SCNi64): Likewise.
59929         [C99-based-standards] (SCNo64): Likewise.
59930         [C99-based-standards] (SCNu64): Likewise.
59931         [C99-based-standards] (SCNx64): Likewise.
59932         [C99-based-standards] (PRIdLEAST64): Likewise.
59933         [C99-based-standards] (PRIiLEAST64): Likewise.
59934         [C99-based-standards] (PRIoLEAST64): Likewise.
59935         [C99-based-standards] (PRIuLEAST64): Likewise.
59936         [C99-based-standards] (PRIxLEAST64): Likewise.
59937         [C99-based-standards] (PRIXLEAST64): Likewise.
59938         [C99-based-standards] (SCNdLEAST64): Likewise.
59939         [C99-based-standards] (SCNiLEAST64): Likewise.
59940         [C99-based-standards] (SCNoLEAST64): Likewise.
59941         [C99-based-standards] (SCNuLEAST64): Likewise.
59942         [C99-based-standards] (SCNxLEAST64): Likewise.
59943         [C99-based-standards] (PRIdFAST64): Likewise.
59944         [C99-based-standards] (PRIiFAST64): Likewise.
59945         [C99-based-standards] (PRIoFAST64): Likewise.
59946         [C99-based-standards] (PRIuFAST64): Likewise.
59947         [C99-based-standards] (PRIxFAST64): Likewise.
59948         [C99-based-standards] (PRIXFAST64): Likewise.
59949         [C99-based-standards] (SCNdFAST64): Likewise.
59950         [C99-based-standards] (SCNiFAST64): Likewise.
59951         [C99-based-standards] (SCNoFAST64): Likewise.
59952         [C99-based-standards] (SCNuFAST64): Likewise.
59953         [C99-based-standards] (SCNxFAST64): Likewise.
59954         [C99-based-standards] (PRIdMAX): Likewise.
59955         [C99-based-standards] (PRIiMAX): Likewise.
59956         [C99-based-standards] (PRIoMAX): Likewise.
59957         [C99-based-standards] (PRIuMAX): Likewise.
59958         [C99-based-standards] (PRIxMAX): Likewise.
59959         [C99-based-standards] (PRIXMAX): Likewise.
59960         [C99-based-standards] (SCNdMAX): Likewise.
59961         [C99-based-standards] (SCNiMAX): Likewise.
59962         [C99-based-standards] (SCNoMAX): Likewise.
59963         [C99-based-standards] (SCNuMAX): Likewise.
59964         [C99-based-standards] (SCNxMAX): Likewise.
59965         [C99-based-standards] (PRIdPTR): Likewise.
59966         [C99-based-standards] (PRIiPTR): Likewise.
59967         [C99-based-standards] (PRIoPTR): Likewise.
59968         [C99-based-standards] (PRIuPTR): Likewise.
59969         [C99-based-standards] (PRIxPTR): Likewise.
59970         [C99-based-standards] (PRIXPTR): Likewise.
59971         [C99-based-standards] (SCNdPTR): Likewise.
59972         [C99-based-standards] (SCNiPTR): Likewise.
59973         [C99-based-standards] (SCNoPTR): Likewise.
59974         [C99-based-standards] (SCNuPTR): Likewise.
59975         [C99-based-standards] (SCNxPTR): Likewise.
59976         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
59977         allow.
59978         * conform/data/stdint.h-data: Update comments to clarify
59979         requirements.
59980         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
59981         type.
59982         [C99-based standards] (INT8_MAX): Likewise.
59983         [C99-based standards] (INT16_MIN): Likewise.
59984         [C99-based standards] (INT16_MAX): Likewise.
59985         [C99-based standards] (INT32_MIN): Likewise.
59986         [C99-based standards] (INT32_MAX): Likewise.
59987         [C99-based standards] (INT64_MIN): Likewise.
59988         [C99-based standards] (INT64_MAX): Likewise.
59989         [C99-based standards] (UINT8_MAX): Likewise.
59990         [C99-based standards] (UINT16_MAX): Likewise.
59991         [C99-based standards] (UINT32_MAX): Likewise.
59992         [C99-based standards] (UINT64_MAX): Likewise.
59993         [C99-based standards] (INT_LEAST8_MIN): Likewise.
59994         [C99-based standards] (INT_LEAST8_MAX): Likewise.
59995         [C99-based standards] (INT_LEAST16_MIN): Likewise.
59996         [C99-based standards] (INT_LEAST16_MAX): Likewise.
59997         [C99-based standards] (INT_LEAST32_MIN): Likewise.
59998         [C99-based standards] (INT_LEAST32_MAX): Likewise.
59999         [C99-based standards] (INT_LEAST64_MIN): Likewise.
60000         [C99-based standards] (INT_LEAST64_MAX): Likewise.
60001         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
60002         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
60003         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
60004         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
60005         [C99-based standards] (INT_FAST8_MIN): Likewise.
60006         [C99-based standards] (INT_FAST8_MAX): Likewise.
60007         [C99-based standards] (INT_FAST16_MIN): Likewise.
60008         [C99-based standards] (INT_FAST16_MAX): Likewise.
60009         [C99-based standards] (INT_FAST32_MIN): Likewise.
60010         [C99-based standards] (INT_FAST32_MAX): Likewise.
60011         [C99-based standards] (INT_FAST64_MIN): Likewise.
60012         [C99-based standards] (INT_FAST64_MAX): Likewise.
60013         [C99-based standards] (UINT_FAST8_MAX): Likewise.
60014         [C99-based standards] (UINT_FAST16_MAX): Likewise.
60015         [C99-based standards] (UINT_FAST32_MAX): Likewise.
60016         [C99-based standards] (UINT_FAST64_MAX): Likewise.
60017         [C99-based standards] (INTPTR_MIN): Likewise.
60018         [C99-based standards] (INTPTR_MAX): Likewise.
60019         [C99-based standards] (UINTPTR_MAX): Likewise.
60020         [C99-based standards] (INTMAX_MIN): Likewise.
60021         [C99-based standards] (INTMAX_MAX): Likewise.
60022         [C99-based standards] (UINTMAX_MAX): Likewise.
60023         [C99-based standards] (PTRDIFF_MIN): Likewise.
60024         [C99-based standards] (PTRDIFF_MAX): Likewise.
60025         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
60026         [C99-based standards] (SIZE_MAX): Likewise.
60027         [C99-based standards] (WCHAR_MAX): Likewise.
60028         [C99-based standards] (WINT_MAX): Likewise.
60029         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
60030         constraint on value.
60031         [C99-based standards] (WCHAR_MIN): Likewise.
60032         [C99-based standards] (WINT_MIN): Likewise.
60033         [C99-based standards] (*_t): Allow.
60034         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
60035         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
60036         Include math.h-data and complex.h-data.  Remove all expectations
60037         of math.h and complex.h contents.
60038         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
60039         at end of line.
60040         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
60041         (struct tm): Expect tag.
60042         [C99-based-standards] (wcstof): Expect function.
60043         [C99-based-standards] (wcstold): Likewise.
60044         [C99-based-standards] (wcstoll): Likewise.
60045         [C99-based-standards] (wcstoull): Likewise.
60046         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
60047         macro-int-constant.  Specify type.
60048         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
60049         constraint on value.
60050         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
60051         Specify type.
60052         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
60053         Specify value.
60054         [ISO C standards]: Do not allow headers.
60055         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
60056         wcs[abcdefghijklmnopqrstuvwxyz]*.
60057         [ISO C standards] (*_t): Do not allow.
60058         * conform/data/wctype.h-data [C99-based standards] (iswblank):
60059         Expect function.
60060         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
60061         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
60062         Specify type.
60063         [ISO C standards]: Do not allow headers.
60064         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
60065         is[abcdefghijklmnopqrstuvwxyz]*.
60066         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
60067         to[abcdefghijklmnopqrstuvwxyz]*.
60068         [ISO C standards] (*_t): Do not allow.
60069         * conform/data/stdalign.h-data: New file.
60070         * conform/data/stdbool.h-data: Likewise.
60071         * conform/data/stdnoreturn.h-data: Likewise.
60073 2012-11-07  Roland McGrath  <roland@hack.frob.com>
60075         [BZ #14815]
60076         * manual/filesys.texi (Directory Entries): Typo fix.
60077         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
60079 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60081         * elf/elf.h (EM_AARCH64): New macro.
60082         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
60083         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
60084         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
60085         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
60086         (R_AARCH64_TLSDESC): Likewise.
60087         (NT_ARM_TLS): Likewise.
60088         (NT_ARM_HW_BREAK): Likewise.
60089         (NT_ARM_HW_WATCH): Likewise.
60091 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
60093         [BZ #14811]
60094         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
60095         (__ieee754_powl): Saturate nonzero exponents with absolute value
60096         below 0x1p-79 to +/- 0x1p-79.
60097         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
60098         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
60099         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
60100         nonzero exponents with absolute value below 0x1p-32 to +/-
60101         0x1p-32.
60102         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
60103         (__ieee754_powl): Saturate nonzero exponents with absolute value
60104         below 0x1p-79 to +/- 0x1p-79.
60105         * math/libm-test.inc (pow_test): Add more tests.
60107 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60109         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
60110         _dl_s390_cap_flags with kernel. Increase string length.
60111         (_dl_s390_platforms): Add z196 and zEC12.
60113 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
60115         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
60116         Change XOPEN21K to XOPEN2K.
60118 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
60120         * string/memmove.c: Use memcpy when possible.
60122 2012-11-06  Andreas Jaeger  <aj@suse.de>
60124         * po/eo.po: Update from translation team.
60126 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
60128         [BZ #14793]
60129         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
60130         exponent and small x and y exponents, scale x or y up.  Increase
60131         by 2 the exponent used in scaling up.
60132         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60133         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60134         * math/libm-test.inc (fma_test): Add more tests.
60135         (fma_test_towardzero): Likewise.
60136         (fma_test_downward): Likewise.
60137         (fma_test_upward): Likewise.
60139 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
60141         [BZ #14805]
60142         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
60143         fenv_t *.
60145         [BZ #14801]
60146         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
60147         namespace for names of struct fields.
60148         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
60149         fenv_t fields.
60150         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
60151         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
60153 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60155         [BZ #3665]
60156         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
60158 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
60160         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
60161         PTR_DEMANGLE.
60163         [BZ #5246]
60164         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
60165         PTR_DEMANGLE.
60167 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
60169         [BZ #14797]
60170         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
60171         definitely overflow as x * y not x * y + z.
60172         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60173         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60174         * math/libm-test.inc (fma_test): Add more tests.
60175         (fma_test_towardzero): Likewise.
60176         (fma_test_downward): Likewise.
60177         (fma_test_upward): Likewise.
60179 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
60181         [BZ #157]
60183         * include/stub-tag.h: Remove file.
60184         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
60185         '#include' of it.
60186         * manual/maint.texi (Porting): Don't reference it.
60187         * Makerules ($(objpfx)stubs): Likewise.
60188         * dirent/closedir.c: Don't include <stub-tag.h>.
60189         * dirent/dirfd.c: Likewise.
60190         * dirent/fdopendir.c: Likewise.
60191         * dirent/getdents.c: Likewise.
60192         * dirent/getdents64.c: Likewise.
60193         * dirent/opendir.c: Likewise.
60194         * dirent/readdir.c: Likewise.
60195         * dirent/readdir64.c: Likewise.
60196         * dirent/readdir64_r.c: Likewise.
60197         * dirent/readdir_r.c: Likewise.
60198         * dirent/rewinddir.c: Likewise.
60199         * dirent/seekdir.c: Likewise.
60200         * dirent/telldir.c: Likewise.
60201         * gmon/profil.c: Likewise.
60202         * grp/setgroups.c: Likewise.
60203         * inet/if_index.c: Likewise.
60204         * io/access.c: Likewise.
60205         * io/chdir.c: Likewise.
60206         * io/chmod.c: Likewise.
60207         * io/chown.c: Likewise.
60208         * io/close.c: Likewise.
60209         * io/dup.c: Likewise.
60210         * io/dup2.c: Likewise.
60211         * io/dup3.c: Likewise.
60212         * io/euidaccess.c: Likewise.
60213         * io/faccessat.c: Likewise.
60214         * io/fchdir.c: Likewise.
60215         * io/fchmod.c: Likewise.
60216         * io/fchmodat.c: Likewise.
60217         * io/fchown.c: Likewise.
60218         * io/fchownat.c: Likewise.
60219         * io/fcntl.c: Likewise.
60220         * io/flock.c: Likewise.
60221         * io/fstatfs.c: Likewise.
60222         * io/fstatfs64.c: Likewise.
60223         * io/fstatvfs.c: Likewise.
60224         * io/fstatvfs64.c: Likewise.
60225         * io/futimens.c: Likewise.
60226         * io/fxstat.c: Likewise.
60227         * io/fxstat64.c: Likewise.
60228         * io/fxstatat.c: Likewise.
60229         * io/fxstatat64.c: Likewise.
60230         * io/getcwd.c: Likewise.
60231         * io/isatty.c: Likewise.
60232         * io/lchmod.c: Likewise.
60233         * io/lchown.c: Likewise.
60234         * io/link.c: Likewise.
60235         * io/linkat.c: Likewise.
60236         * io/lseek.c: Likewise.
60237         * io/lseek64.c: Likewise.
60238         * io/lxstat64.c: Likewise.
60239         * io/mkdir.c: Likewise.
60240         * io/mkdirat.c: Likewise.
60241         * io/mkfifo.c: Likewise.
60242         * io/mkfifoat.c: Likewise.
60243         * io/open.c: Likewise.
60244         * io/open64.c: Likewise.
60245         * io/openat.c: Likewise.
60246         * io/openat64.c: Likewise.
60247         * io/pipe.c: Likewise.
60248         * io/pipe2.c: Likewise.
60249         * io/poll.c: Likewise.
60250         * io/posix_fadvise.c: Likewise.
60251         * io/posix_fadvise64.c: Likewise.
60252         * io/posix_fallocate.c: Likewise.
60253         * io/posix_fallocate64.c: Likewise.
60254         * io/read.c: Likewise.
60255         * io/readlink.c: Likewise.
60256         * io/readlinkat.c: Likewise.
60257         * io/rmdir.c: Likewise.
60258         * io/sendfile.c: Likewise.
60259         * io/sendfile64.c: Likewise.
60260         * io/statfs.c: Likewise.
60261         * io/statfs64.c: Likewise.
60262         * io/statvfs.c: Likewise.
60263         * io/statvfs64.c: Likewise.
60264         * io/symlink.c: Likewise.
60265         * io/symlinkat.c: Likewise.
60266         * io/ttyname.c: Likewise.
60267         * io/ttyname_r.c: Likewise.
60268         * io/umask.c: Likewise.
60269         * io/unlink.c: Likewise.
60270         * io/unlinkat.c: Likewise.
60271         * io/utime.c: Likewise.
60272         * io/utimensat.c: Likewise.
60273         * io/write.c: Likewise.
60274         * io/xmknod.c: Likewise.
60275         * io/xmknodat.c: Likewise.
60276         * io/xstat.c: Likewise.
60277         * io/xstat64.c: Likewise.
60278         * login/getpt.c: Likewise.
60279         * login/grantpt.c: Likewise.
60280         * login/unlockpt.c: Likewise.
60281         * math/e_acoshl.c: Likewise.
60282         * math/e_acosl.c: Likewise.
60283         * math/e_asinl.c: Likewise.
60284         * math/e_atan2l.c: Likewise.
60285         * math/e_atanhl.c: Likewise.
60286         * math/e_coshl.c: Likewise.
60287         * math/e_expl.c: Likewise.
60288         * math/e_fmodl.c: Likewise.
60289         * math/e_gammal_r.c: Likewise.
60290         * math/e_hypotl.c: Likewise.
60291         * math/e_j0l.c: Likewise.
60292         * math/e_j1l.c: Likewise.
60293         * math/e_jnl.c: Likewise.
60294         * math/e_lgammal_r.c: Likewise.
60295         * math/e_log10l.c: Likewise.
60296         * math/e_log2l.c: Likewise.
60297         * math/e_logl.c: Likewise.
60298         * math/e_powl.c: Likewise.
60299         * math/e_rem_pio2l.c: Likewise.
60300         * math/e_sinhl.c: Likewise.
60301         * math/e_sqrtl.c: Likewise.
60302         * math/fclrexcpt.c: Likewise.
60303         * math/fedisblxcpt.c: Likewise.
60304         * math/feenablxcpt.c: Likewise.
60305         * math/fegetenv.c: Likewise.
60306         * math/fegetexcept.c: Likewise.
60307         * math/fegetround.c: Likewise.
60308         * math/feholdexcpt.c: Likewise.
60309         * math/fesetenv.c: Likewise.
60310         * math/fesetround.c: Likewise.
60311         * math/feupdateenv.c: Likewise.
60312         * math/fgetexcptflg.c: Likewise.
60313         * math/fraiseexcpt.c: Likewise.
60314         * math/fsetexcptflg.c: Likewise.
60315         * math/ftestexcept.c: Likewise.
60316         * math/k_cosl.c: Likewise.
60317         * math/k_rem_pio2l.c: Likewise.
60318         * math/k_sinl.c: Likewise.
60319         * math/k_tanl.c: Likewise.
60320         * math/s_asinhl.c: Likewise.
60321         * math/s_atanl.c: Likewise.
60322         * math/s_cbrtl.c: Likewise.
60323         * math/s_erfl.c: Likewise.
60324         * math/s_expm1l.c: Likewise.
60325         * math/s_log1pl.c: Likewise.
60326         * math/s_tanhl.c: Likewise.
60327         * misc/acct.c: Likewise.
60328         * misc/brk.c: Likewise.
60329         * misc/chflags.c: Likewise.
60330         * misc/chroot.c: Likewise.
60331         * misc/fchflags.c: Likewise.
60332         * misc/fgetxattr.c: Likewise.
60333         * misc/flistxattr.c: Likewise.
60334         * misc/fremovexattr.c: Likewise.
60335         * misc/fsetxattr.c: Likewise.
60336         * misc/fsync.c: Likewise.
60337         * misc/ftruncate.c: Likewise.
60338         * misc/futimes.c: Likewise.
60339         * misc/futimesat.c: Likewise.
60340         * misc/getdomain.c: Likewise.
60341         * misc/getdtsz.c: Likewise.
60342         * misc/gethostid.c: Likewise.
60343         * misc/gethostname.c: Likewise.
60344         * misc/getloadavg.c: Likewise.
60345         * misc/getpagesize.c: Likewise.
60346         * misc/getsysstats.c: Likewise.
60347         * misc/getxattr.c: Likewise.
60348         * misc/gtty.c: Likewise.
60349         * misc/ioctl.c: Likewise.
60350         * misc/lgetxattr.c: Likewise.
60351         * misc/listxattr.c: Likewise.
60352         * misc/llistxattr.c: Likewise.
60353         * misc/lremovexattr.c: Likewise.
60354         * misc/lsetxattr.c: Likewise.
60355         * misc/lutimes.c: Likewise.
60356         * misc/madvise.c: Likewise.
60357         * misc/mincore.c: Likewise.
60358         * misc/mlock.c: Likewise.
60359         * misc/mlockall.c: Likewise.
60360         * misc/mmap.c: Likewise.
60361         * misc/mprotect.c: Likewise.
60362         * misc/msync.c: Likewise.
60363         * misc/munlock.c: Likewise.
60364         * misc/munlockall.c: Likewise.
60365         * misc/munmap.c: Likewise.
60366         * misc/preadv.c: Likewise.
60367         * misc/preadv64.c: Likewise.
60368         * misc/ptrace.c: Likewise.
60369         * misc/pwritev.c: Likewise.
60370         * misc/pwritev64.c: Likewise.
60371         * misc/readv.c: Likewise.
60372         * misc/reboot.c: Likewise.
60373         * misc/remap_file_pages.c: Likewise.
60374         * misc/removexattr.c: Likewise.
60375         * misc/revoke.c: Likewise.
60376         * misc/select.c: Likewise.
60377         * misc/setdomain.c: Likewise.
60378         * misc/setegid.c: Likewise.
60379         * misc/seteuid.c: Likewise.
60380         * misc/sethostid.c: Likewise.
60381         * misc/sethostname.c: Likewise.
60382         * misc/setregid.c: Likewise.
60383         * misc/setreuid.c: Likewise.
60384         * misc/setxattr.c: Likewise.
60385         * misc/sstk.c: Likewise.
60386         * misc/stty.c: Likewise.
60387         * misc/swapoff.c: Likewise.
60388         * misc/swapon.c: Likewise.
60389         * misc/sync.c: Likewise.
60390         * misc/syncfs.c: Likewise.
60391         * misc/syscall.c: Likewise.
60392         * misc/truncate.c: Likewise.
60393         * misc/ualarm.c: Likewise.
60394         * misc/usleep.c: Likewise.
60395         * misc/ustat.c: Likewise.
60396         * misc/utimes.c: Likewise.
60397         * misc/vhangup.c: Likewise.
60398         * misc/writev.c: Likewise.
60399         * posix/_exit.c: Likewise.
60400         * posix/alarm.c: Likewise.
60401         * posix/execve.c: Likewise.
60402         * posix/fexecve.c: Likewise.
60403         * posix/fork.c: Likewise.
60404         * posix/fpathconf.c: Likewise.
60405         * posix/getaddrinfo.c: Likewise.
60406         * posix/getegid.c: Likewise.
60407         * posix/geteuid.c: Likewise.
60408         * posix/getgid.c: Likewise.
60409         * posix/getgroups.c: Likewise.
60410         * posix/getlogin.c: Likewise.
60411         * posix/getlogin_r.c: Likewise.
60412         * posix/getpgid.c: Likewise.
60413         * posix/getpid.c: Likewise.
60414         * posix/getppid.c: Likewise.
60415         * posix/getresgid.c: Likewise.
60416         * posix/getresuid.c: Likewise.
60417         * posix/getsid.c: Likewise.
60418         * posix/getuid.c: Likewise.
60419         * posix/glob64.c: Likewise.
60420         * posix/nanosleep.c: Likewise.
60421         * posix/pathconf.c: Likewise.
60422         * posix/pause.c: Likewise.
60423         * posix/posix_madvise.c: Likewise.
60424         * posix/pread.c: Likewise.
60425         * posix/pread64.c: Likewise.
60426         * posix/pwrite.c: Likewise.
60427         * posix/pwrite64.c: Likewise.
60428         * posix/sched_getaffinity.c: Likewise.
60429         * posix/sched_getp.c: Likewise.
60430         * posix/sched_gets.c: Likewise.
60431         * posix/sched_primax.c: Likewise.
60432         * posix/sched_primin.c: Likewise.
60433         * posix/sched_rr_gi.c: Likewise.
60434         * posix/sched_setaffinity.c: Likewise.
60435         * posix/sched_setp.c: Likewise.
60436         * posix/sched_sets.c: Likewise.
60437         * posix/sched_yield.c: Likewise.
60438         * posix/setgid.c: Likewise.
60439         * posix/setlogin.c: Likewise.
60440         * posix/setpgid.c: Likewise.
60441         * posix/setresgid.c: Likewise.
60442         * posix/setresuid.c: Likewise.
60443         * posix/setsid.c: Likewise.
60444         * posix/setuid.c: Likewise.
60445         * posix/sleep.c: Likewise.
60446         * posix/spawni.c: Likewise.
60447         * posix/sysconf.c: Likewise.
60448         * posix/times.c: Likewise.
60449         * posix/wait.c: Likewise.
60450         * posix/wait3.c: Likewise.
60451         * posix/wait4.c: Likewise.
60452         * posix/waitpid.c: Likewise.
60453         * resolv/gai_sigqueue.c: Likewise.
60454         * resource/getpriority.c: Likewise.
60455         * resource/getrlimit.c: Likewise.
60456         * resource/getrusage.c: Likewise.
60457         * resource/nice.c: Likewise.
60458         * resource/setpriority.c: Likewise.
60459         * resource/setrlimit.c: Likewise.
60460         * resource/ulimit.c: Likewise.
60461         * rt/aio_cancel.c: Likewise.
60462         * rt/aio_fsync.c: Likewise.
60463         * rt/aio_read.c: Likewise.
60464         * rt/aio_sigqueue.c: Likewise.
60465         * rt/aio_suspend.c: Likewise.
60466         * rt/aio_write.c: Likewise.
60467         * rt/clock_getres.c: Likewise.
60468         * rt/clock_gettime.c: Likewise.
60469         * rt/clock_nanosleep.c: Likewise.
60470         * rt/clock_settime.c: Likewise.
60471         * rt/lio_listio.c: Likewise.
60472         * rt/mq_close.c: Likewise.
60473         * rt/mq_getattr.c: Likewise.
60474         * rt/mq_notify.c: Likewise.
60475         * rt/mq_open.c: Likewise.
60476         * rt/mq_receive.c: Likewise.
60477         * rt/mq_send.c: Likewise.
60478         * rt/mq_setattr.c: Likewise.
60479         * rt/mq_timedreceive.c: Likewise.
60480         * rt/mq_timedsend.c: Likewise.
60481         * rt/mq_unlink.c: Likewise.
60482         * rt/shm_open.c: Likewise.
60483         * rt/shm_unlink.c: Likewise.
60484         * rt/timer_create.c: Likewise.
60485         * rt/timer_delete.c: Likewise.
60486         * rt/timer_getoverr.c: Likewise.
60487         * rt/timer_gettime.c: Likewise.
60488         * rt/timer_settime.c: Likewise.
60489         * setjmp/__longjmp.c: Likewise.
60490         * setjmp/setjmp.c: Likewise.
60491         * signal/kill.c: Likewise.
60492         * signal/killpg.c: Likewise.
60493         * signal/raise.c: Likewise.
60494         * signal/sigaction.c: Likewise.
60495         * signal/sigaltstack.c: Likewise.
60496         * signal/sigblock.c: Likewise.
60497         * signal/sigignore.c: Likewise.
60498         * signal/sigintr.c: Likewise.
60499         * signal/signal.c: Likewise.
60500         * signal/sigpause.c: Likewise.
60501         * signal/sigpending.c: Likewise.
60502         * signal/sigqueue.c: Likewise.
60503         * signal/sigreturn.c: Likewise.
60504         * signal/sigset.c: Likewise.
60505         * signal/sigsetmask.c: Likewise.
60506         * signal/sigstack.c: Likewise.
60507         * signal/sigsuspend.c: Likewise.
60508         * signal/sigtimedwait.c: Likewise.
60509         * signal/sigvec.c: Likewise.
60510         * signal/sigwait.c: Likewise.
60511         * signal/sigwaitinfo.c: Likewise.
60512         * signal/sysv_signal.c: Likewise.
60513         * socket/accept.c: Likewise.
60514         * socket/accept4.c: Likewise.
60515         * socket/bind.c: Likewise.
60516         * socket/connect.c: Likewise.
60517         * socket/getpeername.c: Likewise.
60518         * socket/getsockname.c: Likewise.
60519         * socket/getsockopt.c: Likewise.
60520         * socket/isfdtype.c: Likewise.
60521         * socket/listen.c: Likewise.
60522         * socket/recv.c: Likewise.
60523         * socket/recvfrom.c: Likewise.
60524         * socket/recvmsg.c: Likewise.
60525         * socket/send.c: Likewise.
60526         * socket/sendmsg.c: Likewise.
60527         * socket/sendto.c: Likewise.
60528         * socket/setsockopt.c: Likewise.
60529         * socket/shutdown.c: Likewise.
60530         * socket/sockatmark.c: Likewise.
60531         * socket/socket.c: Likewise.
60532         * socket/socketpair.c: Likewise.
60533         * stdio-common/ctermid.c: Likewise.
60534         * stdio-common/cuserid.c: Likewise.
60535         * stdio-common/remove.c: Likewise.
60536         * stdio-common/rename.c: Likewise.
60537         * stdio-common/renameat.c: Likewise.
60538         * stdio-common/tempname.c: Likewise.
60539         * stdlib/getcontext.c: Likewise.
60540         * stdlib/makecontext.c: Likewise.
60541         * stdlib/setcontext.c: Likewise.
60542         * stdlib/swapcontext.c: Likewise.
60543         * stdlib/system.c: Likewise.
60544         * streams/fattach.c: Likewise.
60545         * streams/fdetach.c: Likewise.
60546         * streams/getmsg.c: Likewise.
60547         * streams/getpmsg.c: Likewise.
60548         * streams/putmsg.c: Likewise.
60549         * streams/putpmsg.c: Likewise.
60550         * sysdeps/unix/bsd/getpt.c: Likewise.
60551         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
60552         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
60553         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
60554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
60555         Likewise.
60556         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
60557         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
60558         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
60559         * sysvipc/msgctl.c: Likewise.
60560         * sysvipc/msgget.c: Likewise.
60561         * sysvipc/msgrcv.c: Likewise.
60562         * sysvipc/msgsnd.c: Likewise.
60563         * sysvipc/semctl.c: Likewise.
60564         * sysvipc/semget.c: Likewise.
60565         * sysvipc/semop.c: Likewise.
60566         * sysvipc/semtimedop.c: Likewise.
60567         * sysvipc/shmat.c: Likewise.
60568         * sysvipc/shmctl.c: Likewise.
60569         * sysvipc/shmdt.c: Likewise.
60570         * sysvipc/shmget.c: Likewise.
60571         * termios/tcdrain.c: Likewise.
60572         * termios/tcflow.c: Likewise.
60573         * termios/tcflush.c: Likewise.
60574         * termios/tcgetattr.c: Likewise.
60575         * termios/tcgetpgrp.c: Likewise.
60576         * termios/tcsendbrk.c: Likewise.
60577         * termios/tcsetattr.c: Likewise.
60578         * termios/tcsetpgrp.c: Likewise.
60579         * time/adjtime.c: Likewise.
60580         * time/clock.c: Likewise.
60581         * time/getitimer.c: Likewise.
60582         * time/gettimeofday.c: Likewise.
60583         * time/setitimer.c: Likewise.
60584         * time/settimeofday.c: Likewise.
60585         * time/stime.c: Likewise.
60586         * time/time.c: Likewise.
60588 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
60590         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
60591         /usr/old/bin.
60593         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
60594         instead of spaces.
60595         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
60597 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
60599         [BZ #14796]
60600         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
60601         FE_TONEAREST before applying Dekker multiplication and Knuth
60602         addition.  Clear inexact exceptions and check for exact zero
60603         results afterwards.
60604         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60605         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
60606         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60607         * math/libm-test.inc (fma_test): Add more tests.
60608         (fma_test_towardzero): Likewise.
60609         (fma_test_downward): Likewise.
60610         (fma_test_upward): Likewise.
60611         * sysdeps/generic/math_private.h (default_libc_fesetround): New
60612         function.
60613         (libc_fesetround): New macro.
60614         (libc_fesetroundf): Likewise.
60615         (libc_fesetroundl): Likewise.
60616         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
60617         function.
60618         (libc_fesetround_387): Likewise.
60619         (libc_fesetroundf): New macro.
60620         (libc_fesetround): Likewise.
60621         (libc_fesetroundl): Likewise.
60622         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
60623         function.
60624         (libc_fesetroundf): New macro.
60625         (libc_fesetround): Likewise.
60626         (libc_fesetroundl): Likewise.
60627         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
60628         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
60629         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
60630         libm_hidden_ver.
60631         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
60632         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
60633         libm_hidden_def.
60634         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
60635         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
60636         libm_hidden_ver.
60637         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
60638         libm_hidden_def.
60640         [BZ #3439]
60641         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
60642         integer constant usable in #if and use that to give value to enum
60643         constant.
60644         (FE_DIVBYZERO): Likewise.
60645         (FE_UNDERFLOW): Likewise.
60646         (FE_OVERFLOW): Likewise.
60647         (FE_INVALID): Likewise.
60648         (FE_INVALID_SNAN): Likewise.
60649         (FE_INVALID_ISI): Likewise.
60650         (FE_INVALID_IDI): Likewise.
60651         (FE_INVALID_ZDZ): Likewise.
60652         (FE_INVALID_IMZ): Likewise.
60653         (FE_INVALID_COMPARE): Likewise.
60654         (FE_INVALID_SOFTWARE): Likewise.
60655         (FE_INVALID_SQRT): Likewise.
60656         (FE_INVALID_INTEGER_CONVERSION): Likewise.
60657         (FE_TONEAREST): Likewise.
60658         (FE_TOWARDZERO): Likewise.
60659         (FE_UPWARD): Likewise.
60660         (FE_DOWNWARD): Likewise.
60661         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
60662         (FE_DIVBYZERO): Likewise.
60663         (FE_OVERFLOW): Likewise.
60664         (FE_UNDERFLOW): Likewise.
60665         (FE_INEXACT): Likewise.
60666         (FE_TONEAREST): Likewise.
60667         (FE_DOWNWARD): Likewise.
60668         (FE_UPWARD): Likewise.
60669         (FE_TOWARDZERO): Likewise.
60670         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
60671         (FE_UNDERFLOW): Likewise.
60672         (FE_OVERFLOW): Likewise.
60673         (FE_DIVBYZERO): Likewise.
60674         (FE_INVALID): Likewise.
60675         (FE_TONEAREST): Likewise.
60676         (FE_TOWARDZERO): Likewise.
60677         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
60678         (FE_OVERFLOW): Likewise.
60679         (FE_UNDERFLOW): Likewise.
60680         (FE_DIVBYZERO): Likewise.
60681         (FE_INEXACT): Likewise.
60682         (FE_TONEAREST): Likewise.
60683         (FE_TOWARDZERO): Likewise.
60684         (FE_UPWARD): Likewise.
60685         (FE_DOWNWARD): Likewise.
60686         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
60687         (FE_DIVBYZERO): Likewise.
60688         (FE_OVERFLOW): Likewise.
60689         (FE_UNDERFLOW): Likewise.
60690         (FE_INEXACT): Likewise.
60691         (FE_TONEAREST): Likewise.
60692         (FE_DOWNWARD): Likewise.
60693         (FE_UPWARD): Likewise.
60694         (FE_TOWARDZERO): Likewise.
60696 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
60698         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
60700 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
60702         * scripts/cross-test-ssh.sh (command): Use newlines to separate
60703         commands.  Quote $PWD.
60704         (blacklist_exports): Don't use remove_newlines.  Replace "declare
60705         -x" by "export".
60706         (remove_newlines): Remove.
60708 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
60710         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
60711         * stdlib/stdlib.h (atof): Moved to ...
60712         * include/bits/stdlib-float.h: Here.  New file.
60713         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
60714         * stdlib/bits/stdlib-float.h: New file.
60715         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
60716         -mno-sse -mno-mmx.
60717         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
60718         <xmmintrin.h>.
60720 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
60722         * conform/conformtest.pl (@headers): Add fenv.h.
60723         * conform/data/fenv.h-data: New file.
60724         * include/fenv.h [_ISOMAC]: Disable all contents of file except
60725         include of <math/fenv.h>.
60727         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
60728         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
60729         && !UNIX98].  Enables tests for XOPEN2K8.
60730         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
60731         POSIX2008]: Likewise.
60733         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
60734         (struct rusage): Do not expect type or its members.
60736         [BZ #3439]
60737         * math/math.h (FP_NAN): Define macro to integer constant usable in
60738         #if and use that to give value to enum constant.
60739         (FP_INFINITE): Likewise.
60740         (FP_ZERO): Likewise.
60741         (FP_SUBNORMAL): Likewise.
60742         (FP_NORMAL): Likewise.
60744 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
60746         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
60747         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
60748         arguments.
60750 2012-11-02  Roland McGrath  <roland@hack.frob.com>
60752         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
60753         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
60754         autoconf-time if not.
60755         * configure.in: Remove AC_PREREQ.
60757 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60759         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
60760         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
60761         of the internal implementation.
60763 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
60765         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
60766         except include of <misc/sys/syslog.h>.
60768 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
60770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
60771         function returns with a NULL context exit with zero.
60773 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60775         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
60777 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
60779         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
60780         (run_program_cmd): This.
60781         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
60782         (tst_langinfo): New variable.  Use it.
60784 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
60786         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
60787         floating point opcodes.
60789 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
60791         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
60792         variable.
60794         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
60796         * sysdeps/mach/hurd/powerpc: Remove directory.
60797         * sysdeps/mach/powerpc: Likewise.
60799 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
60801         * scripts/check-local-headers.sh: Ignore c++ headers.
60803 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
60805         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
60806         __libc_cleanup_region_start argument.
60808 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
60810         [BZ #14784]
60811         [BZ #14785]
60812         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
60813         x * y using scaling, not as x * y + z.
60814         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60815         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60816         * math/libm-test.inc (fma_test): Add more tests.
60817         (fma_test_towardzero): Likewise.
60818         (fma_test_downward): Likewise.
60819         (fma_test_upward): Likewise.
60821 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
60823         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
60825 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
60827         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
60828         New variable.
60830 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
60832         * rt/tst-shm.c (worker): Correct checking for mmap failure.
60834 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
60836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60837         Fix sort order.
60838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60839         Likewise.
60841 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60844         Fix the order of the list for glibc 2.17.
60845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60846         Likewise.
60848 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
60850         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60852 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
60854         [BZ #14610]
60855         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
60856         for low part of x being zero before using __atanl (y).
60857         * math/libm-test.inc (atan2_test): Add another test.
60859         * manual/install.texi (Configuring and compiling): Document
60860         general use of test-wrapper and test-wrapper-env.
60861         * INSTALL: Regenerated.
60863         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
60864         (__fma): Do not extract and scale down low bits on after-rounding
60865         systems when result rounded to normal precision would have normal
60866         exponent.
60867         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
60868         (__fmal): Do not extract and scale down low bits on after-rounding
60869         systems when result rounded to normal precision would have normal
60870         exponent.
60871         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
60872         (__fmal): Do not extract and scale down low bits on after-rounding
60873         systems when result rounded to normal precision would have normal
60874         exponent.
60875         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
60876         macro.
60877         (fma_test): Add more tests.
60878         (fma_test_towardzero): Likewise.
60879         (fma_test_downward): Likewise.
60880         (fma_test_upward): Likewise.
60882 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
60884         * sysdeps/i386/tininess.h: Renamed to ...
60885         * sysdeps/x86/tininess.h: This.
60886         * sysdeps/x86_64/tininess.h: Removed.
60888 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
60890         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
60891         input.  Use $(build-program-cmd).
60892         ($(objpfx)tst-array1-static.out): Likewise.
60893         ($(objpfx)tst-array2.out): Likewise.
60894         ($(objpfx)tst-array3.out): Likewise.
60895         ($(objpfx)tst-array4.out): Likewise.
60896         ($(objpfx)tst-array5.out): Likewise.
60897         ($(objpfx)tst-array5-static.out): Likewise.
60899 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
60901         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
60902         if defined.
60904         * nss/nsswitch.h (nss_interface_function): Provide new
60905         macro for use with NSS functions.
60906         * grp/initgroups.c: Use new macro.
60907         * nss/getXXbyYY.c: Likewise.
60908         * nss/getXXbyYY_r.c: Likewise.
60909         * nss/getXXent.c: Likewise.
60910         * nss/getXXent_r.c: Likewise.
60911         * sysdeps/posix/getaddrinfo.c: Likewise.
60913 2012-10-30  Andreas Jaeger  <aj@suse.de>
60915         * po/ru.po: Update Russion translation from translation project.
60917 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
60919         [BZ #14152]
60920         [BZ #14783]
60921         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
60922         result and shift together with sticky bit instead of replicating
60923         round-to-nearest rounding.
60924         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60925         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60926         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
60927         missing underflow exceptions.
60928         (fma_test_towardzero): Add more tests.
60929         (fma_test_downward): Likewise.
60930         (fma_test_upward): Likewise.
60932         [BZ #14047]
60933         * sysdeps/generic/tininess.h: New file.
60934         * sysdeps/i386/tininess.h: Likewise.
60935         * sysdeps/sh/tininess.h: Likewise.
60936         * sysdeps/x86_64/tininess.h: Likewise.
60937         * stdlib/tst-strtod-underflow.c: Likewise.
60938         * stdlib/tst-tininess.c: Likewise.
60939         * stdlib/strtod_l.c: Include <tininess.h>.
60940         (round_and_return): Do not set errno for exact underflow cases.
60941         Force an underflow exception when setting errno for underflow.
60942         Determine underflow based on rounding to normal precision if
60943         TININESS_AFTER_ROUNDING.
60944         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
60945         ERANGE for exact underflow cases.
60946         * stdlib/Makefile (tests): Add tst-tininess and
60947         tst-strtod-underflow.
60948         ($(objpfx)tst-tininess): Use $(link-libm).
60949         ($(objpfx)tst-strtod-underflow): Likewise.
60951 2012-10-30  Andreas Jaeger  <aj@suse.de>
60953         [BZ#14767]
60954         * elf/Makefile (tests): Remove conditional for have-initfini-array
60955         since this is now always required and the variable does not exist
60956         anymore.
60957         (tests-static): Likewise.
60958         (modules-names): Likewise.
60960         * po/eo.po: Add Esperanto translation from translation project.
60962         * elf/tst-array1.c (fini_array): Make writeable so that it can be
60963         merged with constructor/destructor.
60964         (init_array): Likewise.
60965         * elf/tst-array2dep.c (fini_array): Likewise.
60966         (init_array): Likewise.
60968 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
60970         * manual/message.texi: Delete @cartouche tags.
60972 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
60974         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
60975         EOPNOTSUPP.
60976         * sysdeps/mach/hurd/fsync.c: Likewise.
60978         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
60979         [_POSIX_REALTIME_SIGNALS]: Change condition to
60980         [_POSIX_REALTIME_SIGNALS > 0].
60982 2012-10-27  Andreas Jaeger  <aj@suse.de>
60984         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
60985         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
60986         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
60987         [__WORDSIZE != 64]: Likewise.
60989 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
60991         *  iconvdata/tst-table.sh: Remove ${SHELL}.
60992         *  iconvdata/tst-tables.sh: Likewise.
60994 2012-10-25  David S. Miller  <davem@davemloft.net>
60996         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60997         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
60998         of strtoull.
61000         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
61001         ifunc-impl-list.c
61002         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
61003         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
61004         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
61005         file.
61007 2012-10-25  Roland McGrath  <roland@hack.frob.com>
61009         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
61010         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
61011         __getdirentries.
61013 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
61014             Jim Blandy  <jimb@codesourcery.com>
61016         * scripts/cross-test-ssh.sh: New file.
61017         * manual/install.texi (Configuring and compiling): Document use of
61018         cross-test-ssh.sh.
61019         * INSTALL: Regenerated.
61021 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
61023         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
61024         EOPNOTSUPP.
61026 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
61028         * Makeconfig (run-program-prefix): Fix comment.
61030 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
61031             Jim Blandy  <jimb@codesourcery.com>
61033         * Makeconfig (test-wrapper): New variable,
61034         (test-wrapper-env): Likewise.
61035         [$(cross-compiling) = yes && $(test-wrapper) != ""]
61036         (run-built-tests): Define to yes.
61037         (run-program-prefix): Use $(test-wrapper).
61038         (built-program-cmd): Likewise.
61039         * Rules (make-test-out): Use $(test-wrapper-env) and
61040         $(host-built-program-cmd).
61041         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
61042         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
61043         tst-pathopt.sh.
61044         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
61045         $(test-wrapper-env) to tst-rtld-load-self.sh.
61046         ($(objpfx)order2.out): Use $(test-wrapper).
61047         ($(objpfx)tst-initorder.out): Likewise.
61048         ($(objpfx)tst-initorder2.out): Likewise.
61049         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
61050         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
61051         (test_wrapper_env): New variable.  Use it to run ld.so.
61052         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
61053         Use it to run ld.so.
61054         (test_wrapper_env): Likewise.
61055         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
61056         $(test-wrapper) to run-iconv-test.sh.
61057         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
61058         (ICONV): Use $test_wrapper.
61059         * posix/Makefile ($(objpfx)globtest.out): Pass
61060         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
61061         globtest.sh, not $(run-program-prefix).
61062         * posix/globtest.sh (run_via_rtld_prefix): New variable.
61063         (test_wrapper): Likewise.
61064         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
61065         set together with run_via_rtld_prefix.
61066         (run_program_prefix): Define in terms of test_wrapper and
61067         run_via_rtld_prefix.
61069 2012-10-24  Roland McGrath  <roland@hack.frob.com>
61071         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
61072         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
61073         Targets removed.
61075         [BZ #14743]
61076         * include/time.h: Remove librt_hidden_proto (clock_gettime).
61077         Declare __clock_getres, __clock_gettime, __clock_settime,
61078         __clock_nanosleep, and __clock_getcpuclockid.
61079         * rt/clock_gettime.c: Define __clock_gettime as an alias.
61080         Remove librt_hidden_def (clock_gettime).
61081         * sysdeps/unix/clock_gettime.c: Likewise.
61082         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
61083         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
61084         * rt/clock_getres.c: Define __clock_getres as an alias.
61085         * sysdeps/posix/clock_getres.c: Likewise.
61086         * rt/clock_settime.c: Define __clock_settime as an alias.
61087         * sysdeps/unix/clock_settime.c: Likewise.
61088         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
61089         * sysdeps/unix/clock_nanosleep.c: Likewise.
61090         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
61091         * rt/clock-compat.c: New file.
61092         * rt/Makefile (librt-routines): Add clock-compat and move
61093         $(clock-routines) to ...
61094         (routines): ... here, new variable.
61095         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
61096         Don't add get_clockfreq here.
61097         * rt/Versions (libc: GLIBC_2.17): New version set.
61098         Add clock_* symbols here.
61099         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
61100         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
61101         (GLIBC_2.17): Add clock_* symbols.
61102         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
61103         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
61104         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
61105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
61106         Likewise.
61107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61108         Likewise.
61109         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
61110         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
61111         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
61112         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
61113         * NEWS: Mention the move.
61115         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
61116         Use __open, __read, __close rather than their public counterparts.
61117         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
61118         (__get_clockfreq_via_cpuinfo): Likewise.
61119         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
61120         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
61122         * config.h.in (HAVE_IFUNC): New #undef.
61123         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
61124         was successful.
61125         * configure: Regenerated.
61127 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
61129         * configure.in: Move READELF check to start of file.
61130         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
61131         libc_cv_asm_gnu_indirect_function in the process.
61132         * configure: Regenerated.
61134 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
61136         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
61137         send the output to /dev/null.
61138         (libc_cv_cc_with_libunwind): Likewise.
61139         (libc_cv_as_noexecstack): Likewise.
61140         * configure: Regenerate.
61142 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
61144         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
61146         * posix/globtest.sh (TMPDIR): Do not set.
61147         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
61148         (testout): Likewise.
61150 2012-10-24  Andreas Jaeger  <aj@suse.de>
61152         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
61153         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
61154         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
61155         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
61156         posix_fadvise64, posix_fallocate64.
61158         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
61159         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
61160         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
61161         Likewise.
61162         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
61163         Likewise.
61164         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
61166         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
61167         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
61168         <bits/fcntl-linux.h>.
61169         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
61171         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
61172         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
61173         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
61174         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
61175         [__WORDSIZE != 64]: Likewise.
61177 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
61179         * Makeconfig (run-built-tests): New variable.
61180         * Rules [$(cross-compiling) = yes]: Change condition to
61181         [$(run-built-tests) = no].
61182         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
61183         to [$(run-built-tests) = yes].
61184         * elf/Makefile [$(cross-compiling) = no]: Likewise.
61185         * grp/Makefile [$(cross-compiling) = no]: Likewise.
61186         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
61187         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
61188         * intl/Makefile [$(cross-compiling) = no]: Likewise.
61189         * io/Makefile [$(cross-compiling) = no]: Likewise.
61190         * libio/Makefile [$(cross-compiling) = no]: Likewise.
61191         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
61192         * misc/Makefile [$(cross-compiling) = no]: Likewise.
61193         * posix/Makefile [$(cross-compiling) = no]: Likewise.
61194         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
61195         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
61196         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
61197         * string/Makefile [$(cross-compiling) = no]: Likewise.
61199         * posix/Makefile ($(objpfx)globtest.out): Pass
61200         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
61201         $(rtld-installed-name).
61202         * posix/globtest.sh (elf_objpfx): Remove variable.
61203         (rtld_installed_name): Likewise.
61204         (library_path): Likewise.
61205         (run_program_prefix): New variable.  Use for running globtest
61206         binary.
61208 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
61209             Joseph Myers  <joseph@codesourcery.com>
61211         * Makeconfig (host-built-program-cmd): New variable.
61212         * elf/Makefile (tst-stackguard1-ARGS): Use
61213         $(host-built-program-cmd).
61214         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
61215         (tst-spawn-ARGS): Likewise.
61216         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
61218 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
61219             Jim Blandy  <jimb@codesourcery.com>
61221         * Makeconfig (run-via-rtld-prefix): New variable.
61222         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
61223         (built-program-cmd): Likewise.
61225 2012-10-22  Andreas Jaeger  <aj@suse.de>
61227         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
61228         __O_RSYNC if it exists, otherwise to O_SYNC.
61230 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
61231             Joseph Myers  <joseph@codesourcery.com>
61233         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
61234         /dev/null.
61235         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
61236         from /dev/null
61237         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
61238         /dev/null.
61240 2012-10-22  Andreas Jaeger  <aj@suse.de>
61242         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
61243         Define always.
61244         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
61246         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61247         bits/fcntl-linux.h.
61249         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
61250         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
61252         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
61253         to __O_LARGEFILE.
61254         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
61255         to __O_LARGEFILE.
61257 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
61258             Joseph Myers  <joseph@codesourcery.com>
61260         * config.make.in (NM): New variable.
61262 2012-10-21  Andreas Jaeger  <aj@suse.de>
61264         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
61265         definitions and declarations that are provided by
61266         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
61268 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
61270         [BZ #14683]
61271         * elf/Makefile (tests-static): Add tst-leaks1-static.
61272         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
61273         ($(objpfx)tst-leaks1-static): New rule.
61274         ($(objpfx)tst-leaks1-static-mem): Likewise.
61275         (tst-leaks1-static-ENV): New macro.
61276         * elf/dl-open.c (dl_open_worker): Check the main application
61277         only if SHARED is defined.
61278         * elf/tst-leaks1-static.c: New file.
61280 2012-10-20  Andreas Jaeger  <aj@suse.de>
61282         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
61283         generic values for Linux.
61284         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
61285         and declarations that are provided by <bits/fcntl-linux.h> and
61286         include <bits/fcntl-linux.h>.
61287         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61288         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61290 2012-10-20  Roland McGrath  <roland@hack.frob.com>
61292         * io/fcntl.h: Move include of <bits/types.h> to the top and
61293         include it unconditionally.
61295 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
61297         * wcsmbs/Makefile (tests-ifunc): New variable.
61298         (tests): Add $(tests-ifunc).
61299         * wcsmbs/test-wcschr-ifunc.c: New file.
61300         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
61301         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
61302         * wcsmbs/test-wcslen-ifunc.c: Likewise.
61303         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
61304         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
61306         * string/Makefile (tests-ifunc): New variable.
61307         (tests): Add $(tests-ifunc).
61308         * string/test-memccpy.c (TEST_NAME): New macro.
61309         * string/test-memchr.c (TEST_NAME): Likewise.
61310         * string/test-memcmp.c (TEST_NAME): Likewise.
61311         * string/test-memcpy.c (TEST_NAME): Likewise.
61312         * string/test-memmem.c (TEST_NAME): Likewise.
61313         * string/test-memmove.c (TEST_NAME): Likewise.
61314         * string/test-memset.c (TEST_NAME): Likewise.
61315         * string/test-rawmemchr.c (TEST_NAME): Likewise.
61316         * string/test-stpcpy.c (TEST_NAME): Likewise.
61317         * string/test-stpncpy.c (TEST_NAME): Likewise.
61318         * string/test-strcasecmp.c (TEST_NAME): Likewise.
61319         * string/test-strcasestr.c (TEST_NAME): Likewise.
61320         * string/test-strcat.c (TEST_NAME): Likewise.
61321         * string/test-strchr.c (TEST_NAME): Likewise.
61322         * string/test-strcmp.c(TEST_NAME): Likewise.
61323         * string/test-strcpy.c (TEST_NAME): Likewise.
61324         * string/test-strcspn.c (TEST_NAME): Likewise.
61325         * string/test-strlen.c (TEST_NAME): Likewise.
61326         * string/test-strncasecmp.c (TEST_NAME): Likewise.
61327         * string/test-strncmp.c (TEST_NAME): Likewise.
61328         * string/test-strncpy.c (TEST_NAME): Likewise.
61329         * string/test-strnlen.c (TEST_NAME): Likewise.
61330         * string/test-strpbrk.c (TEST_NAME): Likewise.
61331         * string/test-strrchr.c (TEST_NAME): Likewise.
61332         * string/test-strspn.c (TEST_NAME): Likewise.
61333         * string/test-strstr.c (TEST_NAME): Likewise.
61334         * string/test-bcopy-ifunc.c: New file.
61335         * string/test-bzero-ifunc.c: Likewise.
61336         * string/test-memccpy-ifunc.c: Likewise.
61337         * string/test-memchr-ifunc.c: Likewise.
61338         * string/test-memcmp-ifunc.c: Likewise.
61339         * string/test-memcpy-ifunc.c: Likewise.
61340         * string/test-memmem-ifunc.c: Likewise.
61341         * string/test-memmove-ifunc.c: Likewise.
61342         * string/test-mempcpy-ifunc.c: Likewise.
61343         * string/test-memset-ifunc.c: Likewise.
61344         * string/test-rawmemchr-ifunc.c: Likewise.
61345         * string/test-stpcpy-ifunc.c: Likewise.
61346         * string/test-stpncpy-ifunc.c: Likewise.
61347         * string/test-strcasecmp-ifunc.c: Likewise.
61348         * string/test-strcasestr-ifunc.c: Likewise.
61349         * string/test-strcat-ifunc.c: Likewise.
61350         * string/test-strchr-ifunc.c: Likewise.
61351         * string/test-strchrnul-ifunc.c: Likewise.
61352         * string/test-strcmp-ifunc.c: Likewise.
61353         * string/test-strcpy-ifunc.c: Likewise.
61354         * string/test-strcspn-ifunc.c: Likewise.
61355         * string/test-strlen-ifunc.c: Likewise.
61356         * string/test-strncasecmp-ifunc.c: Likewise.
61357         * string/test-strncat-ifunc.c: Likewise.
61358         * string/test-strncmp-ifunc.c: Likewise.
61359         * string/test-strncpy-ifunc.c: Likewise.
61360         * string/test-strnlen-ifunc.c: Likewise.
61361         * string/test-strpbrk-ifunc.c: Likewise.
61362         * string/test-strrchr-ifunc.c: Likewise.
61363         * string/test-strspn-ifunc.c: Likewise.
61364         * string/test-strstr-ifunc.c: Likewise.
61366         * debug/Makefile (tests-ifunc): New variable.
61367         (tests): Add $(tests-ifunc).
61368         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
61369         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
61370         * debug/test-stpcpy_chk-ifunc.c: New file.
61371         * debug/test-strcpy_chk-ifunc.c: Likewise.
61373 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
61375         [BZ #13601]
61376         * elf/dl-load.c (open_verify): Retry read if the entire ELF
61377         header is not read in.
61379 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
61381         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
61382         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
61383         directly.  Pass built executable to script as
61384         $(built-program-cmd).
61385         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
61386         $testprogram without using LD_LIBRARY_PATH and $ldso.
61388         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
61389         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
61390         $(rtld-installed-name).
61391         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
61392         (rtld_installed_name): Likewise.
61393         (library_path): Likewise.
61394         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
61395         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
61396         $(run-program-prefix) to tst-tables.sh.
61397         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
61398         it to run tst-table-from and tst-table-to.
61399         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
61400         Pass it to tst-table.sh.
61401         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
61402         $(run-program-prefix) to tst-gettext.sh.
61403         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
61404         tst-translit.sh.
61405         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
61406         tst-gettext2.sh.
61407         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
61408         to run tst-gettext.
61409         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
61410         to run tst-gettext2.
61411         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
61412         to run tst-translit.
61413         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
61414         $(run-program-prefix) to tst-mtrace.sh.
61415         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
61416         to run tst-mtrace.
61417         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
61418         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
61419         $(rtld-installed-name).
61420         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
61421         (rtld_installed_name): Likewise.
61422         (run_program_prefix): New variable.  Use it to run wordexp-test.
61424         * Makeconfig (ARCH): Remove all definitions.
61425         (machine): Likewise.
61426         [ARCH]: Remove conditional code.
61427         [!objdir]: Give error.
61428         [!objdir] (objpfx): Remove.
61429         [!objdir] (common-objpfx): Likewise.
61430         [!objdir] (common-objdir): Likewise.
61431         * configure.in (config_makefile): Remove.  Hardcode Makefile in
61432         AC_CONFIG_FILES call.
61433         * configure: Regenerated.
61435         [BZ #13888]
61436         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
61437         or TMPDIR.
61438         (testout): Likewise.
61440         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
61441         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
61442         $(rtld-installed-name).
61443         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
61444         (rtld_installed_name): Likwise.
61445         (runit): Remove function.
61446         (run_getconf): New variable,  Use it for running getconf binary.
61448 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
61450         [BZ #14716]
61451         * string/test-memmem.c (check_result): New function.
61452         (do_one_test): Use it.
61453         (check1): New function.
61454         (test_main): Use it.
61456 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
61458         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
61460 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
61462         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
61463         (_G_LSEEK64): Likewise.
61464         (_G_MMAP64): Likewise.
61465         (_G_FSTAT64): Likewise.
61466         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
61467         (_G_LSEEK64): Likewise.
61468         (_G_MMAP64): Likewise.
61469         (_G_FSTAT64): Likewise.
61470         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
61471         unconditional.  Call __mmap64 directly.
61472         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
61473         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
61474         __lseek64 directly.
61475         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
61476         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
61477         __mmap64 directly.
61478         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
61479         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
61480         __lseek64 directly.
61481         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
61482         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
61483         __lseek64 directly.
61484         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
61485         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
61486         __lseek64 directly.
61487         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
61488         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
61489         __fxstat64 directly.
61490         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
61491         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
61492         unconditional.
61493         (freopen64) [!_G_OPEN64]: Remove conditional code.
61494         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
61495         unconditional.
61496         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
61497         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
61498         unconditional.
61499         (ftello64) [!_G_LSEEK64]: Remove conditional code.
61500         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
61501         unconditional.
61502         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
61503         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
61504         unconditional.
61505         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
61506         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
61507         unconditional.
61508         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
61509         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
61510         unconditional.
61511         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
61512         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
61513         unconditional.
61514         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
61516 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
61518         [BZ #12140]
61519         * manual/memory.texi (Malloc Tunable Parameters): Add note
61520         about free list pointers overwriting some perturb bytes.
61521         Wording suggested by Roland McGrath.
61523 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
61525         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
61526         (lgamma_test): Likewise.
61527         (tgamma_test): Likewise.
61529 2012-10-16  Florian Weimer  <fweimer@redhat.com>
61531         [BZ #14700]
61532         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
61533         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
61535 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
61537         * NEWS: Mention BZ #14716.
61538         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
61539         when removing AVAILABLE1_USES_J macro.
61541 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
61543         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
61544         (__bswap_64): __uint64_t for unsigned 64-bit int.
61546 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
61548         * include/string.h (memmem): Declare libc hidden alias.
61549         * string/memmem.c (memmem): Define libc hidden alias.
61550         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
61551         __read, __close instead of open, read, close.
61553 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
61555         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
61556         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
61557         global and hidden.
61558         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
61559         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
61560         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
61561         Likewise.
61562         (__rawmemchr_sse2): Likewise.
61563         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
61564         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
61565         (__strchr_sse2): Likewise.
61566         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
61567         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
61568         (__strcasecmp_sse2): Likewise.
61569         (__strncasecmp_sse2): Likewise.
61570         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
61571         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
61572         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
61573         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
61574         (__strrchr_sse2): Likewise.
61575         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
61576         ifunc-impl-list.c.
61577         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
61578         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
61579         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
61580         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
61581         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
61582         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
61583         * sysdeps/x86_64/multiarch/memset.S: Likewise.
61584         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
61585         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
61586         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
61587         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
61588         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
61589         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
61590         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
61591         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
61592         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
61593         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
61594         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
61595         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
61596         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
61597         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
61598         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
61599         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
61600         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
61601         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
61602         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
61603         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
61604         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
61605         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
61606         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
61608         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
61609         global and hidden.
61610         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
61611         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
61612         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
61613         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
61614         Likewise.
61615         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
61616         Likewise.
61617         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
61618         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
61619         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
61620         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
61621         ifunc-impl-list.c.
61622         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
61623         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
61624         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
61625         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
61626         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
61627         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
61628         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
61629         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
61630         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
61631         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
61632         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
61633         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
61634         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
61635         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
61636         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
61637         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
61638         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
61639         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
61640         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
61641         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
61642         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
61643         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
61644         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
61645         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
61646         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
61647         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
61648         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
61649         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
61650         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
61651         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
61652         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
61653         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
61654         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
61655         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
61656         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
61657         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
61658         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
61659         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
61660         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
61661         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
61662         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
61664         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
61665         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
61666         * include/ifunc-impl-list.h: New file.
61667         * misc/ifunc-impl-list.c: Likewise.
61668         * misc/Makefile (routines): Add ifunc-impl-list.
61669         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
61670         * string/test-string.h: Include <ifunc-impl-list.h>.
61671         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
61672         TEST_NAME]: New variables.
61673         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
61674         are defined.
61675         (test_init): Call __libc_ifunc_impl_list to initialize
61676         func_list if TEST_IFUNC and TEST_NAME are defined.
61678         * string/Makefile (strop-tests): Add bcopy and bzero.
61679         * string/test-bcopy.c: New file.
61680         * string/test-bzero.c: Likewise.
61681         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
61682         defined.
61683         * string/test-memset.c: Support bzero test if TEST_BZERO is
61684         defined.
61685         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
61686         __libc_memmove.
61687         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
61688         __libc_memset.
61689         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
61690         of memset.
61692 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
61694         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
61695         * configure: Regenerated.
61697         * Makeconfig (+link-static-before-libc): Don't include
61698         $(link-static-libc).
61700         * libio/libio.h (_IO_pos_t): Remove.
61702 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
61704         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
61705         McGrath.
61707 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
61709         * crypt/crypt-entry.c: Include fips-private.h.
61710         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
61711         * crypt/md5c-test.c (main): Tolerate disabled MD5.
61712         * sysdeps/unix/sysv/linux/fips-private.h: New file.
61713         * sysdeps/generic/fips-private.h: New file, dummy fallback.
61715 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
61717         * crypt/crypt-private.h: Include stdbool.h.
61718         (_ufc_setup_salt_r): Return bool.
61719         * crypt/crypt-entry.c: Include errno.h.
61720         (__crypt_r): Return NULL with EINVAL for bad salt.
61721         * crypt/crypt_util.c (bad_for_salt): New.
61722         (_ufc_setup_salt_r): Check that salt is long enough and within
61723         the specified alphabet.
61724         * crypt/badsalttest.c: New file.
61725         * crypt/Makefile (tests): Add it.
61726         ($(objpfx)badsalttest): New.
61728 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
61730         * NEWS: Add entry for BZ #14602.
61732 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
61734         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
61735         type-generic.
61736         * math/libm-test.inc: Update comment listing what functions and
61737         macros are tested.
61738         (isgreater_test): New function.
61739         (isgreaterequal_test): Likewise.
61740         (isless_test): Likewise.
61741         (islessequal_test): Likewise.
61742         (islessgreater_test): Likewise.
61743         (isunordered_test): Likewise.
61744         (main): Call the new functions.
61746 2012-10-09  Roland McGrath  <roland@hack.frob.com>
61748         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
61749         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
61750         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
61751         * sysdeps/i386/configure: Regenerated.
61752         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
61753         * sysdeps/mach/configure: Regenerated.
61754         * sysdeps/mach/hurd/configure: Regenerated.
61755         * sysdeps/powerpc/configure: Regenerated.
61756         * sysdeps/powerpc/powerpc32/configure: Regenerated.
61757         * sysdeps/powerpc/powerpc64/configure: Regenerated.
61758         * sysdeps/s390/s390-32/configure: Regenerated.
61759         * sysdeps/s390/s390-64/configure: Regenerated.
61760         * sysdeps/sh/configure: Regenerated.
61761         * sysdeps/sparc/configure: Regenerated.
61762         * sysdeps/unix/sysv/linux/configure: Regenerated.
61763         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
61764         * sysdeps/x86_64/configure: Regenerated.
61766         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
61767         defined.  Don't check if MAP is NULL.
61769 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
61771         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
61772         (_G_stat64): Likewise.
61773         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
61774         (_G_stat64): Likewise.
61775         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
61776         instead of struct _G_stat64.
61777         * libio/fileops.c (mmap_remap_check): Likewise.
61778         (decide_maybe_mmap): Likewise.
61779         (_IO_new_file_seekoff): Likewise.
61780         (_IO_file_stat): Likewise.
61781         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
61782         _G_off64_t.
61783         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
61784         instead of struct _G_stat64.
61785         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
61787 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
61789         [BZ #14602]
61790         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
61791         Replace with ...
61792         (CHECK_EOL): New macro.
61793         (two_way_short_needle): Check beginning of haystack for EOL.  Use
61794         CHECK_EOL.
61795         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
61796         Replace with CHECK_EOL.
61797         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
61798         Replace with CHECK_EOL.
61800 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
61802         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
61803         type-generic.
61804         * math/libm-test.inc: Update comment listing what functions and
61805         macros are tested.
61806         (finite_test): New function.
61807         (isinf_test): Likewise.
61808         (isnan_test): Likewise.
61809         (fpclassify_test): Test subnormal input.
61810         (isfinite_test): Likewise.
61811         (isnormal_test): Likewise.
61812         (main): Call the new functions.
61814 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
61816         [BZ #14660]
61817         * Makerules (%.dynsym): Force C locale when running
61818         $(OBJDUMP) --dynamic-syms.
61820 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
61822         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
61823         <stdint.h>.
61825 2012-10-06  David S. Miller  <davem@davemloft.net>
61827         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
61828         upper 32-bits of the length value in %o2 since we use branch-on-register
61829         tests which consider the entire 64-bit register.
61831 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
61833         * string/test-strstr.c (check2): Add a test for page boundary.
61835 2012-10-05  David S. Miller  <davem@davemloft.net>
61837         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
61838         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
61839         file.
61840         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
61841         sysdep_routines.
61842         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
61843         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
61844         and bzero when HWCAP_SPARC_CRYPTO is present.
61846 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
61848         [BZ #14602]
61849         * string/test-strstr.c (check2): New function.
61850         (test_main): Call check2.
61852         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
61853         and bug-strchr1.
61854         * string/bug-strcasestr1.c (do_test): Moved to ...
61855         * string/test-strcasestr.c (check1): Here.  New function.
61856         (do_one_test): Break out result checking code into ...
61857         (check_result): This.  New function.
61858         (do_one_test): Call check_result.
61859         (test_main): Call check1.
61860         * string/bug-strchr1.c (do_test): Moved to ...
61861         * string/test-strchr.c (check1): Here.  New function.
61862         (do_one_test): Break out result checking code into ...
61863         (check_result): This.  New function.
61864         (do_one_test): Call check_result.
61865         (test_main): Call check1.
61866         * string/bug-strstr1.c (main): Moved to ...
61867         * string/test-strstr.c (check1): Here.  New function.
61868         (do_one_test): Break out result checking code into ...
61869         (check_result): This.  New function.
61870         (do_one_test): Call check_result.
61871         (test_main): Call check1.
61872         * string/bug-strcasestr1.c: Removed.
61873         * string/bug-strchr1.c: Likewise.
61874         * string/bug-strstr1.c: Likewise.
61876         * elf/Makefile (dl-routines): Add hwcaps.
61877         * elf/dl-support.c (_dl_important_hwcaps): Removed.
61878         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
61879         (_dl_important_hwcaps): Moved to ...
61880         * elf/dl-hwcaps.c: Here.  New file.
61881         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
61883         [BZ #14557]
61884         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
61885         if IS_IN_rtld isn't defined.
61887         * elf/dl-support.c (_dl_sysinfo_map): New.
61888         Include "get-dynamic-info.h" and "setup-vdso.h".
61889         (_dl_non_dynamic_init): Call setup_vdso.
61890         * elf/dynamic-link.h: Don't include <assert.h>.
61891         (elf_get_dynamic_info): Moved to ...
61892         * elf/get-dynamic-info.h: Here.  New file.
61893         * elf/dynamic-link.h: Include "get-dynamic-info.h".
61894         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
61895         * elf/setup-vdso.h: Here.  New file.
61896         * elf/rtld.c: Include "setup-vdso.h".
61897         (dl_main): Call setup_vdso.
61899 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
61901         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
61902         creal in comment listing functions tested.  List finite, isinf,
61903         isnan, isless, islessequal, isgreater, isgreaterequal,
61904         islessgreater, isunordered, lgamma_r and pow10 as functions and
61905         macros not tested.  Mention which functions not tested are aliases
61906         for other functions.  Fix typo.  Note that signs of NaNs are not
61907         tested.
61909         * scripts/config.guess: Update from config.git.
61910         * scripts/config.sub: Likewise.
61912 2012-10-04  Roland McGrath  <roland@hack.frob.com>
61914         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
61915         * misc/madvise.c (madvise): Renamed to __madvise.
61916         Make madvise a weak alias.
61917         * include/sys/mman.h: Declare __madvise.
61918         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
61919         * sysdeps/unix/syscalls.list
61920         (madvise): Make __madvise the strong name, and madvise a weak alias.
61921         * sysdeps/unix/sysv/linux/syscalls.list
61922         (madvise, mmap): Remove redundant entries.
61923         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
61924         * malloc/malloc.c (mtrim): Likewise.
61925         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
61927 2012-10-03  Roland McGrath  <roland@hack.frob.com>
61929         * sysdeps/mach/hurd/dl-cache.c: File removed.
61930         * config.h.in (USE_LDCONFIG): New #undef.
61931         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
61932         * configure: Regenerated.
61933         * elf/Makefile (dl-routines): Add dl-cache only under
61934         [$(use-ldconfig) = yes].
61935         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
61936         cache on [USE_LDCONFIG].
61937         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
61938         [USE_LDCONFIG].
61939         * elf/rtld.c (dl_main): Likewise.
61941 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
61943         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
61944         _SC_LEVEL4_CACHE_LINESIZE.
61946 2012-10-03  Roland McGrath  <roland@hack.frob.com>
61948         * sysdeps/unix/bsd/confstr.h: File removed.
61950 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
61952         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
61953         sys/sdt-config.h.
61955 2012-10-02  Roland McGrath  <roland@hack.frob.com>
61957         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
61958         Make 'mapoff' field ElfW(Off) rather than off_t.
61960 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
61962         * nscd/Makefile: Remove nscd-cflags and all its users.
61963         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
61964         (CFLAGS-nonlib): Add compiler flags for nscd modules.
61966         [BZ #10631]
61967         * malloc.c (malloc_printerr): Clarify error message.
61969 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
61971         [BZ #14648]
61972         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61973         Set bit_FMA_Usable if FMA is supported.
61974         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
61975         macro.
61976         (bit_FMA4_Usable): Updated.
61977         (index_FMA_Usable): New macro.
61978         (CPUID_FMA): Likewise.
61979         (HAS_FMA): Defined with bit_FMA_Usable.
61981 2012-10-01  Roland McGrath  <roland@hack.frob.com>
61983         * bits/types.h (__swblk_t): Type removed.
61984         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
61985         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
61986         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61987         (__SWBLK_T_TYPE): Likewise.
61988         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
61989         (__SWBLK_T_TYPE): Likewise.
61990         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61991         (__SWBLK_T_TYPE): Likewise.
61992         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61993         (__SWBLK_T_TYPE): Likewise.
61995 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
61996             Honza Horak <hhorak@redhat.com>
61998         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
61999         (xdr_mapname): Use YPMAXMAP as maxsize.
62000         (xdr_peername): Use YPMAXPEER as maxsize.
62001         (xdr_keydat): Use YPAXRECORD as maxsize.
62002         (xdr_valdat): Use YPMAXRECORD as maxsize.
62004 2012-10-01  Roland McGrath  <roland@hack.frob.com>
62006         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
62008         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
62009         * csu/init-first.c: ... here.
62010         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
62011         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
62012         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
62013         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
62014         * sysdeps/i386/init-first.c: File removed.
62015         * sysdeps/sh/init-first.c: File removed.
62017 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
62019         [BZ #14645]
62020         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
62021         if x * y might underflow to zero and z is zero.
62022         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
62023         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62024         * math/libm-test.inc (min_subnorm_value): New variable.
62025         (fma_test): Add more tests.
62026         (fma_test_towardzero): Likewise.
62027         (fma_test_downward): Likewise.
62028         (fma_test_upward): Likewise.
62029         (initialize): Set min_subnorm_value.
62031 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
62033         [BZ #14638]
62034         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
62035         0 + 0.
62036         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
62037         mode for addition resulting in exact zero.
62038         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
62039         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
62040         exact 0 + 0.
62041         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
62042         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62043         * math/libm-test.inc (fma_test): Add more tests.
62044         (fma_test_towardzero): New function.
62045         (fma_test_downward): Likewise.
62046         (fma_test_upward): Likewise.
62047         (main): Call the new functions.
62049 2012-09-28  David S. Miller  <davem@davemloft.net>
62051         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
62053 2012-09-28  Roland McGrath  <roland@hack.frob.com>
62055         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
62056         instead of SIGALRM.
62058         * sysdeps/gnu/_G_config.h: Moved to ...
62059         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
62060         * sysdeps/mach/hurd/_G_config.h: Moved to ...
62061         * sysdeps/generic/_G_config.h: ... here.
62063         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
62065         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
62067         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
62068         Conditionalize target on [libnss_test1.so-version].
62070         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
62072         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
62073         (elfobjdir): Move out of conditionals.
62075         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
62076         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
62077         (__nss_lookup_function): Conditionalize label remove_from_tree on
62078         [!DO_STATIC_NSS || SHARED], matching its only use.
62080 2012-09-28  David S. Miller  <davem@davemloft.net>
62082         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
62083         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
62084         file.
62085         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
62086         sysdep_routines.
62087         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
62088         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
62089         when HWCAP_SPARC_CRYPTO is present.
62091 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
62093         * io/tst-mknodat.c: Create a FIFO instead of a socket.
62095 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
62097         [BZ #6530]
62098         * stdio-common/vfprintf.c (process_string_arg): Revert
62099         2000-07-22 change.
62101 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
62103         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
62104         for testcase.
62105         * stdio-common/tst-sprintf.c: Include <locale.h>
62106         (main): Test sprintf's handling of incomplete multibyte
62107         characters.
62109 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
62111         * elf/dl-runtime.c (VERSYMIDX): Removed.
62112         * elf/dl-version.c (VERSYMIDX): Likewise.
62113         * elf/do-rel.h (VERSYMIDX): Likewise.
62114         (VALIDX): Likewise.
62115         * elf/dynamic-link.h (VERSYMIDX): Likewise.
62116         * elf/rtld.c (VALIDX): Likewise.
62117         (ADDRIDX): Likewise.
62118         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
62119         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
62120         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
62121         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
62122         (VALIDX): Likewise.
62123         (ADDRIDX): Likewise.
62125 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
62127         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
62129 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
62131         [BZ #11438]
62132         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
62133         to global scope.
62134         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
62135         addresses are in the same scope as 192.0.2/24.
62136         * posix/gai.conf: Document new scope table defaults.
62138 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62140         [BZ #5298]
62141         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
62142         for ftell.  Compute offsets from write pointers instead.
62143         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
62145 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62147         [BZ #14543]
62148         * libio/Makefile (tests): New test case tst-fseek.
62149         * libio/tst-fseek.c: New test case to verify that fseek/ftell
62150         combination works in wide mode.
62151         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
62152         state when the external buffer state changes.
62154 2012-09-27  David S. Miller  <davem@davemloft.net>
62156         [BZ #14376]
62157         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
62158         pass reloc->r_addend in as the 'high' argument to
62159         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
62161         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62163 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
62165         * rt/tst-aio2.c: Include <pthread.h>.
62166         * rt/tst-aio3.c: Likewise.
62168 2012-09-27  Steve Ellcey  <sellcey@mips.com>
62170         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
62172 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
62174         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
62175         contents on [SHARED].
62177 2012-09-26  Marek Polacek  <polacek@redhat.com>
62179         [BZ #14530]
62180         [BZ #13741]
62181         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
62182         for C++ and GCC <4.3 as well as for non GCC compilers.
62184 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
62186         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62188 2012-09-25  Roland McGrath  <roland@hack.frob.com>
62190         * Makefile.in (all, install): Declare with .PHONY.
62191         Reported by Michael Hope <michael.hope@linaro.org>.
62193 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62195         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
62196         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
62197         system header.
62198         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
62199         Likewise.
62200         (sydep_routines): Add the new and the internal functions.
62201         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
62202         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
62203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
62204         (GLIBC_2.17): Add the new function.
62205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
62206         (GLIBC_2.17): Likewise.
62207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
62208         (GLIBC_2.17): Likewise.
62209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
62210         (GLIBC_2.17): Likewise.
62211         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
62213 2012-09-25  Alan Modra  <amodra@gmail.com>
62215         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
62216         Add release barrier before setting once_control to say
62217         initialisation is done.  Add hints on lwarx.  Use macro in
62218         place of isync.
62219         (clear_once_control): Add release barrier.
62221 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
62223         [BZ #13629]
62224         * math/s_clog.c (__clog): Handle more values close to |z| = 1
62225         specially.
62226         * math/s_clog10.c (__clog10): Likewise.
62227         * math/s_clog10f.c (__clog10f): Likewise.
62228         * math/s_clog10l.c (__clog10l): Likewise.
62229         * math/s_clogf.c (__clogf): Likewise.
62230         * math/s_clogl.c (__clogl): Likewise.
62231         * math/Makefile (libm-calls): Add x2y2m1.
62232         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
62233         (__x2y2m1): Likewise.
62234         (__x2y2m1l): Likewise.
62235         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
62236         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
62237         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
62238         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
62239         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
62240         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
62241         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
62242         * sysdeps/i386/fpu/libm-test-ulps: Update.
62243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62245         [BZ #14621]
62246         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
62247         int as type of variable DEPTH.
62248         (glob): Use size_t instead of int as type of variables NEWCOUNT
62249         and OLD_PATHC.
62251 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62253         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
62254         Add s_sincosf-sse2.
62255         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
62256         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
62257         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
62258         macros for using routine as __sincosf_ia32.
62259         Use macro for function declaration and weak_alias.
62260         * sysdeps/i386/fpu/libm-test-ulps: Update.
62262         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
62263         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62265         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
62266         subnormal argument.
62267         * math/s_cexpf.c (__cexpf): Likewise.
62268         * math/s_csinf.c (__csinf): Likewise.
62269         * math/s_csinhf.c (__csinhf): Likewise.
62270         * math/s_ctanf.c (__ctanf): Likewise.
62271         * math/s_ctanhf.c (__ctanhf): Likewise.
62272         * math/s_ccosh.c (__ccoshf): Likewise.
62273         * math/s_cexp.c (__cexpl): Likewise.
62274         * math/s_csin.c (__csin): Likewise.
62275         * math/s_csinh.c (__csinh): Likewise.
62276         * math/s_ctan.c (__ctan): Likewise.
62277         * math/s_ctanh.c (ctanh): Likewise.
62278         * math/s_ccoshl.c (__ccoshl): Likewise.
62279         * math/s_cexpl.c (__cexpl): Likewise.
62280         * math/s_csinl.c (__csinl): Likewise.
62281         * math/s_csinhl.c (__csinhl): Likewise.
62282         * math/s_ctanl.c (__ctanl): Likewise.
62283         * math/s_ctanhl.c (__ctanhl): Likewise.
62285 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
62287         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
62288         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
62289         (_IO_off_t): Define to __off_t, not _G_off_t.
62290         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
62291         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
62292         (_IO_wint_t): Define to wint_t, not _G_wint_t.
62293         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
62294         type of __dummy and __dummy2 fields.
62295         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
62296         (_G_ssize_t): Likewise.
62297         (_G_off_t): Likewise.
62298         (_G_pid_t): Likewise.
62299         (_G_uid_t): Likewise.
62300         (_G_wchar_t): Likewise.
62301         (_G_wint_t): Likewise.
62302         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
62303         (_G_ssize_t): Likewise.
62304         (_G_off_t): Likewise.
62305         (_G_pid_t): Likewise.
62306         (_G_uid_t): Likewise.
62307         (_G_wchar_t): Likewise.
62308         (_G_wint_t): Likewise.
62309         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
62310         (_G_ssize_t): Likewise.
62311         (_G_off_t): Likewise.
62312         (_G_pid_t): Likewise.
62313         (_G_uid_t): Likewise.
62314         (_G_wchar_t): Likewise.
62315         (_G_wint_t): Likewise.
62317 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
62319         * malloc/arena.c: Include malloc-sysdep.h.
62320         (shrink_heap): Use check_may_shrink_heap to decide if madvise
62321         is sufficient to shrink the heap or an unmap is needed.
62322         * sysdeps/generic/malloc-sysdep.h: New file.  Define
62323         new function check_may_shrink_heap.
62324         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
62325         new function check_may_shrink_heap.
62327 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
62329         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
62330         comments.
62332 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
62334         * catgets/test-gencat.sh: Add "set -e".
62335         * elf/tst-pathopt.sh: Likewise.
62336         * grp/tst_fgetgrent.sh: Likewise.
62337         * iconvdata/run-iconv-test.sh: Likewise.
62338         * intl/tst-gettext.sh: Likewise.
62339         * intl/tst-gettext2.sh: Likewise.
62340         * intl/tst-gettext4.sh: Likewise.
62341         * intl/tst-gettext6.sh: Likewise.
62342         * intl/tst-translit.sh: Likewise.
62343         * io/ftwtest-sh: Likewise.
62344         * libio/test-freopen.sh: Likewise.
62345         * malloc/tst-mtrace.sh: Likewise.
62346         * posix/globtest.sh: Likewise.
62347         * posix/tst-getconf.sh: Likewise.
62348         * posix/wordexp-tst.sh: Likewise.
62349         * stdio-common/tst-printf.sh: Likewise.
62350         * stdio-common/tst-unbputc.sh: Likewise.
62351         * stdlib/tst-fmtmsg.sh: Likewise.
62352         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
62353         * catgets/Makefile: Do not specify -e option when running
62354         testsuite shell scripts.
62355         * elf/Makefile: Likewise.
62356         * grp/Makefile: Likewise.
62357         * iconvdata/Makefile: Likewise.
62358         * intl/Makefile: Likewise.
62359         * io/Makefile: Likewise.
62360         * libio/Makefile: Likewise.
62361         * malloc/Makefile: Likewise.
62362         * posix/Makefile: Likewise.
62363         * stdio-common/Makefile: Likewise.
62364         * stdlib/Makefile: Likewise.
62365         * sysdeps/x86_64/Makefile: Likewise.
62367         * io/ftwtest-sh: Add copyright header.
62368         * posix/globtest.sh: Likewise.
62369         * posix/tst-getconf.sh: Likewise.
62370         * posix/wordexp-tst.sh: Likewise.
62371         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
62373 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
62375         [BZ #13679]
62376         * Makeconfig (+link): Defined as $(+link-static) if
62377         $(build-shared) isn't yes.
62378         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
62379         isn't yes.
62380         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
62382         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
62384         [BZ #14562]
62385         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
62386         new chunk size with MALLOC_ALIGN_MASK.
62388 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
62390         [BZ #5044]
62391         * stdio-common/printf_fphex.c: Include <stdbool.h> and
62392         <rounding-mode.h>.
62393         (__printf_fphex): Determine rounding using get_rounding_mode and
62394         round_away.
62395         * stdio-common/tst-printf-round.c (struct hex_test): New
62396         structure.
62397         (hex_tests): New variable.
62398         (test_hex_in_one_mode): New function.
62399         (do_test): Also run tests for hex float output.
62401 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
62403         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
62404         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
62405         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
62406         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
62407         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
62408         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
62409         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
62410         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
62412 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
62414         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
62415         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
62416         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
62417         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
62419 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
62421         [BZ #14579]
62422         * elf/rtld.c (dl_main): Limit the check for self loading to normal
62423         mode only.
62424         * elf/tst-rtld-load-self.sh: New test.
62425         * elf/Makefile: Run it.
62427 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
62429         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
62430         (tst-writev-ENV): Remove.
62431         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
62433 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
62435         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
62437 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
62439         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
62440         unconditional.
62441         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
62442         Likewise.
62443         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
62444         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
62445         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
62446         Likewise.
62448 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
62450         [BZ #14587]
62451         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
62452         * config.make.in (have-cpp-asm-debuginfo): Removed.
62453         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
62454         * configure: Regenerated.
62456 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
62458         [BZ #5044]
62459         * stdio-common/printf_fp.c: Include <stdbool.h> and
62460         <rounding-mode.h>.
62461         (___printf_fp): Determine rounding using get_rounding_mode and
62462         round_away.
62463         * stdio-common/tst-printf-round.c: New file.
62464         * stdio-common/Makefile (tests): Add tst-printf-round.
62465         (link-libm): New variable.
62466         ($(objpfx)tst-printf-round): Depend in $(link-libm).
62468 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
62470         [BZ #14576]
62471         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
62472         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
62473         Likewise.
62474         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
62475         Likewise.
62477 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
62479         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
62480         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
62481         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
62482         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
62484 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
62486         [BZ #14518]
62487         * include/rounding-mode.h: New file.
62488         * sysdeps/generic/get-rounding-mode.h: Likewise.
62489         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
62490         * stdlib/strtod_l.c: Include <rounding-mode.h>.
62491         (MAX_VALUE): New macro.
62492         (MIN_VALUE): Likewise.
62493         (overflow_value): New function.
62494         (underflow_value): Likewise.
62495         (round_and_return): Use overflow_value and underflow_value to
62496         determine return values in overflow and underflow cases.  Use
62497         round_away to determine rounding depending on rounding mode.
62498         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
62499         determine return values in overflow and underflow cases.
62500         * stdlib/tst-strtod-round.c: Include <fenv.h>.
62501         (struct test_results): New structure.
62502         (struct test): Use struct test_results to store expected results
62503         for all rounding modes.
62504         (TEST): Include expected results for all rounding modes.
62505         (test_in_one_mode): New function.
62506         (do_test): Use test_in_one_mode to compute and check results.
62507         Check results for all rounding modes.
62508         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
62509         $(link-libm).
62511 2012-12-09  Allan McRae  <allan@archlinux.org>
62513         * sysdeps/i386/fpu/libm-test-ulps: Update
62515 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
62517         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
62518         (_G_int32_t): Likewise.
62519         (_G_uint16_t): Likewise.
62520         (_G_uint32_t): Likewise.
62521         (_G_HAVE_BOOL): Likewise.
62522         (_G_HAVE_ATEXIT): Likewise.
62523         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
62524         (_G_HAVE_IO_FILE_OPEN): Likewise.
62525         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
62526         (_G_int32_t): Likewise.
62527         (_G_uint16_t): Likewise.
62528         (_G_uint32_t): Likewise.
62529         (_G_HAVE_BOOL): Likewise.
62530         (_G_HAVE_ATEXIT): Likewise.
62531         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
62532         (_G_HAVE_IO_FILE_OPEN): Likewise.
62533         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
62534         (_G_int32_t): Likewise.
62535         (_G_uint16_t): Likewise.
62536         (_G_uint32_t): Likewise.
62537         (_G_HAVE_BOOL): Likewise.
62538         (_G_HAVE_ATEXIT): Likewise.
62539         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
62540         (_G_HAVE_IO_FILE_OPEN): Likewise.
62542 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
62544         * csu/libc-tls.c: Update copyright years.
62546 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
62548         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
62549         [!_G_USING_THUNKS]: Remove conditional code.
62550         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
62551         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
62553         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
62554         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
62555         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
62556         (_G_VTABLE_LABEL_PREFIX): Likewise.
62557         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
62558         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
62559         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
62560         (_G_VTABLE_LABEL_PREFIX): Likewise.
62561         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
62562         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
62563         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
62564         (_G_VTABLE_LABEL_PREFIX): Likewise.
62565         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
62567 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
62569         * libio/Makefile: Include ../Makeconfig before tests.
62570         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
62571         only if $(build-shared) is yes.
62573         * iconv/gconv_db.c: Update copyright years.
62575 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62577         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
62578         unwind info if defined PIC. Fix special cases description.
62579         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
62581         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
62582         DP_HI_MASK entry.
62583         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
62585 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
62587         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
62589         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
62590         is NULL.
62592         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
62593         (LDLIBS-tst-chk4): This.
62594         (LDFLAGS-tst-chk5): Renamed to ...
62595         (LDLIBS-tst-chk5): This.
62596         (LDFLAGS-tst-chk6): Renamed to ...
62597         (LDLIBS-tst-chk6): This.
62598         (LDFLAGS-tst-lfschk4): Renamed to ...
62599         (LDLIBS-tst-lfschk4): This.
62600         (LDFLAGS-tst-lfschk5): Renamed to ...
62601         (LDLIBS-tst-lfschk5): This.
62602         (LDFLAGS-tst-lfschk6): Renamed to ...
62603         (LDLIBS-tst-lfschk6): This.
62605         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
62606         on $(common-objpfx)soversions.mk.
62608 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
62610         [BZ #10014]
62611         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
62612         example host name.
62614 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
62616         * malloc/arena.c (arena_get_retry): New function that gets
62617         another arena for the caller to try its request on.
62618         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
62619         current arena cannot fulfill the request.
62620         (__libc_memalign): Likewise.
62621         (__libc_memalign): Likewise.
62622         (__libc_pvalloc): Likewise.
62623         (__libc_calloc): Likewise.
62625 2012-09-05  John Tobey  <john.tobey@gmail.com>
62627         [BZ #13542]
62628         * manual/arith.texi (Operations on Complex): Fix description
62629         of carg branch cut.
62631 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
62633         [BZ #10014]
62634         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
62635         host name.
62637         [BZ #10038]
62638         * manual/memory.texi (Memory): Make order of menu items match
62639         order of sections.
62641 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
62643         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
62644         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
62645         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
62647 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
62649         * csu/libc-tls.c (static_dtv): Renamed to ...
62650         (_dl_static_dtv): This.  Make it global.
62651         (_dl_initial_dtv): Removed.
62652         (__libc_setup_tls): Updated.
62653         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
62654         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
62655         DL_INITIAL_DTV.
62657 2012-09-06  Petr Machata  <pmachata@redhat.com>
62659         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
62660         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
62661         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
62662         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
62664 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
62666         [BZ #14545]
62667         * csu/libc-tls.c (_dl_initial_dtv): New variable.
62668         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
62669         freeing dtv[-1].
62671 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
62673         [BZ #14544]
62674         * Makeconfig (link-static-before-libc): Replace $(+prector)
62675         with $(+prectorT).
62676         (link-static-after-libc): Replace $(+postctor) with
62677         $(+postctorT).
62678         (link-bounded): Replace $(+prector)/$(+postctor) with
62679         $(+prectorT)/$(+postctorT).
62680         (+prectorT): New macro.
62681         (+postctorT): Likewise.
62683 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
62685         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
62686         (round_str): Handle values above the maximum for IBM long double
62687         as inexact.
62688         * stdlib/tst-strtod-round.c (tests): Regenerated.
62690 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62692         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
62693         assembler flag.
62694         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
62695         zarch_nohighgprs around the zarch optimized routines.
62696         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
62697         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
62698         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
62699         for zarch.
62701 2012-09-05  David S. Miller  <davem@davemloft.net>
62703         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62705         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
62706         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
62707         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
62708         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
62709         entries.
62711 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
62713         * malloc/arena.c: Fold copyright years.
62714         * malloc/mcheck.c, malloc/memusage.c: Likewise.
62716 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
62718         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
62720 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
62722         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
62724 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
62726         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
62727         change internal state upon failure.
62729 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
62731         * malloc/mcheck.c (mcheck_check_all): Fix typo.
62732         * malloc/memusage.c (mmap): Likewise.
62733         (mmap64, mremap): Likewise.  Adjust name in comment.
62735 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
62737         * libio/fileops.c: Fix typos in comments.
62738         * libio/oldfileops.c: Likewise.
62739         * libio/wfileops.c: Likewise.
62741 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
62743         [BZ #1349]
62744         * malloc/Makefile (tests): Add tst-malloc-usable test case.
62745         (tst-malloc-usable-ENV): Set environment for test case.
62746         * malloc/hooks.c (malloc_check_get_size): New function to get
62747         requested size.
62748         * malloc/malloc.c (musable): Use malloc_check_get_size.
62749         * malloc/tst-malloc-usable.c: New test case.
62751 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
62753         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
62755 2012-09-05  Allan McRae  <allan@archlinux.org>
62757         [BZ #13966]
62758         * configure.in (CXX_SYSINCLUDES): Use compiler output to
62759         determine header location.
62760         * configure: Regenerated.
62762 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
62764         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
62765         float format.
62766         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
62767         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
62768         format.
62769         (test): Regenerate.
62771 2012-09-04  David S. Miller  <davem@davemloft.net>
62773         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
62774         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
62775         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
62777 2012-09-04  Florian Weimer  <fweimer@redhat.com>
62779         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
62780         failures.
62782         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
62784 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
62786         [BZ #9914]
62787         * libio/iogetdelim.c: Include <limits.h>.
62788         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
62789         + len + 1 would overflow.
62791 2012-09-03  Andreas Jaeger  <aj@suse.de>
62793         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62794         * sysdeps/i386/fpu/libm-test-ulps: Update.
62796 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62798         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
62799         Add s_sinf-sse2, s_conf-sse2.
62801         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
62802         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
62803         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
62804         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
62806         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
62807         for using routine as __sinf_ia32.
62808         Use macro for function declaration and weak_alias.
62809         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
62810         for using routine as __cosf_ia32.
62811         Use macro for function declaration and weak_alias.
62813         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
62814         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
62816         * sysdeps/x86_64/fpu/s_sinf.S: New file.
62817         * sysdeps/x86_64/fpu/s_cosf.S: New file.
62818         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62820         * math/libm-test.inc (cos_test): Add more test cases.
62821         (sin_test): Likewise.
62822         (sincos_test): Likewise.
62824 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62826         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
62827         (IFUNC_RESOLVE): Make pointers to the specialized implementations
62828         hidden.
62829         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
62831 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
62833         [BZ #14538]
62834         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
62835         first element of the GOT.
62836         (elf_machine_load_address): Return the difference between
62837         the runtime address of _DYNAMIC and elf_machine_dynamic ().
62839 2012-09-01  Allan McRae  <allan@archlinux.org>
62841         [BZ #13412]
62842         * configure.in (AWK): Require gawk version 3.0 or later.
62843         * configure: Regenerated.
62845 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
62847         * sysdeps/unix/sysv/linux/kernel-features.h
62848         (__ASSUME_POSIX_CPU_TIMERS): Remove.
62849         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
62850         [__NR_clock_getres]: Make code unconditional.
62851         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
62852         (clock_getcpuclockid): Remove code left unreachable by removal of
62853         conditionals.
62854         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
62855         code unconditional.
62856         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
62857         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
62858         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
62859         Make code unconditional.
62860         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
62861         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
62862         * sysdeps/unix/sysv/linux/clock_settime.c
62863         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
62864         conditional code.
62865         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
62866         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
62868 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
62870         [BZ #14476]
62871         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
62872         scripts/test-installation.pl.
62874         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
62875         and $ld_so_version if it is set.
62877 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
62879         [BZ #14516]
62880         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
62881         failure if reading from procfs failed.
62882         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
62884 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
62886         * sysdeps/unix/sysv/linux/kernel-features.h
62887         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
62888         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
62889         Remove conditional code.
62890         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62891         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
62892         Remove conditional code.
62893         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62894         * sysdeps/unix/sysv/linux/i386/fxstat.c
62895         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
62896         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62897         * sysdeps/unix/sysv/linux/i386/fxstatat.c
62898         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
62899         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62900         * sysdeps/unix/sysv/linux/i386/lxstat.c
62901         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
62902         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62903         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
62904         Remove conditional code.
62905         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62906         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
62907         Remove conditional code.
62908         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62909         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
62910         <kernel-features.h>.
62911         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
62912         Remove.
62913         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
62914         Remove conditional code.
62915         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62916         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
62917         Remove conditional.
62919 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
62921         [BZ #5400]
62922         * NEWS: Add fixed bug number.
62924 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
62926         [BZ #14519]
62927         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
62928         underflowing exponent in case of negative sign.
62929         * stdlib/tst-strtod-round-data: Add more tests.
62930         * stdlib/tst-strtod-round.c (tests): Regenerated.
62932         [BZ #3479]
62933         * stdlib/strtod_l.c (NDIG): Remove.
62934         (HEXNDIG): Likewise.
62935         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
62936         smallest representable value.
62937         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
62938         lie within an exact representation of 1/2 ulp of the result.
62939         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
62940         unconditionally.
62941         (TENS_P9_IDX): Define unconditionally.
62942         (TENS_P9_SIZE): Likewise.
62943         (TENS_P10_IDX): Likewise.
62944         (TENS_P10_SIZE): Likewise.
62945         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
62946         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
62947         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
62948         entries for 10^2^13 and 10^2^14.
62949         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
62950         (TENS_P13_IDX): Define.
62951         (TENS_P13_SIZE): Likewise.
62952         (TENS_P14_IDX): Likewise.
62953         (TENS_P14_SIZE): Likewise.
62954         (_fpioconst_pow10): Change array size to
62955         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
62956         unconditional.
62957         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
62958         1024]: Add entries for 10^2^13 and 10^2^14.
62959         [LAST_POW10 > _LAST_POW10]: Remove #error.
62960         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
62961         (_fpioconst_pow10): Change array size to
62962         FPIOCONST_POW10_ARRAY_SIZE.
62963         * stdlib/gen-fpioconst.c: New file.
62964         * stdlib/gen-tst-strtod-round.c: Likewise.
62965         * stdlib/tst-strtod-round-data: Likewise.
62966         * stdlib/tst-strtod-round.c: Likewise.
62967         * stdlib/Makefile (tests): Add tst-strtod-round.
62969         [BZ #14459]
62970         * stdlib/strtod_l.c: Include <stdint.h>.
62971         (NDEBUG): Do not define.
62972         (round_and_return): Change EXPONENT parameter to type intmax_t.
62973         Rearrange calculations to avoid internal overflow possibilities.
62974         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
62975         Rearrange calculations to avoid internal overflow possibilities.
62976         Assert that number fits inside MPNSIZE limbs.
62977         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
62978         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
62979         calculations and add assertions to avoid internal overflow
62980         possibilities.  Add casts to avoid signed/unsigned operations.
62981         * stdlib/tst-strtod-overflow.c: New file.
62982         * stdlib/Makefile (tests): Add tst-strtod-overflow.
62984 2012-08-25  Marek Polacek  <polacek@redhat.com>
62986         * time/time.h: Fix some typos in comments.
62988 2012-08-23  Roland McGrath  <roland@hack.frob.com>
62990         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
62991         * posix/tst-rfc3484-2.c: Likewise.
62992         * posix/tst-rfc3484-3.c: Likewise.
62994 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
62996         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
62997         (EF_ARM_ABI_FLOAT_HARD): Likewise.
62999 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
63001         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
63002         #include of fxstatat64.c.
63004 2012-08-22  Roland McGrath  <roland@hack.frob.com>
63006         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
63007         * shadow/getspent_r.c: Likewise.
63008         * shadow/getspnam.c: Likewise.
63009         * shadow/getspnam_r.c: Likewise.
63010         * gshadow/getsgent.c: Likewise.
63011         * gshadow/getsgent_r.c: Likewise.
63012         * gshadow/getsgnam.c: Likewise.
63013         * gshadow/getsgnam_r.c: Likewise.
63014         * inet/getnetbyad.c: Likewise.
63015         * inet/getnetbyad_r.c: Likewise.
63016         * inet/getnetbynm.c: Likewise.
63017         * inet/getnetbynm_r.c: Likewise.
63018         * inet/getnetent.c: Likewise.
63019         * inet/getnetent_r.c: Likewise.
63020         * inet/getproto.c: Likewise.
63021         * inet/getproto_r.c: Likewise.
63022         * inet/getprtent.c: Likewise.
63023         * inet/getprtent_r.c: Likewise.
63024         * inet/getprtname.c: Likewise.
63025         * inet/getprtname_r.c: Likewise.
63026         * inet/getrpcbyname.c: Likewise.
63027         * inet/getrpcbyname_r.c: Likewise.
63028         * inet/getrpcbynumber.c: Likewise.
63029         * inet/getrpcbynumber_r.c: Likewise.
63030         * inet/getrpcent.c: Likewise.
63031         * inet/getrpcent_r.c: Likewise.
63032         * inet/getaliasent.c: Likewise.
63033         * inet/getaliasent_r.c: Likewise.
63034         * inet/getaliasname.c: Likewise.
63035         * inet/getaliasname_r.c: Likewise.
63036         * nscd/getgrgid_r.c: Likewise.
63037         * nscd/getgrnam_r.c: Likewise.
63038         * nscd/gethstbyad_r.c: Likewise.
63039         * nscd/gethstbynm3_r.c: Likewise.
63040         * nscd/getpwnam_r.c: Likewise.
63041         * nscd/getpwuid_r.c: Likewise.
63042         * nscd/getsrvbynm_r.c: Likewise.
63043         * nscd/getsrvbypt_r.c: Likewise.
63044         * nscd/gai.c: Likewise.
63046         * configure.in (build_nscd): New substituted variable, set
63047         by --disable-build-nscd and defaults to $use_nscd.
63048         * configure: Regenerated.
63049         * config.make.in (build-nscd): New substituted variable.
63050         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
63051         Change conditional to require [$(build-nscd) = yes] as well.
63052         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
63054         [BZ# 13696]
63055         * configure.in (use_nscd): New substituted variable, set by
63056         --disable-nscd.  If enabled, define USE_NSCD.
63057         * configure: Regenerated.
63058         * config.h.in: Add USE_NSCD.
63059         * config.make.in (use-nscd): New substituted variable.
63060         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
63061         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
63062         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
63063         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
63064         (CFLAGS-getgrnam_r.c): Likewise.
63065         (CFLAGS-initgroups.c): Likewise.
63066         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
63067         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
63068         Variables removed.
63069         * inet/getnetgrent_r.c
63070         (nscd_setnetgrent): New function, broken out of ...
63071         (setnetgrent): ... here.  Call it.
63072         (innetgr): Conditionalize nscd bits on [USE_NSCD].
63073         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
63074         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
63075         * nscd/Makefile (routines, aux): Move definitions after include of
63076         Makeconfig.  Conditionalize on [$(use-nscd) != no].
63077         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
63078         Conditionalize on [USE_NSCD].
63079         (is_nscd, nscd_init_cb): Likewise.
63080         (nss_load_library): Conditionalize init callback on [USE_NSCD].
63081         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
63082         * nss/nss_db/db-init.c: Likewise.
63083         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
63084         [USE_NSCD].
63085         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
63086         (make_request): Use it.
63087         (cache_valid_p): New function.
63088         (__check_pf): Use it.
63089         * NEWS: Add item for --disable-nscd.
63091 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
63093         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
63094         to support sed >= 4.2.1-20-ga9bf076.
63095         * configure: Regenerated.
63097 2012-08-22  Roland McGrath  <roland@hack.frob.com>
63099         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
63100         Conditionalize whole body on [IREL].
63102 2012-08-22  Jeff Law <law@redhat.com>
63104         [BZ #14505]
63105         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
63106         if the family is PF_UNSPEC.
63108 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
63110         * Makerules (lib-version): Rename from V.
63111         (install-lib-nosubdir): Change V to lib-version.
63113 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
63115         [BZ #14252]
63116         * powerpc32/power6/wcschr.c: New file.
63117         * powerpc32/power6/wcscpy.c: New file.
63118         * powerpc32/power6/wcsrchr.c: New file.
63119         * powerpc64/power6/wcschr.c: New file.
63120         * powerpc64/power6/wcscpy.c: New file.
63121         * powerpc64/power6/wcsrchr.c: New file.
63123 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
63125         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
63126         (two_way_short_needle): Use it.
63127         * string/strstr.c (AVAILABLE1_USES_J): Define.
63128         * string/strcasestr.c: Likewise.
63130         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
63131         array references.
63132         * string/strcasestr.c (TOLOWER): Make side-effect safe.
63134         [BZ #11607]
63135         * NEWS: Add an entry.
63136         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
63137         define their defaults.
63138         (two_way_short_needle): Detect end-of-string on-the-fly.
63139         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
63140         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
63141         * string/bug-strcasestr1.c: New test.
63142         * string/Makefile: Run it.
63144 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
63146         [BZ #11607]
63147         * string/str-two-way.h (two_way_short_needle): Optimize matching of
63148         the first character.
63150 2012-08-21  Roland McGrath  <roland@hack.frob.com>
63152         * csu/elf-init.c (__libc_csu_irel): Function removed.
63153         * csu/libc-start.c (apply_irel): New function.
63154         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
63156 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
63158         * sysdeps/unix/sysv/linux/kernel-features.h
63159         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
63160         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
63161         <kernel-features.h>.
63162         [__NR_fadvise64_64]: Make code unconditional.
63163         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
63164         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
63165         !__NR_fadvise64_64)]: Likewise.
63166         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
63167         !__NR_fadvise64_64))]: Likewise.
63168         [__NR_fadvise64]: Make code unconditional.
63169         [!__NR_fadvise64]: Remove conditional code.
63170         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
63171         <kernel-features.h>.
63172         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
63173         unconditional.
63174         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
63175         conditional code.
63176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
63177         not include <kernel-features.h>.
63178         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
63179         unconditional.
63180         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
63181         conditional code.
63182         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
63183         include <kernel-features.h>.
63184         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
63185         unconditional.
63186         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
63187         conditional code.
63189 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
63191         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
63192         slight instruction rearrangements per scrollpipe analysis.
63193         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
63195 2012-08-20  Roland McGrath  <roland@hack.frob.com>
63197         * manual/syslog.texi (syslog; vsyslog, closelog):
63198         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
63199         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
63201         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
63202         DSOCAPS to match condition on defining it.
63204 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
63206         * sysdeps/unix/sysv/linux/kernel-features.h
63207         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
63208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
63209         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
63210         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
63211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
63212         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
63213         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
63214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
63215         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
63216         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
63218         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
63219         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
63221         * sysdeps/unix/sysv/linux/kernel-features.h
63222         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
63223         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
63224         unconditional.
63225         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
63226         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
63227         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
63228         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
63229         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
63230         Make code unconditional.
63231         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
63232         (__mmap64) [!__NR_mmap2]: Likewise.
63233         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
63234         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
63235         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
63236         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
63237         [__NR_mmap2]: Make code unconditional.
63238         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
63239         (__mmap64) [!__NR_mmap2]: Likewise.
63241 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63243         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
63245 2012-08-18  Andreas Jaeger  <aj@suse.de>
63247         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
63249 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
63251         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
63252         * include/unistd.h (__have_sock_cloexec): Likewise.
63253         (__have_pipe2): Likewise.
63254         (__have_dup3): Likewise.
63256 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
63258         [BZ #9685]
63259         * include/unistd.h (__have_pipe2): Change define into an extern int.
63260         (__have_dup3): Likewise.
63261         * socket/have_sock_cloexec.c: Include fcntl.h.
63262         (__have_pipe2): New variable.
63263         (__have_dup3): Likewise.
63265 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
63267         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
63269 2012-08-17  Marek Polacek  <polacek@redhat.com>
63271         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
63272         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
63274 2012-08-17  Roland McGrath  <roland@hack.frob.com>
63276         * configure.in: Add AC_SUBST for sysheaders.
63277         * configure: Regenerated.
63278         * config.make.in (sysheaders): New substituted variable.
63280         * sysdeps/unix/mkfifo.c: Moved ...
63281         * sysdeps/posix/mkfifo.c: ... here.
63282         * sysdeps/unix/mkfifoat.c: Moved ...
63283         * sysdeps/posix/mkfifoat.c: ... here.
63285         * sysdeps/unix/utime.c: Moved ...
63286         * sysdeps/posix/utime.c: ... here.
63288         * sysdeps/unix/time.c: Moved ...
63289         * sysdeps/posix/time.c: ... here.
63290         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
63291         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
63293         * sysdeps/unix/nice.c: Moved ...
63294         * sysdeps/posix/nice.c: ... here.
63296         * sysdeps/unix/alarm.c: Moved ...
63297         * sysdeps/posix/alarm.c: ... here.
63299         * intl/Makefile ($(codeset_mo)): Depend on the input file.
63301 2012-08-17  Jeff Law <law@redhat.com>
63303         * intl/Makefile (codeset_mo): New variable.
63304         ($(codeset_mo)): New target.
63305         (tst-codeset.out): Depend on that.  Remove explicit rule.
63306         (tst-gettext3.out, tst-gettext5.out): Likewise.
63307         (LOCPATH-ENV, tst-codeset-ENV): New variables.
63308         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
63309         * intl/tst-codeset.sh: Remove.
63310         * intl/tst-gettext3.sh: Likewise.
63311         * intl/tst-gettext5.sh: Likewise.
63313 2012-08-17  Roland McGrath  <roland@hack.frob.com>
63315         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
63316         * sysdeps/unix/syscalls.list: ... here.
63318         * sysdeps/posix/getaddrinfo.c
63319         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
63320         (gaiconf_init, gaiconf_reload): Use them.
63321         [!_STATBUF_ST_NSEC]
63322         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
63323         Define using time_t rather than struct timespec.
63325         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
63326         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
63327         Macros removed.
63328         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
63329         [!NO_THREADS].
63330         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
63331         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
63332         Likewise.
63334         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
63335         __libc_cleanup_push argument.
63337         * bits/param.h: New file.
63338         * misc/sys/param.h: New file.
63339         * include/sys/param.h: New file.
63340         * misc/Makefile (headers): Add bits/param.h.
63341         * sysdeps/generic/sys/param.h: File removed.
63342         * sysdeps/unix/sysv/linux/bits/param.h: New file.
63343         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
63344         * sysdeps/mach/hurd/bits/param.h: New file.
63345         * sysdeps/mach/hurd/sys/param.h: File removed.
63347         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
63348         last change.
63350         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
63351         [_IO_MTSAFE_IO].
63352         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
63353         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
63354         New macros.
63356         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
63357         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
63358         rather than -D_IO_MTSAFE_IO conditionally.
63359         * stdio-common/Makefile (CPPFLAGS): Likewise.
63360         * wcsmbs/Makefile (CPPFLAGS): Likewise.
63361         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
63362         Use $(libio-mtsafe).
63363         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
63364         of -D_IO_MTSAFE_IO.
63365         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
63366         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
63367         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
63368         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
63369         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
63370         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
63371         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
63372         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
63373         (CFLAGS-fread_u_chk.c): Likewise.
63374         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
63375         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
63376         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
63377         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
63378         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
63379         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
63380         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
63381         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
63382         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
63384         * libio/Makefile: Test [$(libc-reentrant) = yes]
63385         instead of [$(filter %REENTRANT, $(defines)) nonempty].
63387         * Makeconfig
63388         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
63389         * sysdeps/pthread/configure: File removed.
63390         * sysdeps/pthread/Makeconfig: New file.
63391         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
63392         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
63394 2012-08-16  Gary Benson  <gbenson@redhat.com>
63396         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
63397         unmapping the first object in a namespace.
63399 2012-08-16  Roland McGrath  <roland@hack.frob.com>
63401         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
63402         (__internal_setnetgrent): ... this.  Add internal_function to
63403         definition.  Add libc_hidden_def.
63404         (setnetgrent): Update caller.
63405         (internal_endnetgrent): Renamed to ...
63406         (__internal_endnetgrent): ... this.  Add internal_function to
63407         definition.  Add libc_hidden_def.
63408         (endnetgrent): Update caller.
63409         (internal_getnetgrent_r): Renamed to ...
63410         (__internal_getnetgrent_r): ... this.  Add internal_function to
63411         definition.  Add libc_hidden_def.
63412         (__getnetgrent_r): Update caller.
63413         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
63415 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
63417         * stdlib/longlong.h: Update from GCC.
63419 2012-08-16  Roland McGrath  <roland@hack.frob.com>
63421         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
63422         on _QL, which is set by umul_ppmm but never used.
63423         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
63424         variables, which are set by GMP macros but never used.
63425         * stdio-common/_itowa.c (_itowa): Likewise.
63426         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
63427         * stdlib/mod_1.c (mpn_mod_1): Likewise.
63429 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
63431         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
63432         struct La_sh_regs is not constant.
63433         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
63434         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
63435         and struct La_sparc64_regs are not constant.
63437 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
63439         * sysdeps/unix/sysv/linux/kernel-features.h
63440         (__ASSUME_POSIX_TIMERS): Remove.
63441         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
63442         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
63443         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
63444         Make code unconditional.
63445         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
63446         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
63447         Make code unconditional.
63448         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
63449         * sysdeps/unix/sysv/linux/clock_nanosleep.c
63450         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
63451         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
63452         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
63453         Make code unconditional.
63454         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
63455         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
63456         (__libc_missing_posix_timers): Remove.
63458 2012-08-15  Roland McGrath  <roland@hack.frob.com>
63460         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
63461         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
63463         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
63465         * elf/dl-sym.c: Include <stdlib.h>.
63467         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
63468         constants, which avoids warnings in 32-bit builds.
63470         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
63471         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
63473         * misc/lseek.c: File moved to ...
63474         * io/lseek.c: ... here.
63476         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
63478         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
63479         shifting LEN more than 31 bits at once.
63481 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63483         [BZ #14195]
63484         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
63485         segmentation fault for a case of two empty input strings.
63486         * string/test-strncasecmp.c (check1): Renamed to...
63487         (bz12205): ...this.
63488         (bz14195): Add new testcase for two empty input strings and N > 0.
63489         (test_main): Call new testcase, adapt for renamed function.
63491 2012-08-15  Andreas Jaeger  <aj@suse.de>
63493         [BZ #14090]
63494         * crypt/md5test2.c: New test, based on test supplied by Serge
63495         Belyshev <belyshev@depni.sinp.msu.ru>.
63496         * crypt/Makefile (xtests): Add md5test-giant..
63497         * crypt/Makefile ($(objpfx)md5test-giant): Add.
63499 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
63501         [BZ #14090]
63502         * crypt/md5.c (md5_process_block): Don't assume the buffer
63503         length is less than 2**32.
63504         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
63505         length is less than 2**64.
63507 2012-08-15  Roland McGrath  <roland@hack.frob.com>
63509         * string/str-two-way.h: Include <sys/param.h>.
63510         (MAX): Macro removed.
63512         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
63513         Move #define and #undef of memmove to just before and after
63514         including <string.h>.
63516         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
63517         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
63518         and after including <string.h>.  Move declarations of
63519         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
63520         to before #include "string/memmove.c".
63522         * include/dirent.h: Declare __getdirentries.
63524         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
63525         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
63527 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
63529         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
63530         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
63531         * sysdeps/i386/configure: Regenerated.
63532         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
63533         STABS_CURRENT_FILE, and STABS_FUN.
63534         (END): Remove call to STABS_FUN_END.
63535         (STABS_CURRENT_FILE1): Delete.
63536         (STABS_CURRENT_FILE): Likewise.
63537         (STABS_FUN): Likewise.
63538         (STABS_FUN_END): Likewise.
63539         (STABS_FUN2): Likewise.
63540         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
63541         * sysdeps/x86_64/configure: Regenerated.
63543 2012-08-14  Roland McGrath  <roland@hack.frob.com>
63545         * elf/dl-open.c: Include <atomic.h>.
63546         * elf/dl-lookup.c: Likewise.
63548 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
63550         * sysdeps/unix/sysv/linux/kernel-features.h
63551         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
63552         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
63553         unconditionally.
63554         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
63555         unconditionally.
63556         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
63557         condition on __ASSUME_CLONE_THREAD_FLAGS.
63559 2012-08-14  Andreas Jaeger  <aj@suse.de>
63561         * sysdeps/i386/fpu/libm-test-ulps: Update.
63563 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
63565         * include/atomic.h (atomic_exchange_and_add): Split into ...
63566         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
63567         New atomic macros.
63569 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
63571         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63573 2012-08-13  Jeff Law <law@redhat.com>
63575         * manual/stdio.texi (snprintf): Clarify handling of the trailing
63576         null byte in the output string.
63578 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
63580         * sysdeps/unix/sysv/linux/kernel-features.h
63581         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
63582         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
63583         (__ASSUME_ARG_MAX_STACK_BASED): Define.
63584         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
63585         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
63586         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
63587         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
63589 2012-08-09  Jeff Law <law@redhat.com>
63591         [BZ #13939]
63592         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
63593         When avoid_arena is set, don't retry in the that arena.  Pick the
63594         next one, whatever it might be.
63595         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
63596         (arena_lock): Pass in new parameter to arena_get2.
63597         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
63598         arena_get2.
63599         (__libc_malloc): Unify retrying after main arena failure with
63600         __libc_memalign version.
63601         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
63603 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
63605         [BZ #14166]
63606         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
63607         to __redirect_strstr.
63608         (__strstr_sse42): Use typeof __redirect_strstr.
63609         (__strstr_ia32): Likewise.
63610         (__libc_strstr): New prototype.
63611         (strstr): Renamed to ...
63612         (__libc_strstr): This.
63613         (strstr): New strong alias of __libc_strstr.
63614         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
63615         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
63616         __redirect_time.
63617         Include <time.h>.
63618         (__libc_time): New prototype.
63619         (time_ifunc): Replace time with __libc_time.
63620         (time): New strong alias and hidden definition of __libc_time.
63621         (__GI_time): Remove strong alias.
63622         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
63623         Include <stddef.h>.
63624         (memmove): Redefined to __redirect_memmove.
63625         (__memmove_sse2): Use typeof __redirect_memmove.
63626         (__memmove_ssse3): Likewise.
63627         (__memmove_ssse3_back): Likewise.
63628         (__libc_memmove): New prototype.
63629         (memmove): Renamed to ...
63630         (__libc_memmove): This.
63631         (memmove): New strong alias of __libc_memmove.
63633 2012-08-08  Mark Salter  <msalter@redhat.com>
63635         * elf/elf.h
63636         (R_MN10300_TLS_GD): Define.
63637         (R_MN10300_TLS_LD): Likewise.
63638         (R_MN10300_TLS_LDO): Likewise.
63639         (R_MN10300_TLS_GOTIE): Likewise.
63640         (R_MN10300_TLS_IE): Likewise.
63641         (R_MN10300_TLS_LE): Likewise.
63642         (R_MN10300_TLS_DTPMOD): Likewise.
63643         (R_MN10300_TLS_DTPOFF): Likewise.
63644         (R_MN10300_TLS_TPOFF): Likewise.
63645         (R_MN10300_SYM_DIFF): Likewise.
63646         (R_MN10300_ALIGN): Likewise.
63647         (R_MN10300_NUM): Update.
63649 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
63651         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
63652         Remove.
63654 2012-08-08  Roland McGrath  <roland@hack.frob.com>
63656         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
63658         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
63659         sysdeps/unix -> sysdeps/posix move.
63660         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
63662 2012-08-07      Allan McRae     <allan@archlinux.org>
63664         [BZ #14303]
63665         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
63666         (SUNOS_CPP): Likewise.
63667         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
63668         not found.
63669         (open_input): Call CPP using execvp.
63671 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
63673         * sysdeps/unix/sysv/linux/kernel-features.h
63674         (__ASSUME_PROT_GROWSUPDOWN): Remove.
63675         (__ASSUME_NO_CLONE_DETACHED): Likewise.
63676         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
63677         (__ASSUME_WAITID_SYSCALL): Likewise.
63678         * sysdeps/unix/sysv/linux/dl-execstack.c
63679         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
63680         code unconditional.
63681         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
63682         conditional code.
63683         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
63684         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
63685         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
63686         code.
63687         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
63688         unconditional.
63689         [__ASSUME_WAITID_SYSCALL]: Likewise.
63690         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
63692 2012-08-07  Roland McGrath  <roland@hack.frob.com>
63694         * sysdeps/unix/closedir.c: Renamed to ...
63695         * sysdeps/posix/closedir.c: ... here.
63696         * sysdeps/unix/dirfd.c: Renamed to ...
63697         * sysdeps/posix/dirfd.c: ... here.
63698         * sysdeps/unix/dirstream.h: Renamed to ...
63699         * sysdeps/posix/dirstream.h: ... here.
63700         * sysdeps/unix/fdopendir.c: Renamed to ...
63701         * sysdeps/posix/fdopendir.c: ... here.
63702         * sysdeps/unix/opendir.c: Renamed to ...
63703         * sysdeps/posix/opendir.c: ... here.
63704         * sysdeps/unix/readdir.c: Renamed to ...
63705         * sysdeps/posix/readdir.c: ... here.
63706         * sysdeps/unix/readdir_r.c: Renamed to ...
63707         * sysdeps/posix/readdir_r.c: ... here.
63708         * sysdeps/unix/rewinddir.c: Renamed to ...
63709         * sysdeps/posix/rewinddir.c: ... here.
63710         * sysdeps/unix/seekdir.c: Renamed to ...
63711         * sysdeps/posix/seekdir.c: ... here.
63712         * sysdeps/unix/telldir.c: Renamed to ...
63713         * sysdeps/posix/telldir.c: ... here.
63714         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
63715         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
63716         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
63717         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
63719         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
63720         * bits/fcntl.h: ... here.
63722         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
63723         not 0.
63724         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
63725         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
63726         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
63727         (struct flock): Move l_start, l_len to the beginning.
63728         Use __pid_t for l_pid.
63729         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
63730         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
63731         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
63732         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
63733         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
63734         [__USE_LARGEFILE64] (struct flock64): New type.
63735         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
63737         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
63738         * bits/dirent.h: ... here.
63740         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
63741         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
63743 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
63745         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63746         Change from 2.6.0 to 2.6.16.
63747         * sysdeps/unix/sysv/linux/configure: Regenerated.
63748         * sysdeps/unix/sysv/linux/kernel-features.h
63749         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
63750         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
63751         version.
63752         (__ASSUME_UTIMES): Likewise.
63753         (__ASSUME_CLONE_STOPPED): Remove.
63754         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
63755         architectures, not kernel version.
63756         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
63757         (__ASSUME_NO_CLONE_DETACHED): Likewise.
63758         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
63759         (__ASSUME_WAITID_SYSCALL): Likewise.
63760         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
63761         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
63762         * README: State 2.6.16 as minimum Linux kernel version.  Do not
63763         refer to older versions.
63765 2012-08-06  Roland McGrath  <roland@hack.frob.com>
63767         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
63768         Define alphasort64 as an alias.
63769         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
63770         Define versionsort64 as an alias.
63771         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
63772         Define scandir64 as an alias.
63773         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
63774         Define scandirat64 as an alias.
63775         * dirent/alphasort64.c (alphasort64):
63776         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
63777         * dirent/versionsort64.c: Likewise.
63778         * dirent/scandir64.c: Likewise.
63779         * dirent/scandirat64.c: Likewise.
63780         * sysdeps/wordsize-64/alphasort.c: File removed.
63781         * sysdeps/wordsize-64/alphasort64.c: File removed.
63782         * sysdeps/wordsize-64/scandir.c: File removed.
63783         * sysdeps/wordsize-64/scandir64.c: File removed.
63784         * sysdeps/wordsize-64/scandirat.c: File removed.
63785         * sysdeps/wordsize-64/scandirat64.c: File removed.
63786         * sysdeps/wordsize-64/versionsort.c: File removed.
63787         * sysdeps/wordsize-64/versionsort64.c: File removed.
63788         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
63789         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
63790         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
63791         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
63792         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
63793         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
63794         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
63795         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
63797         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
63798         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
63799         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
63800         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63801         [defined __arch64__ || defined __sparcv9]
63802         (__INO_T_MATCHES_INO64_T): New macro.
63803         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
63804         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
63805         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
63806         * sysdeps/unix/sysv/linux/bits/dirent.h
63807         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
63808         (_DIRENT_MATCHES_DIRENT64): New macro.
63810         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
63811         Define lockf64 as an alias.
63812         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
63813         Define fseeko64 as an alias.
63814         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
63815         Define ftello64 as an alias.
63816         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
63817         Define _IO_fgetpos64 and fgetpos64 as aliases.
63818         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
63819         Define _IO_fsetpos64 and fsetpos64 as aliases.
63820         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
63821         Conditionalize body on this.
63822         * libio/fseeko64.c: Likewise.
63823         * libio/ftello64.c: Likewise.
63824         * libio/iofgetpos64.c: Likewise.
63825         * libio/iofsetpos64.c: Likewise.
63826         * sysdeps/wordsize-64/lockf.c: File removed.
63827         * sysdeps/wordsize-64/lockf64.c: File removed.
63828         * sysdeps/wordsize-64/fseeko.c: File removed.
63829         * sysdeps/wordsize-64/fseeko64.c: File removed.
63830         * sysdeps/wordsize-64/ftello.c: File removed.
63831         * sysdeps/wordsize-64/ftello64.c: File removed.
63832         * sysdeps/wordsize-64/iofgetpos.c: File removed.
63833         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
63834         * sysdeps/wordsize-64/iofsetpos.c: File removed.
63835         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
63836         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
63837         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
63838         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
63839         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
63840         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
63841         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
63842         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
63843         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
63844         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
63845         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
63847         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
63848         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
63849         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
63850         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63851         [defined __arch64__ || defined __sparcv9]
63852         (__OFF_T_MATCHES_OFF64_T): New macro.
63853         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
63854         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
63855         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63856         (__OFF_T_MATCHES_OFF64_T): New macro.
63858 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
63860         * stdlib/secure-getenv.c (__secure_getenv): Replace
63861         GLIBC_2_16 with GLIBC_2_17.
63863 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
63865         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
63866         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
63868 2012-08-03  David S. Miller  <davem@davemloft.net>
63870         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63872 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
63874         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
63875         Remove.
63876         (__ASSUME_CORRECT_SI_PID): Likewise.
63877         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
63878         (__ASSUME_TMPFS_NAME): Likewise.
63879         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
63880         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
63881         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
63882         (HAVE_AUX_SECURE): Make definition unconditional.
63883         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
63884         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
63886 2012-08-03  Roland McGrath  <roland@hack.frob.com>
63888         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
63889         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
63890         * sysdeps/mach/hurd/eloop-threshold.h: New file.
63891         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
63892         __eloop_threshold instead of SYMLOOP_MAX.
63894         * sysdeps/generic/eloop-threshold.h: New file.
63895         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
63896         of MAXSYMLINKS.
63897         * elf/chroot_canon.c (chroot_canon): Likewise.
63899 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
63901         [BZ #13717]
63902         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63903         Change to 2.6.0 everywhere.
63904         * sysdeps/unix/sysv/linux/configure: Regenerated.
63905         * sysdeps/unix/sysv/linux/kernel-features.h
63906         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
63907         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
63908         kernel versions.
63909         (__ASSUME_POSIX_TIMERS): Define unconditionally.
63910         (__ASSUME_FUTEX_REQUEUE): Remove.
63911         (__ASSUME_STATFS64): Define unconditionally.
63912         (__ASSUME_AT_SECURE): Likewise.
63913         (__ASSUME_CORRECT_SI_PID): Likewise.
63914         (__ASSUME_TGKILL): Define without depending on kernel version for
63915         i386.
63916         (__ASSUME_UTIMES): Likewise.
63917         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
63918         kernel version.
63919         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
63920         (__ASSUME_TMPFS_NAME): Likewise.
63921         * README: Update reference to Linux kernel versions.
63923 2012-08-02  Marek Polacek  <polacek@redhat.com>
63925         [BZ# 14150]
63926         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
63927         libc_cv_asm_type_prefix with %.
63928         * configure: Regenerated.
63929         * include/libc-symbols.h: Remove comment about
63930         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
63931         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
63932         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
63933         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
63934         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
63935         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
63936         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
63937         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
63938         * elf/tst-unique2mod1.c: Likewise.
63939         * elf/tst-unique1mod2.c: Likewise.
63940         * elf/tst-unique1mod1.c: Likewise.
63941         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
63942         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
63943         Replace ASM_TYPE_DIRECTIVE with .type.
63944         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63945         * sysdeps/i386/sysdep.h: Likewise.
63946         * sysdeps/x86_64/sysdep.h: Likewise.
63947         * sysdeps/sh/sysdep.h: Likewise.
63948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
63949         Do not define ASM_TYPE_DIRECTIVE.
63950         * sysdeps/powerpc/sysdep.h: Likewise.
63951         * sysdeps/powerpc/powerpc32/sysdep.h:
63952         Replace ASM_TYPE_DIRECTIVE with .type.
63953         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
63954         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
63955         * sysdeps/i386/fpu/e_powf.S: Likewise.
63956         * sysdeps/i386/fpu/e_expl.S: Likewise.
63957         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
63958         * sysdeps/i386/fpu/e_acosh.S: Likewise.
63959         * sysdeps/i386/fpu/e_pow.S: Likewise.
63960         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
63961         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
63962         * sysdeps/i386/fpu/s_expm1.S: Likewise.
63963         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
63964         * sysdeps/i386/fpu/e_log2.S: Likewise.
63965         * sysdeps/i386/fpu/e_log2l.S: Likewise.
63966         * sysdeps/i386/fpu/e_scalb.S: Likewise.
63967         * sysdeps/i386/fpu/e_powl.S: Likewise.
63968         * sysdeps/i386/fpu/e_log10f.S: Likewise.
63969         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
63970         * sysdeps/i386/fpu/e_logl.S: Likewise.
63971         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
63972         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
63973         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
63974         * sysdeps/i386/fpu/e_log2f.S: Likewise.
63975         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
63976         * sysdeps/i386/fpu/e_log.S: Likewise.
63977         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
63978         * sysdeps/i386/fpu/e_logf.S: Likewise.
63979         * sysdeps/i386/fpu/e_log10l.S: Likewise.
63980         * sysdeps/i386/fpu/e_atanh.S: Likewise.
63981         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
63982         * sysdeps/i386/fpu/e_log10.S: Likewise.
63983         * sysdeps/i386/fpu/s_frexp.S: Likewise.
63984         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
63985         * sysdeps/i386/fpu/s_asinh.S: Likewise.
63986         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
63987         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
63988         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
63989         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
63990         * sysdeps/i386/i686/strtok.S: Likewise.
63991         * sysdeps/i386/i386-mcount.S: Likewise.
63992         * sysdeps/i386/strtok.S: Likewise.
63993         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
63994         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
63995         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
63996         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
63997         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
63998         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
63999         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
64000         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
64001         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
64002         * sysdeps/x86_64/_mcount.S: Likewise.
64003         * sysdeps/x86_64/strtok.S: Likewise.
64004         * sysdeps/sh/_mcount.S: Likewise.
64006 2012-08-01  Roland McGrath  <roland@hack.frob.com>
64008         * libio/iofopen.c: Include <fcntl.h>.
64009         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
64010         (_IO_fopen64, fopen64): Define as aliases.
64011         * libio/iofopen64.c: Include <fcntl.h>.
64012         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
64013         Conditionalize body on this.
64014         * sysdeps/wordsize-64/iofopen.c: File removed.
64015         * sysdeps/wordsize-64/iofopen64.c: File removed.
64017 2012-08-01  Marek Polacek  <polacek@redhat.com>
64019         * libc/Makeconfig: Use elf in place of binfmt-subdir.
64020         Use dlfcn directly instead of a variable.
64021         (binfmt-subdir): Do not define.
64022         (dlfcn): Likewise.
64024 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
64026         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
64027         Remove all definitions.
64028         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
64029         <kernel-features.h>.
64030         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
64031         (miss_F_GETOWN_EX): Remove all definitions.
64032         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
64033         macro definition.
64034         [!__ASSUME_FCNTL64]: Remove conditional code.
64035         [__ASSUME_FCNTL64]: Make code unconditional.
64036         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
64037         <kernel-features.h>.
64038         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
64039         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
64040         (lockf64) [__NR_fcntl64]: Make code unconditional.
64041         (lockf64) [__ASSUME_FCNTL64]: Likewise.
64043         * sysdeps/unix/sysv/linux/kernel-features.h
64044         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
64045         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
64046         Make code unconditional.
64047         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
64048         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
64049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
64050         [__NR_vfork]: Make code unconditional.
64051         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
64052         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
64053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
64054         [__NR_vfork]: Make code unconditional.
64055         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
64056         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
64058 2012-08-01  Roland McGrath  <roland@hack.frob.com>
64060         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
64061         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
64063         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
64064         Define mkstemp64 as an alias.
64065         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
64066         Define mkstemps64 as an alias.
64067         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
64068         Define mkostemp64 as an alias.
64069         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
64070         Define mkostemps64 as an alias.
64071         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
64072         Conditionalize body on this.
64073         * misc/mkostemp64.c: Likewise.
64074         * misc/mkostemps64.c: Likewise.
64075         * misc/mkstemps64.c: Likewise.
64076         * sysdeps/wordsize-64/mkstemp64.c: File removed.
64077         * sysdeps/wordsize-64/mkostemp64.c: File removed.
64078         * sysdeps/wordsize-64/mkostemp.c: File removed.
64079         * sysdeps/wordsize-64/mkstemp.c: File removed.
64080         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
64081         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
64082         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
64083         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
64085         [BZ #14138]
64086         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
64087         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
64088         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
64089         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
64091         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
64092         compat_symbol macros from <shlib-compat.h> rather than the underlying
64093         default_symbol_version and symbol_version macros, so that DEFAULT
64094         lines in shlib-versions are respected.
64095         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
64097 2012-08-01  Florian Weimer  <fweimer@redhat.com>
64099         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
64100         Declare with warn_unused_result.
64101         (setgid, setregid, setegid, setresgid): Likewise.
64102         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
64103         Likewise.
64104         * WUR-REPORT: Remove set*id functions.
64106 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
64108         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
64110 2012-07-31  Roland McGrath  <roland@hack.frob.com>
64112         [BZ #10191]
64113         * include/sys/socket.h (__libc_accept, __libc_accept4):
64114         Add attribute_hidden.
64115         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
64117         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
64118         use of PTR_MANGLE.
64119         * inet/getnetgrent_r.c (setup): Likewise.
64121         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
64123 2012-07-31  David S. Miller  <davem@davemloft.net>
64125         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64127 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
64129         [BZ #13629]
64130         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
64131         value between 1.0 and 2.0 and smaller part has absolute value less
64132         than 1.0.
64133         * math/s_clog10.c (__clog10): Likewise.
64134         * math/s_clog10f.c (__clog10f): Likewise.
64135         * math/s_clog10l.c (__clog10l): Likewise.
64136         * math/s_clogf.c (__clogf): Likewise.
64137         * math/s_clogl.c (__clogl): Likewise.
64138         * math/libm-test.inc (clog_test): Add more tests.
64139         (clog10_test): Likewise.
64140         * sysdeps/i386/fpu/libm-test-ulps: Update.
64141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64143 2012-07-31  Florian Weimer  <fweimer@redhat.com>
64145         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
64146         Exit with zero in case no suitable GID is found, and write a
64147         message to standard error.
64149 2012-07-30  Roland McGrath  <roland@hack.frob.com>
64151         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
64152         rather than to 1.
64153         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
64154         (MAXPATHLEN): Removed.
64155         (NOGROUP, NODEV): New macros.
64156         (setbit, clrbit, isset, isclr): New macros.
64157         (howmany, roundup, powerof2): New macros.
64158         (DEV_BSIZE): New macro.
64160         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
64161         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
64163         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
64164         definition on [!__NO_LONG_DOUBLE_MATH].
64166         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
64167         PTR_MANGLE and PTR_DEMANGLE.
64169         * socket/accept4.c (accept4): Rename to __libc_accept4.
64170         Define accept4 as a weak alias.
64172         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
64173         on [_DIRENT_HAVE_D_TYPE].
64174         * io/ftw.c (ftw_dir): Likewise.
64176         * io/xmknod.c (__xmknod): Don't check PATH for being null.
64178         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
64180         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
64181         Use the BSD numbers rather than the arbitrary ones we had.
64182         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
64183         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
64184         (SIGXCPU, SIGXFSZ): New macros.
64185         (_NSIG): Now 32.
64187         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
64188         initializer on [_LIBC_REENTRANT].
64190         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
64191         definitions inside [_POSIX_MAPPED_FILES].
64193         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
64195         * dirent/opendir.c: Include <fcntl.h>.
64197         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
64198         (__libc_getspecific): Likewise.
64199         (__libc_key_create): Likewise.
64201         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
64202         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
64203         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
64204         (tmpfile64): Define as alias.
64205         * sysdeps/wordsize-64/tmpfile.c: File removed.
64206         * sysdeps/wordsize-64/tmpfile64.c: File removed.
64207         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
64208         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
64210         * stdio-common/vfscanf.c: Include <stdbool.h>.
64211         * nss/makedb.c: Likewise.
64212         * stdio-common/_i18n_number.h: Likewise.
64213         * argp/argp-help.c: Likewise.
64214         * posix/wordexp.c: Likewise.
64215         * sysdeps/posix/spawni.c: Likewise.
64216         * nss/nss_files/files-initgroups.c: Likewise.
64217         * stdio-common/reg-modifier.c: Include <stdlib.h>.
64218         * nss/nss_files/files-initgroups.c: Likewise.
64219         * nss/nss_db/db-netgrp.c: Likewise.
64220         * nss/nss_db/db-initgroups.c: Likewise.
64221         * io/fchmodat.c: Include <sys/stat.h>.
64223         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
64224         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
64226         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
64227         [HAVE_MMAP].
64229         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
64230         Add multiple inclusion protection.
64232 2012-07-27  David S. Miller  <davem@davemloft.net>
64234         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64236 2012-07-27  Gary Benson  <gbenson@redhat.com>
64238         [BZ #14298]
64239         * elf/rtld.c: Include <stap-probe.h>.
64240         (dl_main): Added static probes "init_start" and "init_complete".
64241         * elf/dl-load.c: Include <stap-probe.h>.
64242         (lose): Take new parameter "nsid".
64243         Added static probe "map_failed".
64244         (_dl_map_object_from_fd): Pass namespace id to lose.
64245         Added static probe "map_start".
64246         (open_verify): Pass namespace id to lose.
64247         * elf/dl-open.c: Include <stap-probe.h>.
64248         (dl_open_worker) Added static probes "map_complete", "reloc_start"
64249         and "reloc_complete".
64250         * elf/dl-close.c: Include <stap-probe.h>.
64251         (_dl_close_worker): Added static probes "unmap_start" and
64252         "unmap_complete".
64253         * elf/rtld-debugger-interface.txt: New file documenting the above.
64255 2012-07-26  Roland McGrath  <roland@hack.frob.com>
64257         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
64258         rather than a string variable.
64259         * sunrpc/rpc_main.c (h_output): Likewise.
64260         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
64262 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
64264         * inet/check_native.c: New file.
64266 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
64268         [BZ #13629]
64269         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
64270         if larger part has absolute value 1.0.
64271         * math/s_clog10.c (__clog10): Likewise.
64272         * math/s_clog10f.c (__clog10f): Likewise.
64273         * math/s_clog10l.c (__clog10l): Likewise.
64274         * math/s_clogf.c (__clogf): Likewise.
64275         * math/s_clogl.c (__clogl): Likewise.
64276         * math/libm-test.inc (clog_test): Add more tests.
64277         (clog10_test): Likewise.
64278         * sysdeps/i386/fpu/libm-test-ulps: Update.
64279         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64281         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
64282         (pltexit): Likewise.
64283         (La_regs): Likewise.
64284         (La_retval): Likewise.
64285         (int_retval): Likewise.
64286         Update #error for removed macros to refer only to definitions in
64287         tst-audit.h.
64288         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
64289         macro.
64290         (pltexit): Likewise.
64291         (La_regs): Likewise.
64292         (La_retval): Likewise.
64293         (int_retval): Likewise.
64294         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
64295         macro.
64296         (pltexit): Likewise.
64297         (La_regs): Likewise.
64298         (La_retval): Likewise.
64299         (int_retval): Likewise.
64300         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
64301         macro.
64302         (pltexit): Likewise.
64303         (La_regs): Likewise.
64304         (La_retval): Likewise.
64305         (int_retval): Likewise.
64306         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
64307         macro.
64308         (pltexit): Likewise.
64309         (La_regs): Likewise.
64310         (La_retval): Likewise.
64311         (int_retval): Likewise.
64312         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
64313         macro.
64314         (pltexit): Likewise.
64315         (La_regs): Likewise.
64316         (La_retval): Likewise.
64317         (int_retval): Likewise.
64318         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
64319         macro.
64320         (pltexit): Likewise.
64321         (La_regs): Likewise.
64322         (La_retval): Likewise.
64323         (int_retval): Likewise.
64324         * sysdeps/generic/tst-audit.h: Update comment to refer only to
64325         macro definitions in tst-audit.h.
64326         * sysdeps/i386/tst-audit.h: New file.
64327         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
64328         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
64329         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
64330         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
64331         * sysdeps/sh/tst-audit.h: Likewise.
64332         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
64333         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
64334         * sysdeps/x86_64/tst-audit.h: Likewise.
64336 2012-07-26  Andreas Jaeger  <aj@suse.de>
64338         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
64339         ptrace.
64341         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
64342         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
64343         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
64344         PTRACE_O_MASK.
64345         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
64346         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
64347         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
64349         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
64350         value.
64352         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
64353         _sigsys.
64354         (si_call_addr, si_syscall, si_arch): Define new macro.
64355         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
64356         _sigsys.
64357         (si_call_addr, si_syscall, si_arch): Define new marcro.
64358         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
64359         _sigsys.
64360         (si_call_addr, si_syscall, si_arch): Define new macro.
64361         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
64362         _sigsys.
64363         (si_call_addr, si_syscall, si_arch): Define new macro.
64365 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
64367         [BZ #13717]
64368         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
64369         Change to 2.4.21 where previously 2.4.1.
64370         * sysdeps/unix/sysv/linux/configure: Regenerated.
64371         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
64372         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
64373         Linux kernel version.
64374         (__ASSUME_STD_AUXV): Remove.
64375         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
64376         kernel version.
64377         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
64378         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
64379         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
64380         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
64381         (__ASSUME_NETLINK_SUPPORT): Likewise.
64382         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
64383         (__no_netlink_support): Remove conditional definition.
64384         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
64385         Remove.
64386         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
64387         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
64388         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
64389         (if_nameindex_ioctl): Remove.
64390         (if_nameindex_netlink): Do not handle __no_netlink_support.
64391         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
64392         code.
64393         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
64394         Remove conditional code.
64395         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
64396         code.
64397         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
64398         unconditional.
64399         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
64400         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
64401         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
64402         Remove.
64403         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
64404         [!__ASSUME_STD_AUXV]: Remove conditional code.
64405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
64406         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
64407         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
64408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
64409         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
64410         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
64411         code.
64412         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
64413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
64414         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
64415         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
64416         conditional code.
64417         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
64418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
64419         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
64420         code.
64421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
64422         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
64423         conditional code.
64424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
64425         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
64426         code unconditional.
64427         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64428         conditional code.
64429         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
64430         unconditional.
64431         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64432         conditional code.
64433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
64434         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
64435         unconditional.
64436         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64437         conditional code.
64438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
64439         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
64440         code unconditional.
64441         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64442         conditional code.
64443         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
64444         unconditional.
64445         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64446         conditional code.
64447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
64448         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
64449         code unconditional.
64450         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64451         conditional code.
64452         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
64453         unconditional.
64454         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64455         conditional code.
64457 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
64459         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
64460         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
64461         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
64462         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
64463         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
64464         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
64465         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
64466         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
64467         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
64468         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
64469         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
64470         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
64471         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
64472         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
64473         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
64474         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
64475         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
64476         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
64477         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
64478         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
64479         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
64480         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
64481         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
64483 2012-07-25  Florian Weimer  <fweimer@redhat.com>
64485         * Versions.def: Add GLIBC_2.17.
64486         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
64487         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
64488         Introduce __libc_secure_getenv.
64489         * stdlib/Versions (2.17): Add secure_getenv
64490         (GLIBC_PRIVATE): Add __libc_secure_getenv.
64491         * stdlib/secure-getenv.c: Rename __secure_getenv to
64492         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
64493         symbol __secure_getenv for GLIBC_2.0.
64494         * stdlib/tst-secure-getenv.c: New.
64495         * stdlib/Makefile (tests): Add testcase.
64496         * manual/startup.texi (Environment Access): Document
64497         secure_getenv.
64498         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
64499         __libc_secure_getenv.
64500         * inet/ruserpass.c (ruserpass): Likewise.
64501         * malloc/mtrace.c (mtrace): Likewise.
64502         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
64503         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
64504         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
64505         * sysdeps/posix/tempname.c: Likewise.  Evaluate
64506         HAVE_SECURE_GETENV.
64507         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
64508         __secure_getenv to __libc_secure_getenv.
64509         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
64510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64511         Likewise.
64512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64513         Likewise.
64514         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
64515         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
64516         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
64517         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
64518         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
64519         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
64520         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
64522 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
64524         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
64525         (struct La_i86_retval): Likewise.
64526         (struct La_x86_64_regs): Likewise.
64527         (struct La_x86_64_retval): Likewise.
64528         (struct La_x32_regs): Likewise.
64529         (struct La_x32_retval): Likewise.
64530         (struct La_ppc32_regs): Likewise.
64531         (struct La_ppc32_retval): Likewise.
64532         (struct La_ppc64_regs): Likewise.
64533         (struct La_ppc64_retval): Likewise.
64534         (struct La_sh_regs): Likewise.
64535         (struct La_sh_retval): Likewise.
64536         (struct La_s390_32_regs): Likewise.
64537         (struct La_s390_32_retval): Likewise.
64538         (struct La_s390_64_regs): Likewise.
64539         (struct La_s390_64_retval): Likewise.
64540         (struct La_sparc32_regs): Likewise.
64541         (struct La_sparc32_retval): Likewise.
64542         (struct La_sparc64_regs): Likewise.
64543         (struct La_sparc64_retval): Likewise.
64544         (struct audit_ifaces): Remove architecture-specific pltenter and
64545         pltexit members.
64546         * sysdeps/i386/ldsodefs.h: New file.
64547         * sysdeps/powerpc/ldsodefs.h: Likewise.
64548         * sysdeps/s390/ldsodefs.h: Likewise.
64549         * sysdeps/sh/ldsodefs.h: Likewise.
64550         * sysdeps/sparc/ldsodefs.h: Likewise.
64551         * sysdeps/x86_64/ldsodefs.h: Likewise.
64553 2012-07-25  Marek Polacek  <polacek@redhat.com>
64555         [BZ #6808]
64556         * math/libm-test.inc (yn_test): Add another test.
64557         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
64558         to ERANGE when the result is +-Inf.
64559         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
64560         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
64561         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
64562         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
64564 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
64566         * conform/data/time.h-data (NULL): Use macro-constant.  Require
64567         equal to 0.
64568         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
64569         clock_t.
64570         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
64572 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
64574         * configure.in <sysdeps resolving>: Correct printing
64575         Implies_before.
64576         * configure: Regenerate.
64578 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
64580         * math/w_ilogb.c: Include <limits.h>.
64581         * math/w_ilogbl.c: Likewise.
64583 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
64585         * manual/lang.texi (__va_copy): Document primarily as ISO C99
64586         va_copy.  Document allowing for unavailable va_copy only as
64587         pre-C99 compatibility.
64588         * manual/string.texi (Copying and Concatenation): Use va_copy
64589         instead of __va_copy in concat example.
64591 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
64593         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
64594         (__sendto): Use create_address_port.  Initialize APORT and deallocate
64595         it if not null.
64597         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
64598         with O_NOLINK passed to __file_name_lookup.
64600         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
64601         with O_NOLINK passed to __file_name_lookup.
64603         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
64604         negative N or less than NGIDS.
64606         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
64607         type to string_t.  Set ERANGE as errno and return it if NAME is not big
64608         enough.  Use memcpy instead of strncpy.
64610 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
64612         * elf/Makefile (check-data): Remove.
64613         (localplt.data): New vpath directive.
64614         ($(objpfx)check-localplt.out): Use localplt.data from vpath
64615         instead of $(check-data).
64616         * scripts/data/localplt-generic.data: Move to ...
64617         * sysdeps/generic/localplt.data: ... here.
64618         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
64619         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
64620         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
64621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
64622         ... here.
64623         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
64624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
64625         ... here.
64626         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
64627         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
64628         ... here.
64629         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
64630         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
64631         ... here.
64632         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
64633         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
64634         ... here.
64635         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
64636         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
64637         ... here.
64639 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64641         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
64642         PPC32 and PPC64 files.
64643         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
64644         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
64646 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64648         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
64649         __makecontext_ret to ...
64650         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
64651         ... here and call exit if uc_link is NULL.  New file.
64652         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
64653         __makecontext_ret.S.
64654         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
64655         __makecontext_ret to ...
64656         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
64657         ... here and call exit if uc_link is NULL.  New file.
64658         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
64659         __makecontext_ret.S.
64661 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64663         * elf/elf.h (R_390_IRELATIVE): New definition.
64664         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
64665         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
64666         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
64667         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
64668         (elf_machine_lazy_rel): Likewise.
64669         * sysdeps/s390/dl-irel.h: New file.
64670         * sysdeps/s390/s390-64/memcpy.S: New asm code.
64671         * sysdeps/s390/s390-64/memset.S: New asm code.
64672         * sysdeps/s390/s390-64/memcmp.S: New asm code.
64673         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
64674         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
64675         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
64676         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
64677         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
64678         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
64679         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
64680         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
64681         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
64682         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
64683         * sysdeps/s390/s390-32/memcpy.S: New asm code.
64684         * sysdeps/s390/s390-32/memset.S: New asm code.
64685         * sysdeps/s390/s390-32/memcmp.S: New asm code.
64687 2012-07-17  Marek Polacek  <polacek@redhat.com>
64689         [BZ #14349]
64690         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
64691         * sysdeps/s390/s390-64/configure.in: Likewise.
64692         * sysdeps/sparc/configure.in: Likewise.
64693         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
64694         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
64695         * sysdeps/i386/configure.in: Likewise.
64696         * sysdeps/x86_64/configure.in: Likewise.
64697         * sysdeps/sh/configure.in: Likewise.
64698         * sysdeps/s390/s390-32/configure: Regenerated.
64699         * sysdeps/s390/s390-64/configure: Likewise.
64700         * sysdeps/x86_64/configure: Likewise.
64701         * sysdeps/sh/configure: Likewise.
64702         * sysdeps/powerpc/powerpc64/configure: Likewise.
64703         * sysdeps/powerpc/powerpc32/configure: Likewise.
64704         * sysdeps/sparc/configure: Likwise.
64705         * sysdeps/i386/configure: Likewise.
64707         * elf/dl-open.c: Comment fixes.
64709 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
64711         * Makefile [CXX] (check-data): Remove.
64712         [CXX] (c++-types.data): New vpath directive.
64713         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
64714         vpath.  Do not allow for C++ type data being missing.
64715         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
64716         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
64717         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
64718         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
64719         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
64720         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
64721         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
64722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
64723         ... here.
64724         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
64725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
64726         ... here.
64727         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
64728         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
64729         ... here.
64730         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
64731         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
64732         ... here.
64733         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
64734         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
64735         ... here.
64736         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
64737         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
64738         ... here.
64739         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
64740         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
64741         ... here.
64742         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
64743         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
64745         * elf/tls-macros.h (TLS_LE): Move architecture-specific
64746         definitions to architecture-specific files.
64747         (TLS_IE): Likewise.
64748         (TLS_LD): Likewise.
64749         (TLS_GD): Likewise.
64750         * sysdeps/i386/tls-macros.h: New file.
64751         * sysdeps/powerpc/tls-macros.h: Likewise.
64752         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
64753         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
64754         * sysdeps/sh/tls-macros.h: Likewise.
64755         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
64756         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
64757         * sysdeps/x86_64/tls-macros.h: Likewise.
64759 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
64761         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
64762         zero value for regular exit case.
64764         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
64765         (__start_context): Preserve zero value for regular exit case.
64767 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
64768             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64770         * manual/setjmp.texi (setcontext): Clarify normal process
64771         termination when uc_link is the null pointer.
64772         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
64773         exit call.
64775 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
64777         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
64778         preprocessor.  Test for each exception mask separately.
64780 2012-07-16  Andreas Jaeger  <aj@suse.de>
64782         * po/ru.po: Update from translation team.
64784 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
64786         * conform/data/string.h-data (NULL): Use macro-constant.  Require
64787         equal to 0.
64788         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
64789         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
64790         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
64791         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
64792         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64794 2012-07-13  Andreas Jaeger  <aj@suse.de>
64796         * po/fr.po: Update from translation team.
64798 2012-07-12  Marek Polacek  <polacek@redhat.com>
64800         [BZ #14173]
64801         * math/libm-test.inc (yn_test): Add test for BZ #14173.
64802         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
64803         loop condition.
64805 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
64807         [BZ #13717]
64808         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
64809         Change to 2.4.1 where previously 2.4.0.
64810         * sysdeps/unix/sysv/linux/configure: Regenerated.
64811         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
64812         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
64813         version.
64814         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
64815         (__ASSUME_AT_CLKTCK): Remove.
64816         (__ASSUME_AT_PAGESIZE): Likewise.
64817         (__ASSUME_AT_XID): Likewise.
64818         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
64819         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
64820         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
64821         unconditionally.
64822         (HAVE_AUX_PAGESIZE): Likewise.
64823         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
64824         [__ASSUME_AT_CLKTCK]: Make code unconditional.
64825         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
64827 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
64829         [BZ #14307]
64830         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
64831         the temporary buffer used to invoke __gethostbyname2_r,
64832         __gethostbyaddr_r and gethostbyname4_r to make room for struct
64833         host_data / struct gaih_addrtuple.
64834         * resolv/nss_dns/dns-host.c (global scope): Move definition of
64835         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
64836         header file nss/nsswitch.h.
64837         * nss/nsswitch.h (global scope): Add definition of implementation
64838         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
64839         resolv/nss_dns/dns-host.c).
64841 2012-07-11  Andreas Jaeger  <aj@suse.de>
64843         * po/fr.po: Update from translation team.
64845         * po/sv.po: Update from translation team
64846         * po/fr.po: Another update from translation team.
64848 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64850         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
64851         for subnormals or multiply small sinh result by itself.
64852         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
64853         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64855 2012-07-11  David S. Miller  <davem@davemloft.net>
64857         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64859 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
64861         [BZ #14347]
64862         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
64863         (INTERNAL_MARK): Shift it here.
64865 2012-07-10  Marek Polacek  <polacek@redhat.com>
64867         [BZ #14151]
64868         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
64869         libc_cv_asm_global_directive with .globl.
64870         * configure: Regenerated.
64871         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
64872         with .globl.
64873         * sysdeps/i386/configure: Regenerated.
64874         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
64875         with .globl.
64876         * sysdeps/x86_64/configure: Regenerated.
64877         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
64878         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
64879         * elf/tst-unique2mod2.c: Likewise.
64880         * elf/tst-unique2mod1.c: Likewise.
64881         * elf/tst-unique1mod2.c: Likewise.
64882         * elf/tst-unique1mod1.c: Likewise.
64883         * sysdeps/s390/s390-32/sysdep.h: Likewise.
64884         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
64885         * sysdeps/s390/s390-64/sysdep.h: Likewise.
64886         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
64887         * sysdeps/mach/sysdep.h: Likewise.
64888         * sysdeps/i386/sysdep.h: Likewise.
64889         * sysdeps/i386/i386-mcount.S: Likewise.
64890         * sysdeps/x86_64/_mcount.S: Likewise.
64891         * sysdeps/x86_64/sysdep.h: Likewise.
64892         * sysdeps/sh/_mcount.S: Likewise.
64893         * sysdeps/sh/sysdep.h: Likewise.
64894         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
64895         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
64896         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
64897         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
64898         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
64899         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
64900         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
64901         * locale/localeinfo.h: Likewise.
64902         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
64903         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
64905 2012-07-09  Roland McGrath  <roland@hack.frob.com>
64907         [BZ #14336]
64908         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
64909         system".
64910         * manual/message.texi (The Uniforum approach): Likewise.
64911         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
64912         (glibc iconv Implementation): Likewise.
64914 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
64916         [BZ #14337]
64917         * math/s_clog.c (__clog): Avoid scaling a value down where that
64918         could result in underflow.
64919         * math/s_clog10.c (__clog10): Likewise.
64920         * math/s_clog10f.c (__clog10f): Likewise.
64921         * math/s_clog10l.c (__clog10l): Likewise.
64922         * math/s_clogf.c (__clogf): Likewise.
64923         * math/s_clogl.c (__clogl): Likewise.
64924         * math/libm-test.inc (clog_test): Add more tests.
64925         (clog10_test): Likewise.
64926         * sysdeps/i386/fpu/libm-test-ulps: Update.
64927         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64929 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
64931         [BZ #14283]
64932         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
64933         by 7 not 8 to examine high bit of fractional part.
64935         [BZ #14042]
64936         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
64937         for call to __mcount_internal.
64938         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
64939         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
64940         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
64942 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
64944         [BZ #14154]
64945         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
64946         approximation for values within 0x1p-13f of an odd multiple of
64947         pi/4.
64948         * math/libm-test.inc (tan_test): Do not allow spurious underflow
64949         exception.  Add more tests.
64950         * sysdeps/i386/fpu/libm-test-ulps: Update.
64952         [BZ #6778]
64953         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
64954         inputs and return -1 for them.  Do not check for +Inf in case not
64955         reachable for +Inf.
64956         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
64957         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
64958         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
64959         and return -1 for them.  Do not check for +Inf in case not
64960         reachable for +Inf.
64961         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
64962         define.
64963         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
64964         and return -1 for them.  Do not check for +Inf in case not
64965         reachable for +Inf.
64966         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
64967         spurious underflow.
64968         * sysdeps/i386/fpu/libm-test-ulps: Update.
64969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64971 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
64973         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
64975 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
64977         [BZ #14157]
64978         [BZ #14331]
64979         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
64980         could result in spurious underflow.  Scale down values above
64981         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
64982         * math/s_csqrtf.c (__csqrtf): Likewise.
64983         * math/s_csqrtl.c (__csqrtl): Likewise.
64984         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
64985         spurious underflow.
64986         * sysdeps/i386/fpu/libm-test-ulps: Update.
64987         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64989 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
64991         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
64992         xopen-msg.sed.
64993         * catgets/xopen-msg.awk: New file.
64994         * catgets/xopen-msg.sed: Removed.
64996         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
64997         po2text.sed.
64998         * intl/po2test.awk: New file.
64999         * intl/po2test.sed: Removed.
65001 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
65003         [BZ #14328]
65004         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
65005         or multiply small sinh result by itself.
65006         * math/s_ctanf.c (__ctanf): Likewise.
65007         * math/s_ctanh.c (__ctanh): Likewise.
65008         * math/s_ctanhf.c (__ctanhf): Likewise.
65009         * math/s_ctanhl.c (__ctanhl): Likewise.
65010         * math/s_ctanl.c (__ctanl): Likewise.
65011         * math/libm-test.inc (ctan_test_tonearest): New function.
65012         (ctan_test_towardzero): Likewise.
65013         (ctan_test_downward): Likewise.
65014         (ctan_test_upward): Likewise.
65015         (ctanh_test_tonearest): Likewise.
65016         (ctanh_test_towardzero): Likewise.
65017         (ctanh_test_downward): Likewise.
65018         (ctanh_test_upward): Likewise.
65019         (main): Call these new functions.
65020         * sysdeps/i386/fpu/libm-test-ulps: Update.
65021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65023 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
65025         * .gitignore: Delete /ports entry.
65027 2012-07-03  Andreas Jaeger  <aj@suse.de>
65029         * po/bg.po: Update from translation team.
65030         * po/cs.po: Likewise.
65031         * po/de.po: Likewise.
65032         * po/hr.po: Likewise.
65033         * po/nl.pl: Likewise.
65034         * po/pl.po: Likewise.
65035         * po/vi.po: Likewise.
65037 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
65039         * Makeconfig [!+link] (+link-before-libc): New variable.
65040         [!+link] (+link-after-libc): Likewise.
65041         [!+link] (+link-tests): Likewise.
65042         [!+link] (+link): Define in terms of $(+link-before-libc) and
65043         $(+link-after-libc).
65044         [!+link-static] (+link-static-before-libc): New variable.
65045         [!+link-static] (+link-static-after-libc): Likewise.
65046         [!+link-static] (+link-static-tests): Likewise.
65047         [!+link-static] (+link-static): Define in terms of
65048         $(+link-static-before-libc) and $(+link-static-after-libc).
65049         [build-shared] (link-libc-before-gnulib): New variable.
65050         [build-shared] (link-libc-tests): Likewise.
65051         [build-shared] (link-libc): Define in terms of
65052         $(link-libc-before-gnulib).
65053         [!build-shared] (link-libc-tests): New variable.
65054         (link-libc-static-tests): New variable.
65055         [!gnulib] (gnulib-arch): New variable.
65056         [!gnulib] (gnulib-tests): Likewise.
65057         [!gnulib] (static-gnulib-arch): Likewise.
65058         [!gnulib] (static-gnulib-tests): Likewise.
65059         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
65060         Define with "=" instead of ":=".
65061         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
65062         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
65063         * Rules (binaries-all-notests): New variable.
65064         (binaries-all-tests): Likewise.
65065         (binaries-static-notests): Likewise.
65066         (binaries-static-tests): Likewise.
65067         (binaries-all): Define using $(binaries-all-notests) and
65068         $(binaries-all-tests).
65069         (binaries-static): Define using $(binaries-static-notests) and
65070         $(binaries-static-tests).
65071         (binaries-shared-tests): New variable.
65072         (binaries-shared-notests): Likewise.
65073         (binaries-shared): Remove variable.
65074         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
65075         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
65076         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
65077         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
65078         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
65079         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
65080         * elf/Makefile (sln-modules): New variable.
65081         (extra-objs): Add $(sln-modules:=.o).
65082         (ldconfig-modules): Add static-stubs.
65083         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
65084         * elf/static-stubs.c: New file.
65086         [BZ #14283]
65087         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
65088         by 7 not 8 to examine high bit of fractional part.  Use volatile
65089         variables when splitting into final array of floats if
65090         __FLT_EVAL_METHOD__ != 0.
65091         * math/libm-test.inc (cos_test): Add another test.
65092         (sin_test): Likewise.
65093         * sysdeps/i386/fpu/libm-test-ulps: Update.
65095         [BZ #14273]
65096         * math/libm-test.inc (cosh_test): Add more tests.
65098         * version.h (RELEASE): Set to "development".
65099         (VERSION): Set to "2.16.90".
65101 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
65103         * NEWS: Update copyright. Remove last-updated date.
65104         Mention math library bug fixes and timezone data changes.
65105         * README: Mention GNU/Hurd, x32, and HPPA support status.
65107 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
65109         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
65111 2012-06-27  Andreas Jaeger  <aj@suse.de>
65113         * manual/contrib.texi (Contributors): Add Samuel Thibault.
65115 2012-06-25  Andreas Jaeger  <aj@suse.de>
65117         * sysdeps/s390/fpu/libm-test-ulps: Update.
65119 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
65120             Thomas Schwinge  <thomas@codesourcery.com>
65122         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
65123         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
65124         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
65125         fanotify_mark.
65127 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
65129         * sysdeps/mach/start.c: Remove file.
65130         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
65131         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
65132         * sysdeps/sh/init-first.c: Likewise.
65134         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
65135         registers for frame unwinding purposes, add CFI directives.
65136         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
65137         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
65138         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
65139         Likewise.
65141         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
65142         __fortify_fail returning.
65143         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
65145         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
65146         sysdeps/sh/____longjmp_chk.S.
65147         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
65148         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
65149         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
65150         (gen-as-const-headers): Append sigaltstack-offsets.sym.
65152         * sysdeps/sh/abort-instr.h: New file.
65153         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
65154         process in case exit returns.
65156         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
65157         initialize the GOT register before use.
65159         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
65160         calculation of ARGC > 4.
65162         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
65163         meaningful names to some local labels.
65165 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
65166             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
65168         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
65169         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
65170         (__arch_compare_and_exchange_val_16_acq): Likewise.
65171         (__arch_compare_and_exchange_val_32_acq): Likewise.
65172         (atomic_exchange_and_add): Fix gUSA sequence.
65173         (atomic_add): Likewise.
65174         (atomic_add_negative): Likewise.
65175         (atomic_add_zero): Likewise.
65176         (atomic_bit_test_set): Likewise.
65178 2012-06-22  Andreas Schwab  <schwab@redhat.com>
65180         [BZ #13579]
65181         * include/link.h (struct link_map): Add l_free_initfini.
65182         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
65183         l_initfini.
65184         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
65185         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
65186         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
65187         set.
65189 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
65191         * configure.in: Use AC_LANG_SOURCE.
65192         * configure: Regenerate.
65194 2012-06-22  Roland McGrath  <roland@hack.frob.com>
65196         * configure.in (libc_cv_localstatedir): New substituted variable.
65197         * configure: Regenerated.
65198         * config.make.in (localstatedir): New variable, substituted from
65199         libc_cv_localstatedir.
65200         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
65201         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
65202         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
65203         * sysdeps/gnu/configure: Regenerated.
65205 2012-06-21  Jeff Law  <law@redhat.com>
65207         [BZ #14277]
65208         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
65209         free.  Simplify list management for _LIBC case.
65211 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
65213         [BZ #14273]
65214         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
65215         Clear sign bit of 64-bit integer value before comparing against
65216         overflow value.
65218         * sysdeps/mach/configure: Regenerated.
65220 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
65222         [BZ #14278]
65223         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
65225 2012-06-21  Jeff Law  <law@redhat.com>
65227         [BZ #13882]
65228         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
65229         uint16_t for elements in the "seen" array to avoid char overflows.
65230         * elf/dl-fini.c (_dl_sort_fini): Likewise.
65231         * elf/dl-open.c (dl_open_worker): Likewise.
65233 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
65235         * scripts/list-sources.sh: Scan PORTS for translations.
65236         * po/libc.pot: Regenerated.
65238 2012-06-21  Andreas Jaeger  <aj@suse.de>
65240         [BZ #12194]
65241         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
65242         warning.
65243         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
65244         * bits/byteswap-16.h (__bswap_16): Likewise.
65245         * bits/byteswap.h (__bswap_constant_16): Likewise.
65247 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
65249         [BZ #14117]
65250         * sysdeps/i386/fpu_control.h: Removed.
65251         * sysdeps/x86_64/fpu_control.h: Moved to ...
65252         * sysdeps/x86/fpu_control.h: Here.
65254         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
65255         (_FPU_SETCW): Likewise.
65257 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
65259         [BZ #14117]
65260         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
65261         * sysdeps/x86/fpu/bits/mathinline.h: This.
65262         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
65264         [BZ #14050]
65265         [BZ #14117]
65266         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
65267         functions if __x86_64__ is defined.
65269 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
65271         * string/endian.h: Add !__ASSEMBLER__ condition for including
65272         conversion interfaces.
65274 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
65276         [BZ #14241]
65277         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
65278         of ABS(x) in calculating zero to negative powers other than odd
65279         integers.
65280         * math/libm-test.inc (pow_test): Add more tests.
65282 2012-06-15  Andreas Jaeger  <aj@suse.de>
65284         * manual/contrib.texi (Contributors): Update entry of Liubov
65285         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
65286         Machado Filho.
65288 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
65290         * string/string.h: Add __wur to GNU version of strerror_r.
65292 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
65294         [BZ #14229]
65295         * string/Makefile (tests): Add tst-strtok_r.
65296         * string/tst-strtok_r.c: New file.
65297         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
65298         RAX_LP/RDX_LP on SAVE_PTR.
65300 2012-06-14  Roland McGrath  <roland@hack.frob.com>
65302         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
65304 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
65306         * libm_test.inc (csqrt_test): Allow more spurious underflow
65307         exceptions.
65308         (j0_test): Likewise.
65309         (j1_test): Likewise.
65310         (y0_test): Likewise.
65311         (y1_test): Likewise.
65313 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
65315         * po/Makefile (libc.pot): Use UTF-8 charset.
65317 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
65319         [BZ #14210]
65320         Suppress sign-conversion warning from FD_SET.
65321         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
65322         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
65323         not unsigned long int.
65324         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
65326 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
65328         [BZ #14050]
65329         [BZ #14117]
65330         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
65331         __extern_always_inline instead of __extern_inline.
65332         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
65333         (__signbit): Likewise.
65334         (__signbitl): Support C++ namespace.
65335         (lrintf): New inline function.
65336         (lrint): Likewise.
65337         (llrintf): Likewise.
65338         (llrint): Likewise.
65339         (fmaxf): Likewise.
65340         (fmax): Likewise.
65341         (fminf): Likewise.
65342         (fmin): Likewise.
65343         (rint): Likewise.
65344         (rintf): Likewise.
65345         (ceil): Likewise.
65346         (ceilf): Likewise.
65347         (floor): Likewise.
65348         (floorf): Likewise.
65349         (nearbyint): Likewise.
65350         (nearbyintf): Likewise.
65352 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
65354         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
65355         non-default versions.
65357 2012-06-11  Roland McGrath  <roland@hack.frob.com>
65359         [BZ #14218]
65360         * manual/argp.texi (Argp): Reword argp_parse description slightly.
65362 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
65364         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
65365         (FE_UPWARD, FE_DOWNWARD): Don't define.
65366         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
65367         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
65369         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
65370         reading it.
65371         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
65372         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
65374 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
65376         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
65377         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
65378         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
65379         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
65381 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
65383         [BZ #14117]
65384         * sysdeps/i386/fpu/bits/fenv.h: Removed.
65385         * sysdeps/i386/fpu/Implies: New file.
65386         * sysdeps/x86_64/fpu/Implies: Likewise.
65387         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
65388         * sysdeps/x86/fpu/bits/fenv.h: This.
65390         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
65391         __SSE_MATH__.
65393 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
65395         [BZ #14134]
65396         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
65397         character 0xffff that matches the last element of the
65398         conversion table.
65400 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65402         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
65403         fmodl commit.
65405 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65407         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
65408         values higher than 25.6283.
65410 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65412         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
65413         subnormal exponent extraction and add some __builtin_expect.
65414         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
65415         Fix for subnormal mantissa calculation.
65417 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
65419         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
65420         cpu2 is -1 and errno is not ENOSYS.
65422 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
65424         [BZ #14117]
65425         * sysdeps/i386/i486/bits/string.h: Renamed to ...
65426         * sysdeps/x86/bits/string.h: This.
65427         * sysdeps/x86_64/bits/string.h: Removed.
65429         * sysdeps/i386/i486/bits/string.h: Define inline functions only
65430         if not compiling for x86-64, but compiling for >= i486.
65432         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
65433         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
65435         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
65436         New macro from Linux kernel 3.4.0.
65437         (FP_XSTATE_MAGIC2): Likewise.
65438         (FP_XSTATE_MAGIC2_SIZE): Likewise.
65439         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
65440         (struct _fpx_sw_bytes): New struct.
65441         (struct _xsave_hdr): Likewise.
65442         (struct _ymmh_state): Likewise.
65443         (struct _xstate): Likewise.
65445         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
65446         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
65447         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
65448         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
65449         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
65450         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
65452         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
65453         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
65454         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
65455         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
65456         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
65457         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
65459 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65461         [BZ #13743]
65462         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
65463         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
65464         (sysdep_headers): Include sys/platform/ppc.h.
65465         * sysdeps/powerpc/test-gettimebase.c: Test for
65466         __ppc_get_timebase() to catch future ISA opcode/insn changes.
65467         * manual/Makefile (appendices): Include platform.texi.
65468         * manual/contrib.texi (Contributors): Update @node pointers.
65469         * manual/maint.texi (Maintenance): Likewise.
65470         (Platform): New node.
65471         * manual/platform.texi: New file.  Document the new features.
65473 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
65474             Jakub Jelinek  <jakub@redhat.com>
65476         [BZ #14188]
65477         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
65478         where __builtin_expect is unavailable.
65480 2012-06-03  David S. Miller  <davem@davemloft.net>
65482         * stdlib/longlong.h: Updated from GCC.
65484 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
65486         [BZ #14042]
65487         * sysdeps/powerpc/powerpc32/mcount.c: New file.
65488         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
65489         __mcount_internal.
65490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
65491         (GLIBC_2.16): Likewise.
65493 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
65495         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
65497 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
65499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
65500         (default-abi): New variable.
65501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
65502         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
65503         variable.
65504         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
65505         Likewise.
65506         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
65507         Likewise.
65508         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
65509         Likewise.
65511         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
65512         definition.  Document in comment.
65514 2012-06-01  David S. Miller  <davem@davemloft.net>
65516         * stdlib/longlong.h: Updated from GCC.
65518 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
65520         [BZ #14117]
65521         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
65522         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
65523         sys/debugreg.h sys/io.h here.
65524         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
65525         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
65526         sys/io.h.
65527         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
65528         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
65529         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
65530         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
65531         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
65532         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
65534         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
65535         Define only if __x86_64__ is defined.
65537 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
65539         [BZ #14048]
65540         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
65541         Use int64_t for variable i.
65542         * math/libm-test.inc (fmod_test): Add more tests.
65544         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
65545         z computation is not scheduled after fetestexcept.
65546         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
65547         Use math_force_eval instead of asm to ensure calculation scheduled
65548         before exception test.
65549         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
65550         Ensure a1 + u.d computation is not scheduled after fetestexcept.
65552 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
65554         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
65555         computation is not scheduled after fetestexcept.
65557 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
65559         [BZ #14117]
65560         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
65561         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
65563 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65565         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
65566         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
65568 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
65570         [BZ #14117]
65571         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
65572         <bits/wordsize.h>.
65573         (__WCHAR_MIN): Support __WORDSIZE == 64.
65574         (__WCHAR_MAX): Likewise.
65576         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
65577         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
65579         [BZ #14183]
65580         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
65581         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
65583         [BZ #14117]
65584         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
65585         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
65587         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
65588         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
65590         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
65591         Defined to 1 if __x86_64__ isn't defined.
65592         (_STAT_VER_LINUX_OLD): New.
65593         (st_atime): Remove duplicate.
65594         (st_mtime): Likewise.
65595         (st_ctime): Likewise.
65597 2012-05-31  David S. Miller  <davem@davemloft.net>
65599         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
65600         entries.
65602 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
65604         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
65605         gen-libm-test.pl.
65607         [BZ #14132]
65608         * elf/dl-reloc.c: Include <_itoa.h>.
65609         (_dl_reloc_bad_type): Remove use of INTUSE.
65610         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
65611         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
65612         * stdio-common/psiginfo.c (psiginfo): Likewise.
65613         * stdio-common/psignal.c (psignal): Likewise.
65614         * string/strsignal.c (strsignal): Likewise.
65615         * include/signal.h (_sys_siglist): Declare hidden proto.
65616         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
65617         INTVARDEF with libc_hidden_data_def.
65618         * stdio-common/itoa-udigits.c: Likewise.
65619         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
65620         (_itoa_lower_digits_internal): Remove declaration.
65621         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
65622         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
65623         (_sys_sigabbrev_internal): Remove aliases.
65624         (_sys_siglist): Define hidden alias.
65626 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
65628         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65629         bits/sysctl.h.
65631 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
65633         [BZ #14117]
65634         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
65635         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
65637         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
65638         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
65639         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
65640         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
65641         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
65642         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
65644         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
65645         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
65646         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
65648         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
65649         with __addr.
65650         (insw): Likewise.
65651         (insl): Likewise.
65652         (outsb): Likewise.
65653         (outsw): Likewise.
65654         (outsl): Likewise.
65656         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
65657         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
65658         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
65660         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
65661         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
65662         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
65663         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
65664         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
65665         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
65667         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
65668         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
65670         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
65671         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
65673         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
65674         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
65675         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
65677         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
65678         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
65679         to ...
65680         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
65682         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
65683         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
65684         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
65686         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
65687         for x86-64.
65688         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
65690 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
65692         * math/math.h (M_El): Use two more decimal places.
65693         (M_LOG2El): Likewise.
65694         (M_LOG10El): Likewise.
65695         (M_LN2l): Likewise.
65696         (M_LN10l): Likewise.
65697         (M_PIl): Likewise.
65698         (M_PI_2l): Likewise.
65699         (M_PI_4l): Likewise.
65700         (M_1_PIl): Likewise.
65701         (M_2_PIl): Likewise.
65702         (M_2_SQRTPIl): Likewise.
65703         (M_SQRT2l): Likewise.
65704         (M_SQRT1_2l): Likewise.
65706 2012-05-31  David S. Miller  <davem@davemloft.net>
65708         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
65709         values between float registers.
65710         * sysdeps/sparc/sparc64/memset.S: Likewise.
65711         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
65713 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
65715         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
65716         -D_FORTIFY_SOURCE=1.
65717         (CPPFLAGS-tst-longjmp_chk.c): Define.
65718         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
65719         (CPPFLAGS-tst-longjmp_chk2.c): Define.
65720         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
65721         CFLAGS-tst-wchar-h.c.
65723 2012-05-31  Marek Polacek  <polacek@redhat.com>
65725         [BZ #14132]
65726         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
65727         __endmntent_internal): Remove declaration.
65728         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
65729         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
65730         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
65732 2012-05-30  David S. Miller  <davem@davemloft.net>
65734         * sysdeps/sparc/sparc32/soft-fp/q_util.c
65735         (___Q_simulate_exceptions): Use real FP ops rather than writing
65736         into the %fsr.
65737         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
65738         Likewise.
65740 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
65742         [BZ #14117]
65743         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
65744         * sysdeps/x86/bits/xtitypes.h: This.
65746         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
65747         * sysdeps/x86/bits/wordsize.h: This.
65749         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
65750         * sysdeps/x86/bits/huge_vall.h: This.
65752         * sysdeps/i386/bits/select.h: Removed.
65753         * sysdeps/x86_64/bits/select.h: Renamed to ...
65754         * sysdeps/x86/bits/select.h: This.
65756         * sysdeps/i386/bits/setjmp.h: Removed.
65757         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
65758         * sysdeps/x86/bits/setjmp.h: This.
65760         * sysdeps/i386/bits/mathdef.h: Removed.
65761         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
65762         * sysdeps/x86/bits/mathdef.h: This.
65764 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
65766         [BZ #14132]
65767         * include/sys/socket.h (__connect_internal)
65768         (__libc_sa_len_internal): Remove declaration.
65769         (__connect, __libc_sa_len): Declare hidden_proto.
65770         (SA_LEN): Remove use of INTUSE.
65771         * socket/connect.c: Add libc_hidden_def.
65772         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
65773         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
65774         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
65775         alias.
65776         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
65777         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
65778         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
65779         of adding _internal alias.
65781 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
65783         [BZ #14117]
65784         * sysdeps/i386/bits/link.h: Removed.
65785         * sysdeps/i386/bits/linkmap.h: Likewise.
65786         * sysdeps/x86_64/bits/link.h: Renamed to ...
65787         * sysdeps/x86/bits/link.h: This.
65788         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
65789         * sysdeps/x86/bits/linkmap.h: This.
65791         * sysdeps/i386/bits/endian.h: Removed.
65792         * sysdeps/x86_64/bits/endian.h: Renamed to ...
65793         * sysdeps/x86/bits/endian.h: This.
65795         * sysdeps/i386/bits/byteswap.h: Removed.
65796         * sysdeps/i386/bits/byteswap-16.h: Likewise.
65797         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
65798         * sysdeps/x86/bits/byteswap.h: This.
65799         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
65800         * sysdeps/x86/bits/byteswap-16.h: This.
65801         * sysdeps/i386/Implies: Add x86.
65802         * sysdeps/x86_64/Implies: Likewise.
65804 2012-05-30  David S. Miller  <davem@davemloft.net>
65806         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
65807         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
65808         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
65809         (FP_TRAPPING_EXCEPTIONS): Define.
65810         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
65811         (FP_TRAPPING_EXCEPTIONS): Define.
65812         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
65813         subnormals only when inexact has been signalled or underflow
65814         exceptions are enabled.
65815         (_FP_PACK_CANONICAL): Likewise.
65817 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
65819         [BZ #14183]
65820         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
65821         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
65823 2012-05-30  Richard Henderson  <rth@twiddle.net>
65825         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
65826         with #ifndef NOT_IN_libc.
65828         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
65829         marked to avoid plt entry.
65831 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
65833         [BZ #14112]
65834         * Makeconfig (default-abi): New macro.
65835         (abi-includes): Likewise.
65836         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
65837         $(abi-$(default-abi)-lib-soname) for soname if defined.
65838         ($(common-objpfx)gnu/lib-names.stmp): Generate from
65839         abi-variants.
65840         * Makefile (installed-stubs): Likewise.
65841         * include/stubs-biarch.h: Removed.
65842         * scripts/lib-names.awk: Only handle one library at a time.
65843         * scripts/soversions.awk: Remove WORDSIZE support.
65844         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
65845         entries.
65846         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
65847         Removed.
65848         (syscall-list-default-condition): Likewise.
65849         (syscall-list-default-condition): Likewise.
65850         (syscall-list-includes): Likewise.
65851         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
65852         syscall-list-* with abi-*.  Handle undefined abi-variants.
65853         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
65854         * sysdeps/unix/sysv/linux/i386/Implies: New file.
65855         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
65856         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
65857         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
65858         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
65859         Removed.
65860         (syscall-list-32-options): Likewise.
65861         (syscall-list-32-condition): Likewise.
65862         (syscall-list-64-options): Likewise.
65863         (syscall-list-64-condition): Likewise.
65864         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
65865         macro.
65866         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
65867         Renamed to ...
65868         (abi-*): This.
65869         (abi-64-ld-soname): New macro.
65870         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
65871         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
65872         Renamed to ...
65873         (abi-*): This.
65874         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
65875         * sysdeps/x86_64/x32/shlib-versions: Likewise.
65877 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
65879         * sysdeps/unix/sysv/linux/kernel-features.h
65880         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
65881         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
65882         include <kernel-features.h>.
65883         [!__NR_ftruncate64]: Remove conditional code.
65884         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65885         [__NR_ftruncate64]: Make code unconditional.
65886         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65887         * sysdeps/unix/sysv/linux/truncate64.c: Do not
65888         include <kernel-features.h>.
65889         [!__NR_ftruncate64]: Remove conditional code.
65890         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65891         [__NR_ftruncate64]: Make code unconditional.
65892         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
65894         include <kernel-features.h>.
65895         [!__NR_ftruncate64]: Remove conditional code.
65896         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65897         [__NR_ftruncate64]: Make code unconditional.
65898         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
65900         include <kernel-features.h>.
65901         [!__NR_ftruncate64]: Remove conditional code.
65902         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65903         [__NR_ftruncate64]: Make code unconditional.
65904         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65906         * configure.in (libc_cv_fpie): Weaken to a compile test using
65907         LIBC_TRY_CC_OPTION.
65908         * configure: Regenerated.
65910 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65912         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
65913         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
65914         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
65915         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
65916         Refreshed.
65917         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
65918         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
65919         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
65920         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
65921         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
65922         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
65923         Refreshed.
65925 2012-05-27  David S. Miller  <davem@davemloft.net>
65927         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
65928         (___Q_zero): New.
65929         (__Q_simulate_exceptions): Return void.  Change to simulate
65930         exceptions by writing into the %fsr.
65931         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
65932         (__Qp_handle_exceptions): Likewise.
65933         (numbers): Delete.
65934         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
65935         __Qp_handle_exceptions.
65936         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
65937         __Qp_handle_exceptions.
65938         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
65939         as unused and give dummy FP_RND_NEAREST initializer.
65940         (FP_INHIBIT_RESULTS): Define.
65941         (___Q_simulate_exceptions): Update declaration.
65942         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
65943         formatting.
65944         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
65945         as unused and give dummy FP_RND_NEAREST initializer.
65946         (__Qp_handle_exceptions): Update declaration.
65947         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
65948         formatting.
65950 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
65952         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
65953         the temporary FPU control word.
65954         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
65955         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
65956         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
65957         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
65958         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
65959         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
65960         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
65961         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
65962         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
65963         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
65964         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
65966 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
65968         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
65969         fields.
65971 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
65973         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
65974         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
65975         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
65976         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
65977         Likewise.
65978         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
65979         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
65980         Likewise.
65982 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
65984         * po/h.po: Update from translation team.
65986 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
65988         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
65990         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
65991         handling of denormals.
65992         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
65993         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
65994         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
65995         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
65996         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
65997         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
65998         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
65999         Likewise.
66001 2012-05-26  Marek Polacek  <polacek@redhat.com>
66003         [BZ #14152]
66004         * math/libm-test.inc (fma_test): Don't always expect underflow
66005         exception.
66007 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
66009         [BZ #12416]
66010         * elf/tst-execstack.c: Include stackinfo.h.
66011         (do_test): Adjust test case to ensure that pthread_getattr_np
66012         behaviour remains the same after marking stack executable.
66014 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
66016         * sysdeps/unix/sysv/linux/kernel-features.h
66017         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
66018         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
66019         kernel-features.h.
66020         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
66021         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
66022         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
66023         kernel-features.h.
66024         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
66025         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
66027 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
66029         * configure.in: Define the default includes to being none.
66030         * configure: Regenerated.
66032 2012-05-25  Roland McGrath  <roland@hack.frob.com>
66034         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
66035         * sysdeps/x86_64/setjmp.S: Likewise.
66036         * sysdeps/i386/bsd-setjmp.S: Likewise.
66037         * sysdeps/i386/bsd-_setjmp.S: Likewise.
66038         * sysdeps/i386/setjmp.S: Likewise.
66039         * sysdeps/i386/__longjmp.S: Likewise.
66040         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
66041         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
66043         * include/stap-probe.h: New file.
66044         * configure.in: Handle --enable-systemtap.
66045         * configure: Regenerated.
66046         * config.h.in (USE_STAP_PROBE): New #undef.
66047         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
66048         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
66049         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
66051 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
66053         [BZ #13717]
66054         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
66055         to 2.4.0 where earlier.
66056         * sysdeps/unix/sysv/linux/configure: Regenerated.
66057         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
66058         <kernel-features.h>.
66059         [__ASSUME_32BITUIDS]: Make code unconditional.
66060         [!__ASSUME_32BITUIDS]: Remove conditional code.
66061         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
66062         <kernel-features.h>.
66063         [__ASSUME_32BITUIDS]: Make code unconditional.
66064         [!__ASSUME_32BITUIDS]: Remove conditional code.
66065         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
66066         [__ASSUME_32BITUIDS]: Make code unconditional.
66067         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
66068         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
66069         <kernel-features.h>.
66070         [__ASSUME_32BITUIDS]: Make code unconditional.
66071         [!__ASSUME_32BITUIDS]: Remove conditional code.
66072         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
66073         <kernel-features.h>.
66074         [__ASSUME_32BITUIDS]: Make code unconditional.
66075         [!__ASSUME_32BITUIDS]: Remove conditional code.
66076         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
66077         <kernel-features.h>.
66078         [__ASSUME_32BITUIDS]: Make code unconditional.
66079         [!__ASSUME_32BITUIDS]: Remove conditional code.
66080         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
66081         <kernel-features.h>.
66082         [__ASSUME_32BITUIDS]: Make code unconditional.
66083         [!__ASSUME_32BITUIDS]: Remove conditional code.
66084         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
66085         <kernel-features.h>.
66086         [__ASSUME_32BITUIDS]: Make code unconditional.
66087         [!__ASSUME_32BITUIDS]: Remove conditional code.
66088         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
66089         <kernel-features.h>.
66090         [__ASSUME_32BITUIDS]: Make code unconditional.
66091         [!__ASSUME_32BITUIDS]: Remove conditional code.
66092         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
66093         <kernel-features.h>.
66094         [__ASSUME_32BITUIDS]: Make code unconditional.
66095         [!__ASSUME_32BITUIDS]: Remove conditional code.
66096         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
66097         <kernel-features.h>.
66098         [__ASSUME_32BITUIDS]: Make code unconditional.
66099         [!__ASSUME_32BITUIDS]: Remove conditional code.
66100         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
66101         <kernel-features.h>.
66102         [__ASSUME_32BITUIDS]: Make code unconditional.
66103         [!__ASSUME_32BITUIDS]: Remove conditional code.
66104         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
66105         <kernel-features.h>.
66106         [__ASSUME_32BITUIDS]: Make code unconditional.
66107         [!__ASSUME_32BITUIDS]: Remove conditional code.
66108         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
66109         <kernel-features.h>.
66110         [__NR_setresgid] (__setresgid): Do not declare.
66111         [__ASSUME_32BITUIDS]: Make code unconditional.
66112         [!__ASSUME_32BITUIDS]: Remove conditional code.
66113         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
66114         <kernel-features.h>.
66115         [__NR_setresuid] (__setresuid): Do not declare.
66116         [__ASSUME_32BITUIDS]: Make code unconditional.
66117         [!__ASSUME_32BITUIDS]: Remove conditional code.
66118         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
66119         <kernel-features.h>.
66120         [__ASSUME_32BITUIDS]: Make code unconditional.
66121         [!__ASSUME_32BITUIDS]: Remove conditional code.
66122         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
66123         <kernel-features.h>.
66124         [__ASSUME_32BITUIDS]: Make code unconditional.
66125         [!__ASSUME_32BITUIDS]: Remove conditional code.
66126         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
66127         <kernel-features.h>.
66128         [__ASSUME_32BITUIDS]: Make code unconditional.
66129         [!__ASSUME_32BITUIDS]: Remove conditional code.
66130         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
66131         <kernel-features.h>.
66132         [__ASSUME_32BITUIDS]: Make code unconditional.
66133         [!__ASSUME_32BITUIDS]: Remove conditional code.
66134         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
66135         <kernel-features.h>.
66136         [__ASSUME_32BITUIDS]: Make code unconditional.
66137         [!__ASSUME_32BITUIDS]: Remove conditional code.
66138         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
66139         <kernel-features.h>.
66140         [__ASSUME_32BITUIDS]: Make code unconditional.
66141         [!__ASSUME_32BITUIDS]: Remove conditional code.
66142         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
66143         <kernel-features.h>.
66144         [__ASSUME_32BITUIDS]: Make code unconditional.
66145         [!__ASSUME_32BITUIDS]: Remove conditional code.
66146         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
66147         <kernel-features.h>.
66148         [__ASSUME_32BITUIDS]: Make code unconditional.
66149         [!__ASSUME_32BITUIDS]: Remove conditional code.
66150         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
66151         <kernel-features.h>.
66152         [__ASSUME_32BITUIDS]: Make code unconditional.
66153         [!__ASSUME_32BITUIDS]: Remove conditional code.
66154         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
66155         <kernel-features.h>.
66156         [__ASSUME_32BITUIDS]: Make code unconditional.
66157         [!__ASSUME_32BITUIDS]: Remove conditional code.
66158         * sysdeps/unix/sysv/linux/kernel-features.h
66159         (__ASSUME_SETRESUID_SYSCALL): Remove.
66160         (__ASSUME_SETRESGID_SYSCALL): Likewise.
66161         (__ASSUME_32BITUIDS): Likewise.
66162         (__ASSUME_LDT_WORKS): Likewise.
66163         (__ASSUME_O_DIRECTORY): Likewise.
66164         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
66165         architecture but not kernel version.
66166         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
66167         (__ASSUME_MMAP2_SYSCALL): Likewise.
66168         (__ASSUME_STAT64_SYSCALL): Likewise.
66169         (__ASSUME_IPC64): Likewise.
66170         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
66171         <kernel-features.h>.
66172         [__ASSUME_32BITUIDS]: Make code unconditional.
66173         [!__ASSUME_32BITUIDS]: Remove conditional code.
66174         * sysdeps/unix/sysv/linux/opendir.c: Do not include
66175         <kernel-features.h>.
66176         [__ASSUME_O_DIRECTORY]: Make code unconditional.
66177         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
66178         132096]: Remove conditional code.
66179         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
66180         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
66181         <kernel-features.h>.
66182         [__ASSUME_32BITUIDS]: Make code unconditional.
66183         [!__ASSUME_32BITUIDS]: Remove conditional code.
66184         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
66185         <kernel-features.h>.
66186         [__ASSUME_32BITUIDS]: Make code unconditional.
66187         [!__ASSUME_32BITUIDS]: Remove conditional code.
66188         * sysdeps/unix/sysv/linux/setegid.c: Do not include
66189         <kernel-features.h>.
66190         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
66191         unconditional.
66192         (__setresgid): Do not declare.
66193         [__ASSUME_32BITUIDS]: Make code unconditional.
66194         [!__ASSUME_32BITUIDS]: Remove conditional code.
66195         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
66196         <kernel-features.h>.
66197         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
66198         unconditional.
66199         (__setresuid): Do not declare.
66200         [__ASSUME_32BITUIDS]: Make code unconditional.
66201         [!__ASSUME_32BITUIDS]: Remove conditional code.
66202         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
66203         <kernel-features.h>.
66204         [__ASSUME_32BITUIDS]: Make code unconditional.
66205         [!__ASSUME_32BITUIDS]: Remove conditional code.
66206         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
66207         <kernel-features.h>.
66208         [__ASSUME_32BITUIDS]: Make code unconditional.
66209         [!__ASSUME_32BITUIDS]: Remove conditional code.
66211 2012-05-25  Richard Henderson  <rth@twiddle.net>
66213         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
66214         dl_hwcap to ifunc resolver.
66215         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
66216         elf_ifunc_invoke.
66217         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
66218         dl_hwcap to ifunc resolver.
66219         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
66221 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
66223         [BZ #14153]
66224         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
66225         for |x| <= 2**-26, not 2**-57.
66226         * math/libm-test.inc (acos_test): Do not allow spurious underflow
66227         exception.
66229 2012-05-24  Jeff Law  <law@redhat.com>
66231         * stdio-common/Makefile (tests): Add bug25.
66232         * stdio-common/bug25.c: New test.
66234 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
66236         [BZ #13576]
66237         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
66238         multiple of MALLOC_ALIGNMENT in size.
66239         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
66241 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
66243         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
66244         Require >= 256.
66245         (FILENAME_MAX): Use macro-int-constant.
66246         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
66247         (_IOFBF): Use macro-int-constant.
66248         (_IOLBF): Likewise.
66249         (_IONBF): Likewise.
66250         (SEEK_CUR): Likewise.
66251         (SEEK_END): Likewise.
66252         (SEEK_SET): Likewise.
66253         (TMP_MAX): Likewise.
66254         (EOF): Use macro-int-constant.  Require < 0.
66255         (NULL): Use macro-constant.  Require == 0.
66256         (stdin): Require type to be FILE *.
66257         (stdout): Likewise.
66258         (stderr): Likewise.
66259         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
66260         macro-int-constant.
66261         (EXIT_SUCCESS): Likewise.
66262         (NULL): Use macro-constant.  Require == 0.
66263         (RAND_MAX): Use macro-int-constant.
66264         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
66265         [C99-based standards] (strtof): Require function.
66266         [C99-based standards] (strtold): Likewise.
66267         [C99-based standards] (strtoll): Likewise.
66268         [C99-based standards] (strtoull): Likewise.
66269         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
66270         [ISO || ISO99 || ISO11] (limits.h): Likewise.
66271         [ISO || ISO99 || ISO11] (math.h): Likewise.
66272         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
66273         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
66274         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66276 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
66278         [BZ #14132]
66279         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
66280         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
66281         * intl/dgettext.c (DCGETTEXT): Likewise.
66282         * intl/gettext.c (DCGETTEXT): Likewise.
66283         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
66284         * posix/regex_internal.h (gettext): Likewise.
66285         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
66286         Remove declaration.
66287         * include/argz.h (__argz_count_internal)
66288         (__argz_stringify_internal): Remove declaration.
66289         (__argz_count, __argz_stringify): Declare hidden proto.
66290         * intl/dcgettext.c: Remove use of INTDEF.
66291         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
66292         * string/argz-stringify.c: Likewise.
66293         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
66294         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
66295         Declare hidden proto.
66296         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
66297         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
66298         Declare hidden proto.
66299         * include/stdio.h (__asprintf_internal): Don't declare.
66300         (__asprintf): Don't define as macro.  Declare hidden proto.
66301         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
66302         (__fsetlocking): Declare hidden proto.
66303         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
66304         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
66305         hidden proto.
66306         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
66307         (_IO_setlinebuf): Remove use of INTUSE.
66308         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
66309         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
66310         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
66311         Remove declaration.
66312         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
66313         (_IO_do_flush): Remove use of INTUSE.
66314         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
66315         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
66316         (_IO_adjust_column, _IO_least_wmarker)
66317         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
66318         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
66319         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
66320         (_IO_default_doallocate, _IO_wdefault_doallocate)
66321         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
66322         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
66323         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
66324         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
66325         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
66326         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
66327         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
66328         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
66329         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
66330         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
66331         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
66332         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
66333         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
66334         proto.
66335         (_IO_flush_all_internal, _IO_adjust_column_internal)
66336         (_IO_default_uflow_internal, _IO_default_finish_internal)
66337         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
66338         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
66339         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
66340         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
66341         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
66342         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
66343         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
66344         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
66345         (_IO_file_close_internal, _IO_file_close_it_internal)
66346         (_IO_file_underflow_internal, _IO_file_overflow_internal)
66347         (_IO_file_init_internal, _IO_file_attach_internal)
66348         (_IO_file_fopen_internal, _IO_file_read_internal)
66349         (_IO_file_sync_internal, _IO_file_seek_internal)
66350         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
66351         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
66352         (_IO_str_underflow_internal, _IO_str_overflow_internal)
66353         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
66354         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
66355         (_IO_list_all_internal, _IO_link_in_internal)
66356         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
66357         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
66358         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
66359         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
66360         (_IO_do_write_internal, _IO_padn_internal)
66361         (_IO_getline_info_internal, _IO_getline_internal)
66362         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
66363         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
66364         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
66365         (_IO_vfscanf_internal, _IO_vfprintf_internal)
66366         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
66367         (_IO_init_internal, _IO_un_link_internal): Don't declare.
66368         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
66369         with libc_hidden_ver, remove use of INTUSE.
66370         * libio/genops.c: Likewise.
66371         * libio/freopen.c: Likewise.
66372         * libio/freopen64.c: Likewise.
66373         * libio/iofclose.c: Likewise.
66374         * libio/iofdopen.c: Likewise.
66375         * libio/iofflush.c: Likewise.
66376         * libio/iofflush_u.c: Likewise.
66377         * libio/iofgets.c: Likewise.
66378         * libio/iofgets_u.c: Likewise.
66379         * libio/iofopen.c: Likewise.
66380         * libio/iofopncook.c: Likewise.
66381         * libio/iofread.c: Likewise.
66382         * libio/iofread_u.c: Likewise.
66383         * libio/ioftell.c: Likewise.
66384         * libio/iofwrite.c: Likewise.
66385         * libio/iogetline.c: Likewise.
66386         * libio/iogets.c: Likewise.
66387         * libio/iogetwline.c: Likewise.
66388         * libio/iopadn.c: Likewise.
66389         * libio/iopopen.c: Likewise.
66390         * libio/ioseekoff.c: Likewise.
66391         * libio/ioseekpos.c: Likewise.
66392         * libio/iosetbuffer.c: Likewise.
66393         * libio/iosetvbuf.c: Likewise.
66394         * libio/ioungetc.c: Likewise.
66395         * libio/ioungetwc.c: Likewise.
66396         * libio/iovdprintf.c: Likewise.
66397         * libio/iovsprintf.c: Likewise.
66398         * libio/iovsscanf.c: Likewise.
66399         * libio/memstream.c: Likewise.
66400         * libio/obprintf.c: Likewise.
66401         * libio/oldfileops.c: Likewise.
66402         * libio/oldiofclose.c: Likewise.
66403         * libio/oldiofdopen.c: Likewise.
66404         * libio/oldiofopen.c: Likewise.
66405         * libio/oldiopopen.c: Likewise.
66406         * libio/oldstdfiles.c: Likewise.
66407         * libio/putc.c: Likewise.
66408         * libio/setbuf.c: Likewise.
66409         * libio/setlinebuf.c: Likewise.
66410         * libio/stdfiles.c: Likewise.
66411         * libio/strops.c: Likewise.
66412         * libio/vasprintf.c: Likewise.
66413         * libio/vscanf.c: Likewise.
66414         * libio/vsnprintf.c: Likewise.
66415         * libio/vswprintf.c: Likewise.
66416         * libio/wfiledoalloc.c: Likewise.
66417         * libio/wfileops.c: Likewise.
66418         * libio/wgenops.c: Likewise.
66419         * libio/wmemstream.c: Likewise.
66420         * libio/wstrops.c: Likewise.
66421         * libio/__fpurge.c: Likewise.
66422         * libio/__fsetlocking.c: Likewise.
66423         * assert/assert.c: Likewise.
66424         * debug/fgets_chk.c: Likewise.
66425         * debug/fgets_u_chk.c: Likewise.
66426         * debug/fread_chk.c: Likewise.
66427         * debug/fread_u_chk.c: Likewise.
66428         * debug/gets_chk.c: Likewise.
66429         * debug/obprintf_chk.c: Likewise.
66430         * debug/vasprintf_chk.c: Likewise.
66431         * debug/vdprintf_chk.c: Likewise.
66432         * debug/vsnprintf_chk.c: Likewise.
66433         * debug/vsprintf_chk.c: Likewise.
66434         * malloc/mtrace.c: Likewise.
66435         * misc/error.c: Likewise.
66436         * misc/syslog.c: Likewise.
66437         * stdio-common/asprintf.c: Likewise.
66438         * stdio-common/fxprintf.c: Likewise.
66439         * stdio-common/getw.c: Likewise.
66440         * stdio-common/isoc99_fscanf.c: Likewise.
66441         * stdio-common/isoc99_scanf.c: Likewise.
66442         * stdio-common/isoc99_vfscanf.c: Likewise.
66443         * stdio-common/isoc99_vscanf.c: Likewise.
66444         * stdio-common/isoc99_vsscanf.c: Likewise.
66445         * stdio-common/printf-prs.c: Likewise.
66446         * stdio-common/printf_fp.c: Likewise.
66447         * stdio-common/printf_fphex.c: Likewise.
66448         * stdio-common/printf_size.c: Likewise.
66449         * stdio-common/putw.c: Likewise.
66450         * stdio-common/scanf.c: Likewise.
66451         * stdio-common/sprintf.c: Likewise.
66452         * stdio-common/tmpfile.c: Likewise.
66453         * stdio-common/vfprintf.c: Likewise.
66454         * stdio-common/vfscanf.c: Likewise.
66455         * stdlib/strfmon_l.c: Likewise.
66456         * sunrpc/openchild.c: Likewise.
66457         * sunrpc/xdr_stdio.c: Likewise.
66458         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
66459         * sysdeps/mach/hurd/tmpfile.c: Likewise.
66461 2012-05-24  Roland McGrath  <roland@hack.frob.com>
66463         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
66465         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
66466         in the third column, to generate for the shared library an IFUNC
66467         that uses _dl_vdso_vsym.
66468         * Makerules (COMPILE.c, compile-stdin.c): New variables.
66469         * Makeconfig (object-suffixes-noshared): New variable.
66471         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
66472         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
66473         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
66474         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
66476         [BZ #14132]
66477         * include/sys/time.h (__gettimeofday): Remove macro.
66478         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
66479         * time/gettimeofday.c (__gettimeofday): Remove #undef.
66480         Remove INTDEF.
66481         (__gettimeofday): Add libc_hidden_def.
66482         (gettimeofday): Add libc_hidden_weak.
66483         * sysdeps/mach/gettimeofday.c: Likewise.
66484         * sysdeps/posix/gettimeofday.c: Likewise.
66485         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
66486         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
66487         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
66488         (__gettimeofday_internal): Remove strong_alias.
66489         (__gettimeofday): Add libc_hidden_def.
66490         (gettimeofday): Add libc_hidden_weak.
66491         * sysdeps/unix/syscalls.list (gettimeofday):
66492         Remove __gettimeofday_internal alias.
66494 2012-05-24  Daniel Jacobowitz  <drow@false.org>
66495             H.J. Lu  <hongjiu.lu@intel.com>
66497         [BZ #12495]
66498         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
66499         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
66500         (largebin_index_32_big): New.
66501         (largebin_index): Use it for 16-byte alignment.
66502         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
66503         correction with front_misalign.
66505 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
66507         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
66508         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
66509         Likewise.
66510         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
66511         Likewise.
66512         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
66513         Likewise.
66514         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
66515         Likewise.
66516         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
66517         Likewise.
66518         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
66519         Likewise.
66520         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
66521         Likewise.
66522         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
66523         Likewise.
66524         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
66525         Likewise.
66526         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
66527         Likewise.
66528         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
66529         Likewise.
66530         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
66531         Likewise.
66533         * scripts/data/c++-types-x32-linux-gnu.data: New file.
66534         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
66536 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
66538         [BZ #10846]
66539         [BZ #14036]
66540         * math/libm-test.inc (exp_test): Add test from bug 14036.
66541         (pow_test): Add test from bug 10846.
66543         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
66544         and other flags.
66545         (special_function): Do not include flags in test name.
66546         (parse_args): Likewise.
66547         * sysdeps/i386/fpu/libm-test-ulps: Update.
66548         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66549         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
66550         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
66551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66553         * math/gen-libm-test.pl (%beautify): Add entries for underflow
66554         exceptions.
66555         * math/libm-test.inc ("Philosophy"): Update comment about
66556         exception testing.
66557         (UNDERFLOW_EXCEPTION): New macro.
66558         (UNDERFLOW_EXCEPTION_OK): Likewise.
66559         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
66560         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
66561         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
66562         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
66563         (INVALID_EXCEPTION_OK): Update value.
66564         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
66565         (OVERFLOW_EXCEPTION_OK): Likewise.
66566         (IGNORE_ZERO_INF_SIGN): Likewise.
66567         (test_exceptions): Handle underflow exceptions.
66568         (acos_test): Update for underflow exception expectations.
66569         (cexp_test): Likewise.
66570         (clog_test): Likewise.
66571         (clog10_test): Likewise.
66572         (csqrt_test): Likewise.
66573         (ctan_test): Likewise.
66574         (ctanh_test): Likewise.
66575         (exp_test): Likewise.
66576         (exp10_test): Likewise.
66577         (exp2_test): Likewise.
66578         (expm1_test): Likewise.
66579         (fma_test): Likewise.
66580         (j0_test): Likewise.
66581         (jn_test): Likewise.
66582         (nexttoward_test): Likewise.
66583         (pow_test): Likewise.
66584         (scalbn_test): Likewise.
66585         (scalbln_test): Likewise.
66586         (tan_test): Likewise.
66587         (y1_test): Likewise.
66588         * sysdeps/i386/fpu/libm-test-ulps: Update.
66589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66591 2012-05-23  David S. Miller  <davem@davemloft.net>
66593         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
66594         (__libc_sigaction): Remove unused local variables.
66596 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
66598         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
66600 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
66602         mktime: avoid signed integer overflow
66603         * time/mktime.c (__mktime_internal): Do not mishandle the case
66604         where diff == INT_MIN.
66606         mktime: simplify computation of average
66607         * time/mktime.c (ranged_convert): Use new time_t_avg function
66608         instead of rolling our own (probably-slower) code.
66610         mktime: do not assume signed right shift propagates sign bit
66611         * time/mktime.c (isdst_differ): New static function.
66612         (__mktime_internal): No need to normalize tm_isdst now.
66613         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
66614         tm_isdst values.
66616         mktime: merge another wrapv change from gnulib
66617         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
66618         from some compilers.
66620         mktime: remove incorrect attempt at unusual arithmetics
66621         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
66622         The code didn't really work on such machines anyway.
66623         (TYPE_MINIMUM): Assume two's complement.
66624         (twos_complement_arithmetic): Verify that long_int and time_t
66625         are two's complement (or unsigned, in the latter case).
66627         mktime: check signed shifts on long_int and time_t, too
66628         * time/mktime.c (SHR): Check that shifts work as desired
66629         on the types long_int and time_t too, as SHR is used on
66630         such types.
66632         mktime: do not assume 'long' is wide enough
66633         * time/mktime.c (verify): Move decl up.
66634         (long_int): New type.
66635         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
66636         to remove assumption in the code that 'long' is wide enough to
66637         store year values.  This assumption is not true on x32 and on
66638         some non-glibc platforms.
66640         mktime: merge wrapv change from gnulib
66641         * time/mktime.c (WRAPV): New macro.
66642         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
66643         (guess_time_tm, __mktime_internal): Do not assume that signed
66644         integer overflow wraps around; modern compilers generate code
66645         where this assumption is no longer valid.
66647 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
66649         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
66650         Replace "jmp L(pseudo_end)" with "ret".
66651         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
66652         Likewise.
66654 2012-05-23  Andreas Jaeger  <aj@suse.de>
66656         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
66657         * sysdeps/unix/sysv/linux/poll.c: Remove file.
66659 2012-05-23  Andreas Jaeger  <aj@suse.de>
66660             Maximilian Attems  <max@stro.at>
66662         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
66663         New macros.
66665 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
66667         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
66668         code so that pseudo_end is just ret and the stack pointer is
66669         correct also for static library in error case.
66671 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
66673         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
66674         move to syscalls.list.
66675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
66676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
66677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
66678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
66680         * manual/install.texi (Running make install): Do not mention Linux
66681         kernel version for which pt_chown is not needed.
66682         (Linux): Do not mention problems with nscd with 2.0 kernels.
66683         * INSTALL: Regenerated.
66685 2012-05-23  Andreas Jaeger  <aj@suse.de>
66687         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
66688         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
66689         macro.
66690         * sysdeps/unix/sysv/linux/s390/bits/mman.h
66691         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
66692         * sysdeps/unix/sysv/linux/sh/bits/mman.h
66693         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
66694         * sysdeps/unix/sysv/linux/i386/bits/mman.h
66695         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
66696         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
66697         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
66698         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
66699         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
66700         * sysdeps/unix/sysv/linux/bits/in.h
66701         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
66703 2012-05-22  Roland McGrath  <roland@hack.frob.com>
66705         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
66706         (PREPARE_VERSION): Just use assert instead, it will be elided
66707         under [NDEBUG] anyway.
66709 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
66711         * sysdeps/unix/sysv/linux/Makefile: Include
66712         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
66713         (sysdep_routines): Remove sysctl.
66714         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
66715         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
66716         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
66717         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
66718         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
66720 2012-05-22  Andreas Jaeger  <aj@suse.de>
66722         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
66723         that pseudo_end is just ret and the stack pointer is correct also
66724         for static library in error case.
66726 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
66728         [BZ #14122]
66729         * nss/nsswitch.c (defconfig_entries): New variable.
66730         (__nss_database_lookup): Don't leak defconfig entries.
66731         (nss_parse_service_list): Don't leak on error paths.
66732         (free_database_entries): New function.
66733         (free_defconfig): New function.
66734         (free_mem): Move common code to free_database_entries.
66736 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
66738         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
66739         Add arch_prctl.
66740         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
66742         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
66743         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
66744         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
66745         New macro.
66746         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
66747         (INTERNAL_SYSCALL_TYPES): Likewise.
66748         (LOAD_ARGS_TYPES_[1-6]): Likewise.
66749         (LOAD_REGS_TYPES_[1-6]): Likewise.
66750         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
66751         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
66753 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66755         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
66756         copysignl for GLIBC_2_0.
66757         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
66758         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
66759         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
66760         logbl for GLIBC_2_0.
66761         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
66762         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
66764 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
66766         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
66767         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
66769         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
66770         Use "neg %eax".
66772         * time/mktime.c: Update copyright years.
66774 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
66776         mktime: merge comment-quoting-style change from gnulib
66777         * time/mktime.c: Quote 'like this' in comments.
66778         The GNU coding standards suggest that we no longer quote `like this',
66779         as "`" and "'" are typically rendered asymmetrically nowadays.
66780         The typical gnulib style is to quote 'like this' when quoting
66781         code, and "like this" when quoting English.
66783         * time/mktime.c (compile-command): Add "-I.".
66785         mktime: merge mktime-internal.h change from gnulib
66786         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
66788         mktime: merge time_r change from gnulib
66789         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
66791         mktime: merge DEBUG change from gnulib
66792         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
66793         case system <time.h> has a #define.
66795         mktime: merge <sys/types.h> change from gnulib
66796         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
66797         since <time.t> is now guaranteed to define time_t.
66799         mktime: merge HAVE_CONFIG_H change from gnulib
66800         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
66802 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
66804         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
66805         Use "neg %eax".
66807         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
66808         __rlim_t cast.
66809         (struct rusage): Use anonymous union to pad each field to
66810         __syscall_slong_t.
66812 2012-05-21  David S. Miller  <davem@davemloft.net>
66814         * Makefules (o-iterator): Remove .s cases.
66815         (compile-command.s): Delete.
66816         (COMPILE.s): Delete.
66817         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
66819 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
66821         * configure.in (libc_cv_predef_stack_protector): Only consider
66822         "foobar" and "__stack_chk_fail" lines in libc_undefs.
66823         * configure: Regenerated.
66825 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
66827         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
66828         New macro.  Use R*LP on int and pointer.
66829         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
66830         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
66831         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
66832         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
66834         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
66835         [__WORDSIZE_TIME64_COMPAT32] instead of
66836         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
66837         (struct utmp): Likewise.
66838         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
66839         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
66840         Renamed to ...
66841         (__WORDSIZE_TIME64_COMPAT32): This.
66842         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
66843         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
66844         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
66845         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
66846         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
66847         (__WORDSIZE_TIME64_COMPAT32): New macro.
66849 2012-05-21  Andreas Jaeger  <aj@suse.de>
66851         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
66852         only if [SHARED]. Add prototype for __wcschr_ia32.
66854 2012-05-21  Roland McGrath  <roland@hack.frob.com>
66856         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
66857         of %rbp unmolested in the jmp_buf while mangling the low bits.
66858         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
66859         unmolested high bits of %rbp while demangling the low bits.
66860         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
66862 2012-05-21  Andreas Jaeger  <aj@suse.de>
66864         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
66865         * sunrpc/svc_simple.c: Use it for registerrpc.
66866         * sunrpc/xcrypt.c: Use it for passwd2des.
66868         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
66870 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
66872         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
66873         Don't define if [__SYSCALL_WORDSIZE != 32].
66874         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
66875         New macro.
66877 2012-05-21  Bruno Haible  <bruno@clisp.org>
66878             Andreas Jaeger  <aj@suse.de>
66880         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
66881         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
66882         inptr and inend for must_buffer_ch.
66883         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
66884         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
66885         * stdio-common/Makefile (tests): Remove bug15.
66886         (bug15-ENV): Remove macro.
66887         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
66888         anymore.
66890 2012-05-19  Andreas Jaeger  <aj@suse.de>
66891             Roland McGrath  <roland@hack.frob.com>
66893         * manual/contrib.texi: Completely rewritten. It contains now an
66894         alphabetical list of contributors and their contributions.
66896 2012-05-21  Richard Henderson  <rth@twiddle.net>
66898         * misc/getauxval.c (__getauxval): Use unsigned long int.
66899         * misc/sys/auxv.h: Include <sys/cdefs.h>.
66900         (getauxval): Use unsigned long int.
66902 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
66904         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
66906 2012-05-21  Roland McGrath  <roland@hack.frob.com>
66908         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
66909         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
66910         __alignof__ (long double).
66912 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66914         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66916 2012-05-20  Richard Henderson  <rth@twiddle.net>
66918         * misc/getauxval.c: New file.
66919         * misc/sys/auxv.h: New file.
66920         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
66921         (routines): Add getauxval.
66922         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
66923         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
66924         * elf/dl-sysdep.c (_dl_auxv): Remove.
66925         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
66926         * elf/dl-support.c (_dl_auxv): New variable.
66927         (_dl_aux_init): Initialize it.
66928         * manual/startup.texi (Auxiliary Vector): New node.
66929         * sysdeps/generic/bits/hwcap.h: New file.
66930         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
66931         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
66932         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
66933         * sysdeps/sparc/sysdep.h: ... here.  Include it.
66934         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
66935         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
66936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66937         Update.
66938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
66939         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
66940         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
66941         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
66942         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
66943         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
66944         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
66945         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
66947 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66949         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66951 2012-05-19  David S. Miller  <davem@davemloft.net>
66953         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66955 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
66957         [BZ #14123]
66958         * math/s_ccosh.c: Include <float.h>
66959         (__ccosh): Avoid internal overflow calculating sinh and cosh
66960         values before multiplying by sin and cos values.
66961         * math/s_ccoshf.c: Likewise.
66962         * math/s_ccoshl.c: Likewise.
66963         * math/s_csin.c: Likewise.
66964         * math/s_csinf.c: Likewise.
66965         * math/s_csinl.c: Likewise.
66966         * math/s_csinh.c: Likewise.
66967         * math/s_csinhf.c: Likewise.
66968         * math/s_csinhl.c: Likewise.
66969         * math/libm-test.inc (ccos_test): Add more tests.
66970         (ccosh_test): Likewise.
66971         (csin_test): Likewise.
66972         (csinh_test): Likewise.
66973         * sysdeps/i386/fpu/libm-test-ulps: Update.
66974         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66976 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
66978         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
66979         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
66981         * sysdeps/x86_64/x32/_itoa.h: Add comment.
66983 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
66985         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
66986         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
66987         * sysdeps/powerpc/soft-fp/Versions: Likewise.
66988         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
66989         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
66990         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
66991         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
66992         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
66993         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
66994         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
66995         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
66996         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
66997         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
66998         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
66999         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
67000         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
67001         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
67002         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
67003         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
67004         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
67005         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
67006         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
67007         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
67008         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
67009         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
67010         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
67011         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
67012         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
67013         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
67014         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
67015         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
67017 2012-05-18  Andreas Jaeger  <aj@suse.de>
67019         * csu/.gitignore: Delete.
67021 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
67023         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
67024         (timex): Use __syscall_slong_t.
67026 2012-05-18  Andreas Jaeger  <aj@suse.de>
67027             Carlos O'Donell  <carlos_odonell@mentor.com>
67029         * manual/install.texi (Configuring and compiling): Update
67030         description about files modified in the source directory.
67031         * INSTALL: Regenerated.
67033 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
67035         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
67036         value.  Use "or" to set return value to -1.
67037         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
67038         negate return value.
67040 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67042         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
67043         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
67044         failure if the compiler has Graphite support disabled.
67045         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
67046         Likewise.
67047         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
67048         (CFLAGS-memmove.c): Likewise.
67049         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
67050         Likewise.
67052 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
67054         * sysdeps/x86_64/x32/_itoa.h: New file.
67056         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
67057         getdents system call only if kernel and user dirents have the
67058         same d_ino and d_off.
67060         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
67061         LLONG_MAX != LONG_MAX.
67062         (_itoa_word): Use _ITOA_WORD_TYPE on value.
67063         (_fitoa_word): Likewise.
67065         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
67066         years.
67067         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
67068         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
67069         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
67071         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
67072         include <bits/wordsize.h>.  Check __x86_64__ instead of
67073         __WORDSIZE.
67074         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
67075         if __x86_64__ is defined.  Use anonymous union on fpstate.
67077         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
67078         anonymous union.
67080 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
67082         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
67083         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
67084         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
67085         Refer to _rtld_local_ro instead of _rtld_global_ro.
67086         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
67087         Likewise.
67088         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
67089         Likewise.
67090         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
67091         Likewise.
67092         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
67093         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
67094         of _rtld_global, and rtld_progname instead of _dl_argv[0].
67096         [BZ #10882]
67097         * sysdeps/powerpc/powerpc32/dl-machine.c
67098         (__elf_machine_runtime_setup) [PROF]: Don't reference
67099         _dl_prof_resolve.
67101 2012-05-18  Andreas Jaeger  <aj@suse.de>
67103         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
67104         function only available for GCCs before 3.4 since GCC 3.4
67105         introduced a builtin.
67106         (lrint): Likewise.
67107         (llrintf): Likewise.
67108         (llrint): Likewise.
67109         (fmaxf): Likewise.
67110         (fmax): Likewise.
67111         (fminf): Likewise.
67112         (fmin): Likewise.
67113         (rint): Likewise.
67114         (rintf): Likewise.
67115         (nearbyint): Likewise.
67116         (nearbyintf): Likewise.
67117         (ceil): Likewise.
67118         (ceilf): Likewise.
67119         (floor): Likewise.
67120         (floorf): Likewise.
67122 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
67124         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
67125         on both fields and cast pointer to __syscall_ulong_t.
67127         * bits/types.h (__fsword_t): New type.
67128         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
67129         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
67130         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67131         (__FSWORD_T_TYPE): Likewise.
67132         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
67133         (__FSWORD_T_TYPE): Likewise.
67134         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67135         (__FSWORD_T_TYPE): Likewise.
67136         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
67137         (__FSWORD_T_TYPE): Likewise.
67138         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
67139         __SWORD_TYPE with __fsword_t.
67140         (statfs64): Likewise.
67142 2012-05-17  David S. Miller  <davem@davemloft.net>
67144         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
67146 2012-05-17  Andreas Jaeger  <aj@suse.de>
67148         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
67149         warning.
67151 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
67153         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
67155 2012-05-17  Andreas Jaeger  <aj@suse.de>
67157         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
67158         when it is used.
67160 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
67162         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
67164 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
67166         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
67167         * sysdeps/x86_64/tst-mallocalign1.c: New file.
67169 2012-05-17  Andreas Jaeger  <aj@suse.de>
67170             Carlos O'Donell  <carlos_odonell@mentor.com>
67172         [BZ #14059]
67173         * sysdeps/x86_64/multiarch/init-arch.h
67174         (bit_YMM_Usable): Rename to...
67175         (bit_AVX_Usable): ... this.
67176         (bit_FMA4_Usable): New macro.
67177         (bit_XMM_state): New macro.
67178         (bit_YMM_state): New macro.
67179         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
67180         [__ASSEMBLER__] (index_AVX_Usable): ... this.
67181         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
67182         (CPUID_OSXSAVE): New macro.
67183         (CPUID_AVX): New macro.
67184         (CPUID_FMA4): New macro.
67185         (index_YMM_Usable): Rename to...
67186         (index_AVX_Usable): ... this.
67187         (HAS_AVX): Use HAS_ARCH_FEATURE.
67188         (HAS_FMA4): Likewise.
67189         (HAS_YMM_USABLE): Remove.
67190         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67191         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
67192         are present.
67193         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
67194         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
67195         * sysdeps/x86_64/multiarch/Makefile: Likewise.
67196         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
67197         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
67199 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
67201         * math/libm-test.c: Support platforms without multiple rounding modes.
67202         * math/bug-nextafter.c: Support platforms without FP exceptions.
67203         * math/bug-nexttoward.c: Likewise.
67204         * math/test-fenv.c: Likewise.
67205         * math/test-misc.c: Likewise.
67206         * stdlib/bug-getcontext.c: Likewise.
67208 2012-05-17  Andreas Jaeger  <aj@suse.de>
67210         * manual/examples/search.c (critter_cmp): Change signature to
67211         avoid warnings.
67212         * manual/string.texi (Collation Functions): Likewise.
67214 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67216         * bits/types.h: Fold copyright years.
67217         * bits/typesizes.h: Likewise.
67218         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
67219         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
67220         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
67221         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
67222         * time/time.h: Likewise.
67224 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
67226         [BZ #208]
67227         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
67228         in instead of returning them.  Return void.
67229         (__libc_mallinfo): Accumulate over all arenas.
67230         (__malloc_stats): Adjust for change in int_mallinfo interface.
67232 2012-05-16  Roland McGrath  <roland@hack.frob.com>
67234         [BZ #10375]
67235         * configure.in (NM): Add AC_CHECK_TOOL for it.
67236         (libc_extra_cflags): New substituted variable.
67237         Check for -fstack-protector being used implicitly.
67238         * configure: Regenerated.
67239         * config.make.in (config-extra-cflags): New variable,
67240         gets @libc_extra_cflags@.
67241         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
67243         [BZ #10375]
67244         * configure.in: Check for _FORTIFY_SOURCE being predefined.
67245         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
67246         * configure: Regenerated.
67247         * config.make.in (CPPUNDEFS): New substituted variable.
67248         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
67249         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
67250         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
67252 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67254         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
67255         (mq_attr): Use __syscall_slong_t.
67257 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67259         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
67260         Check __x86_64__ instead of __WORDSIZE.
67261         (_STAT_VER_LINUX): Likewise.
67262         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
67263         __syscall_ulong_t and __syscall_slong_t.
67264         (stat64): Likewise.
67266 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67268         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
67270 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67272         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
67274 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67276         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
67277         __syscall_ulong_t.
67279         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
67280         include <bits/wordsize.h>.  Check __x86_64__ instead of
67281         __WORDSIZE.
67282         (greg_t): Use "__extension__ long long int" if __x86_64__ is
67283         defined.
67284         (mcontext_t): Replace "unsigned long" with "unsigned long long".
67286         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
67287         include <bits/wordsize.h>.  Check __x86_64__ instead of
67288         __WORDSIZE.
67289         (user_regs_struct): Use "__extension__ unsigned long long"
67290         instead of "unsigned long" if __x86_64__ is defined.
67291         (user): Likewise.  Pad after pointer field if __ILP32__ is
67292         defined.
67294 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
67296         * configure.in (makeinfo): Require version 4.5 or later.  Allow
67297         versions 5 to 9.
67298         * configure: Regenerated.
67299         * manual/install.texi (texinfo): Increase version requirement to
67300         4.5 or later.
67301         * INSTALL: Regenerated.
67303         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
67305 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67307         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
67309         * sysdeps/x86_64/x32/ffs.c: New file.
67311         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
67312         __syscall_ulong_t.
67313         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
67314         defined.  Use __syscall_ulong_t.
67315         (shminfo): Use __syscall_ulong_t.
67316         (shm_info): Likewise.
67318         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
67319         __syscall_ulong_t.
67321         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
67322         <bits/wordsize.h>.
67323         (msgqnum_t): Use __syscall_ulong_t.
67324         (msglen_t): Likewise.
67325         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
67326         __syscall_ulong_t.
67328         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
67329         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
67331         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
67333         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
67334         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
67336         * sysvipc/sys/msg.h (msgbuf): Replace long int with
67337         __syscall_slong_t.
67339         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
67340         include <bits/wordsize.h>.  Check __x86_64__ instead of
67341         __WORDSIZE.
67343         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
67344         "unsigned long long int" if __x86_64__ is defined.
67345         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
67347         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
67348         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
67349         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
67351         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
67352         <stdint.h>.
67353         (GET_PC): Cast to uintptr_t first.
67354         (GET_FRAME): Likewise.
67355         (GET_STACK): Likewise.
67357         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
67358         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
67359         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
67360         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
67361         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
67362         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
67363         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
67364         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
67365         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
67366         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
67367         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
67368         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
67369         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
67370         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
67371         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
67372         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
67373         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
67374         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
67375         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
67376         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
67377         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
67378         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
67379         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
67380         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
67381         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
67382         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
67383         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
67384         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
67385         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
67387 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
67389         * Makerules (+depfiles): Also collect depfiles from .oS in
67390         $(extra-objs).
67391         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
67392         .oS, $(libnldbl-routines)).
67394         * Makerules (native-compile-mkdep-flags): Define.
67395         * sunrpc/Makefile (extra-objs): Add $(addprefix
67396         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
67397         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
67398         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
67399         calling $(make-target-directory).
67401 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67403         * bits/types.h (__snseconds_t): Removed.
67404         * time/time.h (struct timespec): Replace __snseconds_t with
67405         __syscall_slong_t.
67406         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
67407         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
67408         Likewise.
67409         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67410         (__SNSECONDS_T_TYPE): Likewise.
67411         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
67412         (__SNSECONDS_T_TYPE): Likewise.
67413         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67414         (__SNSECONDS_T_TYPE): Likewise.
67416 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67418         * sysdeps/mach/hurd/bits/typesizes.h
67419         (__SYSCALL_SLONG_TYPE): New macro.
67420         (__SYSCALL_ULONG_TYPE): Likewise.
67422 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67424         * bits/types.h (__syscall_slong_t): New type.
67425         (__syscall_ulong_t): Likewise.
67427         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
67428         (__SYSCALL_ULONG_TYPE): Likewise.
67429         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67430         (__SYSCALL_SLONG_TYPE): Likewise.
67431         (__SYSCALL_ULONG_TYPE): Likewise.
67432         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
67433         (__SYSCALL_SLONG_TYPE): Likewise.
67434         (__SYSCALL_ULONG_TYPE): Likewise.
67435         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67436         (__SYSCALL_SLONG_TYPE): Likewise.
67437         (__SYSCALL_ULONG_TYPE): Likewise.
67439 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67441         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
67442         Add sigaltstack-offsets.sym.
67443         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
67444         <sigaltstack-offsets.h>.
67445         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
67446         longjmp_msg pointer.
67447         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
67448         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
67449         signal stack.
67450         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
67452 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
67454         * elf/stackguard-macros.h: Remove file.
67455         * sysdeps/generic/stackguard-macros.h: New file.
67456         * sysdeps/i386/stackguard-macros.h: Likewise.
67457         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
67458         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
67459         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
67460         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
67461         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
67462         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
67463         * sysdeps/x86_64/stackguard-macros.h: Likewise.
67464         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
67465         <elf/stackguard-macros.h>.
67467         [BZ #14109]
67468         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
67469         __aligned__ in attribute.
67470         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
67471         (gregset_t): Likewise.
67473 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67475         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
67476         * sysdeps/x86_64/64/Implies-after: Here.  New file.
67477         * sysdeps/x86_64/x32/Implies-after: New file.
67479 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67481         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
67482         and access return value for _dl_profile_fixup.  Use R10_LP to
67483         load frame size.
67485 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67487         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
67489 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67491         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
67492         * sysdeps/x86_64/x32/sysdep.h: New file.
67494 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67496         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
67497         * sysdeps/x86_64/setjmp.S: Likewise.
67499 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67501         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
67502         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
67503         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
67504         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
67505         remove unused global constant.
67507 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
67509         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
67510         include of <not-cancel.h>.
67512 2012-05-15  Roland McGrath  <roland@hack.frob.com>
67514         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
67516 2012-05-15  Jeff Law  <law@redhat.com>
67517             Andreas Jaeger  <aj@suse.de>
67519         [BZ #13594]
67520         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
67521         out from...
67522         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
67523         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
67524         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
67525         code changing __hst_map_handle.map.
67527 2012-05-15  Roland McGrath  <roland@hack.frob.com>
67529         * configure.in (sysnames): Look for Implies-before and Implies-after
67530         files.
67531         * configure: Regenerated.
67533 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67535         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
67536         8-byte data alignment with LP_SIZE alignment.
67538 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67540         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
67541         into R10_LP.
67543 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67545         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
67547 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67549         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
67550         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
67551         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
67552         Likewise.
67553         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
67555 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67557         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
67558         (stackinfo_sub_sp): Likewise.
67560 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67562         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
67563         RAX_LP.
67565 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67567         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
67568         into R*_LP.
67570 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67572         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
67573         sizes into R*_LP.
67575 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67577         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
67579 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67581         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
67582         into R11_LP and load __x86_64_shared_cache_size_half into
67583         R8_LP.
67585 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67587         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
67588         R8_LP.
67590 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67592         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
67593         logb for POWER7.
67594         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
67595         logbf for POWER7.
67596         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
67597         logbl for POWER7.
67598         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
67599         powerpc32/power7/fpu/s_logb.c via #include.
67600         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
67601         powerpc32/power7/fpu/s_logbf.c via #include.
67602         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
67603         powerpc32/power7/fpu/s_logbl.c via #include.
67605 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
67607         * README.libm: Remove file.
67609 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67611         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
67612         count for x32.  Use R*_LP and omit operand-size suffix.
67614 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67616         * shlib-versions: Move x86_64-.*-linux.* entries to ...
67617         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
67618         * sysdeps/x86_64/x32/shlib-versions: New file.
67620 2012-05-14  Roland McGrath  <roland@hack.frob.com>
67622         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
67623         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
67624         Use _dl_fatal_printf instead.
67626 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
67628         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
67629         set if not set by the user.  Do not allow for being unset.
67630         * sysdeps/unix/sysv/linux/configure: Regenerated.
67632 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67634         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
67635         the `q' suffix from lea and replace .quad with ASM_ADDR.
67637 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67639         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
67640         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
67641         instead of $17.
67642         (PTR_DEMANGLE): Likewise.
67644 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67646         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
67647         (LP_OP): Likewise.
67648         (ASM_ADDR): Likewise.
67649         (RAX_LP): Likewise.
67650         (RBP_LP): Likewise.
67651         (RBX_LP): Likewise.
67652         (RCX_LP): Likewise.
67653         (RDI_LP): Likewise.
67654         (RSI_LP): Likewise.
67655         (RSP_LP): Likewise.
67656         (R8_LP): Likewise.
67657         (R9_LP): Likewise.
67658         (R10_LP): Likewise.
67659         (R10_LP): Likewise.
67660         (R11_LP): Likewise.
67661         (R12_LP): Likewise.
67662         (R13_LP): Likewise.
67663         (R14_LP): Likewise.
67664         (R15_LP): Likewise.
67666 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67668         * sysdeps/x86_64/x32/dl-machine.h: New file.
67670 2012-05-14  Andreas Jaeger  <aj@suse.de>
67672         * manual/Makefile (subdir): Remove export of subdir.
67673         (all): Remove target.
67674         (.PHONY): Remove all from list.
67675         (mkinstalldirs): Remove.
67676         (.PHONY): Remove installdirs from list.
67677         ($(inst_infodir)/libc.info): Use make-target-directory.
67678         (installdirs): Remove.
67679         (subdir_%): Remove.
67680         (glibc-targets): Remove.
67681         (lib): Remove.
67682         (stubs): Remove.
67683         ($(objpfx)stubs ../po/manual.pot): Remove.
67684         ($(objpfx)stamp%): Remove.
67685         (make-target-directory): Remove.
67686         (subdir_install): Remove.
67687         (routines): Remove.
67688         (aux): Remove.
67689         (sources): Remove.
67690         (objects): Remove.
67691         (headers): Remove.
67693         [BZ #13750]
67694         * manual/.gitignore: Remove, it's not needed anymore.
67695         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
67696         all files in it.
67697         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
67698         directory.
67699         (texis): Renamed to $(objpfx)texis.
67700         (texis-path): New, contains path to generated files.
67701         (chapters.%): Use texis-path for complete path, add extra argument
67702         libc-texinfo.sh.
67703         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
67704         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
67705         (summary,texi, stamp-summary): Use complete path of
67706         files. Generate files in build dir.
67707         (dir-add.texi): Build in build dir.
67708         (libm-err.texi,stamp-libm-err): Likewise.
67709         (version.texi, stamp-version): Likewise.
67710         (.%c.texi): Likewise.
67711         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
67712         (mostlyclean): Remove target.
67713         (realclean): Remove target.
67714         (generated): Add new variable with contents from mostlyclean and
67715         realclean, remove entries duplicated in common-mostlyclean, add
67716         stamp-libm-err and stamp-version.
67717         (generated-dirs): Add libc directory.
67718         ($(inst_infodir)/libc.info): Install files from build dir.
67720         * manual/install.texi (Configuring and compiling): Adjust since
67721         the info files are not part of the tar ball anymore.
67723 2012-05-14  Andreas Jaeger  <aj@suse.de>
67725         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
67726         variable.
67728 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
67730         [BZ #13717]
67731         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
67732         to 2.2.0 where earlier.
67733         * sysdeps/unix/sysv/linux/configure: Regenerated.
67734         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
67735         Remove conditional code.
67736         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
67737         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
67738         Remove conditional code.
67739         [!__NR_lchown]: Likewise.
67740         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
67741         [__NR_lchown]: Likewise.
67742         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
67743         comment referencing __ASSUME_LCHOWN_SYSCALL.
67744         * sysdeps/unix/sysv/linux/i386/sigaction.c
67745         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67746         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67747         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
67748         Remove conditional code.
67749         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
67750         (__protocol_available): Remove #if 0 code.
67751         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
67752         conditional code.
67753         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
67754         * sysdeps/unix/sysv/linux/kernel-features.h
67755         (__ASSUME_GETCWD_SYSCALL): Don't define.
67756         (__ASSUME_REALTIME_SIGNALS): Likewise.
67757         (__ASSUME_PREAD_SYSCALL): Likewise.
67758         (__ASSUME_PWRITE_SYSCALL): Likewise.
67759         (__ASSUME_POLL_SYSCALL): Likewise.
67760         (__ASSUME_LCHOWN_SYSCALL): Likewise.
67761         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
67762         non-SPARC.
67763         (__ASSUME_SIOCGIFNAME): Don't define.
67764         (__ASSUME_MSG_NOSIGNAL): Likewise.
67765         (__ASSUME_SENDFILE): Define unconditionally.
67766         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
67767         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
67768         conditional code.
67769         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
67770         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
67771         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
67772         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
67773         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
67774         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
67775         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
67776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
67777         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
67778         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
67780         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
67781         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
67783         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67784         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
67786         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67787         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
67789         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
67790         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
67792         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
67793         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
67795         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67796         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
67798         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67799         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67800         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
67801         Remove conditional code.
67802         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67803         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
67804         Remove conditional code.
67805         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67806         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
67807         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
67808         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
67809         Remove conditional code.
67810         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67811         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
67812         Remove conditional code.
67813         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67814         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
67815         Remove conditional code.
67816         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67817         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
67818         Remove conditional code.
67819         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67820         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
67821         Remove conditional code.
67822         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67823         * sysdeps/unix/sysv/linux/sh/pwrite64.c
67824         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67825         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67826         * sysdeps/unix/sysv/linux/sigaction.c
67827         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67828         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67829         * sysdeps/unix/sysv/linux/sigpending.c
67830         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67831         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67832         * sysdeps/unix/sysv/linux/sigprocmask.c
67833         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67834         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67835         * sysdeps/unix/sysv/linux/sigsuspend.c
67836         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67837         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67838         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
67839         (__libc_missing_rt_sigs): Remove.
67840         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
67841         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
67842         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
67843         Remove conditional code.
67844         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
67845         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
67846         return 1.
67847         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
67848         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
67849         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
67850         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
67852 2012-05-14  Andreas Jaeger  <aj@suse.de>
67854         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
67855         it's not used in glibc.
67856         (__coshm1): Likewise.
67857         (__acosh1p): Likewise.
67858         (__sgn): Likewise.
67860         * manual/string.texi (Copying and Concatenation): Add missing
67861         variable in concat example.
67862         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
67864 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67866         [BZ #14103]
67867         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
67868         __builtin_clzl with __builtin_clzll.
67870 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67872         [BZ #14104]
67873         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
67874         libc_freeres_ptr.
67876 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67878         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
67879         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
67880         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
67881         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
67883 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
67885         * NEWS: Update ia64 info.
67887 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
67889         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
67890         used as bcopy.
67892 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
67894         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
67895         * sysdeps/unix/syscalls.list (dup3): Likewise.
67896         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
67897         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
67899 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
67901         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
67902         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
67904 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
67906         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
67907         thread pointer.
67908         (TLS_IE): Use mov/add instead of movq/addq to load thread
67909         pointer.
67910         (TLS_GD_PREFIX): New.
67911         (TLS_GD): Use it.
67913 2012-05-11  David S. Miller  <davem@davemloft.net>
67915         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
67916         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
67917         (_FPU_SETCW): Likewise.
67919 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
67921         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
67922         is 32-byte aligned.
67924 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
67926         [BZ #11837]
67927         * iconvdata/gb18030.c: Update tables.
67928         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
67929         characters specially.
67930         (BODY for TO_LOOP): Add encoding of missing ranges.
67932 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
67934         [BZ #13673]
67935         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
67936         * sysdeps/mach/hurd/dup3.c: Likewise.
67937         * sysdeps/mach/hurd/readlinkat.c: Likewise.
67938         * sysdeps/powerpc/memmove.c:: Likewise.
67940 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
67942         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
67943         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
67945 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
67947         * elf/elf.h (R_X86_64_RELATIVE64): New.
67948         (R_X86_64_NUM): Updated.
67949         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
67950         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
67951         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
67952         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
67953         tst-quad1pie tst-quad2pie
67954         (modules-names): Add tst-quadmod1 tst-quadmod2.
67955         ($(objpfx)tst-quad1): New dependency.
67956         ($(objpfx)tst-quad2): Likewise.
67957         ($(objpfx)tst-quad1pie): Likewise.
67958         ($(objpfx)tst-quad2pie): Likewise.
67959         * sysdeps/x86_64/tst-quad1.c: New file.
67960         * sysdeps/x86_64/tst-quad1pie.c: New file.
67961         * sysdeps/x86_64/tst-quad2.c: Likewise.
67962         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
67963         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
67964         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
67965         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
67966         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
67968 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67970         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
67971         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
67972         * streams/stropts.h (t_scalar_t): Define type.
67974         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
67975         (_PATH_PRESERVE): Set to "/var/lib".
67976         (_PATH_RWHODIR): Set to "/var/spool/rwho".
67978         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
67979         instead of int.
67981         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
67982         if __dir_mkfile succeeded.
67984         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
67985         checking for _hurd_dtablesize.  Unlock it right after having
67986         finished _hurd_dtable allocation.
67988 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67990         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
67991         * sysdeps/mach/hurd/configure: Regenerated.
67992         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
67993         special-casing to...
67994         * sysdeps/gnu/configure.in: ... this new file.
67995         * sysdeps/unix/sysv/linux/configure: Regenerated.
67996         * sysdeps/gnu/configure: New generated file.
67998         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
67999         for Linux: use nsec instead of usec, as well as:
68000         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
68001         members of type struct timespec.
68002         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
68003         New macros.
68004         (struct stat64): Likewise.
68005         (_STATBUF_ST_NSEC): New macro.
68006         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
68008         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
68009         __strtoul_internal rather than strtoul.
68011 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
68013         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
68014         and reject them.
68016 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68018         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
68019         which preserves existing values.
68020         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
68022 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
68024         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
68025         TIMEOUT values.  Return EINVAL for NFDS values either negative or
68026         greater than FD_SETSIZE.
68028 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68030         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
68031         allocated, call __vm_protect to finish enabling the existing space, and
68032         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
68033         allocate the remainder.
68035 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
68037         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
68038         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
68040 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68042         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
68043         sysdeps/mach/hurd/readlink.c.
68045         * posix/tst-sysconf.c (posix_options): Only use
68046         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
68047         _POSIX_SYNCHRONIZED_IO when they are defined
68048         * sysdeps/mach/hurd/bits/posix_opt.h:
68049         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
68050         (_XOPEN_REALTIME): Undefine macro.
68051         (_XOPEN_REALTIME_THREADS): Undefine macro.
68052         (_XOPEN_SHM): Undefine macro.
68053         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
68054         macro to -1.
68055         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
68056         macro to -1.
68057         (_POSIX_ASYNC_IO): Undefine macro.
68058         (_POSIX_PRIORITIZED_IO): Undefine macro.
68059         (_POSIX_SPIN_LOCKS): Define macro to -1.
68061         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
68062         SA_NODEFER, SA_RESETHAND.
68063         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
68064         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
68065         F_DUPFD_CLOEXEC.
68067 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68069         * elf/Makefile (pldd-modules): Define unconditionally.
68071 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68073         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
68075 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68077         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
68078         Return ENOENT when name is empty.
68079         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
68081 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68083         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
68085         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
68087 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68089         Fix mlock in all cases except non-readable pages.
68090         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
68091         instead of VM_PROT_ALL as parameter to __vm_wire function.
68093         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
68094         (__mkdir): When path is `/', just fail with EEXIST.
68095         * sysdeps/mach/hurd/mkdirat.c: Likewise.
68097 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68099         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
68100         <sys/uio.h> (for writev).
68101         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
68102         and <sys/param.h> (for MIN).
68104 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
68106         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
68107         REQUESTED_TIME.  Properly set the remaining time and return EINTR
68108         if interrupted.
68110 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68112         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
68113         Depend on against $(link-rpcuserlibs).
68115 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68117         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
68118         (__libc_stack_end): Do not use attribute_relro.
68119         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
68120         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
68121         to libthread-provided value.
68122         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
68123         attribute_relro.
68125 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68127         [BZ #3748]
68128         * bits/libc-lock.h (__libc_once_get): New macro.
68129         * sysdeps/mach/bits/libc-lock.h: Likewise.
68130         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
68131         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
68132         instead of using implementation details.
68134         * libio/fileops.c: Unconditionally include <kernel-features.h>.
68135         * libio/freopen.c: Likewise.
68136         * libio/freopen64.c: Likewise.
68137         * misc/syslog.c: Likewise.
68138         * nscd/connections.c: Likewise.
68139         * nscd/netgroupcache.c: Likewise.
68140         * sysdeps/posix/getcwd.c: Likewise.
68142 2012-05-10  Roland McGrath  <roland@hack.frob.com>
68144         * math/w_ilogbf.c: Add #include <limits.h>.
68146 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68148         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
68149         path instead of returning without unlocking.
68151         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
68152         immediate-write ioctls.
68153         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
68155 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68157         * sysdeps/mach/hurd/i386/init-first.c (init): Use
68158         __builtin_frame_address instead of making assumptions about the
68159         location of the return address relative to DATA.  Force early load of
68160         the return address.
68161         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
68162         __builtin_frame_address.
68164         dup3 for GNU Hurd.
68165         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
68166         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
68167         implement dup3 and do some further code clean-ups.
68168         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
68169         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
68171 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68173         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
68175         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
68176         HURD_CRITICAL_END around holding _hurd_dtable_lock.
68177         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
68178         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
68179         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
68180         d->port.lock.
68182         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
68183         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
68184         when handler == SIG_ERR, not when handler != SIG_ERR.
68186 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68188         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
68189         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
68190         definitions.
68192         accept4 for GNU Hurd.
68193         * include/sys/socket.h (__libc_accept4): New prototype.
68194         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
68195         to implement __libc_accept4.
68196         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
68197         __libc_accept4.
68198         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
68200         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
68201         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
68202         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
68203         signal-defines.sym.
68205 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68207         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
68209 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68211         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
68212         assertion on O_CLOEXEC flag.
68213         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
68214         * hurd/intern-fd.c: Likewise.
68215         * hurd/port2fd.c: Likewise.
68217 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68219         [BZ #3906]
68220         * bits/in.h (IPV6_PKTINFO): Define new macro.
68221         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
68223 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68225         [BZ #13954]
68226         [BZ #13955]
68227         [BZ #13956]
68228         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
68229         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
68230         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
68231         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
68232         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
68233         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
68234         * math/libm-test.inc (logb_test) : Additional logb tests.
68236 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
68237             Andreas Jaeger  <aj@suse.de>
68239         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
68240         * configure: Regenerated.
68241         * config.h.in (LINK_OBSOLETE_RPC): New macro.
68242         * config.make.in (link-obsolete-rpc): New substituted variable.
68243         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
68244         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
68245         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
68246         (shared-only-routines): Don't set it under [link-obsolete-rpc],
68247         so that libc.a contains the symbols.
68248         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
68249         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
68250         * sunrpc/auth_none.c: Likewise.
68251         * sunrpc/auth_unix.c: Likewise.
68252         * sunrpc/authdes_prot.c: Likewise.
68253         * sunrpc/authuxprot.c: Likewise.
68254         * sunrpc/clnt_gen.c: Likewise.
68255         * sunrpc/clnt_perr.c: Likewise.
68256         * sunrpc/clnt_raw.c: Likewise.
68257         * sunrpc/clnt_simp.c: Likewise.
68258         * sunrpc/clnt_tcp.c: Likewise.
68259         * sunrpc/clnt_udp.c: Likewise.
68260         * sunrpc/clnt_unix.c: Likewise.
68261         * sunrpc/des_crypt.c: Likewise.
68262         * sunrpc/des_soft.c: Likewise.
68263         * sunrpc/get_myaddr.c: Likewise.
68264         * sunrpc/key_call.c: Likewise.
68265         * sunrpc/key_prot.c: Likewise.
68266         * sunrpc/netname.c: Likewise.
68267         * sunrpc/pm_getmaps.c: Likewise.
68268         * sunrpc/pm_getport.c: Likewise.
68269         * sunrpc/pmap_clnt.c: Likewise.
68270         * sunrpc/pmap_prot.c: Likewise.
68271         * sunrpc/pmap_prot2.c: Likewise.
68272         * sunrpc/pmap_rmt.c: Likewise.
68273         * sunrpc/publickey.c: Likewise.
68274         * sunrpc/rpc_cmsg.c: Likewise.
68275         * sunrpc/rpc_common.c: Likewise.
68276         * sunrpc/rpc_dtable.c: Likewise.
68277         * sunrpc/rpc_prot.c: Likewise.
68278         * sunrpc/rpc_thread.c: Likewise.
68279         * sunrpc/rtime.c: Likewise.
68280         * sunrpc/svc.c: Likewise.
68281         * sunrpc/svc_auth.c: Likewise.
68282         * sunrpc/svc_raw.c: Likewise.
68283         * sunrpc/svc_run.c: Likewise.
68284         * sunrpc/svc_tcp.c: Likewise.
68285         * sunrpc/svc_udp.c: Likewise.
68286         * sunrpc/svc_unix.c: Likewise.
68287         * sunrpc/svcauth_des.c: Likewise.
68288         * sunrpc/xcrypt.c: Likewise.
68289         * sunrpc/xdr.c: Likewise.
68290         * sunrpc/xdr_array.c: Likewise.
68291         * sunrpc/xdr_float.c: Likewise.
68292         * sunrpc/xdr_intXX_t.c: Likewise.
68293         * sunrpc/xdr_mem.c: Likewise.
68294         * sunrpc/xdr_rec.c: Likewise.
68295         * sunrpc/xdr_ref.c: Likewise.
68296         * sunrpc/xdr_sizeof.c: Likewise.
68297         * sunrpc/xdr_stdio.c: Likewise.
68299 2012-05-10  Roland McGrath  <roland@hack.frob.com>
68301         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
68302         change.  Update copyright years.
68304 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
68306         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
68308 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
68309             Joseph Myers  <joseph@codesourcery.com>
68310             Paul Pluzhnikov  <ppluzhnikov@google.com>
68312         [BZ #14012]
68313         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
68314         requiring rpcgen.
68315         [cross-compiling] (extra-libs): Likewise.
68316         [cross-compiling] (extra-libs-others): Likewise.
68317         [cross-compiling] (librpcsvc-routines): Likewise.
68318         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
68319         [cross-compiling] (omit-deps): Likewise.
68320         (sunrpc-CPPFLAGS): New variable.
68321         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
68322         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
68323         (cross-rpcgen-objs): New variable.
68324         (extra-objs): Append $(cross-rpcgen-objs).
68325         ($(cross-rpcgen-objs)): New rule.
68326         ($(objpfx)cross-rpcgen): Likewise.
68327         (rpcgen-cmd): Define to use $(built-program-file).  Expand
68328         comment.
68329         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
68330         ($(objpfx)x%.stmp): Likewise.
68331         * sunrpc/proto.h [IS_IN_build] (_): Define.
68332         [IS_IN_build] (_libc_intl_domainname): Likewise.
68334 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
68336         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
68337         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
68338         and R_X86_64_TPOFF64.
68340 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
68342         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
68343         sysdeps/unix/sysv/syscalls.list.
68344         (stime): Likewise.
68345         (utime): Likewise.
68346         * sysdeps/unix/sysv/syscalls.list: Remove file.
68348 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
68350         [BZ #3440]
68351         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
68352         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
68353         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
68354         (__LC_IDENTIFICATION): Make these macros useful in #if
68355         expressions, as required by C99.
68357 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
68359         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
68360         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
68361         after this.
68363 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
68365         * stdlib/longlong.h: Updated from GCC.
68367 2012-05-09  Andreas Jaeger  <aj@suse.de>
68369         * nscd/nscd.c (run_modes): Make named enum, reorder so that
68370         default is first entry.
68371         (run_mode): Set type.
68372         (main): Remove informal message about syslog.
68373         (options): Fix typo.
68375         [BZ #14053]
68376         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
68377         to asm.
68378         (lrint): Likewise.
68379         (llrintf): Likewise.
68380         (llrint): Likewise.
68381         (rint): Likewise.
68382         (rintf): Likewise.
68383         (nearbyint): Likewise.
68384         (nearbyintf): Likewise.
68386 2012-05-09  Andreas Jaeger  <aj@suse.de>
68387             Pedro Alves  <palves@redhat.com>
68389         * nscd/nscd.c (run_mode): Use enum.
68390         (main): Cleanup coding style issue.
68392 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
68393             Andreas Jaeger  <aj@suse.de>
68395         * nscd/nscd.c (go_background): Replaced with...
68396         (run_mode): ... this.
68397         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
68398         (options): Add -F --foreground.
68399         (main): Implement it.
68400         (parse_opt): Parse it.
68402 2012-05-09  Andreas Jaeger  <aj@suse.de>
68404         [BZ #14083]
68405         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
68406         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
68407         -Wconversion warning.
68408         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
68409         Likewise.
68411 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
68413         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
68414         == 0.
68415         (LC_ALL): Use macro-int-constant.
68416         (LC_COLLATE): Likewise.
68417         (LC_CTYPE): Likewise.
68418         (LC_MESSAGES): Likewise.
68419         (LC_MONETARY): Likewise.
68420         (LC_NUMERIC): Likewise.
68421         (LC_TIME): Likewise.
68422         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
68423         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
68424         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68425         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
68426         Specify type.
68427         [C99-based standards] (float_t): Expect type.
68428         [C99-based standards] (double_t): Expect type.
68429         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
68430         type.
68431         [C99-based standards] (HUGE_VALL): Likewise.
68432         [C99-based standards] (INFINITY): Likewise.
68433         [C99-based standards] (NAN): Likewise.
68434         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
68435         [C99-based standards] (FP_NAN): Likewise.
68436         [C99-based standards] (FP_NORMAL): Likewise.
68437         [C99-based standards] (FP_SUBNORMAL): Likewise.
68438         [C99-based standards] (FP_ZERO): Likewise.
68439         [C99-based standards] (FP_FAST_FMA): Use
68440         optional-macro-int-constant.  Specify type.  Require == 1.
68441         [C99-based standards] (FP_FAST_FMAF): Likewise.
68442         [C99-based standards] (FP_FAST_FMAL): Likewise.
68443         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
68444         [C99-based standards] (FP_ILOGBNAN): Likewise.
68445         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
68446         Specify type.
68447         [C99-based standards] (MATH_ERREXCEPT): Likewise.
68448         [C99-based standards] (math_errhandling): Specify type.
68449         [ISO99 || ISO11] (signgam): Do not allow.
68450         [non-C99-based standards] (copysignf): Do not allow.
68451         [non-C99-based standards] (exp2f): Likewise.
68452         [non-C99-based standards] (log2f): Likewise.
68453         [non-C99-based standards] (modff): Allow.
68454         [non-C99-based standards] (erff): Do not allow.
68455         [non-C99-based standards] (erfcf): Likewise.
68456         [non-C99-based standards] (gammaf): Likewise.
68457         [non-C99-based standards] (hypotf): Likewise.
68458         [non-C99-based standards] (j0f): Likewise.
68459         [non-C99-based standards] (j1f): Likewise.
68460         [non-C99-based standards] (jnf): Likewise.
68461         [non-C99-based standards] (lgammaf): Likewise.
68462         [non-C99-based standards] (tgammaf): Likewise.
68463         [non-C99-based standards] (y0f): Likewise.
68464         [non-C99-based standards] (y1f): Likewise.
68465         [non-C99-based standards] (ynf): Likewise.
68466         [non-C99-based standards] (isnanf): Likewise.
68467         [non-C99-based standards] (acoshf): Likewise.
68468         [non-C99-based standards] (asinhf): Likewise.
68469         [non-C99-based standards] (atanhf): Likewise.
68470         [non-C99-based standards] (cbrtf): Likewise.
68471         [non-C99-based standards] (expm1f): Likewise.
68472         [non-C99-based standards] (ilogbf): Likewise.
68473         [non-C99-based standards] (log1pf): Likewise.
68474         [non-C99-based standards] (logbf): Likewise.
68475         [non-C99-based standards] (nextafterf): Likewise.
68476         [non-C99-based standards] (remainderf): Likewise.
68477         [non-C99-based standards] (rintf): Likewise.
68478         [non-C99-based standards] (scalbf): Likewise.
68479         [non-C99-based standards] (copysignl): Likewise.
68480         [non-C99-based standards] (exp2l): Likewise.
68481         [non-C99-based standards] (log2l): Likewise.
68482         [non-C99-based standards] (modfl): Allow.
68483         [non-C99-based standards] (erfl): Do not allow.
68484         [non-C99-based standards] (erfcl): Likewise.
68485         [non-C99-based standards] (gammal): Likewise.
68486         [non-C99-based standards] (hypotl): Likewise.
68487         [non-C99-based standards] (j0l): Likewise.
68488         [non-C99-based standards] (j1l): Likewise.
68489         [non-C99-based standards] (jnl): Likewise.
68490         [non-C99-based standards] (lgammal): Likewise.
68491         [non-C99-based standards] (tgammal): Likewise.
68492         [non-C99-based standards] (y0l): Likewise.
68493         [non-C99-based standards] (y1l): Likewise.
68494         [non-C99-based standards] (ynl): Likewise.
68495         [non-C99-based standards] (isnanl): Likewise.
68496         [non-C99-based standards] (acoshl): Likewise.
68497         [non-C99-based standards] (asinhl): Likewise.
68498         [non-C99-based standards] (atanhl): Likewise.
68499         [non-C99-based standards] (cbrtl): Likewise.
68500         [non-C99-based standards] (expm1l): Likewise.
68501         [non-C99-based standards] (ilogbl): Likewise.
68502         [non-C99-based standards] (log1pl): Likewise.
68503         [non-C99-based standards] (logbl): Likewise.
68504         [non-C99-based standards] (nextafterl): Likewise.
68505         [non-C99-based standards] (remainderl): Likewise.
68506         [non-C99-based standards] (rintl): Likewise.
68507         [non-C99-based standards] (scalbl): Likewise.
68508         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68509         [non-C99-based standards] (FP_*): Do not allow.
68510         [C99-based standards] (FP_*): Change to
68511         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
68512         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
68513         allow.
68514         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
68515         (SIG_ERR): Likewise.
68516         [X/Open-based standards] (SIG_HOLD): Likewise.
68517         (SIG_IGN): Likewise.
68518         (SIGABRT): Use macro-int-constant.  Specify type.  Require
68519         positive value.
68520         (SIGFPE): Likewise.
68521         (SIGILL): Likewise.
68522         (SIGINT): Likewise.
68523         (SIGSEGV): Likewise.
68524         (SIGTER): Likewise.
68525         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
68526         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
68527         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
68528         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
68529         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
68530         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
68531         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
68532         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
68533         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
68534         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
68535         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
68536         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
68537         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
68538         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
68539         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
68540         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
68541         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
68542         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
68543         [X/Open-based standards] (SIGTRAP): Likewise.
68544         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
68545         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
68546         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
68547         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
68548         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
68549         allow.
68551 2012-05-08  Ian Wienand  <ianw@vmware.com>
68553         [BZ #14080]
68554         * time/tzset.c (__tzset_parse_tz): Update default rules for
68555         daylight time changes in the Energy Policy Act of 2005.
68557 2012-05-09  Andreas Jaeger  <aj@suse.de>
68559         [BZ #13983]
68560         * elf/ldconfig.c (parse_conf): Change string to make clear that
68561         ldconfig only issued a warning if ld.so.conf does not exist.
68563 2012-05-08  David S. Miller  <davem@davemloft.net>
68565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
68566         movxtod instead of popping the value on the stack.
68568         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68570 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
68572         * config.h.in: Add HAVE_ARM_PCS_VFP.
68574 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
68576         [BZ #13979]
68577         * include/features.h: Warn if user requests __FORTIFY_SOURCE
68578         checking but the checks are disabled for any reason.
68580 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
68582         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
68583         and ELF64_R_TYPE with ELFW(R_TYPE).
68585 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
68587         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
68588         (ulimit): Likewise.
68590         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
68591         (settimeofday): Likewise.
68593 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
68595         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
68596         a struct th_u2 inside the union, and move tu_block/tu_code into
68597         a new th_u3 union of tu_block/tu_code inside of that.  Move
68598         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
68599         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
68600         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
68601         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
68602         (th_stuff): Change to th_u1.tu_stuff.
68603         (th_data): Define.
68604         (th_msg): Change to th_u1.th_u2.tu_data.
68606 2012-05-07  David S. Miller  <davem@davemloft.net>
68608         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68610         [BZ #14074]
68611         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
68612         (SETUP_PIC_REG): Use it.
68613         (SETUP_PIC_REG_LEAF): Use it.
68615 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
68617         [BZ #13885]
68618         [BZ #13923]
68619         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
68620         USE_AS_EXPM1L.
68621         (EXPL_FINITE): Likewise.
68622         (FLDLOG): Likewise.
68623         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
68624         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
68625         e_expl.S.
68626         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
68627         USE_AS_EXPM1L.
68628         (EXPL_FINITE): Likewise.
68629         (FLDLOG): Likewise.
68630         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
68631         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
68632         e_expl.S.
68633         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
68634         test of -max_value argument for long double.
68635         * sysdeps/i386/fpu/libm-test-ulps: Update.
68636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68638 2012-05-06  David S. Miller  <davem@davemloft.net>
68640         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
68641         quad soft-float symbols whose references which are compiler
68642         generated.
68643         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
68645 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
68647         [BZ #13884]
68648         [BZ #13914]
68649         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
68650         USE_AS_EXP10L.
68651         (EXPL_FINITE): Likewise.
68652         (FLDLOG): Likewise.
68653         (c0): Likewise.
68654         (c1): Likewise.
68655         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
68656         Adjust comments for base varying.
68657         (__expl_finite): Change alias to EXPL_FINITE.
68658         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
68659         e_expl.S.
68660         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
68661         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
68662         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
68663         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
68664         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
68665         USE_AS_EXP10L.
68666         (EXPL_FINITE): Likewise.
68667         (FLDLOG): Likewise.
68668         (c0): Likewise.
68669         (c1): Likewise.
68670         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
68671         Adjust comments for base varying.
68672         (__expl_finite): Change alias to EXPL_FINITE.
68673         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
68674         tests for bugs.
68675         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68677         [BZ #14064]
68678         * math/libm-test.inc (check_float_internal): Correct ulp
68679         calculation for subnormal expected results.
68681 2012-05-06  Andreas Jaeger  <aj@suse.de>
68683         * Makeconfig (+math-flags): New, set to -frounding-math.
68684         (+cflags): Add +math-flags so that all of glibc gets compiled with
68685         it.
68687         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
68689 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
68691         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
68692         Disable one test.
68694         [BZ #13787]
68695         [BZ #13922]
68696         [BZ #14036]
68697         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
68698         (__ieee754_expl): Allow for and saturate large arguments.
68699         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
68700         (u_threshold): Likewise.
68701         (__exp): Call __ieee754_exp before checking for overflow and
68702         underflow.
68703         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
68704         (u_threshold): Likewise.
68705         (__expf): Call __ieee754_expf before checking for overflow and
68706         underflow.
68707         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
68708         (u_threshold): Likewise.
68709         (__expl): Call __ieee754_expl before checking for overflow and
68710         underflow.
68711         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
68712         (__ieee754_expl): Allow for and saturate large arguments.
68713         * math/libm-test.inc (exp_test): Add another test.  Do not allow
68714         missing overflow exception on overflow.
68715         (expm1_test): Do not allow missing overflow exception on overflow.
68717         * sysdeps/i386/fpu/e_expl.c: Move to ...
68718         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
68719         rather than using inline asm.
68720         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
68721         * sysdeps/x86_64/fpu/e_expl.S: Copy from
68722         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
68724         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
68725         (nice): Likewise.
68726         (poll): Likewise.
68727         (signal): Likewise.
68728         (time): Likewise.
68729         (times): Likewise.
68731 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
68733         * sysdeps/unix/syscalls.list (adjtime): Add entry from
68734         sysdeps/unix/common/syscalls.list.
68735         (fchmod): Likewise.
68736         (fchown): Likewise.
68737         (ftruncate): Likewise.
68738         (getrusage): Likewise.
68739         (gettimeofday): Likewise.
68740         (setpgid): Likewise.
68741         (setregid): Likewise.
68742         (setreuid): Likewise.
68743         (sigaction): Likewise.
68744         (truncate): Likewise.
68745         (vhangup): Likewise.
68746         * sysdeps/unix/common/syscalls.list: Remove file.
68747         * sysdeps/unix/bsd/Implies: Don't include unix/common.
68748         * sysdeps/unix/sysv/linux/Implies: Likewise.
68750 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
68752         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
68753         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
68754         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
68755         Moved to ...
68756         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
68757         Here.
68758         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
68759         to ...
68760         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
68761         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
68762         to ...
68763         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
68764         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
68765         to ...
68766         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
68767         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
68768         to ...
68769         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
68770         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
68771         to ...
68772         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
68773         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
68774         to ...
68775         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
68776         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
68777         to ...
68778         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
68779         Here.
68780         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
68781         to ...
68782         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
68783         Here.
68784         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
68785         to ...
68786         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
68787         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
68788         Moved to ...
68789         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
68790         Here.
68791         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
68792         to ...
68793         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
68795 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
68797         * sysdeps/unix/common/bits/dirent.h: Remove file.
68798         * sysdeps/unix/common/bits/fcntl.h: Likewise.
68800         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
68801         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
68802         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
68803         * sysdeps/unix/bsd/isatty.c: Likewise.
68804         * sysdeps/unix/bsd/tcdrain.c: Likewise.
68805         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
68806         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
68808 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68810         [BZ #13563]
68811         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
68812         long double comparison inaccuracies.
68813         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
68814         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68816 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
68818         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
68819         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
68821 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
68823         [BZ #14049]
68824         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
68825         nonzero digits before rounding a hex value.
68826         * stdlib/tst-strtod.c (tests): Add another test.
68828 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68830         * sysdeps/s390/fpu/libm-test-ulps: Update.
68832 2012-05-03  Andreas Jaeger  <aj@suse.de>
68834         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
68835         does not get optimized out.
68836         (malloc_opt_barrier): New.
68838 2012-05-03  Andreas Jaeger  <aj@suse.de>
68839             Roland McGrath  <roland@hack.frob.com>
68841         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
68842         intermediate file deletion.
68843         (generated): Add .symlist files.
68845 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
68847         [BZ #13775]
68848         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
68849         Redirect under this condition.
68850         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
68851         [__USE_GNU] (__dprintf_chk): Not under this condition.
68852         [__USE_GNU] (__vdprintf_chk): Likewise.
68853         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
68854         under this condition.
68855         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
68856         [__USE_XOPEN2K8] (dprintf): Define under this condition.
68857         [__USE_XOPEN2K8] (vdprintf): Likewise.
68858         [__USE_GNU] (__dprintf_chk): Not under this condition.
68859         [__USE_GNU] (__vdprintf_chk): Likewise.
68860         [__USE_GNU] (dprintf): Likewise.
68861         [__USE_GNU] (vdprintf): Likewise.
68863 2012-05-03  Roland McGrath  <roland@hack.frob.com>
68865         * elf/Makefile (common-generated): Set this instead of generated for
68866         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
68867         $(all-built-dso)-derived lists.
68869 2012-05-03  Andreas Jaeger  <aj@suse.de>
68871         * sysdeps/i386/fpu/libm-test-ulps: Update.
68873         * FAQ: Removed.
68874         * FAQ.in: Likewise.
68875         * scripts/gen-FAQ.pl: Likewise.
68876         * manual/install.texi (Installation): Point to online location of
68877         FAQ.
68878         * Makefile (files-for-dist): Remove FAQ.
68879         (FAQ): Remove.
68881 2012-05-02  Allan McRae  <allan@archlinux.org>
68883         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
68884         (LDFLAGS-reldepmod5.so): Likewise.
68885         (LDFLAGS-reldep6mod1.so): Likewise.
68886         (LDFLAGS-reldep6mod4.so): Likewise.
68887         (LDFLAGS-reldep8mod3.so): Likewise.
68888         (LDFLAGS-unload4mod1.so): Likewise.
68889         (LDFLAGS-unload4mod2.so): Likewise.
68890         (LDFLAGS-tst-initorder): Likewise.
68891         (LDFLAGS-tst-initordera2.so): Likewise.
68892         (LDFLAGS-tst-initordera3.so): Likewise.
68893         (LDFLAGS-tst-initordera4.so): Likewise.
68894         (LDFLAGS-tst-initorderb2.so): Likewise.
68895         (LDFLAGS-noload): Likewise.
68896         (LDFLAGS-next): Likewise.
68897         (LDFLAGS-order2mod1.so): Likewise.
68898         (LDFLAGS-order2mod2.so): Likewise.
68899         (LDFLAGS-tst-initorder2): Likewise.
68900         (LDFLAGS-tst-initorder2a.so): Likewise.
68901         (LDFLAGS-tst-initorder2b.so): Likewise.
68902         (LDFLAGS-tst-initorder2c.so): Likewise.
68903         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
68905 2012-05-02  David S. Miller  <davem@davemloft.net>
68907         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68909 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
68911         [BZ #14055]
68912         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
68914 2012-05-02  Andreas Jaeger  <aj@suse.de>
68916         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
68917         since we manipulate rounding mode.
68918         (CPPFLAGS-test-idouble.c): Likewise.
68919         (CPPFLAGS-test-ifloat.c): Likewise.
68920         (CFLAGS-test-ldouble.c): Likewise.
68921         (CFLAGS-test-double.c): Likewise.
68922         (CFLAGS-test-float.c): Likewise.
68923         (CFLAGS-test-misc.c): Likewise.
68924         (CFLAGS-test-test-fenv.c): Likewise.
68926 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68928         [BZ #2550]
68929         [BZ #2570]
68930         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
68931         comparisons to determine direction to adjust input.
68933 2012-05-01  Roland McGrath  <roland@hack.frob.com>
68935         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
68936         output to the target.
68938         * scripts/localplt.awk: New file.
68939         * elf/Makefile ($(objpfx)check-localplt): Target removed.
68940         (check-localplt-CFLAGS): Variable removed.
68941         ($(all-built-dso:=.jmprel)): New static pattern rule.
68942         (generated): Add those targets.
68943         (localplt-built-dso): New variable.
68944         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
68946         * elf/check-localplt.c: File removed.
68948         * scripts/check-execstack.awk: New file.
68949         * elf/Makefile ($(objpfx)check-execstack): Target removed.
68950         (check-execstack-CFLAGS): Variable removed.
68951         ($(objpfx)check-execstack.h): Target removed.
68952         ($(objpfx)execstack-default): New target.
68953         (generated): Add that instead of check-execstack.h.
68954         ($(all-built-dso:=.phdr)): New static pattern rule.
68955         (generated): Add those targets.
68956         * elf/check-execstack.c: File removed.
68958         * scripts/check-textrel.awk: New file.
68959         * elf/Makefile ($(objpfx)check-textrel): Target removed.
68960         (check-textrel-CFLAGS): Variable removed.
68961         (all-built-dso): Use := to define.o
68962         ($(all-built-dso:=.dyn)): New static pattern rule.
68963         (generated): Add those targets.
68964         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
68965         * config.make.in (READELF): New substituted variable.
68966         * elf/check-textrel.c: File removed.
68968 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
68970         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
68971         allow.
68972         * conform/data/ctype.h-data [C99-based standards] (isblank):
68973         Expect function.
68974         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
68975         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
68976         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68977         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
68978         Specify type.  Require positive value.
68979         (EILSEQ): Likewise.
68980         (ERANGE): Likewise.
68981         [ISO || POSIX] (EILSEQ): Do not expect.
68982         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
68983         Specify type.  Require positive value.
68984         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
68985         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
68986         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
68987         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
68988         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
68989         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
68990         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
68991         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
68992         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
68993         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
68994         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
68995         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
68996         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
68997         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
68998         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
68999         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
69000         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
69001         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
69002         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
69003         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
69004         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
69005         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
69006         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
69007         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
69008         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
69009         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
69010         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
69011         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
69012         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
69013         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
69014         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
69015         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
69016         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
69017         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
69018         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
69019         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
69020         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
69021         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
69022         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
69023         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
69024         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
69025         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
69026         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
69027         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
69028         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
69029         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
69030         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
69031         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
69032         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
69033         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
69034         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
69035         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
69036         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
69037         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
69038         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
69039         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
69040         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
69041         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
69042         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
69043         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
69044         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
69045         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
69046         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
69047         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
69048         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
69049         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
69050         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
69051         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
69052         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
69053         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
69054         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
69055         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
69056         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
69057         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
69058         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
69059         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
69060         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
69061         Require >= 2.
69062         (FLT_ROUNDS): Expect as macro, not constant.
69063         (FLT_MANT_DIG): Use macro-int-constant.
69064         (DBL_MANT_DIG): Likewise.
69065         (LDBL_MANT_DIG): Likewise.
69066         (FLT_DIG): Likewise.
69067         (DBL_DIG): Likewise.
69068         (LDBL_DIG): Likewise.
69069         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
69070         (DBL_MIN_EXP): Likewise.
69071         (LDBL_MIN_EXP): Likewise.
69072         (FLT_MAX_EXP): Use macro-int-constant.
69073         (DBL_MAX_EXP): Likewise.
69074         (LDBL_MAX_EXP): Likewise.
69075         (FLT_MAX_10_EXP): Likewise.
69076         (DBL_MAX_10_EXP): Likewise.
69077         (LDBL_MAX_10_EXP): Likewise.
69078         (FLT_MAX): Use macro-constant.
69079         (DBL_MAX): Likewise.
69080         (LDBL_MAX): Likewise.
69081         (FLT_EPSILON): Use macro-constant.  Give upper bound.
69082         (DBL_EPSILON): Likewise.
69083         (LDBL_EPSILON): Likewise.
69084         (FLT_MIN): Likewise.
69085         (DBL_MIN): Likewise.
69086         (LDBL_MIN): Likewise.
69087         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
69088         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
69089         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
69090         [ISO11] (FLT_HAS_SUBNORM): Likewise.
69091         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
69092         [ISO11] (DBL_DECIMAL_DIG): Likewise.
69093         [ISO11] (FLT_DECIMAL_DIG): Likewise.
69094         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
69095         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
69096         [ISO11] (FLT_TRUE_MIN): Likewise.
69097         [ISO11] (LDBL_TRUE_MIN): Likewise.
69098         [ISO || ISO99 || ISO11] (*_t): Do not allow.
69099         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
69100         (SCHAR_MIN): Use macro-int-constant.  Specify type.
69101         (SCHAR_MAX): Likewise.
69102         (UCHAR_MAX): Likewise.
69103         (CHAR_MIN): Likewise.
69104         (CHAR_MAX): Likewise.
69105         (MB_LEN_MAX): Use macro-int-constant.
69106         (SHRT_MIN): Use macro-int-constant.  Specify type.
69107         (SHRT_MAX): Likewise.
69108         (USHRT_MAX): Likewise.
69109         (INT_MAX): Likewise.
69110         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
69111         bound negative.
69112         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
69113         bound with "U".
69114         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
69115         bound with "L".
69116         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
69117         bound negative.  Suffix upper bound with "L".
69118         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
69119         bound with "UL".
69120         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
69121         Specify type.
69122         [C99-based standards] (LLONG_MAX): Likewise.
69123         [C99-based standards] (ULLONG_MAX): Likewise.
69124         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
69125         == 0.
69126         [ISO11] (max_align_t): Require type.
69127         [ISO || ISO99 || ISO11] (*_t): Do not allow.
69129         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
69130         from $CFLAGS, without defining away __attribute__ calls.
69131         (checknamespace): Use $CFLAGS_namespace.
69133         * conform/conformtest.pl (@keywords): Only include C99 keywords
69134         for standards based on C99 or C11.
69136         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
69137         Disable tests.
69138         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
69139         UNIX98]: Likewise.
69141         * conform/conformtest.pl: Handle "macro-int-constant" and test for
69142         usability of symbols in #if.
69144         * conform/conformtest.pl: If macro or constant types start
69145         "promoted:", expect the symbol to be of the following type
69146         promoted by the integer promotions.
69148         * conform/conformtest.pl: Parse all "constant" and "macro" lines
69149         in one place.  Also handle "macro-constant".
69151         * conform/conformtest.pl: Only accept expected macro values with
69152         "==".  Parse all "macro" lines in one place.
69153         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
69155         * conform/conformtest.pl: Handle braced types on "constant" lines
69156         instead of handling "typed-constant".
69157         * conform/data/signal.h-data: Use "constant" instead of
69158         "typed-constant".
69160         * conform/conformtest.pl: Handle "optional-" at start of lines in
69161         one place rather than duplicating several cases.  Handle each
69162         format of "macro" line with initial "optional-".
69164         * conform/conformtest.pl: Only accept expected constant or
69165         optional-constant values with "==".  Parse all "constant" lines in
69166         one place.  Parse all "optional-constant" lines in one place.
69167         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
69168         * conform/data/fmtmsg.h-data: Likewise.
69169         * conform/data/netinet/in.h-data: Likewise.
69170         * conform/data/tar.h-data: Likewise.
69171         * conform/data/limits.h-data: Use "==" form on "constant" and
69172         "optional-constant" lines.
69174         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
69175         Use -std=c99 for XOPEN2K.
69176         (@knownproblems): Remove.
69177         (newtoken): Don't check %isknown.
69179         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
69180         Do not expect macro.
69181         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
69182         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
69183         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
69184         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
69185         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
69186         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
69187         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
69188         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
69189         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
69190         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
69191         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
69192         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
69193         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
69194         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
69195         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
69196         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
69197         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
69198         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
69199         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
69200         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
69201         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
69202         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
69203         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
69204         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
69205         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
69206         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
69207         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
69208         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
69209         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
69210         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
69211         [XPG3] (acosh): Likewise.
69212         [XPG3] (asinh): Likewise.
69213         [XPG3] (atanh): Likewise.
69214         [XPG3] (cbrt): Likewise.
69215         [XPG3] (expm1): Likewise.
69216         [XPG3] (ilogb): Likewise.
69217         [XPG3] (log1p): Likewise.
69218         [XPG3] (logb): Likewise.
69219         [XPG3] (nextafter): Likewise.
69220         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
69221         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
69222         [XPG3] (remainder): Likewise.
69223         [XPG3] (rint): Likewise.
69224         [XPG3 || XPG4 || UNIX98] (round): Likewise.
69225         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
69226         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
69227         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
69228         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
69229         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
69230         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
69231         [UNIX98 || XOPEN2K] (scalb): Expect.
69232         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
69233         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
69234         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
69235         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
69236         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
69237         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
69238         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
69239         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
69240         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
69241         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
69242         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
69243         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
69244         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
69245         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
69246         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
69247         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
69248         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
69249         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
69250         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
69251         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
69252         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
69253         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
69254         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
69255         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
69256         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
69257         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
69258         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
69259         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
69260         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
69261         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
69262         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
69263         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
69264         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
69265         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
69266         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
69267         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
69268         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
69269         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
69270         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
69271         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
69272         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
69273         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
69274         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
69275         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
69276         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
69277         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
69278         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
69279         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
69280         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
69281         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
69282         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
69283         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
69284         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
69285         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
69286         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
69287         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
69288         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
69289         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
69290         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
69291         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
69292         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
69293         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
69294         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
69295         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
69296         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
69297         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
69298         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
69299         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
69300         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
69301         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
69302         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
69303         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
69304         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
69305         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
69306         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
69307         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
69308         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
69309         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
69310         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
69311         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
69312         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
69313         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
69314         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
69315         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
69316         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
69317         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
69318         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
69319         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
69320         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
69321         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
69322         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
69323         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
69324         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
69325         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
69326         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
69327         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
69328         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
69329         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
69330         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
69331         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
69332         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
69333         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
69334         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
69335         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
69336         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
69337         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
69338         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
69339         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
69340         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
69341         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
69342         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
69343         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
69344         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
69345         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
69346         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
69347         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
69348         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
69349         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
69350         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
69351         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
69352         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
69353         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
69354         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
69355         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
69356         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
69357         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
69358         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
69359         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
69360         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
69361         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
69362         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
69363         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
69364         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
69365         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
69366         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
69367         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
69368         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
69370         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
69371         _XOPEN_SOURCE_EXTENDED for XPG4.
69373         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
69375         * Makeconfig (localtime): Remove variable.
69376         (inst_localtime-file): Likewise.
69378 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
69380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
69381         Update.
69382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69383         Update.
69384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
69385         Update.
69386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
69387         Update.
69388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
69389         Update.
69390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
69391         Update.
69392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
69393         Update.
69394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
69395         Update.
69396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
69397         Update.
69399 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
69401         [BZ #2550]
69402         [BZ #2570]
69403         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
69404         comparisons to determine direction to adjust input.
69405         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
69406         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
69407         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
69408         Likewise.
69409         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
69410         Likewise.
69411         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
69412         Likewise.
69413         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
69414         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
69415         Likewise.
69416         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
69417         Likewise.
69418         * math/libm-test.inc (nexttoward_test): Add more tests.
69420 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
69422         [BZ #14040]
69423         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
69424         in version GLIBC_2.1, not GLIBC_2.0.
69425         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
69426         Likewise.
69428 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
69430         [BZ #13942]
69431         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
69432         (1 - x) * (1 + x).
69433         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
69434         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
69435         * math/libm-test.inc (acos_test): Add more tests.
69436         (asin_test): Likewise.
69437         * sysdeps/i386/fpu/libm-test-ulps: Update.
69438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69440         [BZ #14034]
69441         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
69442         of square root.
69443         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
69444         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
69445         * math/libm-test.inc (acos_test_tonearest): New function.
69446         (acos_test_towardzero): Likewise.
69447         (acos_test_downward): Likewise.
69448         (acos_test_upward): Likewise.
69449         (asin_test_tonearest): Likewise.
69450         (asin_test_towardzero): Likewise.
69451         (asin_test_downward): Likewise.
69452         (asin_test_upward): Likewise.
69453         (main): Call the new functions.
69454         * sysdeps/i386/fpu/libm-test-ulps: Update.
69455         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69457         [BZ #13884]
69458         [BZ #13924]
69459         * math/e_exp10.c: Include <float.h>.
69460         (__ieee754_exp10): Handle underflow here rather than multiplying
69461         large negative argument by M_LN10.
69462         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
69463         of __ieee754_expf.
69464         * math/e_exp10l.c: Include <float.h>.
69465         (__ieee754_exp10l): Handle underflow here rather than multiplying
69466         large negative argument by M_LN10l.
69467         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
69468         spurious overflow exception on underflow.
69470 2012-04-29  Marek Polacek  <polacek@redhat.com>
69472         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
69473         (__fortify_function): New macro.
69474         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
69475         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
69476         __extern_always_inline.
69477         * libio/bits/stdio2.h: Likewise.
69478         * libio/bits/stdio.h: Likewise.
69479         * string/string.h: Likewise.
69480         * string/bits/string3.h: Likewise.
69481         * include/stdio.h: Likewise.
69482         * stdlib/bits/stdlib.h: Likewise.
69483         * stdlib/stdlib.h: Likewise.
69484         * rt/bits/mqueue2.h: Likewise.
69485         * rt/mqueue.h: Likewise.
69486         * posix/bits/unistd.h: Likewise.
69487         * posix/unistd.h: Likewise.
69488         * io/bits/poll2.h: Likewise.
69489         * io/bits/fcntl2.h: Likewise.
69490         * io/fcntl.h: Likewise.
69491         * io/sys/poll.h: Likewise.
69492         * misc/bits/syslog.h: Likewise.
69493         * misc/bits/syslog-ldbl.h: Likewise.
69494         * misc/sys/syslog.h: Likewise.
69495         * socket/bits/socket2.h: Likewise.
69496         * socket/sys/socket.h: Likewise.
69497         * debug/tst-chk1.c: Likewise.
69498         * wcsmbs/bits/wchar2.h: Likewise.
69499         * wcsmbs/bits/wchar-ldbl.h: Likewise.
69500         * wcsmbs/wchar.h: Likewise.
69502 2012-04-29  Andreas Jaeger  <aj@suse.de>
69504         * Makerules (tests): Remove enable-check-abi protection.
69505         (check-abi-warn): Remove.
69506         (check-abi-%): Remove check-abi-warn usage.
69508         * configure.in: Remove check-abi configure option.
69509         * configure: Regenerated.
69510         * config.make.in (enable-check-abi): Remove.
69512 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
69514         [BZ #14033]
69515         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
69516         double functions to double *_finite functions.
69518         [BZ #13941]
69519         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
69520         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
69521         LDBL_MIN_EXP.
69522         * stdio-common/Makefile (tests): Add tst-sprintf3.
69523         * stdio-common/tst-sprintf3.c: New file.
69525         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
69526         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
69528 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
69530         * conform/conformtest.pl: Remove duplicate typed-constant
69531         handling.
69533 2012-04-28  David S. Miller  <davem@davemloft.net>
69535         * Makerules (%.abilist): Add vpath on sysdep_dirs.
69536         (check-abi-%): Remove AWK script prerequisite and explicit
69537         abilist directory.
69538         (check-abi): Rewrite to just diff the symlist with the abilist.
69539         (config-tls, config-abi-config): Delete, no longer used.
69540         (update-abi-%): Remove AWK script and explicit abilist directory.
69541         (update-abi): Rewrite to simply compare and conditionally copy the
69542         symlist and the sysdep abilist file.  Remove update-abi-config
69543         checks.
69544         * abilist/ld.abilist: Remove.
69545         * abilist/libBrokenLocale.abilist: Remove.
69546         * abilist/libanl.abilist: Remove.
69547         * abilist/libcrypt.abilist: Remove.
69548         * abilist/libdl.abilist: Remove.
69549         * abilist/librt.abilist: Remove.
69550         * abilist/libthread_db.abilist: Remove.
69551         * abilist/libutil.abilist: Remove.
69552         * scripts/extract-abilist.awk: Remove.
69553         * scripts/merge-abilist.awk: Remove.
69554         * sysdeps/generic/libcidn.abilist: New file.
69555         * sysdeps/generic/libnss_compat.abilist: New file.
69556         * sysdeps/generic/libnss_db.abilist: New file.
69557         * sysdeps/generic/libnss_dns.abilist: New file.
69558         * sysdeps/generic/libnss_files.abilist: New file.
69559         * sysdeps/generic/libnss_hesiod.abilist: New file.
69560         * sysdeps/generic/libnss_nis.abilist: New file.
69561         * sysdeps/generic/libnss_nisplus.abilist: New file.
69562         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
69563         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
69564         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
69565         file.
69566         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
69567         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
69568         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
69569         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
69570         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
69571         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
69572         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
69573         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
69574         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
69575         file.
69576         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
69577         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
69578         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
69579         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
69580         file.
69581         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
69582         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
69583         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
69584         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
69585         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
69586         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
69587         file.
69588         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
69589         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
69590         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
69591         file.
69592         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
69593         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
69594         New file.
69595         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
69596         New file.
69597         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
69598         New file.
69599         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
69600         New file.
69601         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
69602         New file.
69603         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
69604         New file.
69605         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
69606         New file.
69607         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
69608         New file.
69609         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
69610         New file.
69611         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
69612         New file.
69613         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
69614         New file.
69615         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
69616         New file.
69617         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
69618         New file.
69619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
69620         file.
69621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
69622         New file.
69623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
69624         New file.
69625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
69626         file.
69627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
69628         New file.
69629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
69630         New file.
69631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
69632         file.
69633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
69634         New file.
69635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
69636         New file.
69637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
69638         New file.
69639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
69640         New file.
69641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
69642         New file.
69643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
69644         New file.
69645         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
69646         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
69647         file.
69648         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
69649         New file.
69650         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
69651         file.
69652         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
69653         file.
69654         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
69655         file.
69656         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
69657         file.
69658         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
69659         file.
69660         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
69661         New file.
69662         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
69663         file.
69664         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
69665         file.
69666         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
69667         New file.
69668         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
69669         file.
69670         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
69671         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
69672         file.
69673         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
69674         New file.
69675         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
69676         file.
69677         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
69678         file.
69679         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
69680         file.
69681         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
69682         file.
69683         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
69684         file.
69685         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
69686         New file.
69687         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
69688         file.
69689         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
69690         file.
69691         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
69692         New file.
69693         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
69694         file.
69695         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
69696         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
69697         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
69698         file.
69699         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
69700         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
69701         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
69702         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
69703         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
69704         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
69705         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
69706         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
69707         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
69708         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
69709         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
69710         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
69711         file.
69712         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
69713         New file.
69714         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
69715         file.
69716         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
69717         file.
69718         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
69719         file.
69720         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
69721         file.
69722         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
69723         file.
69724         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
69725         New file.
69726         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
69727         New file.
69728         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
69729         file.
69730         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
69731         New file.
69732         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
69733         file.
69734         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
69735         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
69736         file.
69737         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
69738         New file.
69739         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
69740         file.
69741         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
69742         file.
69743         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
69744         file.
69745         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
69746         file.
69747         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
69748         file.
69749         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
69750         New file.
69751         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
69752         New file.
69753         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
69754         file.
69755         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
69756         New file.
69757         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
69758         file.
69760 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
69762         * conform/conformtest.pl: Fix typo in handling typed-constant from
69763         allow-header.
69765 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
69767         * README: Cut down references to pre-2.6 Linux kernels and
69768         Linuxthreads.  Update lists of configurations in libc and ports
69769         and sort alphabetically.  Say "or newer" with Linux kernel version
69770         requirements.
69772         * config.h.in [IS_IN_build]: Allow compiling without optimization.
69774 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
69776         [BZ #887]
69777         * math/libm-test.inc (logb_test_downward): New test to expose
69778         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
69779         rounding mode.
69781 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
69783         [BZ #14027]
69784         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
69785         to be done.
69786         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
69787         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
69789 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
69791         * sysdeps/unix/i386/brk.S: Remove file.
69792         * sysdeps/unix/i386/dl-brk.S: Likewise.
69793         * sysdeps/unix/i386/pipe.S: Likewise.
69794         * sysdeps/unix/i386/sigreturn.S: Likewise.
69795         * sysdeps/unix/i386/syscall.S: Likewise.
69796         * sysdeps/unix/i386/vfork.S: Likewise.
69797         * sysdeps/unix/i386/wait.S: Likewise.
69799         * sysdeps/unix/common/tcsendbrk.c: Move to ...
69800         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
69802         * configure.in (arm*-none*): Do not allow without
69803         --enable-hacker-mode.
69804         (netbsd*): Remove case setting base_os.
69805         (386bsd*): Likewise.
69806         (freebsd*): Likewise.
69807         (bsdi*): Likewise.
69808         (osf*): Likewise.
69809         (sunos*): Likewise.
69810         (ultrix*): Likewise.
69811         (newsos*): Likewise.
69812         (dynix*): Likewise.
69813         (*bsd*): Likewise.
69814         (sysv*): Likewise.
69815         (isc*): Likewise.
69816         (esix*): Likewise.
69817         (sco*): Likewise.
69818         (minix*): Likewise.
69819         (irix4*): Likewise.
69820         (irix6*): Likewise.
69821         (solaris[2-9]*): Likewise.
69822         (none): Likewise.
69823         * configure: Regenerated.
69825 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69827         [BZ #11521]
69828         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
69829         overflow or cancellation in calculating denominator.
69830         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
69831         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
69832         down expression to avoid unexpected rounding in newer GCCs.
69833         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
69835 2012-04-26  David S. Miller  <davem@davemloft.net>
69837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
69838         long-double compat symbols.
69839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
69840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
69841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
69842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
69843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
69844         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
69845         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
69846         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
69847         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
69848         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
69849         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
69850         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
69851         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
69853 2012-04-25  David S. Miller  <davem@davemloft.net>
69855         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
69856         HWCAP_* values only after the memory barriers have been defined.
69857         (atomic_full_barrier): Define.
69858         (atomic_read_barrier): Define.
69859         (atomic_write_barrier): Define.
69861 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
69863         * shlib-versions: Add libgcc_s version information.
69864         * sysdeps/generic/libgcc_s.h: Remove.
69865         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
69866         libgcc_s.h.
69867         * sysdeps/gnu/unwind-resume.c: Likewise.
69868         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
69870 2012-04-25  David S. Miller  <davem@davemloft.net>
69872         * sysdeps/unix/sparc/brk.S: Delete.
69873         * sysdeps/unix/sparc/dl-brk.S: Delete.
69874         * sysdeps/unix/sparc/pipe.S: Delete.
69875         * sysdeps/unix/sparc/sysdep.S: Delete.
69876         * sysdeps/unix/sparc/sysdep.h: Delete.
69877         * sysdeps/unix/sparc/vfork.S: Delete.
69878         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
69879         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
69880         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
69881         (ret_ERRVAL, r0, r1, MOVE): Define.
69882         (JUMPTARGET): Remove.
69883         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
69884         sysdeps/unix/sparc/sysdep.h
69885         (ENTRY, END): Remove.
69886         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
69888 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
69890         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
69891         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
69892         -DIS_IN_build.
69894         * timezone/README: Update upstream location and email address for
69895         tzcode and tzdata.
69896         * timezone/zdump.c: Update from tzcode 2012b.
69897         * timezone/zic.c: Likewise.
69899         * configure.in (libc_cv_as_needed): Remove test.
69900         * configure: Regenerated.
69901         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
69902         conditional definition.
69903         [$(have-as-needed) != yes] (no-as-needed): Likewise.
69904         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
69905         * config.make.in (have-as-needed): Remove variable.
69907 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
69908             Paul Pluzhnikov  <ppluzhnikov@google.com>
69910         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
69911         strings correctly.
69913 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
69915         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
69916         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
69917         * sysdeps/sh/strlen.S: Likewise.
69919 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
69921         * sysdeps/unix/fork.S: Remove file.
69922         * sysdeps/unix/i386/fork.S: Likewise.
69923         * sysdeps/unix/sparc/fork.S: Likewise.
69925         * sysdeps/unix/system.c: Remove file.
69926         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
69928         * sysdeps/unix/getegid.S: Remove file.
69929         * sysdeps/unix/geteuid.S: Likewise.
69931 2012-04-24  Roland McGrath  <roland@hack.frob.com>
69933         * scripts/check-localplt.awk: New file.
69934         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
69935         of diff.
69936         * scripts/data/localplt-generic.data: Add a comment.
69938         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
69939         NODE when __dir_mkfile failed.
69940         * sysdeps/mach/hurd/symlinkat.c: Likewise.
69941         Reported by Ludovic Courtès <ludo@gnu.org>.
69943 2012-04-24  Andreas Jaeger  <aj@suse.de>
69945         * Makerules (common-clean): Also remove gen-as-const-headers
69946         files.
69948 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
69950         * Makerules (native-compile): Do not change working directory for
69951         build.  Use $(OUTPUT_OPTION) in command.
69952         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
69954 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69956         [BZ #13886]
69957         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
69958         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
69959         * math/libm-test.inc (floor_test): Add more tests.
69960         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
69962 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
69964         * sysdeps/unix/getdents.c: Remove file.
69965         * sysdeps/unix/sysv/getdents.c: Likewise.
69966         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
69968         * sysdeps/unix/syscalls.list (madvise): Add syscall from
69969         sysdeps/unix/mman/syscalls.list.
69970         (mmap): Likewise.
69971         (mprotect): Likewise.
69972         (msync): Likewise.
69973         (munmap): Likewise.
69974         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
69975         * sysdeps/unix/mman/syscalls.list: Remove.
69976         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
69978         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
69979         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
69980         * configure: Regenerated.
69981         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
69982         $(libgcc_s_suffix).
69983         * config.make.in (libgcc_s_suffix): Remove variable.
69985 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
69987         * sysdeps/unix/sysv/gethostname.c: Move to ...
69988         * sysdeps/posix/gethostname.c: ... here.
69990         * sysdeps/unix/execve.S: Remove file.
69992         * sysdeps/unix/_exit.S: Remove file.
69994 2012-04-23  Andreas Jaeger  <aj@suse.de>
69996         [BZ #13739]
69997         * manual/Makefile: Remove make dist support, there's no
69998         need for a stand-alone documentation tar ball.
69999         (TEXI2DVI): Define always, it's not in Makeconfig.
70000         (dist): Removed.
70001         (tar-it): Removed.
70002         (edition): Removed.
70003         (glibc-doc-$(edition).tar): Removed
70004         (%.Z): Removed.
70005         (%.gz): Removed.
70006         (%.uu): Removed.
70007         (ETAGS): Remove, it's in Makeconfig.
70008         (move-if-change): Remove, it's in Makeconfig.
70010 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
70012         [BZ #13970]
70013         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
70014         (strtod, strtof, strtold, strtol, strtoul, strtoq)
70015         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
70016         (strtod_l, strtof_l, strtold_l): Remove __wur.
70017         It is not necessarily an error to ignore strtol's return value.
70018         One can reliably look at the stored endptr to decide whether
70019         the number had valid syntax.
70021 2012-04-21  Andreas Jaeger  <aj@suse.de>
70023         [BZ #13739]
70024         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
70026 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
70028         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
70029         * sysdeps/unix/sysv/Versions: Remove file.
70031 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
70033         [BZ #13927]
70034         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70036 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
70038         [BZ #7064]
70039         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
70040         version from __vm86.
70042 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
70044         * sysdeps/unix/common/lxstat.c: Remove file.
70045         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
70047         * sysdeps/unix/sysv/Makefile: Remove file.
70049         * sysdeps/unix/sysv/direct.h: Remove file.
70051         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
70052         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
70053         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
70054         * sysdeps/unix/sysv/bits/signum.h: Likewise.
70055         * sysdeps/unix/sysv/bits/stat.h: Likewise.
70056         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
70057         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
70059         * sysdeps/unix/sysv/setrlimit.c: Remove file.
70061         * sysdeps/unix/xmknod.c: Remove file.
70062         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
70064         * sysdeps/unix/sysv/settimeofday.c: Remove file.
70066         * sysdeps/unix/sysv/i386/time.S: Remove file.
70068         * sysdeps/unix/fxstat.c: Remove file.
70069         * sysdeps/unix/xstat.c: Likewise.
70070         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
70072         * sysdeps/unix/sysv/sigaction.c: Remove file.
70074         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
70075         (sysdep_headers): Remove variable.
70076         [termio.h not in sysdep_headers] (generated): Likewise.
70077         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
70078         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
70079         * sysdeps/unix/sysv/tcdrain.c: Likewise.
70080         * sysdeps/unix/sysv/tcflow.c: Likewise.
70081         * sysdeps/unix/sysv/tcflush.c: Likewise.
70082         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
70083         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
70084         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
70085         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
70086         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
70088         * sysdeps/unix/siglist.c: Remove file.
70090         * sysdeps/unix/getppid.S: Remove file.
70092         * sysdeps/unix/mkdir.c: Remove file.
70093         * sysdeps/unix/rmdir.c: Likewise.
70095 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
70097         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
70098         ERR_MAX value.
70099         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
70100         errlist-compat value.
70102 2012-04-18  David S. Miller  <davem@davemloft.net>
70104         * sysdeps/generic/memcopy.h (reg_char): Delete.
70105         * debug/strcat_chk.c: Use char, not reg_char.
70106         * debug/strcpy_chk.c: Likewise.
70107         * debug/strncat_chk.c: Likewise.
70108         * debug/strncpy_chk.c: Likewise.
70109         * string/memchr.c: Likewise.
70110         * string/memrchr.c: Likewise.
70111         * string/rawmemchr.c: Likewise.
70112         * string/strcat.c: Likewise.
70113         * string/strchr.c: Likewise.
70114         * string/strchrnul.c: Likewise.
70115         * string/strcmp.c: Likewise.
70116         * string/strcpy.c: Likewise.
70117         * string/strncat.c: Likewise.
70118         * string/strncmp.c: Likewise.
70119         * string/strncpy.c: Likewise.
70121 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
70123         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
70124         __builtin_memcopy is called when src and dest ranges are known to not
70125         overlap.
70127 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
70129         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
70130         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
70131         fwd_align_merge macro call.
70132         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
70133         bwd_align_merge macro call.
70134         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
70136 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
70138         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
70139         bwd_align_merge macros.
70140         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
70141         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
70142         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
70144 2012-04-18  David S. Miller  <davem@davemloft.net>
70146         * sysdeps/sparc/sparc64/memcopy.h: Delete.
70148 2012-04-18  Andreas Jaeger  <aj@suse.de>
70150         [BZ# 6794]
70151         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
70152         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
70153         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
70155         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
70156         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
70157         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
70159         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
70160         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
70161         Adjust for changed ldbl-128 files.
70163         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
70164         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
70165         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
70167 2012-04-17  David S. Miller  <davem@davemloft.net>
70169         * sysdeps/sparc/sparc32/memcopy.h: Delete.
70171 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
70173         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
70174         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
70175         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
70176         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
70177         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
70178         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
70180 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70182         [BZ #6794]
70183         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
70184         * math/libm-test.inc: Add ilogb errno and exception tests.
70185         * math/w_ilogb.c: New file: ilogb wrapper.
70186         * math/w_ilogbf.c: New file: ilogbf wrapper.
70187         * math/w_ilogbl.c: New file: ilogbl wrapper.
70188         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
70189         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
70190         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
70191         exception being thrown with 0.0 as argument.
70192         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
70193         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
70194         exception being thrown with 0.0 as argument.
70195         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
70196         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
70197         exception being thrown with 0.0 as argument.
70198         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
70199         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
70200         exception being thrown with 0.0 as argument.
70201         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
70202         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
70203         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
70204         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
70205         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
70206         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
70207         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
70208         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
70209         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
70211 2012-04-17  Petr Baudis  <pasky@ucw.cz>
70213         * include/sys/uio.h: Change __vector to __iovec to avoid clash
70214         with altivec.
70216 2012-04-16  Marek Polacek  <polacek@redhat.com>
70218         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
70220 2012-04-16  Marek Polacek  <polacek@redhat.com>
70222         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
70223         operands of fdivp instruction.
70225 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
70227         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
70228         * elf/tst-auditmod3b.c: Likewise.
70229         * elf/tst-auditmod4b.c: Likewise.
70230         * elf/tst-auditmod5b.c: Likewise.
70231         * elf/tst-auditmod6b.c: Likewise.
70232         * elf/tst-auditmod6c.c: Likewise.
70233         * elf/tst-auditmod7b.c: Likewise.
70234         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
70235         * sysdeps/x86_64/preconfigure.in: Likewise.
70236         * sysdeps/x86_64/preconfigure: Regenerated.
70238 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
70240         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
70241         __ILP32__.
70243 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
70245         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
70246         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
70248 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
70250         [BZ #13973]
70251         * locale/iso-639.def: Fix gl language name. Spotted by
70252         Yaron Shahrabani.
70254 2012-04-12  Roland McGrath  <roland@hack.frob.com>
70256         [BZ #2074]
70257         * libio/libio.h (__io_write_fn): Update comment.
70259 2012-04-12  Petr Baudis  <pasky@ucw.cz>
70261         [BZ #2074]
70262         * stdio.texi (Hook Functions): The user provided writer function
70263         is not allowed to return -1.
70265 2012-04-11  David S. Miller  <davem@davemloft.net>
70267         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70269 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
70271         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
70272         Add a leading slash to rtkaio.
70274 2012-04-11  Jim Meyering  <meyering@redhat.com>
70276         [BZ #11959]
70277         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
70278         It is not necessarily an error to ignore fwrite's return
70279         value.  One can reliably use ferror to test for errors after
70280         the fact.
70282 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
70284         * bits/types.h (__snseconds_t): New type.
70285         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
70287         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
70288         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70289         (__SNSECONDS_T_TYPE): Likewise.
70290         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
70291         (__SNSECONDS_T_TYPE): Likewise.
70292         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70293         (__SNSECONDS_T_TYPE): Likewise.
70295 2012-04-10  Andreas Jaeger  <aj@suse.de>
70297         [BZ #2636]
70298         * manual/time.texi (Processor Time): Return type of times is
70299         elapsed real time since an arbitrary point in the past.
70300         (CPU Time): Move CLK_TCK from here...
70301         (Processor Time): ...to here.  Correct description.
70302         * manual/conf.texi (Constants for Sysconf): Correct description of
70303         _SC_CLK_TCK.
70305 2012-04-10  David S. Miller  <davem@davemloft.net>
70307         [BZ #13967]
70308         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
70309         where the is a gap between DT_REL(A) and DT_JMPREL.
70311 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
70313         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
70314         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
70315         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
70317 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
70319         * elf/dl-support.c (_dl_inhibit_cache): New variable.
70320         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
70321         (dl_main): Handle --inhibit-cache.
70322         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
70323         _dl_inhibit_cache.
70324         * elf/dl-load.c (_dl_map_object): Use it.
70325         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
70327 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
70329         [BZ #13872]
70330         * sysdeps/i386/fpu/e_powl.S (p78): New object.
70331         (__ieee754_powl): Saturate large exponents rather than testing for
70332         overflow of y*log2(x).
70333         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
70334         * math/libm-test.inc (pow_test): Do not permit spurious overflow
70335         exceptions.
70337         [BZ #11521]
70338         * math/s_ctan.c: Include <float.h>.
70339         (__ctan): Avoid internal overflow or cancellation in calculating
70340         denominator.
70341         * math/s_ctanf.c: Likewise.
70342         * math/s_ctanl.c: Likewise.
70343         * math/s_ctanh.c: Likewise.
70344         * math/s_ctanhf.c: Likewise.
70345         * math/s_ctanhl.c: Likewise.
70346         * math/libm-test.inc (ctan_test): Add more tests.
70347         (ctanh_test): Likewise.
70348         * sysdeps/i386/fpu/libm-test-ulps: Update.
70349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70351 2012-04-09  Andreas Jaeger  <aj@suse.de>
70353         [BZ #6894]
70354         * manual/filesys.texi (Directory Entries): Mention that d_namlen
70355         is an optional BSD extension.
70357         [BZ #10254]
70358         * manual/stdio.texi (Opening Streams): Document additional fopen
70359         parameters.
70361 2012-04-09  Roland McGrath  <roland@hack.frob.com>
70363         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
70364         %eax without telling the compiler.
70366 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
70368         [BZ # 13963]
70369         * manual/install.texi: Use sourceware.org.
70371 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
70373         [BZ #13873]
70374         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
70375         (__ieee754_pow): Generate overflow and underflow using huge*huge
70376         and tiny*tiny rather than just returning constant infinity or zero
70377         for large exponents.
70378         * math/libm-test.inc (pow_test): Require overflow exceptions for
70379         applicable cases of large exponents.
70381         [BZ #706]
70382         * sysdeps/i386/fpu/e_pow.S (p10): New object.
70383         (__ieee754_pow): Use iterative multiplication algorithm only for
70384         integer exponents with absolute value below 1024.  Check for odd
70385         integer exponents when using algorithm for real exponents.
70386         * math/libm-test.inc (pow_test): Add more tests.
70387         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70389 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
70391         [BZ #13705]
70392         * math/libm-test.inc (exp_test): Do not allow overflow exception
70393         on underflow test.
70395 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
70397         [BZ #13705]
70398         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
70399         instead of __kernel_standard_f.
70401 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
70403         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
70404         * sysdeps/x86_64/memset_chk.S: Likewise.
70406 2012-04-08  Andreas Jaeger  <aj@suse.de>
70408         [BZ #10153]
70409         * manual/startup.texi (Environment Access): Describe return value
70410         for putenv and setenv.
70412         [BZ #6895]
70413         * manual/filesys.texi (Directory Entries): Add description for
70414         DT_LNK.
70416         [BZ #6890]
70417         * manual/filesys.texi (Directory Entries): Clarify that it's file
70418         system not operating system in the description of DT_UNKNOWN.
70420         [BZ #6578]
70421         * manual/syslog.texi (closelog): Fix reference, it's openlog.
70423 2012-04-08  Stephen Compall  <s11@member.fsf.org>
70425         [BZ #6649]
70426         * manual/llio.texi (Opening and Closing Files): Add cross
70427         reference to explain mode argument.
70429 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
70431         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
70432         * sysdeps/x86_64/memset_chk.S: Likewise.
70434 2012-04-07  David S. Miller  <davem@davemloft.net>
70436         * elf/elf.h (R_SPARC_WDISP10): Define.
70437         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
70438         R_SPARC_SIZE32.
70439         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
70440         R_SPARC_SIZE64 and R_SPARC_H34.
70442 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
70444         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
70445         conditions and remove no longer applicable assertion.
70447 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
70449         * bits/byteswap.h: Include <features.h>.
70450         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
70451         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
70453 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
70455         * bits/byteswap.h (__bswap_16): Removed.
70456         Include <bits/byteswap-16.h> to get __bswap_16.
70457         * sysdeps/i386/bits/byteswap.h: Likewise.
70458         * sysdeps/s390/bits/byteswap.h: Likewise.
70459         * sysdeps/x86_64/bits/byteswap.h: Likewise.
70460         * bits/byteswap-16.h: New file.
70461         * sysdeps/i386/bits/byteswap-16.h: Likewise.
70462         * sysdeps/s390/bits/byteswap-16.h: Likewise.
70463         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
70464         * string/Makefile (headers): Add bits/byteswap-16.h.
70466 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
70468         [BZ #13895]
70469         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
70470         extra indirection.
70471         * nss/Makefile (tests-static, tests): Add tst-nss-static.
70472         * nss/tst-nss-static.c: New.
70474 2012-04-06  Robert Millan  <rmh@gnu.org>
70476         [BZ #6486]
70477         * manual/llio.texi (File Position Primitive): lseek
70478         refers to WHENCE when it really means OFFSET.
70480 2012-04-06  Andreas Jaeger  <aj@suse.de>
70482         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
70483         strncmp declarations.
70485         * abilist/libc.abilist: Add __poll and __ppoll.
70487 2012-04-05  David S. Miller  <davem@davemloft.net>
70489         * scripts/check-local-headers.sh: Accept a host triplet in the
70490         path matched by the exclude regexp.
70492         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
70493         definition.
70494         * sysdeps/powerpc/powerpc32/dl-machine.h
70495         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
70496         * sysdeps/s390/s390-32/dl-machine.h
70497         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
70498         * sysdeps/sparc/sparc32/dl-machine.h
70499         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
70500         * sysdeps/sparc/sparc64/dl-machine.h
70501         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
70503         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
70504         lazy binding.
70505         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
70506         undefined symbol errors.
70508         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
70509         DT_NEEDED entries.
70511 2012-04-05  Michael Matz  <matz@suse.de>
70513         [BZ #13592]
70514         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
70516 2012-04-05  Andreas Jaeger  <aj@suse.de>
70518         [BZ #13908]
70519         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
70520         comment.
70522 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
70524         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
70525         which ROUND is no valid rounding mode.
70527 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
70529         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
70530         read again.
70531         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
70533 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
70535         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
70536         an exception using FPU order intentionally.
70538 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
70540         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
70541         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
70542         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
70543         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
70545 2012-04-05  Simon Josefsson  <simon@josefsson.org>
70547         [BZ #12340]
70548         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
70549         EINVAL when BUFLEN is too smal.
70551 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
70553         [BZ #13553]
70554         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
70555         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
70557 2012-04-03  Andreas Jaeger  <aj@suse.de>
70559         [BZ #13938]
70560         * manual/setjmp.texi (System V contexts): Fix sentence.
70562         [BZ #13926]
70563         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
70564         New macro for this case.
70565         [!__GNUC__] (__bswap_64): New inline function for this case.
70566         * sysdeps/x86_64/bits/byteswap.h: Likewise.
70567         * bits/byteswap.h: Likewise.
70568         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
70569         ull, guard with __GLIBC_HAVE_LONG_LONG.
70571         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
70572         __GLIBC_HAVE_LONG_LONG.
70574         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
70575         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
70577 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
70579         [BZ #13691]
70580         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
70581         inptr and inend, rather than using last_ch.
70583 2012-04-02  David S. Miller  <davem@davemloft.net>
70585         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
70586         * stdio-common/printf-parse.h (read_int): Change return type to
70587         'int', return -1 on INT_MAX overflow.
70588         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
70589         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
70590         overflows INT_MAX.  Check for overflow of in-format-string precision
70591         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
70592         SIZE_MAX not INT_MAX for integer overflow test.
70593         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
70594         skip the construct in the format string but do not record anything.
70595         * stdio-common/bug22.c: Adjust to test both width/prevision
70596         INT_MAX overflow as well as total length INT_MAX overflow.  Check
70597         explicitly for proper errno values.
70599 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
70601         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
70602         CHAR_MAX.
70603         * string/test-strcmp.c [! WIDE]: Likewise.
70604         * time/tst-mktime2.c: Likewise for INT_MAX.
70605         * string/test-string.h: #include <sys/param.h> for MIN.
70607         * csu/init-first.c (__libc_init_first): Call __ctype_init.
70608         * sysdeps/i386/init-first.c (init): Likewise.
70609         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
70610         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
70611         * sysdeps/sh/init-first.c (init): Likewise.
70613 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
70615         * po/ru.po: Update from translation team.
70616         * po/vi.po: Likewise.
70618 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
70620         * resolv/nss_dns/dns-host.c: Merge copyright years.
70622 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70624         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
70625         Optimize memcpy with prefetch if
70626         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
70627         src, dst pointers have unequal 16 byte alignments.
70629 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
70631         [BZ #13928]
70632         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
70633         from a CNAME entry and return the minimum ttl for the query.
70634         (gaih_getanswer_slice): Likewise.
70636 2012-03-30  Jeff Law  <law@redhat.com>
70638         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
70639         due to long keys.
70640         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
70641         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
70643         * resolv/nss_dns/dns-host.c: Update copyright year.
70645 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
70647         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
70648         requests to save a system call.  Fix check that all bytes are sent.
70650         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
70651         comments for sendmmsg.
70653 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
70655         [BZ #13691]
70656         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
70657         with only 1 character between 0x0041 and 0x01b0.
70658         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
70659         * wcsmbs/tst-mbsnrtowcs.c: New file.
70661 2012-03-29  David S. Miller  <davem@davemloft.net>
70663         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
70664         small copies by hand.
70666 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70668         [BZ #13761]
70669         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
70670         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
70671         group memberships.
70673 2012-03-28  David S. Miller  <davem@davemloft.net>
70675         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
70676         that branches into memcpy.
70677         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
70678         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
70679         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
70680         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
70681         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
70682         bits.
70683         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
70684         implementation too.
70685         * sysdeps/sparc/mempcpy.S: New file.
70687         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
70688         the IFUNC routine in the libc case.
70689         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
70691         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
70692         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
70693         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
70694         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
70695         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
70696         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
70697         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
70698         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
70700         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
70701         loop to 256 bytes instead of 64 bytes and fix test signedness.
70703         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
70704         * sysdeps/sparc/sparc32/Makefile: rather than here...
70705         * sysdeps/sparc/sparc64/Makefile: and here.
70707 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
70709         * malloc/mallocbug.c: Avoid warnings about unused variables.
70711 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
70713         [BZ #13760]
70714         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
70715         in the right place. Discard and retry query if response is
70716         larger than input buffer size.
70718 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
70720         [BZ #369]
70721         [BZ #2678]
70722         [BZ #3866]
70723         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
70724         x for large integer exponent.
70725         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
70726         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
70727         sign of result as needed afterwards.
70728         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
70729         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
70730         result for underflowing pow the same as for overflow.
70731         (__kernel_standard_l): Handle powl overflow and underflow here
70732         rather than calling __kernel_standard.
70733         * math/libm-test.inc (pow_test): Add more tests.
70735         [BZ #3868]
70736         [BZ #13879]
70737         [BZ #13910]
70738         [BZ #13911]
70739         [BZ #13912]
70740         [BZ #13913]
70741         [BZ #13915]
70742         [BZ #13916]
70743         [BZ #13917]
70744         [BZ #13918]
70745         [BZ #13919]
70746         [BZ #13920]
70747         [BZ #13921]
70748         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
70749         * sysdeps/ieee754/k_standard.c: Include <float.h>.
70750         (__kernel_standard_l): New function.
70751         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
70752         __kernel_standard.
70753         * math/w_acosl.c (__acosl): Likewise.
70754         * math/w_asinl.c (__asinl): Likewise.
70755         * math/w_atan2l.c (__atan2l): Likewise.
70756         * math/w_atanhl.c (__atanhl): Likewise.
70757         * math/w_coshl.c (__coshl): Likewise.
70758         * math/w_exp10l.c (__exp10l): Likewise.
70759         * math/w_exp2l.c (__exp2l): Likewise.
70760         * math/w_fmodl.c (__fmodl): Likewise.
70761         * math/w_hypotl.c (__hypotl): Likewise.
70762         * math/w_j0l.c (__j0l, __y0l): Likewise.
70763         * math/w_j1l.c (__j1l, __y1l): Likewise.
70764         * math/w_jnl.c (__jnl, __ynl): Likewise.
70765         * math/w_lgammal.c (__lgammal): Likewise.
70766         * math/w_log10l.c (__log10l): Likewise.
70767         * math/w_log2l.c (__log2l): Likewise.
70768         * math/w_logl.c (__logl): Likewise.
70769         * math/w_powl.c (__powl): Likewise.
70770         * math/w_remainderl.c (__remainderl): Likewise.
70771         * math/w_scalbl.c (sysv_scalbl): Likewise.
70772         * math/w_sinhl.c (__sinhl): Likewise.
70773         * math/w_sqrtl.c (__sqrtl): Likewise.
70774         * math/w_tgammal.c (__tgammal): Likewise.
70775         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
70776         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
70777         * math/libm-test.inc (acos_test): Add more tests.
70778         (acosh_test): Likewise.
70779         (asin_test): Likewise.
70780         (atanh_test): Likewise.
70781         (exp_test): Likewise.
70782         (exp10_test): Likewise.
70783         (exp2_test): Likewise.
70784         (expm1_test): Likewise.
70785         (lgamma_test): Likewise.
70786         (log_test): Likewise.
70787         (log10_test): Likewise.
70788         (log1p_test): Likewise.
70789         (log2_test): Likewise.
70790         (pow_test): Do not allow some spurious overflow exceptions.
70791         (sqrt_test): Add more tests.
70792         (tgamma_test): Likewise.
70793         (y0_test): Likewise.
70794         (y1_test): Likewise.
70795         (yn_test): Likewise.
70797 2012-03-27  Anton Blanchard  <anton@samba.org>
70799         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
70800         MAP_HUGETLB.
70801         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
70802         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
70803         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
70805 2012-03-27  David S. Miller  <davem@davemloft.net>
70807         * conform/Makefile: Run run-conformtest.sh using $(BASH).
70809         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
70810         have-as-vis3 check.
70812 2012-03-27  Andreas Jaeger  <aj@suse.de>
70814         * sysdeps/x86_64/elf/configure.in: Moved to ...
70815         * sysdeps/x86_64/configure.in: ... here.
70816         * sysdeps/x86_64/elf/start.S: Moved to ...
70817         * sysdeps/x86_64/start.S: ... here.
70818         * sysdeps/x86_64/elf/configure: Delete.
70820         * sysdeps/x86_64/configure.in: Merge contents from
70821         sysdeps/i386/configure.in (without i686 check).
70823         * sysdeps/i386/elf/Versions: Merge into ...
70824         * sysdeps/i386/Versions: ... this.
70825         * sysdeps/i386/elf/Versions: Delete file.
70826         * sysdeps/i386/elf/start.S: Moved to ...
70827         * sysdeps/i386/start.S: ...here.
70828         * sysdeps/i386/elf/configure.in: Merge into...
70829         * sysdeps/i386/configure.in: ...here.
70830         * sysdeps/i386/elf/configure.in: Delete file.
70831         * sysdeps/i386/elf/configure: Delete file.
70833         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
70834         * debug/backtracesyms.c: ... here.
70835         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
70836         * debug/backtracesymsfd.c: ... here.
70837         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
70838         * sysdeps/generic/ifunc-sel.h: ... here.
70840         * sysdeps/unix/i386/start.c: Delete file.
70841         * sysdeps/unix/sparc/start.c: Delete file.
70842         * sysdeps/unix/start.c: Delete file.
70844         * sysdeps/sh/elf/configure.in: Moved to ...
70845         * sysdeps/sh/configure.in: ... here.
70846         * sysdeps/sh/elf/start.S: Moved to ...
70847         * sysdeps/sh/start.S: ... here.
70848         * sysdeps/sh/elf/configure: Delete file.
70850         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
70851         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
70852         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
70853         * sysdeps/powerpc/powerpc64/entry.h: ... here.
70854         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
70855         * sysdeps/powerpc/powerpc64/start.S: here.
70856         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
70857         * sysdeps/powerpc/powerpc64/Makefile: ... this.
70858         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
70859         * sysdeps/powerpc/powerpc64/configure.in: ... this.
70860         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
70862         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
70863         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
70864         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
70865         * sysdeps/powerpc/powerpc32/start.S: ... here.
70866         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
70867         * sysdeps/powerpc/powerpc32/configure.in: ... this.
70868         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
70870         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
70871         * sysdeps/powerpc/ifunc-sel.h: ... here.
70872         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
70873         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
70875         * sysdeps/sparc/elf/configure.in: Moved to ...
70876         * sysdeps/sparc/configure.in: ... here.
70877         * sysdeps/sparc/elf/configure: Delete file.
70878         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
70879         * sysdeps/sparc/sparc32/start.S: ... here.
70880         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
70881         * sysdeps/sparc/sparc64/start.S: ... here.
70882         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
70883         * sysdeps/sparc/sparc32/Makefile: ... this.
70884         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
70885         * sysdeps/sparc/sparc64/Makefile: ... this.
70887         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
70888         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
70889         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
70890         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
70891         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
70892         * sysdeps/s390/s390-32/setjmp.S: ... here.
70893         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
70894         * sysdeps/s390/s390-32/configure.in: ... here.
70895         * sysdeps/s390/s390-32/elf/configure: Delete file.
70896         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
70897         * sysdeps/s390/s390-32/start.S: ... here.
70899         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
70900         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
70901         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
70902         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
70903         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
70904         * sysdeps/s390/s390-64/setjmp.S: ... here.
70905         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
70906         * sysdeps/s390/s390-64/configure.in: ... here
70907         * sysdeps/s390/s390-64/elf/configure: Delete file.
70908         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
70909         * sysdeps/s390/s390-64/start.S: ... here.
70910         * sysdeps/s390/s390-64/elf/configure: Delete.
70912         * configure.in: Remove support for elf directories in sysdeps.
70914         * configure: Regenerated.
70915         * sysdeps/i386/configure: Regenerated.
70916         * sysdeps/powerpc/powerpc32/configure: Regenerated.
70917         * sysdeps/powerpc/powerpc64/configure: Regenerated.
70918         * sysdeps/s390/s390-32/configure: Regenerated.
70919         * sysdeps/s390/s390-64/configure: Regenerated.
70920         * sysdeps/sh/configure: Regenerated.
70921         * sysdeps/sparc/configure: Regenerated.
70922         * sysdeps/x86_64/configure: Regenerated.
70924 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
70926         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70928         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
70929         denormal result into account.
70931 2012-03-25  Roland McGrath  <roland@hack.frob.com>
70933         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
70934         Reported by Allan McRae <allan@archlinux.org>.
70936 2012-03-23  Jeff Law  <law@redhat.com>
70938         * nss/getnssent.c (__nss_getent): Fix typo.
70940 2012-03-23  David S. Miller  <davem@davemloft.net>
70942         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70944 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
70946         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
70947         to pad to uint64_t for each field.
70948         (dl_tls_index): Replace unsigned long with uint64_t.
70950 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
70951         Paul Pluzhnikov  <ppluzhnikov@google.com>
70953         [BZ #6528]
70954         * grp/Makefile (otherlibs): Don't set it.
70955         * inet/Makefile (otherlibs): Likewise.
70956         * login/Makefile (otherlibs): Likewise.
70957         * nscd/Makefile (otherlibs): Likewise.
70958         * posix/Makefile (otherlibs): Likewise.
70959         * pwd/Makefile (otherlibs): Likewise.
70960         * rt/Makefile (otherlibs): Likewise.
70961         * sunrpc/Makefile (otherlibs): Likewise.
70962         * nss/Makefile (otherlibs): Likewise.
70963         Add libnss_files to routines and static-only-routines.
70964         ($(objpfx)getent): Remove rule.
70965         * resolv/Makefile: Add libnss_dns and libresolv to routines and
70966         static-only-routines.
70968 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
70970         [BZ #13892]
70971         * math/s_cexp.c: Include <float.h>.
70972         (__cexp): Handle exp result overflowing not necessarily
70973         overflowing both real and imaginary parts of result.
70974         * math/s_cexpf.c: Likewise.
70975         * math/s_cexpl.c: Likewise.
70976         * math/libm-test.inc (cexp_test): Add more tests.
70977         * sysdeps/i386/fpu/libm-test-ulps: Update.
70978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70980 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
70982         * include/link.h (ELFW): New macro.
70983         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
70984         Replace ELF64_R_TYPE with ELFW(R_TYPE).
70986 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
70988         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
70989         with uint64_t.
70991 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
70993         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
70994         declaration.
70995         (struct La_x32_retval): Likewise.
70997 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
70999         * sysdeps/x86_64/preconfigure.in: New file.
71000         * sysdeps/x86_64/preconfigure: New generated file.
71002 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
71004         [BZ #13824]
71005         * math/e_exp2l.c: Include <float.h>.
71006         (__ieee754_exp2l): Handle overflow and underflow cases
71007         separately.  Only pass fractional part of argument to
71008         __ieee754_expl.
71009         * math/libm-test.inc (exp2_test): Add more tests.
71011         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
71012         negating x to take absolute value.
71013         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
71014         Likewise.
71015         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
71016         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
71017         Likewise.
71018         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
71019         computing low part if x was negated.
71020         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
71022 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
71024         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
71025         la_x32_gnu_pltexit.
71026         (pltexit): Cast int_retval to ptrdiff_t.
71027         * elf/tst-auditmod3b.c: Likewise.
71028         * elf/tst-auditmod4b.c: Likewise.
71029         * elf/tst-auditmod5b.c: Likewise.
71030         * elf/tst-auditmod6b.c: Likewise.
71031         * elf/tst-auditmod6c.c: Likewise.
71032         * elf/tst-auditmod7b.c: Likewise.
71034         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
71035         and x32_gnu_pltexit.
71037         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
71038         __ELF_NATIVE_CLASS.
71039         (La_x32_regs): New macro.
71040         (La_x32_retval): Likewise.
71041         (la_x32_gnu_pltenter): New function prototype.
71042         (la_x32_gnu_pltexit): Likewise.
71044 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
71046         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
71047         exponent.
71049         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71051         * configure.in (libc_cv_cc_nofma): Check for option to disable
71052         generation of FMA instructions.
71053         * configure: Regenerate.
71054         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
71055         * sysdeps/ieee754/dbl-64/Makefile: New file.
71056         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
71057         Remove brandred-fma4.
71058         (CFLAGS-brandred-fma4.c): Remove.
71059         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
71060         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
71061         define.
71062         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
71063         define.
71065 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
71067         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
71068         LLONG_MAX != LONG_MAX.
71069         (_itoa_word): Use _ITOA_WORD_TYPE on value.
71070         (_fitoa_word): Likewise.
71071         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
71072         LLONG_MAX != LONG_MAX.
71073         * stdio-common/_itowa.h: Include <_itoa.h>.
71074         (_itowa_word): Use _ITOA_WORD_TYPE on value.
71075         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
71076         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
71077         only if not defined.
71078         (_ITOA_WORD_TYPE): Likewise.
71079         (_itoa_word): Use _ITOA_WORD_TYPE on value.
71080         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
71082 2012-03-21  David S. Miller  <davem@davemloft.net>
71084         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71086 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
71088         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
71089         of x86_64 when setting libc_cv_slibdir, libdir and
71090         libc_cv_localedir.
71091         * sysdeps/unix/sysv/linux/configure: Regenerated.
71093 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
71095         * manual/lang.texi (Old Varargs): Remove section.
71096         (How Variadic): Update menu.
71097         (va_start): Do not mention varargs.h.
71099 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
71100             Joseph Myers  <joseph@codesourcery.com>
71102         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
71103         link test.
71104         * configure: Regenerated.
71106 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
71108         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
71109         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
71110         conformtest.pl
71112 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
71114         * NOTES: Remove.
71115         * Makefile (files-for-dist): Remove NOTES.
71116         (NOTES): Remove rule.
71117         * README: Don't refer to NOTES.
71118         * manual/creature.texi: Don't include macros.texi.
71119         * manual/intro.texi (creature.texi): Remove comment referring to
71120         NOTES.
71122         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
71123         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
71124         * configure: Regenerated.
71125         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
71126         LIBC_TRY_CC_OPTION.
71127         (libc_cv_as_i686): Likewise.
71128         (libc_cv_cc_avx): Likewise.
71129         (libc_cv_cc_sse2avx): Likewise.
71130         (libc_cv_cc_fma4): Likewise.
71131         (libc_cv_cc_novzeroupper): Likewise.
71132         * sysdeps/i386/configure: Regenerated.
71134         [BZ #13883]
71135         * sysdeps/i386/fpu/s_cexp.S: Remove.
71136         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
71137         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
71138         * math/libm-test.inc (cexp_test): Add more tests.
71139         * sysdeps/i386/fpu/libm-test-ulps: Update.
71140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71142 2012-03-21  Allan McRae  <allan@archlinux.org>
71144         * timezone/Makefile: Do not install iso3166.tab and zone.tab
71146 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
71148         [BZ #13871]
71149         * math/w_exp2.c: Do not include <float.h>.
71150         (o_threshold, u_threshold): Remove.
71151         (__exp2): Calculate result before checking finiteness and calling
71152         __kernel_standard.
71153         * math/w_exp2f.c: Likewise.
71154         * math/w_exp2l.c: Likewise.
71155         * math/libm-test.inc (exp2_test): Require overflow exception for
71156         1e6 input.
71158         [BZ #3866]
71159         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
71160         range of signed 64-bit integers before using fistpll.  Remove
71161         checks for whether integers fit in mantissa bits.
71162         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
71163         the range of signed 32-bit integers before using fistpl.  Remove
71164         checks for whether integers fit in mantissa bits.
71165         * sysdeps/i386/fpu/e_powl.S (p64): New object.
71166         (__ieee754_powl): Test for y outside the range of signed 64-bit
71167         integers before using fistpll.  Reduce 64-bit values to 63-bit
71168         ones as needed.
71169         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
71170         divide-by-zero is raised for zero to large negative powers.
71171         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
71172         (__ieee754_powl): Test for y outside the range of signed 64-bit
71173         integers before using fistpll.  Reduce 64-bit values to 63-bit
71174         ones as needed.
71175         * math/libm-test.inc (pow_test): Add more tests.
71177 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
71179         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
71180         <stdio-common/_itoa.h>.
71181         * debug/segfault.c: Likewise.
71182         * elf/dl-cache.c: Likewise.
71183         * elf/dl-minimal.c: Likewise.
71184         * elf/dl-misc.c: Likewise.
71185         * elf/dl-sysdep.c: Likewise.
71186         * elf/dl-version.c: Likewise.
71187         * elf/rtld.c: Likewise.
71188         * hurd/hurdsock.c: Likewise.
71189         * hurd/lookup-retry.c: Likewise.
71190         * malloc/malloc.c: Likewise.
71191         * malloc/mtrace.c: Likewise.
71192         * nscd/nscd_getgr_r.c: Likewise.
71193         * nscd/nscd_getpw_r.c: Likewise.
71194         * nscd/nscd_getserv_r.c: Likewise.
71195         * posix/getopt_init.c: Likewise.
71196         * posix/wordexp.c: Likewise.
71197         * stdio-common/_itoa.c: Likewise.
71198         * stdio-common/printf_fphex.c: Likewise.
71199         * stdio-common/vfprintf.c: Likewise.
71200         * string/_strerror.c: Likewise.
71201         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
71202         * sysdeps/i386/i686/hp-timing.h: Likewise.
71203         * sysdeps/mach/_strerror.c: Likewise.
71204         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
71205         * sysdeps/mach/hurd/sethostid.c: Likewise.
71206         * sysdeps/mach/hurd/xmknodat.c: Likewise.
71207         * sysdeps/mach/xpg-strerror.c: Likewise.
71208         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
71209         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
71210         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
71211         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
71212         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
71213         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
71214         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
71215         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
71216         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
71217         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
71218         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
71219         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
71220         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
71221         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
71222         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
71223         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
71224         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
71225         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
71226         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
71227         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
71228         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
71230         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
71232         * stdio-common/_itoa.h: Moved to ...
71233         * sysdeps/generic/_itoa.h: Here.
71235         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
71237         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
71238         instead of "_itoa.h" and "_itowa.h".
71239         * stdio-common/vfprintf.: Likewise.
71241 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
71243         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
71244         <bits/wordsize.h>.
71245         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
71246         (__signbit): Likwise.
71247         (llrintf): Likwise.
71248         (llrint): Likwise.
71250 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
71252         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
71253         __WORDSIZE != 64.
71255 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
71257         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
71258         OVERFLOW_EXCEPTION_OK.
71259         * math/libm-test.inc ("Philosophy"): Update comment about
71260         exception testing.
71261         (OVERFLOW_EXCEPTION): Define.
71262         (OVERFLOW_EXCEPTION_OK): Likewise.
71263         (INVALID_EXCEPTION_OK): Renumber.
71264         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
71265         (IGNORE_ZERO_INF_SIGN): Likewise.
71266         (test_exceptions): Handle FE_OVERFLOW.
71267         (exp10_test): Expect overflow exceptions.
71268         (exp2_test): Likewise.
71269         (expm1_test): Likewise.
71270         (nextafter_test): Likewise.
71271         (pow_test): Likewise.
71272         (scalbn_test): Likewise.
71273         (scalbln_test): Likewise.
71275 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
71277         * sysdeps/x86_64/bits/atomic.h
71278         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
71279         64bit integer.
71280         (atomic_exchange_acq): Likewise.
71281         (__arch_exchange_and_add_body): Likewise.
71282         (__arch_add_body): Likewise.
71283         (atomic_add_negative): Likewise.
71284         (atomic_add_zero): Likewise.
71286 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
71288         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
71289         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
71291 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
71293         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
71294         Check __x86_64__ instead of __WORDSIZE.
71296 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
71298         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
71300 2012-03-19  David S. Miller  <davem@davemloft.net>
71302         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71304         * sysdeps/sparc/fpu/fenv_private.h: New file.
71305         * sysdeps/sparc/fpu/math_private.h: Use it.
71306         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
71307         Remove.
71308         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
71309         (libc_feholdexcept_setroundl): Remove.
71310         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
71311         Remove.
71312         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
71313         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
71315 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
71317         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
71318         int64_t instead of long int.
71319         (INSERT_WORDS64): Likwise.
71321 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
71323         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
71324         _Unwind_GetCFA return to _Unwind_Ptr first.
71326 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
71328         [BZ #13629]
71329         * math/s_clog.c: Include <float.h>.
71330         (__clog): Scale large or subnormal inputs.
71331         * math/s_clogf.c: Likewise.
71332         * math/s_clogl.c: Likewise.
71333         * math/s_clog10.c: Include <float.h>.
71334         (M_LOG10_2): Define.
71335         (__clog10): Scale large or subnormal inputs.
71336         * math/s_clog10f.c: Likewise.
71337         * math/s_clog10l.c: Likewise.
71338         * math/libm-test.inc (clog_test): Add more tests.
71339         (clog10_test): Likewise.
71340         * sysdeps/i386/fpu/libm-test-ulps: Update.
71341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71343         [BZ #11451]
71344         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
71345         x and y.
71346         * math/libm-test.inc (atan2_test): Add another test.
71348         * Makerules (common-objdir-compile): Remove.
71349         * sysdeps/unix/Makefile (config-generated): Do not add
71350         $(unix-generated) to variable.
71351         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
71352         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
71353         Remove rule.
71354         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
71355         Likewise.
71356         [generic bits/local_lim.h] (before-compile): Do not append to
71357         variable.
71358         [generic bits/local_lim.h] (common-generated): Likewise.
71359         [generic sys/param.h] (before-compile): Do not append to variable.
71360         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
71361         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
71362         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
71363         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
71364         include.
71365         [generic sys/param.h] (sys/param.h-includes): Remove variable.
71366         [generic sys/param.h] (sys/param.h-includes): Remove rule.
71367         [generic sys/param.h] ($(addprefix
71368         $(common-objpfx),$(sys/param.h-includes))): Likewise.
71369         [generic sys/param.h] (common-generated): Do not append to
71370         variable.
71371         [generic sys/param.h] (sysdep_headers): Likewise.
71372         [generic bits/errno.h] (before-compile): Do not append to
71373         variable.
71374         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
71375         rule.
71376         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
71377         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
71378         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
71379         [generic bits/errno.h] (common-generated): Do not append to
71380         variable.
71381         [generic bits/ioctls.h] (before-compile): Do not append to
71382         variable.
71383         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
71384         rule.
71385         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
71386         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
71387         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
71388         rule.
71389         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
71390         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
71391         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
71392         [generic bits/ioctls.h] (common-generated): Do not append to
71393         variable.
71394         [generic sys/syscall.h] (syscall.h): Remove variable.
71395         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
71396         rule.
71397         [generic sys/syscall.h] (before-compile): Do not append to
71398         variable.
71399         [generic sys/syscall.h] (common-generated): Likewise.
71400         * sysdeps/unix/errnos-tmpl.c: Remove file.
71401         * sysdeps/unix/errnos.awk: Likewise.
71402         * sysdeps/unix/ioctls-tmpl.c: Likewise.
71403         * sysdeps/unix/ioctls.awk: Likewise.
71404         * sysdeps/unix/mk-local_lim.c: Likewise.
71405         * sysdeps/unix/snarf-ioctls: Likewise.
71407 2012-03-19  Richard Henderson  <rth@twiddle.net>
71409         * sysdeps/i386/fpu/fenv_private.h: New file.
71410         * sysdeps/i386/fpu/math_private.h: Use it.
71411         (math_opt_barrier, math_force_eval): Remove.
71412         (libc_feholdexcept_setround_53bit): Remove.
71413         (libc_feupdateenv_53bit): Remove.
71414         * sysdeps/x86_64/fpu/math_private.h: Likewise.
71415         (math_opt_barrier, math_force_eval): Remove.
71416         (libc_feholdexcept): Remove.
71417         (libc_feholdexcept_setround): Remove.
71418         (libc_fetestexcept, libc_fesetenv): Remove.
71419         (libc_feupdateenv_test): Remove.
71420         (libc_feupdateenv, libc_feholdsetround): Remove.
71421         (libc_feresetround): Remove.
71423         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
71424         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
71426         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
71427         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
71428         (libc_feupdateenv_testl): New.
71429         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
71430         (libc_feupdateenv_testf): New.
71431         (libc_feupdateenv): Use libc_feupdateenv_test.
71432         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
71433         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
71435         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
71436         (libc_feholdsetroundf, libc_feholdsetroundl): New.
71437         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
71438         (libc_feresetround_noex): New.
71439         (libc_feresetround_noexf): New.
71440         (libc_feresetround_noexl): New.
71441         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
71442         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
71443         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
71444         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
71445         SET_RESTORE_ROUND.
71446         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
71447         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
71448         (__cos): Likewise.
71449         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
71450         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
71451         SET_RESTORE_ROUND_NOEX.
71452         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
71453         SET_RESTORE_ROUND_NOEXF.
71454         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
71455         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
71456         (libc_feholdsetroundf): New.
71457         (libc_feresetround, libc_feresetroundf): New.
71459         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
71460         (libc_feholdexcept_setround_53bit): Convert from macro to function.
71461         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
71463         * sysdeps/generic/math_private.h: Include <fenv.h>.
71464         (default_libc_feholdexcept): New.
71465         (default_libc_feholdexcept_setround): New.
71466         (default_libc_fesetenv, default_libc_feupdateenv): New.
71467         (libc_feholdexcept): Only define if undefined.
71468         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
71469         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
71470         (libc_feholdexcept_setroundl): Likewise.
71471         (libc_feholdexcept_setround_53bit): Likewise.
71472         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
71473         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
71474         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
71475         (libc_feupdateenv_53bit): Likewise.
71476         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
71477         (libc_feholdexcept): Convert from macro to inline function.
71478         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
71479         (libc_fesetenv, libc_feupdateenv): Likewise.
71481         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
71482         not previously defined.
71483         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
71484         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
71485         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
71486         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
71487         * sysdeps/ieee754/flt-32/math_private.h: New file.
71488         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
71489         math_private.h below SET_FLOAT_WORD.
71490         (__isnan, __isinf_ns, __finite): Remove.
71491         (__isnanf, __isinf_nsf, __finitef): Remove.
71493 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
71495         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71497 2012-03-17  David S. Miller  <davem@davemloft.net>
71499         [BZ #6471]
71500         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
71501         for 2.16.
71503 2012-03-16  David S. Miller  <davem@davemloft.net>
71505         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
71506         warnings.
71508         [BZ #6471]
71509         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
71510         properly.
71511         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
71512         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
71513         sysdep_routines when subdir is sysvipc.
71514         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
71515         __getshmlba helper.
71517         * sysdeps/sparc/fpu/libm-test/ulps: Update.
71519 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
71521         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
71522         [__LP64__].
71524 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
71526         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
71527         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
71528         (__lround): Renamed to ...
71529         (__llround): This.  Replace long int with long long int.
71530         Define lround functions as aliases of llround functions.
71531         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
71533 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
71535         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
71536         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
71537         adresses to uintptr_t.  Replace "long int" and "unsigned long
71538         int" with "greg_t" on va_arg.
71540 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
71542         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
71543         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
71545         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
71546         Move e_machine check before EI_CLASS check.  Handle x32
71547         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
71548         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
71549         SKIP_EM_IA_64 and include
71550         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
71552         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
71553         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
71554         (add_system_dir): New macro.
71556         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
71557         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
71559 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
71561         [BZ #2551]
71562         [BZ #2552]
71563         [BZ #2553]
71564         [BZ #2554]
71565         [BZ #2562]
71566         [BZ #2563]
71567         [BZ #2565]
71568         [BZ #2566]
71569         [BZ #2576]
71570         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
71571         (y0): Likewise.
71572         * math/w_j0f.c (j0f): Likewise.
71573         (y0f): Likewise.
71574         * math/w_j0l.c (__j0l): Likewise.
71575         (__y0l): Likewise.
71576         * math/w_j1.c (j1): Likewise.
71577         (y1): Likewise.
71578         * math/w_j1f.c (j1f): Likewise.
71579         (y1f): Likewise.
71580         * math/w_j1l.c (__j1l): Likewise.
71581         (__y1l): Likewise.
71582         * math/w_jn.c (jn): Likewise.
71583         (yn): Likewise.
71584         * math/w_jnf.c (jnf): Likewise.
71585         (ynf): Likewise.
71586         * math/w_jnl.c (__jnl): Likewise.
71587         (__ynl): Likewise.
71588         * math/libm-test.inc (j0_test): Add more tests.
71589         (j1_test): Likewise.
71590         (jn_test): Likewise.  Add trailing semicolon to existing test.
71591         (y0_test): Likewise.
71592         (y1_test): Likewise.
71593         * sysdeps/i386/fpu/libm-test-ulps: Update.
71594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71596         [BZ #13851]
71597         [BZ #13854]
71598         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
71599         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
71600         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
71601         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
71602         (__tanl): Set errno for infinite argument.
71603         * sysdeps/i386/fpu/mptan.c: Remove.
71604         * sysdeps/i386/fpu/s_tan.S: Likewise.
71605         * sysdeps/i386/fpu/s_tanl.S: Likewise.
71606         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
71607         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
71608         * math/libm-test.inc (tan_test): Add more tests and enable more
71609         tests for double and long double.
71610         * sysdeps/i386/fpu/libm-test-ulps: Update.
71611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71613 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
71615         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
71616         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
71618 2012-03-16  Roland McGrath  <roland@hack.frob.com>
71620         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
71621         * configure.in: Use it for both main tree and add-ons.
71622         * configure: Regenerated.
71624 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
71626         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
71628 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
71630         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
71631         in comment.
71633         [BZ #13851]
71634         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
71635         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
71636         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
71637         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
71638         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
71639         infinite argument.
71640         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
71641         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
71642         != 0 for prec == 2.
71643         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
71644         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
71645         * sysdeps/i386/fpu/s_cosl.S: Likewise.
71646         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
71647         * sysdeps/i386/fpu/s_sinl.S: Likewise.
71648         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
71649         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
71650         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
71651         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
71652         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
71653         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
71654         * math/libm-test.inc (cos_test): Add more tests and enable more
71655         tests for long double.
71656         (sin_test): Likewise.
71657         (sincos_test): Likewise.
71658         * sysdeps/i386/fpu/libm-test-ulps: Update.
71659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71661 2012-03-16  David S. Miller  <davem@davemloft.net>
71663         * sysdeps/sparc/fpu/math_private.h: New file.
71665 2012-03-15  David S. Miller  <davem@davemloft.net>
71667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
71668         file.
71669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
71670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
71671         file.
71672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
71673         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
71674         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
71675         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
71676         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
71677         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
71678         sysdep routines.
71679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
71681         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
71682         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
71684         * sysdeps/sparc/sparc-ifunc.h: New file.
71685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
71686         sparc-ifunc.h
71687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
71688         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
71689         Likewise.
71690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
71691         Likewise.
71692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
71693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
71694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
71695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
71696         Likewise.
71697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
71698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
71699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
71700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
71701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
71702         Likewise.
71703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
71704         Likewise.
71705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
71706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
71707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
71708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
71709         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
71710         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
71711         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
71712         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
71713         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
71714         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
71715         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
71716         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
71717         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
71718         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
71719         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
71720         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
71721         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
71722         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
71723         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
71724         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
71725         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
71726         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
71727         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
71728         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
71730 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
71732         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
71733         scaling.
71734         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71736 2012-03-15  Andreas Jaeger  <aj@suse.de>
71738         [BZ #13852]
71739         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
71740         ieee754/flt-32 implementation for sin, cos and sincos.
71741         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
71742         * sysdeps/i386/fpu/s_cosf.S: Likewise.
71743         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
71744         * sysdeps/i386/fpu/s_sinf.S: Likewise.
71745         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
71746         ieee754/flt-32 implementation for tan.
71748         * math/libm-test.inc (cos_test): Enable some large input tests for
71749         float as well
71750         (sin_test): Likewise.
71751         (sincos_test): Likewise.
71752         (tan_test): Add tests for large input.
71754         * sysdeps/i386/fpu/libm-test-ulps: Update.
71756 2012-03-15  Andreas Jaeger  <aj@suse.de>
71758         [BZ #13658]
71759         * math/libm-test.inc (cos_test): Add more test cases.
71760         (sin_test): Likewise.
71761         (sincos_test): Likewise.
71763 2012-03-15  Andreas Jaeger  <aj@suse.de>
71765         [BZ #13837]
71766         * math/libm-test.inc (cos_test): Add a test case for large input
71767         value.
71768         (sin_test): Likewise.
71769         (sincos_test): Likewise.
71771 2012-03-15  Andreas Jaeger  <aj@suse.de>
71772             Joseph Myers  <joseph@codesourcery.com>
71774         [BZ #13658]
71775         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
71776         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
71777         * sysdeps/i386/fpu/branred.c: Likewise.
71778         * sysdeps/i386/fpu/dosincos.c: Likewise.
71779         * sysdeps/i386/fpu/mpa.c: Likewise.
71780         * sysdeps/i386/fpu/s_cos.S: Likewise.
71781         * sysdeps/i386/fpu/s_sin.S: Likewise.
71782         * sysdeps/i386/fpu/s_sincos.S: Likewise.
71783         * sysdeps/i386/fpu/sincos32.c: Likewise.
71785         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
71786         Define.
71787         (libc_feupdateenv_53bit): Define.
71788         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
71789         Define.
71790         (libc_feupdateenv_53bit): Define.
71792         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
71793         53 bit (without extend i386 double precision).
71795         * math/libm-test.inc (sincos_test): Add tests for large input.
71796         (sin): Likewise.
71797         (cos): Likewise.
71799         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
71801 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
71803         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71805 2012-03-15  David S. Miller  <davem@davemloft.net>
71807         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
71808         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
71809         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
71810         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
71811         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
71812         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
71813         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
71814         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
71815         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
71816         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
71817         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
71818         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
71819         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
71820         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
71821         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
71822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
71823         file.
71824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
71825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
71826         file.
71827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
71828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
71829         file.
71830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
71831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
71832         file.
71833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
71834         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
71835         fmin/fmax sysdep routines.
71836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
71838 2012-03-14  David S. Miller  <davem@davemloft.net>
71840         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
71841         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
71842         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
71843         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
71844         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
71845         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
71846         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
71847         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
71848         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
71849         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
71850         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
71851         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
71852         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
71853         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
71854         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
71855         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
71856         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
71857         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
71858         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
71859         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
71860         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
71861         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
71862         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
71863         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
71864         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
71865         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
71866         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
71867         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
71868         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
71869         routines.
71870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
71871         file.
71872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
71873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
71874         file.
71875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
71876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
71877         file.
71878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
71879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
71880         file.
71881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
71882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
71883         file.
71884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
71885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
71886         file.
71887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
71888         file.
71889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
71890         file.
71891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
71892         file.
71893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
71894         New file.
71895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
71896         file.
71897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
71898         file.
71899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
71900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
71901         file.
71902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
71903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
71904         file.
71905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
71906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
71907         file.
71908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
71909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
71910         VIS3 routines.
71912         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
71913         New file.
71915         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71917         * sysdeps/sparc/configure.in: New file.
71918         * sysdeps/sparc/configure: Generate.
71919         * configure.in (libc_cv_sparc_as_vis3): Substitute.
71920         * configure: Regenerate.
71921         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
71922         * config.make.in (have-as-vis3): New.
71923         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
71924         available use -Av9d instead of -Av9a.
71925         * sysdeps/sparc/sparc64/Makefile: Likewise.
71926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
71927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
71928         New file.
71929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
71930         file.
71931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
71932         New file.
71933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
71934         file.
71935         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
71936         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
71937         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
71938         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
71939         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
71941         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
71942         fzeros/fnegs to load 0x80000000 into a float register instead of
71943         using the stack.
71944         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
71946 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
71948         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71949         bits/syscall.h.
71950         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
71951         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
71952         ($(inst_includedir)/bits/syscall.h): Remove rule.
71953         ($(objpfx)bits/syscall.d): Include instead of
71954         $(objpfx)syscall-list.d.
71955         (generated): Change syscall-list.h and syscall-list.d to
71956         bits/syscall.h and bits/syscall.d.
71958 2012-03-14  Roland McGrath  <roland@hack.frob.com>
71960         [BZ #13846]
71961         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
71963 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
71965         [BZ #13841]
71966         * math/s_csqrt.c: Include <float.h>.
71967         (__csqrt): Scale large or subnormal inputs.
71968         * math/s_csqrtf.c: Likewise.
71969         * math/s_csqrtl.c: Likewise.
71970         * math/libm-test.inc (csqrt_test): Add more tests.
71971         * sysdeps/i386/fpu/libm-test-ulps: Update.
71972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71974         [BZ #13840]
71975         * math/libm-test.inc (hypot_test): Add more tests.
71977 2012-03-13  David S. Miller  <davem@davemloft.net>
71979         [BZ #13840]
71980         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
71981         double-precision for the calculation instead of scaling.
71983 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
71985         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
71986         manipulate bits before adding and subtracting TWO52[sx].
71987         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
71988         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
71989         Likewise.
71990         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
71992 2012-03-13  David S. Miller  <davem@davemloft.net>
71994         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
71995         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
71996         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
71997         rtld-global-offsets.h
71998         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
72000         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
72001         large parameters.
72003         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
72005         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
72006         'err' in the ifdef scope in which it is actually used.
72008         * nss/nss_db/db-init.c: Include string.h
72010 2012-03-12  David S. Miller  <davem@davemloft.net>
72012         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
72013         masking out of the most significant byte of random value used.
72014         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
72015         Fix coding style in previous change.
72017         * sysdeps/unix/sysv/linux/kernel-features.h
72018         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
72019         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
72020         expression.
72021         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
72022         later.
72024 2012-03-11  David S. Miller  <davem@davemloft.net>
72026         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
72027         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
72028         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
72029         for 'resultvar' otherwise things get truncated on 64-bit.
72031         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
72032         Fix masking out of the most significant byte of random value used.
72034         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72036 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
72038         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72040 2012-03-09  David S. Miller  <davem@davemloft.net>
72042         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
72043         variables with appropriate CPP guards.
72044         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
72045         from the frame pointer, not the stack pointer.  Correct layout
72046         comments.  Fix test on resulting framesize and the management of
72047         the outregs buffer for pltexit.  Preserve floating point return
72048         values across _dl_call_pltexit call.
72049         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
72050         framesize and the management of the outregs buffer for pltexit.
72051         Preserve floating point return values across _dl_call_pltexit
72052         call.
72053         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
72054         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
72055         (la_sparc64_gnu_pltexit): New functions.
72056         (print_exit): Fix format string for return register value.
72058 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
72060         * sunrpc/Makefile (others): Add rpcgen.
72061         ($(objpfx)rpcgen): Remove special build rule and dependency on
72062         libc.
72063         * sunrpc/rpcgen.c: New file.
72065 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
72067         [BZ #13673]
72068         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
72069         * stdio-common/bug-vfprintf-nargs.c: Likewise.
72070         * sysdeps/i386/crti.S: Likewise.
72071         * sysdeps/i386/crtn.S: Likewise.
72072         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
72073         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
72074         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
72075         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
72076         * sysdeps/sh/crti.S: Likewise.
72077         * sysdeps/sh/crtn.S: Likewise.
72078         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
72080         [BZ #13673]
72081         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
72082         with URL.
72083         * locale/programs/locfile-kw.gperf: Likewise.
72084         * locale/programs/charmap-kw.h: Regenerated.
72085         * locale/programs/locfile-kw.h: Likewise.
72087         [BZ #13673]
72088         * intl/plural.y: Replace FSF snail mail address with URL.
72089         * intl/plural.c: Regenerated.
72091 2012-03-09  Richard Henderson  <rth@twiddle.net>
72093         * include/math_private.h: Remove file.
72094         * math/math_private.h: Move file ...
72095         * sysdeps/generic/math_private.h: ... here.
72097         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
72098         * sysdeps/powerpc/fpu/math_private.h: Likewise.
72099         * sysdeps/x86_64/fpu/math_private.h: Likewise.
72101         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
72102         and <math_private.h>.
72103         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
72104         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
72105         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
72106         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
72107         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
72108         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
72109         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
72110         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72111         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
72112         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
72113         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72114         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
72115         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
72116         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72117         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
72118         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
72119         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
72120         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
72121         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
72122         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
72123         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72124         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
72125         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
72126         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72127         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
72128         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
72129         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
72130         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
72131         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72132         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
72133         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
72134         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72135         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
72136         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
72137         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
72138         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
72139         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
72140         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
72141         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
72142         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
72143         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
72144         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
72145         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
72146         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
72147         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
72148         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
72149         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
72150         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
72151         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
72152         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
72153         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
72154         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
72155         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
72156         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
72157         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
72158         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
72159         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
72160         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
72161         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
72162         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
72163         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
72164         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
72165         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72166         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
72167         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
72168         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
72169         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
72170         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
72171         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
72172         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
72173         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
72174         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
72175         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
72176         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
72177         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
72178         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
72179         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
72180         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
72181         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
72182         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
72183         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
72184         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
72185         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
72186         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
72187         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
72188         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
72189         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
72190         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
72191         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
72192         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
72193         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
72194         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
72195         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72196         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
72197         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
72198         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
72199         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
72200         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
72201         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
72202         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
72203         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
72204         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
72205         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
72206         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
72207         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
72208         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
72209         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
72210         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
72211         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
72212         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
72213         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
72214         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
72215         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
72216         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
72217         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
72218         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
72219         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
72220         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
72221         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
72222         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
72223         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
72224         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
72225         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
72226         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
72227         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
72228         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
72229         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
72230         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
72231         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
72232         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
72233         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
72234         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
72235         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
72236         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
72237         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
72238         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
72239         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
72240         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
72241         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
72242         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
72243         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
72244         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
72245         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
72246         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
72247         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
72248         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
72249         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
72250         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
72251         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
72252         * sysdeps/ieee754/k_standard.c: Likewise.
72253         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
72254         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
72255         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
72256         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
72257         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
72258         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
72259         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
72260         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
72261         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
72262         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
72263         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
72264         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
72265         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
72266         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
72267         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
72268         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
72269         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
72270         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
72271         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
72272         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
72273         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
72274         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
72275         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
72276         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
72277         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
72278         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
72279         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
72280         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
72281         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
72282         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
72283         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
72284         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
72285         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
72286         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
72287         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
72288         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
72289         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
72290         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
72291         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
72292         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
72293         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
72294         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
72295         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
72296         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
72297         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
72298         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
72299         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
72300         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
72301         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
72302         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
72303         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
72304         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
72305         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
72306         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
72307         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
72308         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
72309         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
72310         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
72311         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
72312         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
72313         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
72314         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
72315         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
72316         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
72317         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
72318         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
72319         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
72320         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
72321         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
72322         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
72323         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
72324         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
72325         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
72326         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
72327         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
72328         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
72329         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
72330         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
72331         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
72332         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
72333         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
72334         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
72335         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
72336         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
72337         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
72338         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
72339         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
72340         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
72341         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
72342         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
72343         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
72344         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
72345         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
72346         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
72347         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
72348         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
72349         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
72350         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
72351         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
72352         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
72353         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
72354         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
72355         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
72356         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
72357         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
72358         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
72359         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
72360         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
72361         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
72362         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
72363         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
72364         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
72365         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
72366         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
72367         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
72368         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
72369         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
72370         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
72371         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
72372         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
72373         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
72374         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
72375         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
72376         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
72377         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
72378         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
72379         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
72380         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
72381         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
72382         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
72383         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
72384         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
72385         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
72386         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
72387         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
72388         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
72389         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
72390         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
72391         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
72392         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
72393         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
72394         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
72395         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
72396         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
72397         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
72398         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
72399         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
72400         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
72401         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
72402         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
72403         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
72404         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
72405         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
72406         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
72407         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
72408         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
72409         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
72410         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
72411         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
72412         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
72413         * sysdeps/ieee754/s_lib_version.c: Likewise.
72414         * sysdeps/ieee754/s_matherr.c: Likewise.
72415         * sysdeps/ieee754/s_signgam.c: Likewise.
72416         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
72417         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
72418         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
72419         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
72420         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
72421         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
72422         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
72423         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
72424         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
72425         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
72426         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
72427         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
72428         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
72429         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
72430         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
72431         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
72432         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
72433         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
72434         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
72435         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
72436         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
72438 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
72440         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
72441         * sunrpc/rpc_main.c: Likewise.
72442         * sunrpc/rpc_svcout.c: Likewise.
72444 2012-03-09  David S. Miller  <davem@davemloft.net>
72446         * include/math_private.h: New file.
72448 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
72450         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
72451         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
72452         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
72453         from <bits/socket_type.h>.
72454         (enum __socket_type): Don't define here.
72455         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
72456         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72457         bits/socket_type.h.
72459         [BZ #13566]
72460         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
72461         checking __USE_GNU.
72463         * Makerules ($(inst_includedir)/%.h): New rule.
72464         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
72465         (install-others): Remove variable setting.
72466         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
72468 2012-03-08  Richard Henderson  <rth@twiddle.net>
72470         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
72471         from macro to inline function; merge with the
72472         !__LIBC_INTERNAL_MATH_INLINES version.
72473         (__ieee754_sqrtf): Likewise.
72475         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
72476         to inline function.
72477         (__rintf, __floor, __floorf): Likewise.
72479         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
72480         macro to inline function.
72481         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
72483         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
72484         not <math/math_private.h>.
72486 2012-03-08  David S. Miller  <davem@davemloft.net>
72488         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
72489         copyright year.
72490         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
72492 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
72494         * resolv/gai_misc.c (handle_requests): Fix struct timespec
72495         normalization.
72496         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
72497         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
72499 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
72501         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
72502         be defined individually, they must be defined as a block.  Define
72503         S for printing a string instead of hidint the different by using a
72504         macro for adding the 'l'.
72505         * stdio-common/tst-fphex-wide.c: Adjust.
72507 2012-03-07  Marek Polacek  <polacek@redhat.com>
72509         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
72511 2012-03-08  Marek Polacek  <polacek@redhat.com>
72513         [BZ #13806]
72514         * stdio-common/Makefile (tests): Add tst-fphex-wide.
72515         * stdio-common/tst-fphex.c: Define a few macros to make the
72516         test reusable.  Use them.
72517         * stdio-common/tst-fphex-wide.c: New file.
72519 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
72521         [BZ #6911]
72522         * manual/macros.texi (gnusystems): New macro.
72523         (nongnusystems): Likewise.
72524         (gnulinuxhurdsystems): Likewise.
72525         (gnuhurdsystems): Likewise..
72526         (gnulinuxsystems): Likewise.
72527         * manual/charset.texi: Use new macros or @theglibc{} to refer to
72528         variants of the GNU system, not "GNU system".
72529         * manual/conf.texi: Likewise.
72530         * manual/errno.texi: Likewise.  Update example of errno macro
72531         expansion.
72532         * manual/filesys.texi: Likewise.
72533         (getumask): Document as specific to GNU/Hurd.
72534         * manual/install.texi: Likewise.  Reword some references to
72535         GNU/Linux.
72536         * manual/intro.texi: Likewise.
72537         * manual/io.texi: Likewise.
72538         (File Name Portability): Detail which constraints are inapplicable
72539         to all GNU systems and which are only inapplicable to GNU/Hurd.
72540         * manual/job.texi: Likewise.
72541         * manual/llio.texi: Likewise.
72542         (O_NOCTTY): Document as present on GNU/Linux.
72543         * manual/maint.texi: Likewise.
72544         * manual/memory.texi: Likewise.
72545         * manual/pattern.texi: Likewise.
72546         * manual/pipe.texi: Likewise.
72547         * manual/process.texi: Likewise.
72548         * manual/resource.texi: Likewise.
72549         (RUSAGE_CHILDREN): Remove statement about specifying a particular
72550         child on GNU/Hurd.
72551         * manual/setjmp.texi: Likewise.
72552         * manual/signal.texi: Likewise.
72553         * manual/startup.texi: Likewise.
72554         * manual/stdio.texi: Likewise.
72555         * manual/terminal.texi: Likewise.
72556         (ONLCR): Document as POSIX.
72557         (OXTABS): Document availability on GNU/Linux as XTABS.
72558         (ONOEOT): Document availability separately from other bits.
72559         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
72560         * manual/time.texi: Likewise.
72561         * manual/users.texi: Likewise.
72562         * INSTALL: Regenerated.
72563         * sysdeps/gnu/errlist.c: Regenerated.
72565         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
72566         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
72567         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
72568         puts.
72569         * configure: Regenerated.
72571 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
72573         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
72574         default includes instead of AC_HEADER_CHECK.
72575         * sysdeps/i386/configure: Regenerated.
72577         [BZ #10716]
72578         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
72579         * math/s_cacoshf.c (__cacoshf): Likewise.
72580         * math/s_cacoshl.c (__cacoshl): Likewise.
72581         * math/s_casinh.c (__casinh): Set signs of result from argument.
72582         * math/s_casinhf.c (__casinhf): Likewise.
72583         * math/s_casinhl.c (__casinhl): Likewise.
72584         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
72585         (casinh_test): Add more tests.
72586         * sysdeps/i386/fpu/libm-test-ulps: Update.
72587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72589 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
72591         * po/zh_TW.po: Update from translation team.
72593         * login/Makefile (distribute): Remove variable.
72594         * catgets/Makefile: Likewise.
72595         * mach/Makefile: Likewise.
72596         * malloc/Makefile: Likewise.
72597         * misc/Makefile: Likewise.
72598         * iconv/Makefile: Likewise.
72599         * nscd/Makefile: Likewise.
72600         * hurd/Makefile: Likewise.
72601         * manual/Makefile: Likewise.
72602         * locale/Makefile: Likewise.
72603         * intl/Makefile: Likewise.
72604         * conform/Makefile: Likewise.
72605         * nss/Makefile: Likewise.
72606         * time/Makefile: Likewise.
72607         * soft-fp/Makefile: Likewise.
72608         * dirent/Makefile: Likewise.
72609         * gmon/Makefile: Likewise.
72610         * po/Makefile: Likewise.
72611         * rt/Makefile: Likewise.
72612         * socket/Makefile: Likewise.
72613         * math/Makefile: Likewise.
72614         * signal/Makefile: Likewise.
72615         * debug/Makefile: Likewise.
72616         * elf/Makefile: Likewise.
72617         * timezone/Makefile: Likewise.
72618         * stdlib/Makefile: Likewise.
72619         * iconvdata/Makefile: Likewise.
72620         * sunrpc/Makefile: Likewise.
72621         * io/Makefile: Likewise.
72622         * argp/Makefile: Likewise.
72623         * inet/Makefile: Likewise.
72624         * hesiod/Makefile: Likewise.
72625         * grp/Makefile: Likewise.
72626         * csu/Makefile: Likewise.
72627         * wctype/Makefile: Likewise.
72628         * crypt/Makefile: Likewise.
72629         * libio/Makefile: Likewise.
72630         * string/Makefile: Likewise.
72631         * nis/Makefile: Likewise.
72632         * resolv/Makefile: Likewise.
72633         * stdio-common/Makefile: Likewise.
72634         * wcsmbs/Makefile: Likewise.
72635         * dlfcn/Makefile: Likewise.
72636         * posix/Makefile: Likewise.
72638         [BZ #6959]
72639         * timezone/Makefile: Don't install timezone files, just the programs
72640         and scripts.
72642 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
72644         * nss/databases.def: Add missing gshadow entry.
72646         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
72648 2012-03-06  Marek Polacek  <polacek@redhat.com>
72650         [BZ #13726]
72651         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
72652         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
72653         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
72654         * stdio-common/tst-long-dbl-fphex.c: New file.
72656 2012-03-06  David S. Miller  <davem@davemloft.net>
72658         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
72659         (set_obp_int): New function.
72660         (get_obp_int): New function.
72661         (__get_clockfreq_via_dev_openprom): Likewise.
72662         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
72663         Avoid unused variable warnings on 'val' and use builtin_expect.
72664         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
72665         __builtin_expect.
72666         (INLINE_CLONE_SYSCALL): Likewise.
72668 2012-03-05  David S. Miller  <davem@davemloft.net>
72670         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72672 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
72674         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72676         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
72677         only for |x| >= 40.
72678         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
72680 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
72682         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
72683         Replace gettimeofday with __vdso_gettimeofday.
72685         * sysdeps/unix/sysv/linux/x86_64/init-first.c
72686         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
72687         __vdso_clock_gettime and __vdso_getcpu.
72689         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
72690         time with __vdso_time.
72692 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
72694         * manual/lang.texi (size_t): Note types to which size_t may be
72695         equivalent with the GNU C Library, but do not describe when
72696         differences between them are significant.
72698 2012-03-05  Andreas Jaeger  <aj@suse.de>
72700         * sysdeps/i386/fpu/libm-test-ulps: Update.
72702 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
72704         [BZ #3976]
72705         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
72706         (__ieee754_pow): Save and restore rounding mode and use
72707         round-to-nearest for main computations.
72708         * math/libm-test.inc (pow_test_tonearest): New function.
72709         (pow_test_towardzero): Likewise.
72710         (pow_test_downward): Likewise.
72711         (pow_test_upward): Likewise.
72712         (main): Call the new functions.
72713         * sysdeps/i386/fpu/libm-test-ulps: Update.
72714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72716         [BZ #3976]
72717         * math/libm-test.inc (cosh_test_tonearest): New function.
72718         (cosh_test_towardzero): Likewise.
72719         (cosh_test_downward): Likewise.
72720         (cosh_test_upward): Likewise.
72721         (sinh_test_tonearest): Likewise.
72722         (sinh_test_towardzero): Likewise.
72723         (sinh_test_downward): Likewise.
72724         (sinh_test_upward): Likewise.
72725         (main): Call the new functions.
72726         * sysdeps/i386/fpu/libm-test-ulps: Update.
72727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72729 2012-03-05  Tom de Vries  <tom@codesourcery.com>
72731         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
72732         default stack guard is set in last bytes.
72733         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
72735 2012-03-05  Kees Cook  <keescook@chromium.org>
72737         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
72739         [BZ #13656]
72740         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
72741         possibly allocate from heap instead of stack.
72742         * stdio-common/bug-vfprintf-nargs.c: New file.
72743         * stdio-common/Makefile (tests): Add nargs overflow test.
72745 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
72747         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72749 2012-03-03  Marek Polacek  <polacek@redhat.com>
72751         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
72752         * math/math_private.h: Likewise.
72753         * stdlib/tst-strtod.c: Likewise.
72754         * sysdeps/i386/i486/bits/atomic.h: Likewise.
72755         * sysdeps/x86_64/bits/atomic.h: Likewise.
72757 2012-03-02  David S. Miller  <davem@davemloft.net>
72759         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
72760         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
72761         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
72762         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
72763         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
72764         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
72765         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
72766         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
72768 2012-03-02  Roland McGrath  <roland@hack.frob.com>
72770         [BZ #13792]
72771         * manual/examples/README: New file, says the example source files
72772         can be used under GPL>=2.
72773         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
72774         line containing just "*/".
72775         * manual/examples/add.c: Add copyright header (GPL>=2).
72776         * manual/examples/argp-ex1.c: Likewise.
72777         * manual/examples/argp-ex2.c: Likewise.
72778         * manual/examples/argp-ex3.c: Likewise.
72779         * manual/examples/argp-ex4.c: Likewise.
72780         * manual/examples/atexit.c: Likewise.
72781         * manual/examples/db.c: Likewise.
72782         * manual/examples/dir.c: Likewise.
72783         * manual/examples/dir2.c: Likewise.
72784         * manual/examples/execinfo.c: Likewise.
72785         * manual/examples/filecli.c: Likewise.
72786         * manual/examples/filesrv.c: Likewise.
72787         * manual/examples/fmtmsgexpl.c: Likewise.
72788         * manual/examples/genpass.c: Likewise.
72789         * manual/examples/inetcli.c: Likewise.
72790         * manual/examples/inetsrv.c: Likewise.
72791         * manual/examples/isockad.c: Likewise.
72792         * manual/examples/longopt.c: Likewise.
72793         * manual/examples/memopen.c: Likewise.
72794         * manual/examples/memstrm.c: Likewise.
72795         * manual/examples/mkfsock.c: Likewise.
72796         * manual/examples/mkisock.c: Likewise.
72797         * manual/examples/mygetpass.c: Likewise.
72798         * manual/examples/pipe.c: Likewise.
72799         * manual/examples/popen.c: Likewise.
72800         * manual/examples/rprintf.c: Likewise.
72801         * manual/examples/search.c: Likewise.
72802         * manual/examples/select.c: Likewise.
72803         * manual/examples/setjmp.c: Likewise.
72804         * manual/examples/sigh1.c: Likewise.
72805         * manual/examples/sigusr.c: Likewise.
72806         * manual/examples/stpcpy.c: Likewise.
72807         * manual/examples/strdupa.c: Likewise.
72808         * manual/examples/strftim.c: Likewise.
72809         * manual/examples/strncat.c: Likewise.
72810         * manual/examples/subopt.c: Likewise.
72811         * manual/examples/swapcontext.c: Likewise.
72812         * manual/examples/termios.c: Likewise.
72813         * manual/examples/testopt.c: Likewise.
72814         * manual/examples/testpass.c: Likewise.
72815         * manual/examples/timeval_subtract.c: Likewise.
72817         [BZ #13792]
72818         * manual/time.texi (Elapsed Time): Move timeval_subtract example
72819         function to ...
72820         * manual/timeval_subtract.c.texi: ... here, new file.
72822 2012-03-02  David S. Miller  <davem@davemloft.net>
72824         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
72826 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
72828         [BZ #3976]
72829         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
72830         (__sin): Save and restore rounding mode and use round-to-nearest
72831         for all computations.
72832         (__cos): Save and restore rounding mode and use round-to-nearest
72833         for all computations.
72834         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
72835         <fenv.h>.
72836         (tan): Save and restore rounding mode and use round-to-nearest for
72837         all computations.
72838         * math/libm-test.inc (cos_test_tonearest): New function.
72839         (cos_test_towardzero): Likewise.
72840         (cos_test_downward): Likewise.
72841         (cos_test_upward): Likewise.
72842         (sin_test_tonearest): Likewise.
72843         (sin_test_towardzero): Likewise.
72844         (sin_test_downward): Likewise.
72845         (sin_test_upward): Likewise.
72846         (tan_test_tonearest): Likewise.
72847         (tan_test_towardzero): Likewise.
72848         (tan_test_downward): Likewise.
72849         (tan_test_upward): Likewise.
72850         (main): Call the new functions.
72851         * sysdeps/i386/fpu/libm-test-ulps: Update.
72852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72854         [BZ #10135]
72855         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
72856         small n, then large n, before computing and testing k+n.
72857         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
72858         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
72859         Likewise.
72860         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
72861         Likewise.
72862         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
72863         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
72864         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
72865         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
72866         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
72867         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
72868         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
72869         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
72870         * math/libm-test.inc (scalbn_test): Add more tests.
72871         (scalbln_test): Likewise.
72873         * manual/filesys.texi (mode_t): Describe constraints on size and
72874         signedness, not exact equivalence to a particular type.
72875         (ino_t): Likewise.
72876         (ino64_t): Likewise.
72877         (dev_t): Likewise.
72878         (nlink_t): Likewise.
72879         (blkcnt_t): Likewise.
72880         (blkcnt64_t): Likewise.
72881         * manual/llio.texi (off_t): Likewise.
72883         [BZ #3976]
72884         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
72885         (__ieee754_exp): Save and restore rounding mode and use
72886         round-to-nearest for all computations.
72887         * math/libm-test.inc (exp_test_tonearest): New function.
72888         (exp_test_towardzero): Likewise.
72889         (exp_test_downward): Likewise.
72890         (exp_test_upward): Likewise.
72891         (main): Call the new functions.
72892         * sysdeps/i386/fpu/libm-test-ulps: Update.
72893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72895 2012-03-01  Chris Demetriou  <cgd@google.com>
72897         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
72898         have predictable order.
72900 2012-03-01  David S. Miller  <davem@davemloft.net>
72902         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
72904         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
72905         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
72906         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
72907         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
72909         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
72910         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
72911         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
72912         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
72913         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
72914         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
72915         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
72916         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
72917         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
72919         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72921         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
72922         * sysdeps/sparc/fpu/libm-test-ulps: to here.
72923         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
72925         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
72926         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
72927         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
72928         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
72929         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
72930         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
72931         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
72932         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
72933         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
72934         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
72935         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
72936         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
72937         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
72938         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
72939         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
72940         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
72941         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
72942         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
72943         * sysdeps/sparc/elf/configure: Regenerated.
72945 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
72947         * configure.in (AS, LD): Require binutils 2.20 or later.
72948         * configure: Regenerated.
72949         * manual/install.texi (Tools for Compilation): Give binutils 2.20
72950         as required minimum version.
72951         * INSTALL: Regenerated.
72953         [BZ #2541]
72954         [BZ #4108]
72955         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
72956         before squaring exponent.
72957         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
72958         bottom long double and 27 bits of top long double before squaring
72959         exponent.
72960         * math/libm-test.inc (erfc_test): Add more tests.
72961         * sysdeps/i386/fpu/libm-test-ulps: Update.
72962         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
72963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72965 2012-03-01  Kai Tietz  <ktietz@redhat.com>
72967         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
72968         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
72969         containing bit-fields.
72970         * soft-fp/extended.h (_FP_UNION_E): Likewise.
72971         * soft-fp/single.h (_FP_UNION_S): Likewise.
72972         * soft-fp/double.h (_FP_UNION_D): Likewise.
72974 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
72976         [BZ #13786]
72977         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
72978         not include ../strcmp.S.
72979         [USE_AS_STRNCASECMP_L]: Likewise.
72980         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
72981         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
72982         * sysdeps/i386/i686/multiarch/strncase_l-c.c
72983         (__strncasecmp_l_ia32): Define as alias to
72984         __strncasecmp_l_nonascii.
72986         [BZ #5794]
72987         * math/libm-test.inc (expm1_test): Add test for bug 5794.
72988         * sysdeps/i386/fpu/libm-test-ulps: Update.
72989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72991         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
72992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72994 2012-02-29  Jeff Law  <law@redhat.com>
72996         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
72997         out of bounds read.
72999 2012-02-29  Marek Polacek  <polacek@redhat.com>
73001         [BZ #13706]
73002         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
73003         * elf/Makefile: Add rules to run tst-unused-dep.out.
73005 2012-02-28  David S. Miller  <davem@davemloft.net>
73007         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
73008         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
73009         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
73010         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
73011         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
73012         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
73014 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
73016         * math/libm-test.inc (llround_test): Move one test from
73017         lround_test.  Use TEST_f_L in moved test.
73018         (lround_test): Move misplaced test to llround_test.  Add testcase
73019         from bug 2561.
73021 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
73023         * sysdeps/x86_64/fpu/e_expf.S: New file.
73024         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
73026 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
73028         [BZ #13637]
73029         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
73030         of remain_len that may cause incomplete multi-byte character and
73031         false match.
73032         * posix/bug-regex33.c: New file.
73033         * posix/Makefile (tests): Add bug-regex33.
73035 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
73037         * manual/macros.texi: New file.
73038         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
73039         * manual/libc.texinfo: Include macros.texi.
73040         * manual/creatute.texi: Likewise.
73041         * manual/install.texi: Likewise.
73042         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
73043         @glibcadj{} in references to the GNU C Library.
73044         * manual/charset.texi: Likewise.
73045         * manual/conf.texi: Likewise.
73046         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
73047         when not using those macros.
73048         * manual/creature.texi: Likewise.
73049         * manual/crypt.texi: Likewise.
73050         * manual/errno.texi: Likewise.
73051         * manual/filesys.texi: Likewise.
73052         * manual/header.texi: Likewise.
73053         * manual/install.texi: Likewise.
73054         * manual/intro.texi: Likewise.
73055         * manual/io.texi: Likewise.
73056         * manual/job.texi: Likewise.
73057         * manual/lang.texi: Likewise.
73058         * manual/libc.texiinfo: Likewise.
73059         * manual/llio.texi: Likewise.
73060         * manual/locale.texi: Likewise.
73061         * manual/maint.texi: Likewise.
73062         * manual/math.texi: Likewise.
73063         * manual/memory.texi: Likewise.
73064         * manual/message.texi: Likewise.
73065         * manual/nss.texi: Likewise.
73066         * manual/pattern.texi: Likewise.
73067         * manual/process.texi: Likewise.
73068         * manual/resource.texi: Likewise.
73069         * manual/search.texi: Likewise.
73070         * manual/setjmp.texi: Likewise.
73071         * manual/signal.texi: Likewise.
73072         * manual/socket.texi: Likewise.
73073         * manual/startup.texi: Likewise.
73074         * manual/stdio.texi: Likewise.
73075         * manual/string.texi: Likewise.
73076         * manual/sysinfo.texi: Likewise.
73077         * manual/syslog.texi: Likewise.
73078         * manual/terminal.texi: Likewise.
73079         * manual/time.texi: Likewise.
73080         * manual/users.texi: Likewise.
73081         * INSTALL: Regenerated.
73082         * NOTES: Regenerated.
73083         * sysdeps/gnu/errlist.c: Regenerated.
73085 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
73087         * include/dirent.h: Include <dirstream.h> before
73088         <dirent/dirent.h>.
73090 2012-02-28  David S. Miller  <davem@davemloft.net>
73092         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
73093         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
73094         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
73095         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
73097 2012-02-27  David S. Miller  <davem@davemloft.net>
73099         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
73100         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
73101         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
73102         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
73104         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
73105         frame pointer instead of stack pointer relative arg slot.
73106         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
73107         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
73108         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
73110 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
73112         [BZ #3992]
73113         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
73115 2012-02-27  David S. Miller  <davem@davemloft.net>
73117         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
73118         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
73119         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
73120         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
73121         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
73122         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
73123         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
73124         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
73126 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
73128         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
73129         later.  Allow versions 5-9.
73130         * configure: Regenerated.
73131         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
73132         required minimum version and 4.6 as recommended version.  Do not
73133         mention bugs in GCC 2.7 and 2.8.
73134         * INSTALL: Regenerated.
73136 2012-02-27  David S. Miller  <davem@davemloft.net>
73138         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
73139         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
73140         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
73141         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
73142         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
73143         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
73144         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
73145         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
73147         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
73148         manipulate bits before adding and subtracting TWO112[sx].
73149         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
73151 2012-02-27  Roland McGrath  <roland@hack.frob.com>
73153         [BZ #13775]
73154         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
73155         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
73156         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
73157         being in POSIX, because they are in 1003.1-2008.
73159         * rt/tst-aio.c: Include <fcntl.h>.
73160         * rt/tst-aio7.c: Likewise.
73161         * rt/tst-aio64.c: Likewise.
73163         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
73165 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
73167         * manual/install.texi (--with-headers): Describe headers as
73168         interface headers, not private headers.
73169         (Specific advice for GNU/Linux systems): Describe use of headers
73170         from "make headers_install", not private headers from older
73171         kernels.
73172         * INSTALL: Regenerated.
73173         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
73174         Change to 2.6.19.
73175         * sysdeps/unix/sysv/linux/configure: Regenerated.
73177         * manual/llio.texi (fclean): Remove documentation.
73179         * manual/Makefile (libc-texi-generated): New variable.  Include
73180         version.texi.
73181         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
73182         $(libc-texi-generated), not duplicated list of files.
73183         (version.texi, stamp-version): New rules.
73184         (realclean): Remove $(libc-texi-generated), not individual files
73185         from that list.  Do not remove dir-add.texinfo.
73186         * manual/libc.texinfo: Comment out uses of edition numbers and
73187         references to printed manual.  Remove last-updated dates.
73188         (EDITION): Comment out.
73189         (ISBN): Likewise.
73190         (VERSION, UPDATED): Remove.
73191         (version.texi): Include.
73193 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
73195         * sysdeps/posix/spawni.c: Include <signal.h>.
73196         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
73197         * sysdeps/pthread/aio_fsync.c: Likewise.
73199 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
73201         * conform/Makefile (tests): Run only when not cross-compiling and
73202         when fast-check is not defined.
73204         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
73205         * conform/data/limits.h-data: Fixes for POSIX2008.
73206         * conform/run-conformtest.sh: Run all tests.
73207         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
73208         headers.
73209         * include/bits/dlfcn.h: Likewise.
73210         * include/langinfo.h: Likewise.
73211         * include/monetary.h: Likewise.
73212         * include/sys/poll.h: Likewise.
73214         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
73215         for __USE_GNU.
73216         * posix/spawn.h: Define __need_sigset_t.
73217         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
73218         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
73219         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
73220         to get sigevent_t only.
73221         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
73222         only for __USE_GNU.
73223         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
73224         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
73225         process_vm_writev only for __USE_GNU.
73226         * termios/termios.h: Declare tcgetsid also for POSIX2008.
73228         * conform/Makefile: For now ignore errors from run-conformtest.
73229         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
73230         POSIX to avoid namespace pollution.  Don't prepend headers.
73231         * conform/data/aio.h-data: Fixes for POSIX testing.
73232         * conform/data/fcntl.h-data: Likewise.
73233         * conform/data/glob.h-data: Likewise.
73234         * conform/data/grp.h-data: Likewise.
73235         * conform/data/pthread.h-data: Likewise.
73236         * conform/data/pwd.h-data: Likewise.
73237         * conform/data/signal.h-data: Likewise.
73238         * conform/data/spawn.h-data: Likewise.
73239         * conform/data/stdio.h-data: Likewise.
73240         * conform/data/stdlib.h-data: Likewise.
73241         * conform/data/stropts.h-data: Likewise.
73242         * conform/data/sys/mman.h-data: Likewise.
73243         * conform/data/sys/stat.h-data: Likewise.
73244         * conform/data/sys/types.h-data: Likewise.
73245         * conform/data/sys/wait.h-data: Likewise.
73246         * conform/data/time.h-data: Likewise.
73247         * conform/data/unistd.h-data: Likewise.
73248         * conform/data/utime.h-data: Likewise.
73250         * io/sys/stat.h: fchmod was always in POSIX.
73251         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
73252         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
73253         * rt/aio.h: Define __need_timespec before including <time.h>.
73254         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
73255         struct.  Add forward declaration of pthread_attr_t and use it in
73256         sigevent.
73257         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
73258         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
73259         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
73260         always remove CLK_TCK definition.
73262 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
73264         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
73266 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
73268         * conform/run-conformtest.sh: New file.
73269         * conform/Makefile: Run run-conformtest for tests.
73270         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
73271         support.
73273         * conform/data/uchar.h-data: New file.
73274         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
73275         * conform/data/arpa/inet.h-data: Likewise.
73276         * conform/data/assert.h-data: Likewise.
73277         * conform/data/complex.h-data: Likewise.
73278         * conform/data/cpio.h-data: Likewise.
73279         * conform/data/ctype.h-data: Likewise.
73280         * conform/data/dirent.h-data: Likewise.
73281         * conform/data/dlfcn.h-data: Likewise.
73282         * conform/data/errno.h-data: Likewise.
73283         * conform/data/fcntl.h-data: Likewise.
73284         * conform/data/float.h-data: Likewise.
73285         * conform/data/fmtmsg.h-data: Likewise.
73286         * conform/data/fnmatch.h-data: Likewise.
73287         * conform/data/ftw.h-data: Likewise.
73288         * conform/data/glob.h-data: Likewise.
73289         * conform/data/grp.h-data: Likewise.
73290         * conform/data/iconv.h-data: Likewise.
73291         * conform/data/inttypes.h-data: Likewise.
73292         * conform/data/langinfo.h-data: Likewise.
73293         * conform/data/libgen.h-data: Likewise.
73294         * conform/data/limits.h-data: Likewise.
73295         * conform/data/locale.h-data: Likewise.
73296         * conform/data/math.h-data: Likewise.
73297         * conform/data/monetary.h-data: Likewise.
73298         * conform/data/mqueue.h-data: Likewise.
73299         * conform/data/ndbm.h-data: Likewise.
73300         * conform/data/net/if.h-data: Likewise.
73301         * conform/data/netdb.h-data: Likewise.
73302         * conform/data/netinet/in.h-data: Likewise.
73303         * conform/data/nl_types.h-data: Likewise.
73304         * conform/data/poll.h-data: Likewise.
73305         * conform/data/pthread.h-data: Likewise.
73306         * conform/data/pwd.h-data: Likewise.
73307         * conform/data/regex.h-data: Likewise.
73308         * conform/data/sched.h-data: Likewise.
73309         * conform/data/search.h-data: Likewise.
73310         * conform/data/semaphore.h-data: Likewise.
73311         * conform/data/setjmp.h-data: Likewise.
73312         * conform/data/signal.h-data: Likewise.
73313         * conform/data/spawn.h-data: Likewise.
73314         * conform/data/stdarg.h-data: Likewise.
73315         * conform/data/stdio.h-data: Likewise.
73316         * conform/data/stdlib.h-data: Likewise.
73317         * conform/data/string.h-data: Likewise.
73318         * conform/data/strings.h-data: Likewise.
73319         * conform/data/stropts.h-data: Likewise.
73320         * conform/data/sys/ipc.h-data: Likewise.
73321         * conform/data/sys/mman.h-data: Likewise.
73322         * conform/data/sys/msg.h-data: Likewise.
73323         * conform/data/sys/resource.h-data: Likewise.
73324         * conform/data/sys/select.h-data: Likewise.
73325         * conform/data/sys/sem.h-data: Likewise.
73326         * conform/data/sys/shm.h-data: Likewise.
73327         * conform/data/sys/socket.h-data: Likewise.
73328         * conform/data/sys/stat.h-data: Likewise.
73329         * conform/data/sys/statvfs.h-data: Likewise.
73330         * conform/data/sys/time.h-data: Likewise.
73331         * conform/data/sys/timeb.h-data: Likewise.
73332         * conform/data/sys/times.h-data: Likewise.
73333         * conform/data/sys/types.h-data: Likewise.
73334         * conform/data/sys/uio.h-data: Likewise.
73335         * conform/data/sys/un.h-data: Likewise.
73336         * conform/data/sys/utsname.h-data: Likewise.
73337         * conform/data/sys/wait.h-data: Likewise.
73338         * conform/data/syslog.h-data: Likewise.
73339         * conform/data/tar.h-data: Likewise.
73340         * conform/data/termios.h-data: Likewise.
73341         * conform/data/utime.h-data: Likewise.
73342         * conform/data/utmpx.h-data: Likewise.
73343         * conform/data/varargs.h-data: Likewise.
73344         * conform/data/wchar.h-data: Likewise.
73345         * conform/data/wctype.h-data: Likewise.
73346         * conform/data/wordexp.h-data: Likewise.
73348         * include/stropts.h: New file.
73349         * include/uchar.h: New file.
73350         * include/aio.h: Changes to allow conformtest.pl to use the headers.
73351         * include/assert.h: Likewise.
73352         * include/ctype.h: Likewise.
73353         * include/dirent.h: Likewise.
73354         * include/dlfcn.h: Likewise.
73355         * include/fcntl.h: Likewise.
73356         * include/fnmatch.h: Likewise.
73357         * include/glob.h: Likewise.
73358         * include/grp.h: Likewise.
73359         * include/libio.h: Likewise.
73360         * include/locale.h: Likewise.
73361         * include/math.h: Likewise.
73362         * include/net/if.h: Likewise.
73363         * include/netdb.h: Likewise.
73364         * include/netinet/in.h: Likewise.
73365         * include/pthread.h: Likewise.
73366         * include/pwd.h: Likewise.
73367         * include/regex.h: Likewise.
73368         * include/sched.h: Likewise.
73369         * include/search.h: Likewise.
73370         * include/setjmp.h: Likewise.
73371         * include/signal.h: Likewise.
73372         * include/stdio.h: Likewise.
73373         * include/stdlib.h: Likewise.
73374         * include/string.h: Likewise.
73375         * include/sys/cdefs.h: Likewise.
73376         * include/sys/mman.h: Likewise.
73377         * include/sys/msg.h: Likewise.
73378         * include/sys/resource.h: Likewise.
73379         * include/sys/select.h: Likewise.
73380         * include/sys/socket.h: Likewise.
73381         * include/sys/stat.h: Likewise.
73382         * include/sys/statvfs.h: Likewise.
73383         * include/sys/time.h: Likewise.
73384         * include/sys/times.h: Likewise.
73385         * include/sys/uio.h: Likewise.
73386         * include/sys/utsname.h: Likewise.
73387         * include/sys/wait.h: Likewise.
73388         * include/termios.h: Likewise.
73389         * include/time.h: Likewise.
73390         * include/ulimit.h: Likewise.
73391         * include/unistd.h: Likewise.
73392         * include/utime.h: Likewise.
73393         * include/wchar.h: Likewise.
73394         * include/wctype.h: Likewise.
73395         * include/wordexp.h: Likewise.
73397         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
73399         * time/time.h: TIME_UTC must be a macro.
73400         Make timespec_get available for ISO C11 only as well.
73402 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
73404         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
73405         Reported by Peng Haitao <penght@cn.fujitsu.com>.
73407 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
73409         * configure.in: Use -o not -a in test for unsupported multi-arch.
73411 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
73413         * manual/texinfo.tex: Update to version 2012-01-19.16.
73415 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
73417         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
73419 2012-02-24  Roland McGrath  <roland@hack.frob.com>
73421         [BZ #13738]
73422         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
73423         * manual/fdl-1.3.texi: New file.
73424         * manual/fdl-1.1.texi: File removed.
73426         [BZ #13738]
73427         * manual/libc.texinfo (FDL_VERSION): New @set.
73428         Use it for mention of FDL in cover text.
73429         (Documentation License): Use it in @include file name.
73431 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
73432             Roland McGrath  <roland@hack.frob.com>
73434         [BZ #5461]
73435         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
73436         (not LONG_LONG_MAX and LONG_LONG_MIN.
73437         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
73438         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
73439         name.
73440         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
73442 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
73444         [BZ #2547]
73445         [BZ #11365]
73446         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
73447         manipulate bits before adding and subtracting TWO23[sx].
73448         * math/libm-test.inc (nearbyint_test): Add more tests.
73450 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
73452         [BZ #2548]
73453         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
73454         bits before adding and subtracting TWO23[sx].
73455         * math/libm-test.inc (rint_test): Add more tests.
73456         (rint_test_tonearest): Likewise.
73457         (rint_test_towardzero): Likewise.
73458         (rint_test_downward): Likewise.
73459         (rint_test_upward: Likewise.
73461 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
73463         [BZ #10110]
73464         * include/stdc-predef.h: New file.  Extracted from features.h.
73465         * include/features.h: Include stdc-predef.h.
73466         * Makefile (headers): Add stdc-predef.h.
73467         * CONFORMANCE (Compiler limitations): Update.
73469 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
73471         * manual/libc.texinfo (VERSION, UPDATED): Revert.
73473 2012-02-21  David S. Miller  <davem@davemloft.net>
73475         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
73476         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
73478 2012-02-20  David S. Miller  <davem@davemloft.net>
73480         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
73481         using a normal save/restore sequence, rather than allocating a
73482         dummy stack frame just to store a frame pointer and restore.
73483         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
73485 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
73487         * manual/install.texi: Fix stray word in line-wrapped comment.
73489 2012-02-20  David S. Miller  <davem@davemloft.net>
73491         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
73492         both binutils and gcc support GOTDATA.
73494         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
73495         "rd %pc" in the PIC register setup sequences.
73497         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
73498         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
73499         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
73500         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
73501         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
73502         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
73503         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
73504         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
73505         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
73506         (SYSCALL_ERROR_HANDLER): Likewise.
73507         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
73508         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
73509         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
73510         (SYSCALL_ERROR_HANDLER): Likewise.
73512         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
73513         (HAVE_GCC_GOTDATA): New.
73514         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
73515         relocation support in both binutils and gcc.
73516         * sysdeps/sparc/elf/configure: Regenerate.
73518         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
73519         * sysdeps/sparc/sparc32/elf/configure: Delete.
73520         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
73521         * sysdeps/sparc/sparc64/elf/configure: Delete.
73522         * sysdeps/sparc/elf/configure.in: New file.
73523         * sysdeps/sparc/elf/configure: Generate.
73525         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
73526         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
73527         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
73528         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
73529         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
73531 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
73533         * manual/install.texi: Do not mention specific glibc version
73534         numbers.
73535         * manual/libc.texinfo (VERSION, UPDATED): Update.
73536         (@copying): Use @copyright{} and range of years.
73538 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
73540         [BZ #13695]
73541         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
73542         [crti.S not in sysdirs] (generated): Do not append.
73543         [crti.S not in sysdirs] (omit-deps): Likewise.
73544         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
73545         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
73546         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
73547         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
73548         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
73549         Likewise.
73550         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
73551         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
73552         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
73553         * csu/defs.awk: Remove file.
73554         * sysdeps/generic/initfini.c: Likewise.
73555         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
73556         variable.
73557         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
73558         Likewise.
73560 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
73562         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
73563         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
73564         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
73565         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
73566         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
73567         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
73568         <bits/epoll.h>.
73569         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
73570         (__EPOLL_PACKED): Define to empty if not defined by
73571         <bits/epoll.h>.
73572         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
73573         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73574         bits/epoll.h.
73576 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
73578         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
73579         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
73580         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
73581         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
73582         <bits/timerfd.h>.
73583         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
73584         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73585         bits/timerfd.h.
73587 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
73589         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
73590         in C locale.
73591         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
73592         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
73593         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
73594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73596 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
73598         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73599         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
73601 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
73603         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
73604         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
73605         defined.
73606         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
73607         Likewise.
73608         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
73609         entry for 2.16.
73611 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
73613         * math/w_acos.c: Use non-signaling floating-point comparisons.
73614         * math/w_acosf.c: Likewise.
73615         * math/w_acosh.c: Likewise.
73616         * math/w_acoshf.c: Likewise.
73617         * math/w_acoshl.c: Likewise.
73618         * math/w_acosl.c: Likewise.
73619         * math/w_asin.c: Likewise.
73620         * math/w_asinf.c: Likewise.
73621         * math/w_asinl.c: Likewise.
73622         * math/w_atanh.c: Likewise.
73623         * math/w_atanhf.c: Likewise.
73624         * math/w_atanhl.c: Likewise.
73625         * math/w_exp2.c: Likewise.
73626         * math/w_exp2f.c: Likewise.
73627         * math/w_exp2l.c: Likewise.
73628         * math/w_j0.c: Likewise.
73629         * math/w_j0f.c: Likewise.
73630         * math/w_j0l.c: Likewise.
73631         * math/w_j1.c: Likewise.
73632         * math/w_j1f.c: Likewise.
73633         * math/w_j1l.c: Likewise.
73634         * math/w_jn.c: Likewise.
73635         * math/w_jnf.c: Likewise.
73636         * math/w_log.c: Likewise.
73637         * math/w_log10.c: Likewise.
73638         * math/w_log10f.c: Likewise.
73639         * math/w_log10l.c: Likewise.
73640         * math/w_log2.c: Likewise.
73641         * math/w_log2f.c: Likewise.
73642         * math/w_log2l.c: Likewise.
73643         * math/w_logf.c: Likewise.
73644         * math/w_logl.c: Likewise.
73645         * math/w_sqrt.c: Likewise.
73646         * math/w_sqrtf.c: Likewise.
73647         * math/w_sqrtl.c: Likewise.
73648         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
73649         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
73650         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
73651         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
73652         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
73654 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
73656         [BZ #9739]
73657         * manual/string.texi (strnlen): Use correct parameter name in
73658         equivalent expression.
73660 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
73662         [BZ #11174]
73663         * manual/users.texi (seteuid): Consistently use neweuid for
73664         argument name.
73666 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
73668         [BZ #13704]
73669         * manual/nss.texi (Services in the NSS configuration): Correct
73670         list of services in example configuration file.
73672 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
73674         [BZ #11322]
73675         * manual/arith.texi: Remove statements about negative zero
73676         behaving identically to zero.
73678 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
73680         [BZ #5993]
73681         * manual/install.texi: Do not document upgrading from libc5.
73683 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
73685         [BZ #4596]
73686         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
73688 2012-02-18  David S. Miller  <davem@davemloft.net>
73690         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
73691         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
73692         %o7 across the call.
73693         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
73694         instead.
73695         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
73696         SETUP_PIC_REG_LEAF.
73697         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
73698         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
73699         * sysdeps/sparc/crtn.S: Likewise.
73701 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
73703         * aout/Makefile: Remove.
73705 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
73707         [BZ #13058]
73708         * manual/examples/argp-ex1.c (main): Format definition in GNU
73709         style.
73710         * manual/examples/argp-ex2.c (main): Likewise.
73711         * manual/examples/argp-ex3.c (main): Likewise.
73712         * manual/examples/argp-ex4.c (main): Likewise.
73713         * manual/examples/longopt.c (main): Use new-style prototype
73714         definition.
73715         * manual/examples/strncat.c (main): Specify return type and use
73716         (void) for arguments.
73717         * manual/examples/subopt.c (main): Use char **argv argument.
73719 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
73721         [BZ #5077]
73722         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
73723         rounding modes.
73725 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
73727         [BZ #6907]
73728         * manual/string.texi (strchr): Change when strchrnul is
73729         recommended.
73731 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
73733         [BZ #174]
73734         * manual/locale.texi (setlocale): Document LOCPATH.
73736 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
73738         [BZ #10210]
73739         * manual/process.texi (execle): Move @dots{} before last argument.
73741 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
73743         [BZ #12047]
73744         * manual/charset.texi (Generic Charset Conversion): Fix typo
73745         (LC_TYPE -> LC_CTYPE).
73747 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
73749         [BZ #5805]
73750         * manual/arith.texi (scalbn): Use @var{} on parameter names.
73751         (scalbnf): Likewise.
73752         (scalbnl): Likewise.
73753         (scalbln): Likewise.
73754         (scalblnf): Likewise.
73755         (scalblnl): Likewise.
73756         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
73757         (vwarnx): Likewise.
73758         (verr): Likewise.
73759         (verrx): Likewise.
73760         * manual/filesys.texi (telldir): Use braces around return type.
73761         * manual/llio.texi (mmap): Add space after comma.
73762         (mmap64): Likewise.
73763         * manual/math.texi (jn): Use @var{} on parameter names.
73764         (jnf): Likewise.
73765         (jnl): Likewise.
73766         (yn): Likewise.
73767         (ynf): Likewise.
73768         (ynl): Likewise.
73769         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
73770         line.
73771         * manual/resource.texi (ulimit): Use @dots{} instead of literal
73772         "...".
73773         (sched_get_priority_min): Remove semicolon on @deftypefun line.
73774         (sched_get_priority_max): Likewise.
73775         * manual/signal.texi (sigvec): Add space after comma.
73776         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
73777         names.
73778         (if_indextoname): Likewise.
73779         (if_freenameindex): Likewise.
73780         (sendto): Use ',' instead of '.' in prototype.
73781         * manual/startup.texi (syscall): Use @dots{} instead of literal
73782         "...".
73783         * manual/stdio.texi (__fpending): Separate initial words of
73784         paragraph from @deftypefun line.
73785         * manual/syslog.texi (syslog): Use @dots{} instead of literal
73786         "...".
73787         (vsyslog): Use @var{} on parameter names.
73788         * manual/terminal.texi (stty): Use @var{} on parameter names.
73789         * manual/users.texi (getutmp): Use @var{} on parameter names.
73790         (getutmpx): Likewise.
73792 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
73794         [BZ #6884]
73795         * manual/stdio.texi (fopen): Fix typos in description of
73796         ",ccs=STRING".
73798 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
73800         [BZ #4026]
73801         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
73802         get clock_id definition.
73804 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
73806         [BZ #4822]
73807         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
73808         (madvise): Cast every argument to void on its own.
73810 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
73812         [BZ #9902]
73813         * manual/startup.texi (Exit Status): Fix typo.
73815 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
73817         [BZ #10140]
73818         * manual/examples/argp-ex1.c: Include <stdlib.h>.
73819         * manual/examples/argp-ex2.c: Likewise.
73820         * manual/examples/argp-ex3.c: Likewise.
73822 2012-02-16  Richard Henderson  <rth@redhat.com>
73824         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
73825         * sysdeps/s390/s390-32/initfini.c: Remove.
73826         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
73827         * sysdeps/s390/s390-64/initfini.c: Remove.
73829 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
73831         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
73832         compiler output for sysdeps/generic/initfini.c.
73833         * sysdeps/sh/elf/initfini.c: Remove file.
73835 2012-02-16  David S. Miller  <davem@davemloft.net>
73837         [BZ #11494]
73838         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
73840         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
73841         * sysdeps/sparc/crti.S: New file.
73842         * sysdeps/sparc/crtn.S: New file.
73843         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
73844         * sysdeps/sparc/sparc64/Makefile: Likewise.
73846 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
73848         [BZ #3335]
73849         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
73851 2012-02-15  Roland McGrath  <roland@hack.frob.com>
73853         [BZ #4822]
73854         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
73856         * mach/devstream.c (cookie_io_functions_t): Macro removed.
73857         (write, read, close): Likewise.
73858         Patch by Aurelien Jarno <aurelien@aurel32.net>.
73860 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
73862         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
73863         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
73864         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
73865         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
73866         <bits/signalfd.h>.
73867         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
73868         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73869         bits/signalfd.h.
73871 2012-02-14  Marek Polacek  <polacek@redhat.com>
73873         * sysdeps/x86_64/crti.S: New file.
73874         * sysdeps/x86_64/crtn.S: New file.
73875         * sysdeps/x86_64/elf/initfini.c: Remove file.
73877 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
73879         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
73880         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
73881         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
73882         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
73883         <bits/inotify.h>.
73884         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
73885         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73886         bits/inotify.h.
73888 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
73890         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
73891         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
73892         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
73893         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
73894         <bits/eventfd.h>.
73895         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
73896         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73897         bits/eventfd.h.
73899 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
73901         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
73902         __feraiseexcept instead of feraiseexcept.
73904         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
73905         nanosleep invocations.
73906         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
73907         strings, and add error checking for a nanosleep invocations.
73909 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
73911         Replace FSF snail mail address with URLs, as per GNU coding standards.
73912         Most of the snail mail addresses were wrong anyway, and omitting
73913         them makes the source code easier to maintain.  Almost all of the
73914         changes are to license notices and to locale LC_IDENTIFICATION
73915         addresses, except for this one:
73916         * manual/libc.texinfo: In "Published by", give the FSF's URL,
73917         not its snail mail address.
73919 2012-02-09  Richard Henderson  <rth@twiddle.net>
73921         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
73922         of kernel-features.h.
73924         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
73926 2012-02-08  Marek Polacek  <polacek@redhat.com>
73928         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
73929         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
73930         * sysdeps/gnu/_G_config.h: Likewise.
73931         * sysdeps/generic/_G_config.h: Likewise.
73933 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
73935         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
73936         tests.
73937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73939         * sysdeps/powerpc/powerpc32/crti.S: New file.
73940         * sysdeps/powerpc/powerpc32/crtn.S: New file.
73941         * sysdeps/powerpc/powerpc64/crti.S: New file.
73942         * sysdeps/powerpc/powerpc64/crtn.S: New file.
73944         * Makeconfig (have-initfini): Don't set.
73945         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
73946         * configure.in (nopic_initfini): Don't substitute.
73947         * config.h.in (HAVE_INITFINI): Don't #undef.
73948         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
73949         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
73951 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
73953         Support crti.S and crtn.S provided directly by architectures.
73954         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
73955         [crti.S in sysdirs] (omit-deps): Likewise.
73956         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
73957         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
73958         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
73959         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
73960         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
73961         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
73962         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
73963         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
73964         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
73965         compiler output for sysdeps/generic/initfini.c.
73966         * sysdeps/i386/elf/Makefile: Remove file.
73967         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
73969 2012-02-07  Marek Polacek  <polacek@redhat.com>
73971         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
73972         * sysdeps/gnu/_G_config.h: Likewise.
73973         * sysdeps/mach/hurd/_G_config.h: Likewise.
73975 2012-02-07  Marek Polacek  <polacek@redhat.com>
73977         * math/Makefile (tests): Add tst-CMPLX2.
73978         * math/tst-CMPLX2.c: New file.
73980 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
73982         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73984         * math/libm-test.inc (jn_test): Add missing L suffix.
73986 2012-02-06  Marek Polacek  <polacek@redhat.com>
73988         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
73989         * sysdeps/i386/fpu/e_powf.S: Likewise.
73990         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
73991         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
73992         * sysdeps/i386/fpu/e_acosh.S: Likewise.
73993         * sysdeps/i386/fpu/e_pow.S: Likewise.
73994         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
73995         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
73996         * sysdeps/i386/fpu/s_expm1.S: Likewise.
73997         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
73998         * sysdeps/i386/fpu/e_log2.S: Likewise.
73999         * sysdeps/i386/fpu/e_log2l.S: Likewise.
74000         * sysdeps/i386/fpu/e_scalb.S: Likewise.
74001         * sysdeps/i386/fpu/e_powl.S: Likewise.
74002         * sysdeps/i386/fpu/s_log1p.S: Likewise.
74003         * sysdeps/i386/fpu/e_log10f.S: Likewise.
74004         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
74005         * sysdeps/i386/fpu/e_logl.S: Likewise.
74006         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
74007         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
74008         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
74009         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
74010         * sysdeps/i386/fpu/e_log2f.S: Likewise.
74011         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
74012         * sysdeps/i386/fpu/e_log.S: Likewise.
74013         * sysdeps/i386/fpu/s_cexp.S: Likewise.
74014         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
74015         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
74016         * sysdeps/i386/fpu/e_logf.S: Likewise.
74017         * sysdeps/i386/fpu/e_log10l.S: Likewise.
74018         * sysdeps/i386/fpu/e_atanh.S: Likewise.
74019         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
74020         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
74021         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
74022         * sysdeps/i386/fpu/e_log10.S: Likewise.
74023         * sysdeps/i386/fpu/s_frexp.S: Likewise.
74024         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
74025         * sysdeps/i386/fpu/s_asinh.S: Likewise.
74026         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
74027         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
74028         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
74029         * sysdeps/i386/asm-syntax.h: Likewise.
74030         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
74031         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
74032         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
74033         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
74034         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
74035         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
74036         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
74037         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
74038         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
74039         * sysdeps/powerpc/sysdep.h: Likewise.
74040         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
74041         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
74043 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
74045         [BZ #411]
74046         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
74048 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
74050         * sysdeps/i386/sysdep.h: Include <features.h>.
74051         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
74052         version.
74054 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
74056         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
74057         Define.
74058         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
74059         LOAD_PIC_REG_STR.
74061 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
74063         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
74064         (SETUP_PIC_REG): Use GET_PC_THUNK.
74065         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
74066         macro.
74068 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
74070         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
74071         for non-PIC compilation.
74072         (SETUP_PIC_REG): Add .p2align directive.
74073         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
74074         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
74075         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
74076         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
74077         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
74078         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
74079         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
74080         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
74081         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
74082         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
74083         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
74084         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
74085         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
74086         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
74087         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
74088         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
74089         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
74090         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
74091         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
74092         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
74093         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
74094         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
74095         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
74096         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
74097         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
74098         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
74099         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
74100         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
74101         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
74102         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
74103         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
74104         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
74105         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
74106         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
74107         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
74108         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
74109         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
74110         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
74111         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
74112         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
74113         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
74115 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
74117         * math/tst-CMPLX.c: Include <stdio.h>.
74119 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
74121         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
74122         float.
74123         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
74124         * sysdeps/sparc/bits/mathdef.h: Likewise.
74126 2012-01-31  Marek Polacek  <polacek@redhat.com>
74128         * libio/libio.h: Don't define _PARAMS.
74129         * locale/programs/config.h: Don't define PARAMS.
74130         * stdlib/strtol_l.c: Likewise.
74131         (__strtol_l): Remove PARAMS from the prototype.
74133 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
74135         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
74136         names.  Just use the correct names.  Remove unnecessary wrapper
74137         functions.
74138         * malloc/arena.c: Likewise.
74139         * malloc/hooks.c: Likewise.
74141         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
74142         ARENA_TEST says not to.  Simplify test for creation of a new arena.
74143         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
74145 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
74147         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
74148         into tail calls.
74149         (update_get_addr): New function.
74150         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
74151         GET_ADDR_MODULE parameter.
74153 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
74155         * crypt/cert.c: Remove __STDC__ conditionals.
74156         * crypt/crypt-entry.c: Likewise.
74157         * crypt/crypt_util.c: Likewise.
74158         * libio/filedoalloc.c: Likewise.
74159         * libio/fileops.c: Likewise.
74160         * libio/genops.c: Likewise.
74161         * libio/iofclose.c: Likewise.
74162         * libio/iofdopen.c: Likewise.
74163         * libio/iofopen.c: Likewise.
74164         * libio/iofopen64.c: Likewise.
74165         * libio/iogetdelim.c: Likewise.
74166         * libio/iopopen.c: Likewise.
74167         * libio/obprintf.c: Likewise.
74168         * libio/oldfileops.c: Likewise.
74169         * libio/oldiofclose.c: Likewise.
74170         * libio/oldiofdopen.c: Likewise.
74171         * libio/oldiofopen.c: Likewise.
74172         * libio/oldiopopen.c: Likewise.
74173         * libio/wfiledoalloc.c: Likewise.
74174         * libio/wgenops.c: Likewise.
74175         * locale/programs/xmalloc.c: Likewise.
74176         * misc/syslog.c: Likewise.
74177         * stdio-common/xbug.c: Likewise.
74178         * string/memchr.c: Likewise.
74179         * string/memcmp.c: Likewise.
74180         * string/memrchr.c: Likewise.
74181         * string/rawmemchr.c: Likewise.
74182         * sysdeps/posix/getcwd.c: Likewise.
74183         * time/strftime_l.c: Likewise.
74185 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
74187         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
74188         * config.make.in (config-cflags-sse2avx): Define.
74189         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
74190         Fix typo.
74192 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
74194         * scripts/config.guess: Update from upstream config git repository.
74195         * scripts/config.sub: Likewise.
74197 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
74199         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
74200         (EM_NUM): Update.
74201         (R_TILEPRO_*, R_TILEGX_*): New macros.
74203         * scripts/firstversions.awk: Fix bug in version range handling.
74205         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
74207         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
74209         * include/sys/epoll.h: New file.
74210         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
74211         libc_hidden_def.
74213 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
74215         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
74216         Avoid unnecessary __WORDSIZE == 64 test.
74217         (fmaxf): Use VEX format if possible.
74218         (fmax): Likewise.
74219         (fminf): Likewise.
74220         (fmin): Likewise.
74222         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
74223         * math/math_private.h: Remove libc_fegetround* and
74224         libc_fesetround*.
74225         * sysdeps/i386/configure.in: Check for -msse2avx.
74226         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
74227         also if SSE2AVX is defined.
74228         Remove libc_fegetround* and libc_fesetround*.
74229         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
74230         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
74231         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
74232         of HAS_YMM_USABLE.
74233         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
74234         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
74235         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
74236         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
74237         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
74239         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
74241 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74243         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
74244         size is not set.
74245         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
74247 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
74249         [BZ #13618]
74250         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
74251         relocation.
74252         * Makeconfig (libm): Define.
74253         * elf/Makefile: Add rules to build and run tst-relsort1.
74254         * elf/tst-relsort1.c: New file.
74255         * elf/tst-relsort1mod1.c: New file.
74256         * elf/tst-relsort1mod2.c: New file.
74258 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
74260         * math/s_ldexp.c: Remove __STDC__ conditionals.
74261         * math/s_ldexpf.c: Likewise.
74262         * math/s_ldexpl.c: Likewise.
74263         * math/s_nextafter.c: Likewise.
74264         * math/s_nexttowardf.c: Likewise.
74265         * math/s_significand.c: Likewise.
74266         * math/s_significandf.c: Likewise.
74267         * math/s_significandl.c: Likewise.
74268         * math/w_jnl.c: Likewise.
74269         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
74270         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
74271         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
74272         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
74273         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
74274         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
74275         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
74276         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
74277         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
74278         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
74279         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
74280         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
74281         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
74282         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
74283         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
74284         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
74285         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
74286         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
74287         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
74288         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
74289         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
74290         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
74291         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
74292         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
74293         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
74294         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
74295         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
74296         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
74297         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
74298         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
74299         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
74300         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
74301         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
74302         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
74303         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
74304         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
74305         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
74306         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
74307         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
74308         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
74309         * sysdeps/ieee754/k_standard.c: Likewise.
74310         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
74311         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
74312         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
74313         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
74314         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
74315         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
74316         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
74317         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
74318         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
74319         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
74320         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
74321         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
74322         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
74323         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
74324         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
74325         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
74326         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
74327         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
74328         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
74329         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
74330         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
74331         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
74332         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
74333         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
74334         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
74335         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
74336         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
74337         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
74338         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
74339         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
74340         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
74341         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
74342         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
74343         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
74344         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
74345         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
74346         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
74347         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
74348         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
74349         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
74350         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
74351         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
74352         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
74353         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
74354         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
74355         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
74356         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
74357         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
74358         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
74359         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
74360         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
74361         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
74362         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
74363         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
74364         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
74365         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
74366         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
74367         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
74368         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
74369         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
74370         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
74371         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
74372         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
74373         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
74374         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
74375         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
74376         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
74377         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
74378         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
74379         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
74380         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
74381         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
74382         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
74383         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
74384         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
74385         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
74386         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
74387         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
74388         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
74389         * sysdeps/ieee754/s_matherr.c: Likewise.
74390         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
74391         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
74392         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
74393         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
74395 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
74397         * crypt/md5.h: Remove __STDC__ conditionals.
74398         * libio/libioP.h: Likewise.
74399         * locale/programs/config.h: Likewise.
74400         * sysdeps/generic/sysdep.h: Likewise.
74401         * sysdeps/i386/asm-syntax.h: Likewise.
74402         * sysdeps/s390/asm-syntax.h: Likewise.
74403         * sysdeps/unix/sysdep.h: Likewise.
74404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
74405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
74407 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
74409         * libio/libio.h: Remove __STDC__ conditionals.
74410         * malloc/obstack.h: Likewise.
74411         * math/complex.h: Likewise.
74412         * math/math.h: Likewise.
74413         * sysdeps/generic/_G_config.h: Likewise.
74414         * sysdeps/gnu/_G_config.h: Likewise.
74415         * sysdeps/mach/hurd/_G_config.h: Likewise.
74416         * sysdeps/powerpc/bits/mathdef.h: Likewise.
74417         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
74418         * sysdeps/sparc/bits/mathdef.h: Likewise.
74420 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
74422         [BZ #13583]
74423         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
74424         Clean up HAS_* macros.
74425         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
74426         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
74427         possible.
74428         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
74429         HAS_AVX.
74430         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
74431         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
74432         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
74433         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
74434         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
74436 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
74438         * elf/tst-unique3.cc (gets): Remove declaration.
74439         * elf/tst-unique3lib.cc (gets): Likewise.
74440         * elf/tst-unique3lib2.cc (gets): Likewise.
74441         * elf/tst-unique4.cc (gets): Likewise.
74443 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
74445         * include/stdio.h: Add C++ protection.  Add gets declarations and
74446         definitions.
74447         * debug/tst-chk1.c: Don't declare gets here.
74448         * stdio-common/tst-gets.c: Likewise.
74450 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
74452         * posix/glob: Remove directory.
74454 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
74456         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
74458 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
74460         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
74461         of the non-standard EPFNOSUPPORT.
74463 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74465         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
74466         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
74467         ANYWHERE set to 1 only on KERN_NO_SPACE error.
74469 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
74471         * wcsmbs/uchar.h: Test __STDC_VERSION__.
74473 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
74475         * nscd/aicache.c (addhstaiX): Do not cache negative results of
74476         transient errors.
74477         * nscd/grpcache.c (cache_addgr): Likewise.
74478         * nscd/hstcache.c (cache_addhst): Likewise.
74479         * nscd/initgrcache.c (addinitgroupsX): Likewise.
74480         * nscd/pwdcache.c (cache_addpw): Likewise.
74481         * nscd/servicescache.c (cache_addserv): Likewise.
74483 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
74485         * malloc/malloc.c: Various cleanups.
74486         * malloc/hooks.c: Likewise.
74488         * stdlib/Makefile (tests): Add bug-fmtmsg1.
74489         * stdlib/bug-fmtmsg1.c: New file.
74491         * stdlib/fmtmsg.c (init): Add missing unlock.
74492         Patch by Peng Haitao <penght@cn.fujitsu.com>.
74494 2012-01-12  Marek Polacek  <polacek@redhat.com>
74496         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
74497         and _GNU_SOURCE.
74499 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
74501         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
74502         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
74503         macro to ensure uniqueness of label name.
74504         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
74505         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
74507 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
74509         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
74511         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
74512         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
74513         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
74514         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
74516 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
74518         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
74520         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
74521         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
74522         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
74524         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
74526         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
74527         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
74528         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
74529         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
74531         * math/bits/math-finite.h: Add ldexp support.
74533 2012-01-10  Marek Polacek  <polacek@redhat.com>
74535         * locale/programs/localedef.h (show_archive_content): Add noreturn
74536         attribute.
74538 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
74540         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
74542 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
74544         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
74546         * io/Makefile (headers): Add bits/poll2.h.
74548 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
74550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
74551         typo #include statement.
74553 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
74555         * include/sys/cdefs.h: Define __attribute_alloc_size.
74556         * catgets/gencat.c: Add alloc_size attribute and apply consistently
74557         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
74558         * elf/pldd.c: Likewise.
74559         * iconv/iconv_charmap.c: Likewise.
74560         * iconv/iconvconfig.c: Likewise.
74561         * iconv/strtab.c: Likewise.
74562         * locale/programs/locale.c: Likewise.
74563         * locale/programs/localedef.h: Likewise.
74564         * locale/programs/simple-hash.c: Likewise.
74565         * nscd/nscd.h: Likewise.
74566         * nss/makedb.c: Likewise.
74567         * sysdeps/generic/ldconfig.h: Likewise.
74568         * locale/programs/localedef.c: Remove xmalloc prototype.
74569         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
74571 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
74573         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
74574         appropriate.
74576 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
74578         * math/Makefile (tests): Add tst-CMPLX.
74579         * math/tst-CMPLX.c: New file.
74581         * math/complex.h (CMPLXL): Fix typo.
74583         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
74584         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
74585         GLIBC_2.16.
74586         * debug/tst-chk1.c: Add poll and ppoll tests.
74587         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
74588         * include/sys/poll.h: Add hidden proto for ppoll.
74589         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
74590         * sysdeps/mach/hurd/ppoll.c: Likewise.
74591         * io/ppoll.c: Likewise.
74592         * debug/poll_chk.c: New file.
74593         * debug/ppoll_chk.c: New file.
74594         * include/bits/poll2.h: New file.
74595         * io/bits/poll2.h: New file.
74597         [BZ #1350]
74598         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
74600         * configure.in: static is always set to yes.  Remove.
74601         * config.make.in: Don't set build-static.
74602         * Makeconfig: Remove use of build-static.
74603         * dlfcn/Makefile: Likewise.
74604         * elf/Makefile: Likewise.
74605         * math/Makefile: Likewise.
74606         * misc/Makefile: Likewise.
74607         * nptl/Makefile: Likewise.
74608         * sysdeps/mach/hurd/Makefile: Likewise.
74610         * configure.in: PWD_P is not used anymore.
74611         * config.make.in: Remove PWD_P entry.
74613         * configure.in: Remove last remnants of RANLIB.
74614         No need to check for signed size_t anymore.
74615         Don't set libc_commonpagesize and libc_relro_required here for Alpha
74616         and IA-64.
74617         Remove __builtin_expect test because we require at least gcc 3.4.
74618         * aclocal.m4: Likewise.
74620         * wcsmbs/mbrtoc16.c: Implement using towc function.
74621         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
74622         * wcsmbs/wcsmbsload.c: Likewise.
74623         * iconv/gconv_simple.c: Likewise.
74624         * iconv/gconv_int.h: Likewise.
74625         * iconv/gconv_builtin.h: Likewise.
74626         * iconv/iconv_prog.c: Remove CHAR16 handling.
74628         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
74630         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
74632         * configure.in: Remove --with-elf and --enable-bounded options.
74633         Dont set base_machine for ia64.  More non-ELF conditions removed.
74634         Remove testing and setting of leading underscore information.
74635         * config.make.in (build-bounded): Set to no.
74636         * config.h.in: Remove NO_UNDERSCORES entry.
74637         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
74638         them.
74639         * csu/start.c: Remove !NO_UNDERSCORE code.
74640         * locale/localeinfo.h: Likewise.
74641         * sysdeps/generic/machine-gmon.h: Likewise.
74642         * sysdeps/generic/sysdep.h: Likewise.
74643         * sysdeps/i386/sysdep.h: Likewise.
74644         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
74645         * sysdeps/mach/sysdep.h: Likewise.
74646         * sysdeps/s390/s390-32/sysdep.h: Likewise.
74647         * sysdeps/s390/s390-64/sysdep.h: Likewise.
74648         * sysdeps/sh/sysdep.h: Likewise.
74649         * sysdeps/sparc/sparc32/alloca.S: Likewise.
74650         * sysdeps/unix/i386/sysdep.S: Likewise.
74651         * sysdeps/unix/sparc/start.c: Likewise.
74652         * sysdeps/unix/sparc/sysdep.S: Likewise.
74653         * sysdeps/unix/sparc/sysdep.h: Likewise.
74654         * sysdeps/unix/start.c: Likewise.
74655         * sysdeps/unix/x86_64/sysdep.S: Likewise.
74656         * sysdeps/x86_64/sysdep.h: Likewise.
74658 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
74660         [BZ #13553]
74661         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
74662         for non-gcc.
74663         * argp/argp-fmtstream.h: Use const instead __const.
74664         * argp/argp.h: Likewise.
74665         * assert/assert.h: Likewise.
74666         * bits/fenv.h: Likewise.
74667         * bits/sched.h: Likewise.
74668         * bits/sigset.h: Likewise.
74669         * bits/sigthread.h: Likewise.
74670         * catgets/nl_types.h: Likewise.
74671         * conform/data/pthread.h-data: Likewise.
74672         * crypt/crypt-private.h: Likewise.
74673         * crypt/crypt.h: Likewise.
74674         * crypt/crypt_util.c: Likewise.
74675         * ctype/ctype.h: Likewise.
74676         * debug/execinfo.h: Likewise.
74677         * debug/mbsnrtowcs_chk.c: Likewise.
74678         * debug/mbsrtowcs_chk.c: Likewise.
74679         * debug/wcsnrtombs_chk.c: Likewise.
74680         * debug/wcsrtombs_chk.c: Likewise.
74681         * debug/wcstombs_chk.c: Likewise.
74682         * dirent/dirent.h: Likewise.
74683         * dlfcn/dlfcn.h: Likewise.
74684         * elf/neededtest4.c: Likewise.
74685         * grp/grp.h: Likewise.
74686         * gshadow/gshadow.h: Likewise.
74687         * iconv/gconv.h: Likewise.
74688         * iconv/gconv_int.h: Likewise.
74689         * iconv/gconv_simple.c: Likewise.
74690         * iconv/iconv.h: Likewise.
74691         * iconv/loop.c: Likewise.
74692         * iconv/skeleton.c: Likewise.
74693         * include/aio.h: Likewise.
74694         * include/aliases.h: Likewise.
74695         * include/argz.h: Likewise.
74696         * include/arpa/inet.h: Likewise.
74697         * include/assert.h: Likewise.
74698         * include/dirent.h: Likewise.
74699         * include/dlfcn.h: Likewise.
74700         * include/execinfo.h: Likewise.
74701         * include/fcntl.h: Likewise.
74702         * include/fenv.h: Likewise.
74703         * include/glob.h: Likewise.
74704         * include/grp.h: Likewise.
74705         * include/libintl.h: Likewise.
74706         * include/mntent.h: Likewise.
74707         * include/netdb.h: Likewise.
74708         * include/pwd.h: Likewise.
74709         * include/rpc/netdb.h: Likewise.
74710         * include/sched.h: Likewise.
74711         * include/search.h: Likewise.
74712         * include/shadow.h: Likewise.
74713         * include/signal.h: Likewise.
74714         * include/stdio.h: Likewise.
74715         * include/stdlib.h: Likewise.
74716         * include/string.h: Likewise.
74717         * include/sys/socket.h: Likewise.
74718         * include/sys/stat.h: Likewise.
74719         * include/sys/statfs.h: Likewise.
74720         * include/sys/statvfs.h: Likewise.
74721         * include/sys/syslog.h: Likewise.
74722         * include/sys/time.h: Likewise.
74723         * include/sys/uio.h: Likewise.
74724         * include/time.h: Likewise.
74725         * include/unistd.h: Likewise.
74726         * include/utmp.h: Likewise.
74727         * include/wchar.h: Likewise.
74728         * include/wctype.h: Likewise.
74729         * inet/aliases.h: Likewise.
74730         * inet/arpa/inet.h: Likewise.
74731         * inet/netinet/ether.h: Likewise.
74732         * inet/netinet/in.h: Likewise.
74733         * intl/libintl.h: Likewise.
74734         * io/bits/fcntl2.h: Likewise.
74735         * io/fcntl.h: Likewise.
74736         * io/ftw.h: Likewise.
74737         * io/sys/poll.h: Likewise.
74738         * io/sys/stat.h: Likewise.
74739         * io/sys/statfs.h: Likewise.
74740         * io/sys/statvfs.h: Likewise.
74741         * io/utime.h: Likewise.
74742         * libio/bits/stdio.h: Likewise.
74743         * libio/bits/stdio2.h: Likewise.
74744         * libio/libio.h: Likewise.
74745         * libio/libioP.h: Likewise.
74746         * libio/stdio.h: Likewise.
74747         * locale/lc-ctype.c: Likewise.
74748         * locale/locale.h: Likewise.
74749         * login/utmp.h: Likewise.
74750         * malloc/arena.c: Likewise.
74751         * malloc/malloc.c: Likewise.
74752         * malloc/malloc.h: Likewise.
74753         * malloc/mcheck.c: Likewise.
74754         * malloc/mtrace.c: Likewise.
74755         * math/bits/mathcalls.h: Likewise.
74756         * math/fenv.h: Likewise.
74757         * math/math_private.h: Likewise.
74758         * misc/bits/error.h: Likewise.
74759         * misc/bits/syslog.h: Likewise.
74760         * misc/err.h: Likewise.
74761         * misc/error.h: Likewise.
74762         * misc/fstab.h: Likewise.
74763         * misc/mntent.h: Likewise.
74764         * misc/regexp.h: Likewise.
74765         * misc/search.h: Likewise.
74766         * misc/sgtty.h: Likewise.
74767         * misc/sys/mman.h: Likewise.
74768         * misc/sys/syslog.h: Likewise.
74769         * misc/sys/uio.h: Likewise.
74770         * misc/sys/xattr.h: Likewise.
74771         * misc/ttyent.h: Likewise.
74772         * nis/rpcsvc/ypclnt.h: Likewise.
74773         * nss/nss.h: Likewise.
74774         * posix/bits/unistd.h: Likewise.
74775         * posix/fnmatch.h: Likewise.
74776         * posix/glob.h: Likewise.
74777         * posix/sched.h: Likewise.
74778         * posix/spawn.h: Likewise.
74779         * posix/sys/wait.h: Likewise.
74780         * posix/unistd.h: Likewise.
74781         * posix/wordexp.h: Likewise.
74782         * pwd/pwd.h: Likewise.
74783         * resolv/netdb.h: Likewise.
74784         * resource/sys/resource.h: Likewise.
74785         * rt/aio.h: Likewise.
74786         * rt/bits/mqueue2.h: Likewise.
74787         * rt/mqueue.h: Likewise.
74788         * shadow/shadow.h: Likewise.
74789         * signal/signal.h: Likewise.
74790         * socket/send.c: Likewise.
74791         * socket/sendto.c: Likewise.
74792         * socket/sys/socket.h: Likewise.
74793         * stdio-common/printf.h: Likewise.
74794         * stdlib/bits/stdlib.h: Likewise.
74795         * stdlib/fmtmsg.h: Likewise.
74796         * stdlib/monetary.h: Likewise.
74797         * stdlib/stdlib.h: Likewise.
74798         * stdlib/ucontext.h: Likewise.
74799         * streams/stropts.h: Likewise.
74800         * string/argz.h: Likewise.
74801         * string/bits/string2.h: Likewise.
74802         * string/string.h: Likewise.
74803         * string/strings.h: Likewise.
74804         * sunrpc/rpc/auth.h: Likewise.
74805         * sunrpc/rpc/auth_des.h: Likewise.
74806         * sunrpc/rpc/clnt.h: Likewise.
74807         * sunrpc/rpc/netdb.h: Likewise.
74808         * sunrpc/rpc/pmap_clnt.h: Likewise.
74809         * sunrpc/rpc/xdr.h: Likewise.
74810         * sysdeps/generic/inttypes.h: Likewise.
74811         * sysdeps/generic/net/if.h: Likewise.
74812         * sysdeps/generic/sys/swap.h: Likewise.
74813         * sysdeps/gnu/net/if.h: Likewise.
74814         * sysdeps/gnu/utmpx.h: Likewise.
74815         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
74816         * sysdeps/i386/i486/bits/string.h: Likewise.
74817         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
74818         * sysdeps/s390/bits/string.h: Likewise.
74819         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
74820         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
74821         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
74822         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
74823         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
74824         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
74825         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
74826         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
74827         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
74828         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
74829         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
74830         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
74831         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
74832         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
74833         * sysdeps/unix/sysv/linux/readv.c: Likewise.
74834         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
74835         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
74836         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
74837         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
74838         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
74839         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
74840         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
74841         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
74842         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
74843         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
74844         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
74845         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
74846         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
74847         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
74848         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
74849         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
74850         * sysvipc/sys/ipc.h: Likewise.
74851         * sysvipc/sys/msg.h: Likewise.
74852         * sysvipc/sys/sem.h: Likewise.
74853         * sysvipc/sys/shm.h: Likewise.
74854         * termios/termios.h: Likewise.
74855         * time/sys/time.h: Likewise.
74856         * time/time.h: Likewise.
74857         * wcsmbs/bits/wchar2.h: Likewise.
74858         * wcsmbs/uchar.h: Likewise.
74859         * wcsmbs/wchar.h: Likewise.
74860         * wctype/wctype.h: Likewise.
74862         [BZ #13551]
74863         * Makeconfig: Remove all but ELF support including AIX support.
74864         * Makerules: Likewise.
74865         * config.h.in: Likewise.
74866         * config.make.in: Likewise.
74867         * configure: Likewise.
74868         * configure.in: Likewise.
74869         * csu/Makefile: Likewise.
74870         * csu/version.c: Likewise.
74871         * debug/Makefile: Likewise.
74872         * dlfcn/Makefile: Likewise.
74873         * elf/Makefile: Likewise.
74874         * extra-lib.mk: Likewise.
74875         * iconv/Makefile: Likewise.
74876         * include/libc-symbols.h: Likewise.
74877         * include/shlib-compat.h: Likewise.
74878         * resolv/Makefile: Likewise.
74879         * resolv/res_libc.c: Likewise.
74880         * rt/Makefile: Likewise.
74881         * sysdeps/i386/asm-syntax.h: Likewise.
74882         * sysdeps/i386/sysdep.h: Likewise.
74883         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
74884         * sysdeps/mach/sysdep.h: Likewise.
74885         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
74886         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
74887         * sysdeps/s390/asm-syntax.h: Likewise.
74888         * sysdeps/s390/s390-32/sysdep.h: Likewise.
74889         * sysdeps/s390/s390-64/sysdep.h: Likewise.
74890         * sysdeps/sh/sysdep.h: Likewise.
74891         * sysdeps/unix/sparc/sysdep.h: Likewise.
74892         * sysdeps/wordsize-32/divdi3.c: Likewise.
74893         * sysdeps/x86_64/sysdep.h: Likewise.
74895         * argp/Versions: Remove _argp_unlock_xxx.
74897         [BZ #13559]
74898         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
74899         * abilist/libBrokenLocale.abilist: Likewise.
74900         * abilist/libanl.abilist: Likewise.
74901         * abilist/libc.abilist: Likewise.
74902         * abilist/libcrypt.abilist: Likewise.
74903         * abilist/libdl.abilist: Likewise.
74904         * abilist/libm.abilist: Likewise.
74905         * abilist/libnsl.abilist: Likewise.
74906         * abilist/libpthread.abilist: Likewise.
74907         * abilist/libresolv.abilist: Likewise.
74908         * abilist/librt.abilist: Likewise.
74909         * abilist/libthread_db.abilist: Likewise.
74910         * abilist/libutil.abilist: Likewise.
74911         * abilist/libnss_db.abilist: New file.
74913         * scripts/abilist.awk: Add support for indirect functions.
74915         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
74917         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
74919         * shlib-versions: Remove entries for ports architectures.
74921         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
74922         files in ports.
74923         * elf/stackguard-macros.h: Remove support for IA-64.
74924         * elf/tst-auditmod1.c: Likewise.
74925         * sysdeps/generic/ldsodefs.h: Likewise.
74927         * sysdeps/unix/sysv/linux/configure.in: Ports should define
74928         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
74929         configure files.
74931         [BZ #13552]
74932         * configure.in: Remove --enable-omitfp support.
74933         * FAQ.in: Adjust.
74934         * config.make.in: Likewise.
74935         * Makeconfig: Likewise.
74936         * manual/install.texi: Likewise.
74938         In case anyone cares, the IA-64 architecture could move to ports.
74939         * sysdeps/ia64/*: Removed.
74940         * sysdeps/unix/sysv/linux/ia64/*: Removed.
74941         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
74943         [BZ #13555]
74944         * configure.in: Remove entries for unsupported architectures.
74946         [BZ #13533]
74947         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
74948         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
74949         routines.
74950         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
74951         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
74952         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
74953         fall back to using wcrtomb.
74954         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
74955         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
74956         renaming.
74957         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
74958         * wcsmbs/tst-c16c32-1.c: New file.
74960         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
74961         local variable.
74963         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
74965         * elf/tst-unique3.cc: Add explicit declaration of gets.
74966         * elf/tst-unique3lib.cc: Likewise.
74967         * elf/tst-unique3lib2.cc: Likewise.
74968         * elf/tst-unique4.cc: Likewise.
74970         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
74972 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
74974         [BZ #13566]
74975         * assert/assert.h (static_assert): Don't define for C++.
74976         * libio/stdio.h (gets): Do declare for C++ <= C++11.
74977         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
74979 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
74981         * iconv/loop.c (single loop): Fix assertion in storing of
74982         remaining bytes.
74984         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
74986 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
74988         * posix/getconf.c: Update copyright year.
74989         * nss/getent.c: Likewise.
74990         * nss/makedb.c: Likewise.
74991         * iconv/iconvconfig.c: Likewise.
74992         * iconv/iconv_prog.c: Likewise.
74993         * elf/ldconfig.c: Likewise.
74994         * elf/pldd.c: Likewise.
74995         * elf/sotruss.ksh: Likewise.
74996         * catgets/gencat.c: Likewise.
74997         * csu/version.c: Likewise.
74998         * elf/ldd.bash.in: Likewise.
74999         * elf/sprof.c (print_version): Likewise.
75000         * locale/programs/locale.c: Likewise.
75001         * locale/programs/localedef.c: Likewise.
75002         * login/programs/pt_chown.c: Likewise.
75003         * nscd/nscd.c (print_version): Likewise.
75004         * debug/xtrace.sh: Likewise.
75005         * malloc/memusage.sh: Likewise.
75006         * malloc/mtrace.pl: Likewise.
75007         * debug/catchsegv.sh: Likewise.
75009 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
75011         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
75012         pure attribute.
75014 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
75016         [BZ #13533]
75017         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
75018         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
75019         transformations.
75020         * iconv/gconv_int.h: Likewise.
75021         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
75022         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
75023         from libc for GLIBC_2.16.
75024         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
75025         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
75026         * wcsmbs/uchar.h: Really define mbstate_t.
75027         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
75028         * wcsmbs/c16rtomb.c: New file.
75029         * wcsmbs/mbrtoc16.c: New file.
75030         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
75031         for C/POSIX locale.
75032         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
75033         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
75035         * wcsmbs/wchar.h: Add missing __restrict.
75037 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
75039         [BZ #13532]
75040         * time/Makefile (routines): Add timespec_get.
75041         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
75042         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
75043         timespec for ISO C11.
75044         * time/timespec_get.c: New file.
75045         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
75046         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
75048         [BZ #13531]
75049         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
75050         * stdlib/stdlib.h: Declare aligned_alloc.
75051         * Versions.def: Add GLIBC_2.16 for libc.
75052         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
75054         [BZ 13527]
75055         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
75056         ISO C11.
75058         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
75059         code.
75061         [BZ #13528]
75062         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
75064         [BZ #13529]
75065         * assert/assert.h (static_assert): Define.
75067         * version.h: Update for 2.16 development version.
75069         [BZ #13526]
75070         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
75071         _ISOC11_SOURCE.
75073         * version.h (RELEASE): Bump for 2.15 release.
75074         * include/features.h (__GLIBC_MINOR__): Bump to 15.
75076         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
75077         Patch by Marek Polacek <mpolacek@redhat.com>.
75079         * bits/byteswap.h: Protect long long constants with __extension__.
75080         * sysdeps/i386/bits/byteswap.h: Likewise.
75081         * sysdeps/ia64/bits/byteswap.h: Likewise.
75082         * sysdeps/s390/bits/byteswap.h: Likewise.
75083         * sysdeps/x86_64/bits/byteswap.h: Likewise.
75085 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75087         [BZ #13540]
75088         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
75089         destination buffer.
75090         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
75092 2011-12-23  Marek Polacek  <polacek@redhat.com>
75094         * elf/dl-addr.c (determine_info): Add inline keyword.
75095         * elf/tst-auditmod4b.c (check_avx): Likewise.
75096         * elf/tst-auditmod6b.c (check_avx): Likewise.
75097         * elf/tst-auditmod6c.c (check_avx): Likewise.
75098         * elf/tst-auditmod7b.c (check_avx): Likewise.
75100 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
75102         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
75103         !__SSE_MATH__.
75105 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75107         [BZ #13540]
75108         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
75109         processing for last bytes.
75111 2011-08-06  Bruno Haible  <bruno@clisp.org>
75113         [BZ #13061]
75114         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
75115         U+0385, not to U+1FEE.
75117         [BZ #13062]
75118         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
75119         entry for U+00A5 U+0301.
75121 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
75123         [BZ #13166]
75124         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
75125         buffer for the output is too small.
75127         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
75128         optimization.
75130         [BZ #13185]
75131         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
75132         SSE flags if possible.
75134 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75136         [BZ #13540]
75137         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
75138         processing for last bytes.
75140 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
75142         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
75143         (syscall-list-default-options, syscall-list-default-condition)
75144         (syscall-list-includes): Define.
75145         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
75146         list of ABIs and options and #if conditions for each ABI.  Do not
75147         handle common syscalls between ABIs specially.
75148         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
75149         Remove.
75150         (syscall-list-variants, syscall-list-32bit-options)
75151         (syscall-list-32bit-condition, syscall-list-64bit-options)
75152         (syscall-list-64bit-condition): Define.
75153         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
75154         (syscall-list-variants, syscall-list-32bit-options)
75155         (syscall-list-32bit-condition, syscall-list-64bit-options)
75156         (syscall-list-64bit-condition): Define.
75157         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
75158         Remove.
75159         (syscall-list-variants, syscall-list-32bit-options)
75160         (syscall-list-32bit-condition, syscall-list-64bit-options)
75161         (syscall-list-64bit-condition): Define.
75162         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
75163         Remove.
75164         (syscall-list-variants, syscall-list-32bit-options)
75165         (syscall-list-32bit-condition, syscall-list-64bit-options)
75166         (syscall-list-64bit-condition): Define.
75168 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
75170         * locale/iso-639.def: Add brx entry.
75172         [BZ #13328]
75173         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
75174         Proposed by Mariusz_Cukr <marcukr@op.pl>.
75176         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
75177         __feraiseexcept_renamed.
75179 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
75181         [BZ #13538]
75182         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
75183         EPOLLET with unsigned values.
75184         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
75185         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
75187         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
75188         to large cancellation.
75189         * math/s_cacoshf.c: Likewise.
75190         * math/s_cacoshl.c: Likewise.
75192 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
75194         [BZ #13305]
75195         [BZ #12786]
75196         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
75197         * math/s_cacoshf.c: Likewise.
75198         * math/s_cacoshl.c: Likewise.
75200 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
75202         [BZ #13439]
75203         * iconv/gconv.h: Define __GCONV_SWAP.
75204         * iconvdata/unicode.c: The swap bit must be stored in __flags.
75205         * iconvdata/utf-16.c: Likewise.
75206         * iconvdata/utf-32.c: Likewise.
75208 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
75210         [BZ #13524]
75211         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
75212         numerator after shifting it by one limb.
75214 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
75216         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
75217         under [__USE_EXTERN_INLINES].
75219 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
75221         [BZ #13446]
75222         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
75224 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75226         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
75227         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
75228         optimized code.
75229         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
75230         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
75231         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
75232         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
75233         for strncasecmp/strncasecmp_l compilation.
75234         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
75235         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
75237 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
75239         [BZ #13484]
75240         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
75241         of __asm__.
75243 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
75245         [BZ #13506]
75246         * time/tzfile.c (__tzfile_read): Check values from file header.
75248 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
75250         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
75251         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
75252         * powerpc/powerpc32/dl-start.S: Likewise.
75253         * powerpc/powerpc32/elf/start.S: Likewise.
75254         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
75255         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
75256         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
75257         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
75258         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
75259         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
75260         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
75261         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
75262         * powerpc/powerpc32/fpu/s_round.S: Likewise.
75263         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
75264         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
75265         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
75266         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
75267         * powerpc/powerpc32/memset.S: Likewise.
75268         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
75269         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
75270         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
75271         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
75272         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
75273         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
75274         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
75275         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
75276         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
75277         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
75278         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
75279         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
75280         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
75282 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75284         * math/libm-test.inc: Added more nearbyint tests.
75285         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
75286         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
75287         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
75288         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
75290 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
75292         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
75293         FD_CLOEXEC.
75295 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75297         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
75298         Add wcscpy-ssse3 wcscpy-c.
75299         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
75300         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
75301         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
75302         * sysdeps/x86_64/wcschr.S: New file.
75303         * sysdeps/x86_64/wcsrchr.S: New file.
75304         * string/test-strcmp.c: Remove checking of wcscmp function for
75305         wrong alignments.
75306         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
75307         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
75308         wcsrchr-sse2 wcsrchr-c.
75309         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
75310         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
75311         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
75312         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
75313         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
75314         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
75315         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
75316         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
75317         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
75318         * wcsmbc/wcschr.c (WCSCHR): New macro.
75320 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75322         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
75323         * wcsmbs/test-wcsrchr.c: New file.
75324         * string/test-strrchr.c: Add wcsrchr support.
75325         (WIDE): New macro.
75326         * wcsmbs/test-wcscpy.c: New file.
75327         * string/test-strcpy.c: Add wcscpy support.
75328         (WIDE): New macro.
75330 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
75332         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
75333         the inner loop.
75335 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
75337         [BZ #13472]
75338         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
75340 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
75342         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
75343         Minor optimizations.
75345         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
75346         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
75347         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
75349 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
75351         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
75352         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
75353         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
75354         for gcc to avoid warnings.
75355         * inet/Makefile (tests): Add tst-checks.
75356         * inet/tst-checks.c: New file.
75358         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
75359         warning.
75361         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
75362         __wmemcmp_sse2.
75364         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
75365         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
75367         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
75369 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
75371         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
75372         problem.
75374         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
75376 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
75378         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
75379         conditional on GCC version.
75380         (__arch_compare_and_exchange_val_8_acq)
75381         (__arch_compare_and_exchange_val_16_acq)
75382         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
75383         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
75384         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
75386 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
75388         * sysdeps/sh/backtrace.c: New file.
75390 2011-12-02  Andreas Schwab  <schwab@redhat.com>
75392         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
75393         parenthesis.
75395 2011-12-01  Andreas Schwab  <schwab@redhat.com>
75397         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
75398         falling back to utime.
75400 2011-11-30  Andreas Schwab  <schwab@redhat.com>
75402         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
75403         expectations for float.
75405 2011-11-29  Andreas Schwab  <schwab@redhat.com>
75407         * locale/weight.h (findidx): Add parameter len.
75408         * locale/weightwc.h (findidx): Likewise.
75409         * posix/fnmatch_loop.c (FCT): Adjust caller.
75410         * posix/regcomp.c (build_equiv_class): Likewise.
75411         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
75412         * posix/regexec.c (check_node_accept_bytes): Likewise.
75413         * string/strcoll_l.c (STRCOLL): Likewise.
75414         * string/strxfrm_l.c (STRXFRM): Likewise.
75416 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
75418         * Makefile.in: Remove CVSOPT handling.
75419         * configure.in: Remove use of AC_REVISION.
75420         * iconvdata/Makefile (distribute): No need to filter out CVS.
75421         * scripts/list-sources.sh: Remove CVS, subversion and monotone
75422         handling.
75424 2011-11-16  Andreas Schwab  <schwab@redhat.com>
75426         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
75427         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
75428         [USE_AS_STRNCASECMP_L]: Likewise.
75429         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
75430         NO_TLS_DIRECT_SEG_REFS.
75431         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
75432         Fix argument offsets for non-PIC.
75433         [USE_AS_STRNCASECMP_L]: Likewise.
75434         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
75435         NO_TLS_DIRECT_SEG_REFS.
75437 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
75439         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
75440         O_CLOEXEC.
75441         * locale/loadlocale.c (_nl_load_locale): Likewise.
75443 2011-11-15  Andreas Schwab  <schwab@redhat.com>
75445         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
75446         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
75447         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
75448         (SYSCALL_GETTIME): Set errno on error.
75450         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
75451         count references to noai6ai_cached.
75453 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
75455         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
75457         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
75458         FD_CLOEXEC for /proc/self/maps.
75460         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
75461         FD_CLOEXEC for /proc/meminfo.
75463         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
75464         gai.conf.
75466         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
75467         FD_CLOEXEC for given file.
75469         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
75471         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
75472         FD_CLOEXEC for /etc/hosts.
75473         (_gethtent): Likewise.
75475         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
75477         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
75478         cancellation and set FD_CLOEXEC for /etc/netgroup.
75480         * nss/nss_files/files-key.c (search): Don't allow cancellation when
75481         reading /etc/publickey.
75483         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
75484         allow cancellation when reading /etc/group.
75486         * nss/nss_files/files-alias.c (internal_setent): Don't allow
75487         cancellation.
75488         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
75490         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
75491         when using data file.
75493         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
75495         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
75496         (write_nis_obj): Use "c" and "e" in fopen.
75498         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
75500         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
75502         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
75504         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
75506         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
75507         locale.alias.
75509         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
75511         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
75513         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
75515         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
75516         file parsing and set FD_CLOEXEC.
75518 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
75520         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
75522 2011-11-14  Andreas Schwab  <schwab@redhat.com>
75524         * malloc/arena.c (arena_get2): Don't call reused_arena when
75525         _int_new_arena failed.
75527 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
75529         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
75530         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
75531         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
75532         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
75533         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
75534         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
75535         to compile strcasecmp and strncasecmp.
75536         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
75537         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
75539         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
75541 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
75543         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
75544         locale-defines.sym to gen-as-const-headers.
75545         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
75546         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
75547         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
75548         to compile strcasecmp and strncasecmp.
75549         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
75550         strcasecmp_l and strncasecmp_l.
75551         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
75552         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
75553         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
75554         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
75555         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
75556         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
75557         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
75558         * sysdeps/i386/i686/multiarch/strncase.S: New file.
75559         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
75560         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
75561         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
75563 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
75565         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
75566         result of SYSDEP_GETTIME_CPU to retval.
75567         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
75568         parameter list to macro.  Remove trailing semicolon.  Adjust users.
75570         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
75571         variable.
75573         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
75574         mantissa words.
75575         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
75577         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
75578         from unused variable.
75580         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
75581         DWARF definitions.
75582         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
75583         for assembling.
75585         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
75586         over namespaces.
75588         * sunrpc/rpc_prot.c (rejected): Fix case value.
75590         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
75591         unsigned long long int to avoid warnings in shift.
75593         * posix/regex_internal.c (re_string_reconstruct): Actually use result
75594         of use of trans.
75595         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
75596         variable tmp.
75598         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
75599         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
75600         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
75602         * nis/nis_table.c (nis_list): Use variable of correct type for
75603         result of __follow_path call.
75605 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75607         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
75608         of math functions ceil, trunc, floor, round, and sqrt, when
75609         avaliable on the platform.
75610         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
75611         name clash.
75612         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
75613         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
75614         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
75616 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
75618         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
75619         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
75621 2011-11-11  Roland McGrath  <roland@hack.frob.com>
75623         * include/unistd.h: Fix __readlink return type.
75624         Reported by Chris Metcalf <cmetcalf@tilera.com>.
75626 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
75628         * stdlib/ucontext.h: Undo last change for makecontext.
75630 2011-11-11  Andreas Schwab  <schwab@redhat.com>
75632         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
75634         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
75635         * setjmp/setjmp.h: Mark functions as non-leaf.
75636         * setjmp/bits/setjmp2.h: Likewise.
75637         * stdlib/ucontext.h: Likewise.
75639 2011-11-10  Andreas Schwab  <schwab@redhat.com>
75641         * malloc/arena.c (_int_new_arena): Don't increment narenas.
75642         (reused_arena): Don't check arena limit.
75643         (arena_get2): Atomically check arena limit.
75645 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
75647         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
75648         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
75650         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
75651         instructions.
75653 2011-11-07  Andreas Schwab  <schwab@redhat.com>
75655         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
75656         handler when locking.
75658         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
75659         Fix size of allocated buffer.
75661 2011-11-04  Andreas Schwab  <schwab@redhat.com>
75663         [BZ #10103]
75664         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
75665         declarations for long double functions.
75666         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
75668         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
75670 2011-11-03  Andreas Schwab  <schwab@redhat.com>
75672         * nscd/nscd.c (main): Don't start AVC thread until credentials are
75673         installed.
75675         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
75676         is disabled.
75678 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75680         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
75682 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
75684         * include/alloca.h (stackinfo_alloca_round): Define.
75685         (extend_alloca): Use it.
75686         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
75687         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
75688         here.
75690         * scripts/check-local-headers.sh: Ignore libaudit.h.
75692         * nscd/Makefile (extra-objs): Make recursively expanded.
75694 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
75696         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
75697         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
75699         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
75700         * posix/tst-rfc3484-2.c: Likewise.
75701         * posix/tst-rfc3484-3.c: Likewise.
75703         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
75704         process_vm_writev.
75705         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
75706         process_vm_writev.
75707         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
75708         process_vm_writev from libc using GLIBC_2.15 version.
75710         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
75712 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
75714         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
75715         stack usage.
75717 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
75719         [BZ #13367]
75720         * nss/getent.c (initgroups_keys): Show error message in case no group
75721         names are given.
75723         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
75724         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
75725         __bump_nl_timestamp.
75726         * nscd/connections (nscd_init): When host database is served open
75727         netlink socket and request notification about configuration changes.
75728         (main_loop_poll): Track netlink file descriptor and bump timestamp
75729         in case data becomes available.
75730         (main_loop_epoll): Likewise.
75731         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
75732         (database_pers_head): Add extra_data fileds.
75733         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
75734         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
75735         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
75736         Adjust caller.
75737         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
75738         in6ai data, call __free_in6ai.
75739         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
75740         Add -DHAVE_NETLINK.
75741         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
75742         interface information.  Reuse previous data if netlink timestamp
75743         is not changed.
75744         (__bump_nl_timestamp): New function.
75745         (__free_in6ai): New function.
75747 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
75749         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
75750         close_not_cancel_no_status here.
75751         (__check_pf): Reorganize code a bit to not call close twice if OOM.
75753 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
75755         [BZ #13276]
75756         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
75757         return value.
75759         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
75760         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
75761         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
75763 2011-07-03  Andreas Jaeger  <aj@suse.de>
75765         [BZ #10709]
75766         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
75767         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
75768         * math/libm-test.inc (sin_test): Add test case.
75770 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
75772         [BZ #13337]
75773         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
75774         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
75776         * elf/chroot_canon.c (chroot_canon): Cleanups.
75778         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
75780         [BZ #13335]
75781         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
75782         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
75784         * string/test-strchr.c: Make usable for strchrnul testing.
75785         * string/test-strchrnul.c: New file.
75786         * string/Makefile (strop-tests): Add strchrnul.
75788         * po/it.po: Update from translation team.
75789         * po/es.po: Likewise.
75791 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
75793         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
75794         the three constants needed as parameters.  Drop the others.
75795         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
75796         __m128i_strloadu_tolower.
75797         Create and initialize variable zero and use it in all the places
75798         where _mm_setzero_si128 was used.
75800         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
75801         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
75802         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
75803         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
75804         anymore.
75805         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
75806         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
75807         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
75808         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
75809         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
75810         __mpranred, __mptan.
75811         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
75812         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
75813         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
75814         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
75815         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
75816         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
75817         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
75818         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
75819         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
75821 2011-10-28  Andreas Schwab  <schwab@redhat.com>
75823         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
75824         redefine if SHARED.
75825         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
75827         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
75828         wide char related routines to wcsmbs subdir.
75830 2011-10-27  Andreas Schwab  <schwab@redhat.com>
75832         [BZ #13344]
75833         * misc/sys/cdefs.h (__THROWNL): Define.
75834         * posix/unistd.h: Use __THREADNL instead of __THREAD
75835         for memory synchronization functions.
75837 2011-10-26  Roland McGrath  <roland@hack.frob.com>
75839         [BZ #13349]
75840         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
75841         doesn't exist.
75842         * manual/stdio.texi (Obstack Streams): Node removed.
75844 2011-10-26  Andreas Schwab  <schwab@redhat.com>
75846         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
75847         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
75848         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
75850         * math/math_private.h (math_force_eval): Allow non-addressable
75851         arguments.
75852         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
75854 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
75856         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
75857         file is not needed.
75859         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
75860         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
75861         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
75862         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
75863         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
75864         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
75865         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
75866         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
75867         Add AVX variants.
75868         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
75869         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
75870         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
75871         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
75872         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
75873         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
75874         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
75875         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
75876         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
75877         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
75878         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
75879         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
75880         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
75881         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
75882         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
75883         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
75884         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
75885         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
75886         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
75888         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
75889         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
75891         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
75892         place.  Use VEX encoding when compiling for AVX.
75894 2011-10-25  Andreas Schwab  <schwab@redhat.com>
75896         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
75897         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
75899         * string/test-strchr.c (do_test): Don't generate NUL bytes.
75901 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
75903         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
75904         useless if() expression.
75905         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
75906         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
75907         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
75908         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
75909         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
75910         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
75911         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
75912         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
75913         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
75914         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
75915         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
75916         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
75917         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
75918         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
75919         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
75920         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
75921         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
75922         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
75923         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
75925         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
75927 2011-10-25  Andreas Schwab  <schwab@redhat.com>
75929         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
75930         condition.
75931         * elf/dl-fini.c (_dl_sort_fini): Likewise.
75933 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
75935         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
75936         .text section.  Avoid duplicate constants.
75937         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
75938         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75939         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
75940         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75941         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75942         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75943         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75944         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75945         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
75946         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
75947         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
75948         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
75949         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
75950         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
75951         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
75952         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
75953         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
75954         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
75955         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
75956         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75957         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
75958         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
75959         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
75960         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
75961         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
75962         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
75963         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
75964         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
75965         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
75966         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
75967         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
75968         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
75969         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
75970         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
75971         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
75972         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
75973         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
75974         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
75975         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
75976         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
75977         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
75978         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
75979         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
75980         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
75981         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
75983 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
75985         * sysdeps/x86_64/dla.h: Move to ...
75986         * sysdeps/x86_64/fpu/dla.h: ...here.
75987         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
75988         situations.  Use __builtin_fma only for gcc 4.6 and up.
75990         * config.make.in: Add have-mfma4 entry.
75991         * configure.in: Substitute libc_cv_cc_fma4.
75992         * math/Makefile (dbl-only-routines): Add sincostab.
75993         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
75994         Use __sincostab not sincos.
75995         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
75996         name is a macro.
75997         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75998         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75999         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76000         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
76001         using __copysign.
76002         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
76003         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
76004         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
76005         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
76006         and __inv.
76007         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
76008         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
76009         __copysign.
76010         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
76011         define aliases when function name is a macro.
76012         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
76013         sysdeps/ieee754/dbl-64/sincos.tbl.
76014         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
76015         fma4-enabled routines.
76016         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
76017         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
76018         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
76019         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
76020         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
76021         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
76022         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
76023         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
76024         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
76025         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
76026         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
76027         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
76028         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
76029         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
76030         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
76031         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
76032         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
76033         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
76034         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
76035         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
76036         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
76037         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
76038         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
76039         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
76040         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
76041         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
76042         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
76043         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
76044         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
76045         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
76047         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
76048         rename.
76049         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76050         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76051         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76052         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76053         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76054         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76055         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
76056         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
76058 2011-10-24  Andreas Schwab  <schwab@redhat.com>
76060         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
76062 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
76064         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
76066         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
76067         prediction.
76068         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
76070         * string/strnlen.c: Don't define STRNLEN, reverse logic.
76071         Remove unused variable magic_bits.
76072         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
76074         * string/strnlen.c: Define and use STRNLEN macro.
76075         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
76076         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
76077         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
76078         * wcsmbs/wcslen.c: Define and use WCSLEN.
76079         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
76080         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
76081         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
76082         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
76083         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
76084         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
76085         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
76087 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76089         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76090         strnlen-sse2-no-bsf.
76091         Rename strlen-no-bsf to strlen-sse2-no-bsf.
76092         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
76093         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
76094         Add strnlen support.
76095         (USE_AS_STRNLEN): New macro.
76096         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
76097         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
76098         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
76099         * sysdeps/x86_64/wcslen.S: New file.
76101 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
76103         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
76104         XMM-moves are used for copying on small sizes.
76106 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76108         * wcsmbs/Makefile (strop-tests): Add wcschr.
76109         * wcsmbs/test-wcschr.c: New file.
76110         * string/test-strchr.c: Update.
76111         Add wcschr support.
76112         (WIDE): New macro.
76114 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76116         * wcsmbs/Makefile (strop-tests): Add wcslen.
76117         * wcsmbs/test-wcslen.c: New file.
76118         * string/test-strlen.c: Update.
76119         Add wcslen support.
76120         (WIDE): New macro.
76122 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
76124         * po/it.po: Update from translation team.
76126 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76128         * sysdeps/x86_64/wcscmp.S: Update.
76129         Fix wrong comparison semantics.
76130         wcscmp shall use signed comparison not unsigned.
76131         Don't use substraction to avoid overflow bug.
76132         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
76133         * wcsmbc/wcscmp.c: Likewise.
76134         * string/test-strcmp.c: Likewise.
76135         Add new tests to check cases with negative values.
76137 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
76139         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
76140         * sysdeps/x86_64/dla.h: ...here.  New file.
76141         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
76142         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76143         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76144         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76145         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76146         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
76147         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76148         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
76149         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
76151 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
76153         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
76154         __ynl_finite aliases.
76156 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
76158         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76160         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
76161         define DLA_FMA.
76162         [DLA_FMA] (EMULV): Use DLA_FMA.
76163         [DLA_FMA] (MUL12): Use EMULV.
76164         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
76165         that are not needed.
76166         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76167         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76168         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76169         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76170         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76171         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
76172         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
76174 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
76176         * math/s_nan.c: Undef __nan.
76177         * math/s_nanf.c: Undef __nanf.
76178         * math/s_nanl.c: Undef __nanl.
76179         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
76180         "math_private.h".
76182 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
76184         * math/s_catan.c: Add branch predictions.
76185         * math/s_catanf.c: Likewise.
76186         * math/s_catanh.c: Likewise.
76187         * math/s_catanhf.c: Likewise.
76188         * math/s_catanhl.c: Likewise.
76189         * math/s_catanl.c: Likewise.
76190         * math/s_cexp.c: Likewise.
76191         * math/s_cexpf.c: Likewise.
76192         * math/s_cexpl.c: Likewise.
76193         * math/s_clog.c: Likewise.
76194         * math/s_clog10.c: Likewise.
76195         * math/s_clog10f.c: Likewise.
76196         * math/s_clog10l.c: Likewise.
76197         * math/s_clogf.c: Likewise.
76198         * math/s_clogl.c: Likewise.
76199         * math/s_csqrt.c: Likewise.
76200         * math/s_csqrtf.c: Likewise.
76201         * math/s_csqrtl.c: Likewise.
76202         * math/s_ctanf.c: Likewise.
76203         * math/s_ctanh.c: Likewise.
76204         * math/s_ctanhf.c: Likewise.
76205         * math/s_ctanhl.c: Likewise.
76206         * math/s_ctanl.c: Likewise.
76208         * math/math_private.h: Define __nan, __nanf, __nanl.
76209         * math/s_cacosh.c: Include <math_private.h>.
76210         * math/s_cacoshl.c: Likewise.
76211         * math/s_casinh.c: Likewise.
76212         * math/s_casinhf.c: Likewise.
76213         * math/s_casinhl.c: Likewise.
76214         * math/s_ccos.c: Rely entire on ccosh.
76215         * math/s_ccosf.c: Rely entire on ccoshf.
76216         * math/s_ccosl.c: Rely entirely on ccoshl.
76217         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
76218         Remove tests for FE_INVALID.
76219         * math/s_ccoshf.c: Likewise.
76220         * math/s_ccoshl.c: Likewise.
76221         * math/s_csin.c: Likewise.
76222         * math/s_csinf.c: Likewise.
76223         * math/s_csinh.c Likewise.
76224         * math/s_csinhf.c: Likewise.
76225         * math/s_csinhl.c: Likewise.
76226         * math/s_csinl.c: Likewise.
76227         * math/s_ctan.c: Likewise.
76228         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
76229         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
76230         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
76232 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
76234         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
76235         compilation problems.
76237         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
76238         __builtin_expect.
76240 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
76242         * sysdeps/i386/configure.in: Test for -mfma4 option.
76243         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
76244         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
76245         COMMON_CPUID_INDEX_80000001.
76246         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
76247         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
76248         use it if FMA3 is not supported.
76249         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
76251         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
76252         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
76254 2011-10-20  Andreas Schwab  <schwab@redhat.com>
76256         [BZ #12892]
76257         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
76258         it would create a cycle with a link time dependency.
76260 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
76262         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
76263         instruction.
76264         * string/Makefile (strop-tests): Add rawmemchr.
76265         * string/test-rawmemchr.c: New file.
76267         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
76268         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
76269         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
76270         when compiling str{,n}casecmp and when AVX is available.  Hook up
76271         new optimized code in initializers.
76273 2011-10-19  Andreas Schwab  <schwab@redhat.com>
76275         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
76276         __feraiseexcept instead of feraiseexcept.
76278 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
76280         * math/math_private.h: Define defaults for libc_fetestexcept and
76281         libc_feupdateenv.
76282         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
76283         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
76284         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
76285         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
76286         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
76287         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
76288         libc_fetestexcept and libc_feupdateenv.
76290         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
76291         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
76292         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
76293         * sysdeps/x86_64/fpu/math_private.h: Define special version of
76294         libc_feholdexcept_setround.
76296         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
76297         Add s_nearbyint-c and s_nearbyintf-c.
76298         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
76299         nearbyintf inlines.
76300         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
76301         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
76302         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
76303         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
76305         * math/math_private.h: Define defaults for libc_fegetround,
76306         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
76307         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
76308         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
76309         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
76310         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
76311         standard functions.
76312         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
76313         Remove comments and hacks for old compiler versions.
76314         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
76315         libc_fegetround, libc_fesetround, libc_feholdexcept, and
76316         libc_feholdexceptl.
76318 2011-10-18  Andreas Schwab  <schwab@redhat.com>
76320         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
76321         (__feraiseexcept_renamed): Add __NTH.
76322         (feraiseexcept): Add __NTH.  Rename local variables to fix
76323         namespace violations.
76325 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
76327         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
76329         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
76331         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
76332         recently added interfaces.
76333         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
76335         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
76336         about macro parameter expansion.
76338         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
76339         __NO_MATH_INLINES is defined.  Cleanups.
76341         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
76342         and __floorf is target has SSE4.1.
76343         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
76344         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
76345         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
76346         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
76348         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
76349         name.
76350         (floorf): Likewise.
76352         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
76354 2011-10-17  Andreas Schwab  <schwab@redhat.com>
76356         * misc/sys/cdefs.h: Fix last change.
76358         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
76359         database lookup.
76361 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
76363         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
76365         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
76366         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
76367         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
76368         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
76369         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
76370         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
76371         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
76372         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
76373         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
76374         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
76375         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
76376         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
76377         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
76378         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
76379         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
76380         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
76381         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
76382         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
76383         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
76384         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
76385         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
76386         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
76388         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
76389         ceil, ceilf, floor, floorf.
76391         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
76392         Perform IRELATIVE relocations last.
76394         * elf/do-rel.h: Add another parameter nrelative, replacing the
76395         local variable with the same name.  Change name of the function
76396         to end in Rel or Rela (uppercase).
76397         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
76398         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
76399         elf_dynamic_do_##reloc function.
76401 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
76403         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
76404         is sufficient, at least on modern CPUs.
76406         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
76408         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
76409         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
76411         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
76412         __expl_finite.
76413         * math/bits/math-finite.h: Add entries for exp.
76414         * math/e_expl.c: Add __*_finite alias.
76415         * sysdeps/i386/fpu/e_exp.S: Likewise.
76416         * sysdeps/i386/fpu/e_expf.S: Likewise.
76417         * sysdeps/i386/fpu/e_expl.c: Likewise.
76418         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
76419         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
76420         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
76421         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
76422         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
76423         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
76424         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
76426         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
76427         is sufficient, at least on modern CPUs.
76429         * ctype/ctype-info.c (__ctype_init): Define.
76430         * include/ctype.h (__ctype_init): Declare.
76431         (__ctype_b_loc): The variable is always initialized.
76432         (__ctype_toupper_loc): Likewise.
76433         (__ctype_tolower_loc): Likewise.
76434         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
76435         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
76437 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
76439         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
76441         * configure.in: Also look in $cxxmachine/include for C++ system
76442         headers.
76444 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76446         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
76447         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
76448         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
76449         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
76450         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
76451         (USE_AS_WMEMCMP): New macro.
76452         Fixing indents.
76453         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
76454         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
76455         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
76456         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
76457         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76458         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
76459         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
76460         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
76461         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
76462         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
76463         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
76464         (USE_AS_WMEMCMP): New macro.
76465         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
76466         * sysdeps/string/test-memcmp.c: Update.
76467         Fix simple_wmemcmp.
76468         Add new tests.
76469         * wcsmbs/wmemcmp.c: Update.
76470         (WMEMCMP): New macro.
76471         Fix overflow bug.
76473 2011-10-12  Andreas Jaeger  <aj@suse.de>
76475         [BZ #13268]
76476         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
76478 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
76480         * libio/iofwide.c (do_length): Avoid warning.
76482         * ctype/ctype.h (__isctype_f): Add missing __THROW.
76484 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
76486         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
76488         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
76489         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
76490         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
76491         * sysdeps/i386/i686/fpu/e_log.S: New file.
76492         * sysdeps/i386/i686/fpu/e_logf.S: New file.
76493         * sysdeps/i386/i686/fpu/e_logl.S: New file.
76495         * ctype/ctype.h: Add support for inlined isXXX functions when
76496         compiling C++ code.
76498 2011-10-14  Andreas Schwab  <schwab@redhat.com>
76500         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
76502         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
76504 2011-10-13  Roland McGrath  <roland@hack.frob.com>
76506         [BZ #13291]
76507         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
76509 2011-10-13  Andreas Schwab  <schwab@redhat.com>
76511         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
76512         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
76513         feraiseexcept.
76515         * sysdeps/x86_64/memrchr.S: Check for zero size.
76517         * string/stratcliff.c: Add memrchr tests.
76519 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76521         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76522         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
76523         rawmemchr-sse2 rawmemchr-sse2-bsf.
76524         * sysdeps/i386/i686/multiarch/memchr.S: New file.
76525         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
76526         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
76527         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
76528         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
76529         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
76530         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
76531         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
76532         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
76533         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
76534         * string/memrchr.c (MEMRCHR): New macro.
76536 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
76538         Add integration with gcc's -ffinite-math-only and optimize wrapper
76539         functions in libm.
76540         * Versions.def: Define GLIBC_2.15 version for libm.
76541         * math/Makefile (headers): Add bits/math-finite.h.
76542         * math/bits/math-finite.h: New file.
76543         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
76544         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
76545         * math/e_acoshl.c: Add __*_finite alias.
76546         * math/e_acosl.c: Likewise.
76547         * math/e_asinl.c: Likewise.
76548         * math/e_atan2l.c: Likewise.
76549         * math/e_atanhl.c: Likewise.
76550         * math/e_coshl.c: Likewise.
76551         * math/e_exp10.c: Likewise.
76552         * math/e_exp10f.c: Likewise.
76553         * math/e_exp10l.c: Likewise.
76554         * math/e_exp2l.c: Likewise.
76555         * math/e_fmodl.c: Likewise.
76556         * math/e_gammal_r.c: Likewise.
76557         * math/e_hypotl.c: Likewise.
76558         * math/e_j0l.c: Likewise.
76559         * math/e_j1l.c: Likewise.
76560         * math/e_jnl.c: Likewise.
76561         * math/e_lgammal_r.c: Likewise.
76562         * math/e_log10l.c: Likewise.
76563         * math/e_log2l.c: Likewise.
76564         * math/e_logl.c: Likewise.
76565         * math/e_powl.c: Likewise.
76566         * math/e_sinhl.c: Likewise.
76567         * math/e_sqrtl.c: Likewise.
76568         * math/e_scalb.c: Completely rewritten and optimized.
76569         * math/e_scalbf.c: Likewise.
76570         * math/e_scalbl.c: Likewise.
76571         * math/w_acos.c: Likewise.
76572         * math/w_acosf.c: Likewise.
76573         * math/w_acosl.c: Likewise.
76574         * math/w_acosh.c: Likewise.
76575         * math/w_acoshf.c: Likewise.
76576         * math/w_acoshl.c: Likewise.
76577         * math/w_asin.c: Likewise.
76578         * math/w_asinf.c: Likewise.
76579         * math/w_asinl.c: Likewise.
76580         * math/w_atan2.c: Likewise.
76581         * math/w_atan2f.c: Likewise.
76582         * math/w_atan2l.c: Likewise.
76583         * math/w_atanh.c: Likewise.
76584         * math/w_atanhf.c: Likewise.
76585         * math/w_atanhl.c: Likewise.
76586         * math/w_exp10.c: Likewise.
76587         * math/w_exp10f.c: Likewise.
76588         * math/w_exp10l.c: Likewise.
76589         * math/w_fmod.c: Likewise.
76590         * math/w_fmodf.c: Likewise.
76591         * math/w_fmodl.c: Likewise.
76592         * math/w_j0.c: Likewise.
76593         * math/w_j0f.c: Likewise.
76594         * math/w_j0l.c: Likewise.
76595         * math/w_j1.c: Likewise.
76596         * math/w_j1f.c: Likewise.
76597         * math/w_j1l.c: Likewise.
76598         * math/w_jn.c: Likewise.
76599         * math/w_jnf.c: Likewise.
76600         * math/w_log.c: Likewise.
76601         * math/w_logf.c: Likewise.
76602         * math/w_logl.c: Likewise.
76603         * math/w_log10.c: Likewise.
76604         * math/w_log10f.c: Likewise.
76605         * math/w_log10l.c: Likewise.
76606         * math/w_log2.c: Likewise.
76607         * math/w_log2f.c: Likewise.
76608         * math/w_log2l.c: Likewise.
76609         * math/w_pow.c: Likewise.
76610         * math/w_powf.c: Likewise.
76611         * math/w_powl.c: Likewise.
76612         * math/w_remainder.c: Likewise.
76613         * math/w_remainderf.c: Likewise.
76614         * math/w_remainderl.c: Likewise.
76615         * math/w_scalb.c: Likewise.
76616         * math/w_scalbf.c: Likewise.
76617         * math/w_scalbl.c: Likewise.
76618         * math/w_sqrt.c: Likewise.
76619         * math/w_sqrtf.c: Likewise.
76620         * math/w_sqrtl.c: Likewise.
76621         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
76622         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
76623         used.
76624         * math/math_private.h: Declare __kernel_standard_f.
76625         * math/w_cosh.c: Remove cruft and optimize a bit.
76626         * math/w_coshf.c: Likewise.
76627         * math/w_coshl.c: Likewise.
76628         * math/w_exp2.c: Likewise.
76629         * math/w_exp2f.c: Likewise.
76630         * math/w_exp2l.c: Likewise.
76631         * math/w_hypot.c: Likewise.
76632         * math/w_hypotf.c: Likewise.
76633         * math/w_hypotl.c: Likewise.
76634         * math/w_lgamma.c: Likewise.
76635         * math/w_lgamma_r.c: Likewise.
76636         * math/w_lgammaf.c: Likewise.
76637         * math/w_lgammaf_r.c: Likewise.
76638         * math/w_lgammal.c: Likewise.
76639         * math/w_lgammal_r.c: Likewise.
76640         * math/w_sinh.c: Likewise.
76641         * math/w_sinhf.c: Likewise.
76642         * math/w_sinhl.c: Likewise.
76643         * math/w_tgamma.c: Likewise.
76644         * math/w_tgammaf.c: Likewise.
76645         * math/w_tgammal.c: Likewise.
76646         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
76647         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
76648         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
76649         Minor optimizations.  Pretty printing.  Remove cruft.
76650         * sysdeps/i386/fpu/e_acosf.S: Likewise.
76651         * sysdeps/i386/fpu/e_acosh.S: Likewise.
76652         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
76653         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
76654         * sysdeps/i386/fpu/e_acosl.c: Likewise.
76655         * sysdeps/i386/fpu/e_asin.S: Likewise.
76656         * sysdeps/i386/fpu/e_asinf.S: Likewise.
76657         * sysdeps/i386/fpu/e_atan2.S: Likewise.
76658         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
76659         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
76660         * sysdeps/i386/fpu/e_atanh.S: Likewise.
76661         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
76662         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
76663         * sysdeps/i386/fpu/e_exp10.S: Likewise.
76664         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
76665         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
76666         * sysdeps/i386/fpu/e_exp2.S: Likewise.
76667         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
76668         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
76669         * sysdeps/i386/fpu/e_fmod.S: Likewise.
76670         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
76671         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
76672         * sysdeps/i386/fpu/e_hypot.S: Likewise.
76673         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
76674         * sysdeps/i386/fpu/e_log.S: Likewise.
76675         * sysdeps/i386/fpu/e_log10.S: Likewise.
76676         * sysdeps/i386/fpu/e_log10f.S: Likewise.
76677         * sysdeps/i386/fpu/e_log10l.S: Likewise.
76678         * sysdeps/i386/fpu/e_log2.S: Likewise.
76679         * sysdeps/i386/fpu/e_log2f.S: Likewise.
76680         * sysdeps/i386/fpu/e_log2l.S: Likewise.
76681         * sysdeps/i386/fpu/e_logf.S: Likewise.
76682         * sysdeps/i386/fpu/e_logl.S: Likewise.
76683         * sysdeps/i386/fpu/e_pow.S: Likewise.
76684         * sysdeps/i386/fpu/e_powf.S: Likewise.
76685         * sysdeps/i386/fpu/e_powl.S: Likewise.
76686         * sysdeps/i386/fpu/e_remainder.S: Likewise.
76687         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
76688         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
76689         * sysdeps/i386/fpu/e_scalb.S: Likewise.
76690         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
76691         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
76692         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
76693         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
76694         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
76695         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
76696         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
76697         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76698         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
76699         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
76700         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
76701         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
76702         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
76703         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
76704         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
76705         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
76706         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
76707         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76708         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
76709         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
76710         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76711         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
76712         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
76713         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
76714         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76715         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
76716         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
76717         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
76718         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
76719         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
76720         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
76721         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
76722         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
76723         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
76724         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
76725         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
76726         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
76727         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
76728         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
76729         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
76730         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
76731         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
76732         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
76733         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
76734         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
76735         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
76736         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
76737         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
76738         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
76739         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
76740         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
76741         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
76742         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
76743         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
76744         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
76745         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
76746         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
76747         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
76748         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
76749         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
76750         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
76751         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
76752         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
76753         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
76754         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
76755         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
76756         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
76757         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
76758         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
76759         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
76760         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
76761         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
76762         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
76763         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
76764         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
76765         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
76766         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
76767         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
76768         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
76769         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
76770         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
76771         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
76772         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
76773         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
76774         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
76775         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
76776         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
76777         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
76778         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
76779         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
76780         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
76781         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
76782         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
76783         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
76784         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
76785         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
76786         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
76787         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
76788         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
76789         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
76790         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
76791         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
76792         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
76793         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
76794         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
76795         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
76796         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
76797         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
76798         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
76799         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
76800         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
76801         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
76802         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
76803         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
76804         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
76805         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
76806         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
76807         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
76808         (__isnanf): Likewise.
76809         (__isinf_ns): Likewise.
76810         (__isinf_nsf): Likewise.
76811         (__finite): Likewise.
76812         (__finitef): Likewise.
76813         (__ieee754_sqrt): Define as macro.
76814         (__ieee754_sqrtf): Define as macro.
76815         (__ieee754_sqrtl): Define as macro.
76816         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
76817         inlined copy.
76818         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
76819         __FINITE_MATH_ONLY__ consistent.
76820         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
76822 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
76824         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
76825         of rawmemchr.
76827         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
76829 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
76831         * po/ja.po: Update from translation team.
76833 2011-10-08  Roland McGrath  <roland@hack.frob.com>
76835         * locale/programs/locarchive.c (prepare_address_space): New function.
76836         (create_archive, enlarge_archive, open_archive): Use it.
76838         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
76839         inside [SHARED], where it is used.
76841         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
76843         * nss/getent.c (netgroup_keys): Remove unused variable.
76844         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
76846 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
76848         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
76849         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
76850         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
76851         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
76852         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
76853         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
76854         * math/Makefile (libm-calls): Add s_isinf_ns.
76855         * math/divtc3.c: Use __isinf_nsl instead of isinf.
76856         * math/multc3.c: Likewise.
76857         * math/s_casin.c: Likewise.
76858         * math/s_casinf.c: Likewise.
76859         * math/s_casinl.c: Likewise.
76860         * math/s_ccos.c: Likewise.
76861         * math/s_ccosf.c: Likewise.
76862         * math/s_ccosl.c: Likewise.
76863         * math/s_ctan.c: Likewise.
76864         * math/s_ctanf.c: Likewise.
76865         * math/s_ctanh.c: Likewise.
76866         * math/s_ctanhf.c: Likewise.
76867         * math/s_ctanhl.c: Likewise.
76868         * math/s_ctanl.c: Likewise.
76869         * math/w_fmod.c: Likewise.
76870         * math/w_fmodf.c: Likewise.
76871         * math/w_fmodl.c: Likewise.
76872         * math/w_remainder.c: Likewise.
76873         * math/w_remainderf.c: Likewise.
76874         * math/w_remainderl.c: Likewise.
76875         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
76876         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
76877         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
76878         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
76879         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
76880         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
76881         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
76882         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
76884         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
76885         of the number.
76886         * stdio-common/printf_fphex.c: Likewise.
76887         * stdio-common/printf_size.c: Likewise.
76889         * math/e_exp10.c: Include math_private.h using <...> not "...".
76890         * math/e_exp10f.c: Likewise.
76891         * math/e_exp10l.c: Likewise.
76892         * math/e_exp2l.c: Likewise.
76893         * math/e_j0l.c: Likewise.
76894         * math/e_j1l.c: Likewise.
76895         * math/e_jnl.c: Likewise.
76896         * math/e_lgammal_r.c: Likewise.
76897         * math/e_rem_pio2l.c: Likewise.
76898         * math/e_scalb.c: Likewise.
76899         * math/e_scalbf.c: Likewise.
76900         * math/e_scalbl.c: Likewise.
76901         * math/k_cosl.c: Likewise.
76902         * math/k_sinl.c: Likewise.
76903         * math/k_tanl.c: Likewise.
76904         * math/s_cacoshf.c: Likewise.
76905         * math/s_catan.c: Likewise.
76906         * math/s_catanf.c: Likewise.
76907         * math/s_catanh.c: Likewise.
76908         * math/s_catanhf.c: Likewise.
76909         * math/s_catanhl.c: Likewise.
76910         * math/s_catanl.c: Likewise.
76911         * math/s_ccosh.c: Likewise.
76912         * math/s_ccoshf.c: Likewise.
76913         * math/s_ccoshl.c: Likewise.
76914         * math/s_cexp.c: Likewise.
76915         * math/s_cexpf.c: Likewise.
76916         * math/s_cexpl.c: Likewise.
76917         * math/s_clog.c: Likewise.
76918         * math/s_clog10.c: Likewise.
76919         * math/s_clog10f.c: Likewise.
76920         * math/s_clog10l.c: Likewise.
76921         * math/s_clogf.c: Likewise.
76922         * math/s_clogl.c: Likewise.
76923         * math/s_csin.c: Likewise.
76924         * math/s_csinf.c: Likewise.
76925         * math/s_csinh.c: Likewise.
76926         * math/s_csinhf.c: Likewise.
76927         * math/s_csinhl.c: Likewise.
76928         * math/s_csinl.c: Likewise.
76929         * math/s_csqrt.c: Likewise.
76930         * math/s_csqrtf.c: Likewise.
76931         * math/s_csqrtl.c: Likewise.
76932         * math/s_ctan.c: Likewise.
76933         * math/s_ctanf.c: Likewise.
76934         * math/s_ctanh.c: Likewise.
76935         * math/s_ctanhf.c: Likewise.
76936         * math/s_ctanhl.c: Likewise.
76937         * math/s_ctanl.c: Likewise.
76938         * math/s_ldexp.c: Likewise.
76939         * math/s_ldexpf.c: Likewise.
76940         * math/s_ldexpl.c: Likewise.
76941         * math/s_significand.c: Likewise.
76942         * math/s_significandf.c: Likewise.
76943         * math/s_significandl.c: Likewise.
76944         * math/w_acos.c: Likewise.
76945         * math/w_acosf.c: Likewise.
76946         * math/w_acosh.c: Likewise.
76947         * math/w_acoshf.c: Likewise.
76948         * math/w_acoshl.c: Likewise.
76949         * math/w_acosl.c: Likewise.
76950         * math/w_asin.c: Likewise.
76951         * math/w_asinf.c: Likewise.
76952         * math/w_asinl.c: Likewise.
76953         * math/w_atan2.c: Likewise.
76954         * math/w_atan2f.c: Likewise.
76955         * math/w_atan2l.c: Likewise.
76956         * math/w_atanh.c: Likewise.
76957         * math/w_atanhf.c: Likewise.
76958         * math/w_atanhl.c: Likewise.
76959         * math/w_cosh.c: Likewise.
76960         * math/w_coshf.c: Likewise.
76961         * math/w_coshl.c: Likewise.
76962         * math/w_dremf.c: Likewise.
76963         * math/w_exp10.c: Likewise.
76964         * math/w_exp10f.c: Likewise.
76965         * math/w_exp10l.c: Likewise.
76966         * math/w_exp2.c: Likewise.
76967         * math/w_exp2f.c: Likewise.
76968         * math/w_fmod.c: Likewise.
76969         * math/w_fmodf.c: Likewise.
76970         * math/w_fmodl.c: Likewise.
76971         * math/w_hypot.c: Likewise.
76972         * math/w_hypotf.c: Likewise.
76973         * math/w_hypotl.c: Likewise.
76974         * math/w_j0.c: Likewise.
76975         * math/w_j0f.c: Likewise.
76976         * math/w_j0l.c: Likewise.
76977         * math/w_j1.c: Likewise.
76978         * math/w_j1f.c: Likewise.
76979         * math/w_j1l.c: Likewise.
76980         * math/w_jn.c: Likewise.
76981         * math/w_jnf.c: Likewise.
76982         * math/w_jnl.c: Likewise.
76983         * math/w_lgamma.c: Likewise.
76984         * math/w_lgamma_r.c: Likewise.
76985         * math/w_lgammaf.c: Likewise.
76986         * math/w_lgammaf_r.c: Likewise.
76987         * math/w_lgammal.c: Likewise.
76988         * math/w_lgammal_r.c: Likewise.
76989         * math/w_log.c: Likewise.
76990         * math/w_log10.c: Likewise.
76991         * math/w_log10f.c: Likewise.
76992         * math/w_log10l.c: Likewise.
76993         * math/w_log2.c: Likewise.
76994         * math/w_log2f.c: Likewise.
76995         * math/w_log2l.c: Likewise.
76996         * math/w_logf.c: Likewise.
76997         * math/w_logl.c: Likewise.
76998         * math/w_pow.c: Likewise.
76999         * math/w_powf.c: Likewise.
77000         * math/w_powl.c: Likewise.
77001         * math/w_remainder.c: Likewise.
77002         * math/w_remainderf.c: Likewise.
77003         * math/w_remainderl.c: Likewise.
77004         * math/w_scalb.c: Likewise.
77005         * math/w_scalbf.c: Likewise.
77006         * math/w_scalbl.c: Likewise.
77007         * math/w_sinh.c: Likewise.
77008         * math/w_sinhf.c: Likewise.
77009         * math/w_sinhl.c: Likewise.
77010         * math/w_sqrt.c: Likewise.
77011         * math/w_sqrtf.c: Likewise.
77012         * math/w_sqrtl.c: Likewise.
77013         * math/w_tgamma.c: Likewise.
77014         * math/w_tgammaf.c: Likewise.
77015         * math/w_tgammal.c: Likewise.
77017         * po/ja.po: Update from translation team.
77019 2011-09-29  Andreas Jaeger  <aj@suse.de>
77021         [BZ #13179]
77022         * sunrpc/netname.c (netname2host): Fix logic.
77024         [BZ #6779]
77025         [BZ #6783]
77026         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
77027         correctly.
77028         * math/w_remainder.c (__remainder): Likewise.
77029         * math/w_remainderf.c (__remainderf): Likewise.
77030         * math/libm-test.inc (remainder_test): Add test cases.
77032 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77034         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
77035         sdiv_qrnnd.
77037 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
77039         * string/test-memcmp.c: Avoid unncessary #defines.
77040         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
77042 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77044         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
77045         Use new sse2 version for core i3 - i7 as it's faster
77046         than sse42 version.
77047         (bit_Prefer_PMINUB_for_stringop): New.
77048         * sysdeps/x86_64/rawmemchr.S: Update.
77049         Replace with faster SSE2 version.
77050         * sysdeps/x86_64/memrchr.S: New file.
77051         * sysdeps/x86_64/memchr.S: Update.
77052         Replace with faster SSE2 version.
77054 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
77056         * elf/dl-load.c (lose): Add cast to avoid warning.
77058 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
77060         * po/ca.po: Update from translation team.
77062         * inet/getnetgrent_r.c: Hook up nscd.
77063         * nscd/Makefile (routines): Add nscd_netgroup.
77064         (nscd-modules): Add netgroupcache.
77065         (CFLAGS-netgroupcache.c): Define.
77066         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
77067         (cache_search): Add const to second parameter.
77068         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
77069         INNETGR.
77070         (dbs): Add netgrdb entry.
77071         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
77072         (verify_persistent_db): Handle netgrdb.
77073         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
77074         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
77075         GETFDNETGR.
77076         (netgroup_response_header): Define.
77077         (innetgroup_response_header): Define.
77078         (datahead): Add netgroup_response_header and innetgroup_response_header
77079         elements.
77080         * nscd/nscd.conf: Add entries for netgroup cache.
77081         * nscd/nscd.h (dbtype): Add netgrdb.
77082         (_PATH_NSCD_NETGROUP_DB): Define.
77083         (netgroup_iov_disabled): Declare.
77084         (xmalloc, xcalloc, xrealloc): Move declarations here.
77085         (cache_search): Adjust prototype.
77086         Add netgroup-related prototypes.
77087         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
77088         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
77089         (__nscd_innetgr): Declare.
77090         * nscd/selinux.c (perms): Use access_vector_t as element type and
77091         add netgroup-related initializers.
77092         * nscd/netgroupcache.c: New file.
77093         * nscd/nscd_netgroup.c: New file.
77094         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
77095         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
77096         For four parameters use innetgr.
77097         * nss/nss_files/files-init.c: Add definition and callback for netgr.
77098         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
77099         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
77100         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
77102         * nscd/connections.c (register_traced_file): Don't register file
77103         for disabled databases.
77105 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
77107         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
77109         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
77110         from tree and freeing node.
77112 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
77114         * nss/nsswitch.c (__nss_database_lookup): Handle
77115         nss_parse_service_list out of memory case.
77117 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
77119         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
77120         out of memory case.
77122 2011-10-04  Andreas Schwab  <schwab@redhat.com>
77124         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
77125         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
77126         pass it down.
77127         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
77128         elf_machine_rela, elf_machine_lazy_rel.
77129         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
77130         (ELF_DYNAMIC_DO_REL): Likewise.
77131         (ELF_DYNAMIC_DO_RELA): Likewise.
77132         (ELF_DYNAMIC_RELOCATE): Likewise.
77133         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
77134         to ELF_DYNAMIC_DO_REL.
77135         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
77136         (dl_main): In trace mode always set __RTLD_NOIFUNC.
77137         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
77138         elf_machine_rela.
77139         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
77140         skip_ifunc, don't call ifunc function if non-zero.
77141         (elf_machine_rela): Likewise.
77142         (elf_machine_lazy_rel): Likewise.
77143         (elf_machine_lazy_rela): Likewise.
77144         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
77145         (elf_machine_lazy_rel): Likewise.
77146         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
77147         Likewise.
77148         (elf_machine_lazy_rel): Likewise.
77149         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
77150         Likewise.
77151         (elf_machine_lazy_rel): Likewise.
77152         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
77153         (elf_machine_lazy_rel): Likewise.
77154         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
77155         (elf_machine_lazy_rel): Likewise.
77156         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
77157         (elf_machine_lazy_rel): Likewise.
77158         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
77159         (elf_machine_lazy_rel): Likewise.
77160         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
77161         (elf_machine_lazy_rel): Likewise.
77162         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
77163         (elf_machine_lazy_rel): Likewise.
77165 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
77167         * nss/nss_files/files-init.c (_nss_files_init): Use static
77168         initialization for all the *_traced_file variables.
77170 2011-09-28  Andreas Schwab  <schwab@redhat.com>
77172         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
77174 2011-09-27  Roland McGrath  <roland@hack.frob.com>
77176         [BZ #13226]
77177         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
77179 2011-09-27  Andreas Schwab  <schwab@redhat.com>
77181         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
77182         Reread the line before reparsing it.
77184 2011-09-26  Andreas Schwab  <schwab@redhat.com>
77186         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
77188 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
77189             Maxim Kuvyrkov  <maxim@codesourcery.com>
77190             Joseph Myers  <joseph@codesourcery.com>
77192         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
77193         if needed for __stack_chk_guard.
77195 2011-09-19  Roland McGrath  <roland@hack.frob.com>
77197         * sysdeps/posix/spawni.c (script_execute): Always define it.
77198         It will be optimized away if unused.
77199         (maybe_script_execute): New function.
77200         (__spawni): Call it.
77202         * Makerules: Don't include tls.make.
77203         (config-tls): Always set to thread.
77204         * tls.make.c: File removed.
77206 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
77208         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
77209         * config.make.in (CPPFLAGS-config): New substituted variable.
77211 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
77213         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
77215         [BZ #13192]
77216         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
77217         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
77219 2011-09-15  Roland McGrath  <roland@hack.frob.com>
77221         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
77222         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
77223         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
77224         (CALL_FAIL): Likewise.
77225         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
77226         (CALL_FAIL): Macro removed.
77227         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
77229 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
77231         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
77232         for __FINITE_MATH_ONLY__ == 1.
77234 2011-09-15  Andreas Schwab  <schwab@redhat.com>
77236         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
77237         __ieee754_sqrt instead of sqrt.
77238         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
77239         __ieee754_sqrtf instead of sqrtf.
77240         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
77241         __floorf instead of floorf.
77242         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
77243         __floorf, __truncf instead of floorf, truncf.
77245 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
77247         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
77249         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
77250         __extern_always_inline.
77251         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
77252         32-bit.
77254 2011-09-14  Andreas Schwab  <schwab@redhat.com>
77256         * elf/rtld.c (dl_main): Also relocate in dependency order when
77257         doing symbol dependency testing.
77259 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
77261         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
77262         Always define `refsym'.
77264 2011-09-13  Andreas Schwab  <schwab@redhat.com>
77266         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
77267         (__FD_ELT): Renamed from __FDELT.
77268         * misc/bits/select2.h (__FD_ELT): Likewise.
77269         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
77270         __FD_MASK instead of __FDELT, __FDMASK.
77271         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
77272         Likewise.
77273         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
77274         Likewise.
77276         * elf/Makefile (gen-ldd): Fix pattern.
77278         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
77279         (init_tls): Likewise.
77281 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
77283         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
77285 2011-09-12  Andreas Schwab  <schwab@redhat.com>
77287         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
77288         `struct cmsghdr *' instead of `void *'.
77289         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
77290         Likewise.
77292 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
77294         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
77295         if non-absolute.
77296         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
77297         ldd_rewrite_script.
77299 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
77301         * configure.in: Remove --with-tls option.
77302         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
77303         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
77304         out in case it is missing.
77305         * sysdeps/ia64/elf/configure.in: Likewise.
77306         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
77307         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
77308         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
77309         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
77310         * sysdeps/sh/elf/configure.in: Likewise.
77311         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
77312         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
77313         * sysdeps/x86_64/elf/configure.in: Likewise.
77314         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
77315         * sysdeps/mach/hurd/tls.h: Likewise.
77317         [BZ #13067]
77318         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
77320         [BZ #13090]
77321         * configure.in: Fix use of AC_INIT.
77323         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
77325 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
77327         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
77328         __set_errno.
77329         * malloc/hooks.c: Likewise.
77331         [BZ #11929]
77332         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
77333         variables statically.
77334         (narenas): Initialize.
77335         (list_lock): Initialize.
77336         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
77337         initializtion of main_arena and list_lock.  Small cleanups.
77338         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
77339         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
77340         Add initializers to main_arena and mp_.
77341         (malloc_state): Remove pagesize member.  Change all users to use
77342         GLRO(dl_pagesize).
77344         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
77345         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
77346         is always initialized.
77348         * malloc/malloc.c: Removed unused configurations and dead code.
77349         * malloc/arena.c: Likewise.
77350         * malloc/hooks.c: Likewise.
77351         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
77353         * include/tls.h: Removed.  USE___THREAD must always be defined.
77354         * bits/libc-tsd.h: Don't handle !USE___THREAD.
77355         * elf/dl-libc.c: Likewise.
77356         * elf/dl-tsd.c: Likewise.
77357         * include/errno.h: Likewise.
77358         * include/netdb.h: Likewise.
77359         * include/resolv.h: Likewise.
77360         * inet/herrno-loc.c: Likewise.
77361         * inet/herrno.c: Likewise.
77362         * malloc/arena.c: Likewise.
77363         * malloc/hooks.c: Likewise.
77364         * malloc/malloc.c: Likewise.
77365         * resolv/res-state.c: Likewise.
77366         * resolv/res_libc.c: Likewise.
77367         * sysdeps/i386/dl-machine.h: Likewise.
77368         * sysdeps/ia64/dl-machine.h: Likewise.
77369         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
77370         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
77371         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
77372         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
77373         * sysdeps/sh/dl-machine.h: Likewise.
77374         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
77375         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
77376         * sysdeps/unix/i386/sysdep.S: Likewise.
77377         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
77378         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
77379         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
77380         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
77381         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
77382         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
77383         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
77384         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
77385         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
77386         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
77387         * sysdeps/unix/x86_64/sysdep.S: Likewise.
77388         * sysdeps/x86_64/dl-machine.h: Likewise.
77389         * tls.make.c: Likewise.
77391         * configure.in: Remove --with-__thread option.  Make tests for
77392         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
77393         tls_model attribute fail if no support is available.  Remove
77394         USE_IN_LIBIO.
77395         * Makeconfig: Adjust for dropped configure option.  All features are
77396         now mandatory.
77397         * Makerules: Likewise.
77398         * Versions.def: Likewise.
77399         * argp/argp-fmtstream.c: Likewise.
77400         * argp/argp-fmtstream.h: Likewise.
77401         * argp/argp-help.c: Likewise.
77402         * assert/assert.c: Likewise.
77403         * config.h.in: Likewise.
77404         * config.make.in: Likewise.
77405         * configure: Likewise.
77406         * configure.in: Likewise.
77407         * csu/Versions: Likewise.
77408         * csu/init.c: Likewise.
77409         * elf/tst-audit2.c: Likewise.
77410         * elf/tst-tls10.c: Likewise.
77411         * elf/tst-tls10.h: Likewise.
77412         * elf/tst-tls11.c: Likewise.
77413         * elf/tst-tls12.c: Likewise.
77414         * elf/tst-tls14.c: Likewise.
77415         * elf/tst-tlsmod11.c: Likewise.
77416         * elf/tst-tlsmod12.c: Likewise.
77417         * elf/tst-tlsmod13.c: Likewise.
77418         * elf/tst-tlsmod13a.c: Likewise.
77419         * elf/tst-tlsmod14a.c: Likewise.
77420         * elf/tst-tlsmod15b.c: Likewise.
77421         * elf/tst-tlsmod16a.c: Likewise.
77422         * elf/tst-tlsmod16b.c: Likewise.
77423         * elf/tst-tlsmod7.c: Likewise.
77424         * elf/tst-tlsmod8.c: Likewise.
77425         * elf/tst-tlsmod9.c: Likewise.
77426         * gmon/gmon.c: Likewise.
77427         * grp/fgetgrent_r.c: Likewise.
77428         * grp/putgrent.c: Likewise.
77429         * hurd/fopenport.c: Likewise.
77430         * include/libc-symbols.h: Likewise.
77431         * include/tls.h: Likewise.
77432         * intl/gettextP.h: Likewise.
77433         * intl/loadinfo.h: Likewise.
77434         * locale/global-locale.c: Likewise.
77435         * locale/localeinfo.h: Likewise.
77436         * mach/devstream.c: Likewise.
77437         * malloc/arena.c: Likewise.
77438         * malloc/set-freeres.c: Likewise.
77439         * misc/err.c: Likewise.
77440         * misc/getttyent.c: Likewise.
77441         * misc/mntent_r.c: Likewise.
77442         * posix/getopt.c: Likewise.
77443         * posix/wordexp.c: Likewise.
77444         * pwd/fgetpwent_r.c: Likewise.
77445         * resolv/Versions: Likewise.
77446         * resolv/res_hconf.c: Likewise.
77447         * shadow/fgetspent_r.c: Likewise.
77448         * shadow/putspent.c: Likewise.
77449         * stdio-common/printf_fphex.c: Likewise.
77450         * stdio-common/tmpfile.c: Likewise.
77451         * stdlib/abort.c: Likewise.
77452         * stdlib/fmtmsg.c: Likewise.
77453         * sunrpc/auth_unix.c: Likewise.
77454         * sunrpc/clnt_perr.c: Likewise.
77455         * sunrpc/clnt_tcp.c: Likewise.
77456         * sunrpc/clnt_udp.c: Likewise.
77457         * sunrpc/clnt_unix.c: Likewise.
77458         * sunrpc/openchild.c: Likewise.
77459         * sunrpc/svc_simple.c: Likewise.
77460         * sunrpc/svc_tcp.c: Likewise.
77461         * sunrpc/svc_udp.c: Likewise.
77462         * sunrpc/svc_unix.c: Likewise.
77463         * sunrpc/xdr.c: Likewise.
77464         * sunrpc/xdr_array.c: Likewise.
77465         * sunrpc/xdr_rec.c: Likewise.
77466         * sunrpc/xdr_ref.c: Likewise.
77467         * sunrpc/xdr_stdio.c: Likewise.
77469 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
77471         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
77473 2011-07-03  Andreas Jaeger  <aj@suse.de>
77475         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
77476         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
77477         regenerate with gen-libm-tests.pl.
77479 2010-05-12  Petr Baudis  <pasky@suse.cz>
77481         [BZ #11589]
77482         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
77483         around j0() zero points by switching to j1().
77484         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
77485         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
77486         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
77487         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
77489 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
77491         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
77492         instead of 0.
77493         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
77494         instead of 0.
77495         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
77496         Patch in part by Pavel Roskin <proski@gnu.org>.
77498         [BZ #13138]
77499         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
77500         realloc.
77501         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
77502         Free memory block if necessary.
77504         [BZ #12847]
77505         * libio/genops.c (INTDEF): For string streams the _lock pointer can
77506         be NULL.  Don't lock in this case.
77508 2011-09-09  Roland McGrath  <roland@hack.frob.com>
77510         * elf/elf.h (ELFOSABI_GNU): New macro.
77511         (ELFOSABI_LINUX): Define to that.
77513 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
77515         * string/strncat.c (strncat): Undef the symbol in case it has been
77516         defined in bits/string.h.
77518 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
77520         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
77522         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
77523         link map.
77525 2011-08-17  Andreas Jaeger  <aj@suse.de>
77527         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
77529 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
77530             Ian Lance Taylor  <iant@google.com>
77532         * math/libm-test.inc (lround_test): New testcase.
77533         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
77535 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
77537         * Makefile: Remove support for automatic cvs check-ins.
77538         * Makerules: Likewise.
77539         * config.make.in: Likewise.
77540         * configure.in: Likewise.
77541         * intl/Makefile: Likewise.
77542         * locale/Makefile: Likewise.
77543         * po/Makefile: Likewise.
77544         * posix/Makefile: Likewise.
77545         * sysdeps/gnu/Makefile: Likewise.
77546         * sysdeps/mach/hurd/Makefile: Likewise.
77547         * sysdeps/sparc/sparc32/Makefile: Likewise.
77549         [BZ #13118]
77550         * posix/Makefile (bug-regex32-ENV): Define.
77551         Patch by John Stanley <jpsinthemix@verizon.net>.
77553         * misc/Makefile (headers): Add bits/select2.h.
77554         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
77555         * misc/bits/select2.h: New file.
77556         * include/bits/select2.h: New file.
77557         * debug/Makefile (routines): Add fdelt_chk.
77558         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
77559         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
77560         FD_ISSET.
77561         * debug/fdelt_chk.c: New file.
77563         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
77564         * wcsmbs/test-wmemcmp.c: Likewise.
77565         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
77566         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
77568 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77570         * string/Makefile (strop-tests): Add memcmp.
77571         * string/test-wmemcmp.c: New file.
77572         * string/test-memcmp.c: Add wmemcmp support.
77574 2011-09-08  Roland McGrath  <roland@hack.frob.com>
77576         [BZ #13153]
77577         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
77578         2011-07-19 change.
77580         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
77581         garbage value in a __mach_port_mod_refs call in the cases of the
77582         task-self and thread-self ports.
77584 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77586         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
77588 2011-09-08  Andreas Schwab  <schwab@redhat.com>
77590         * elf/dl-load.c (lose): Check for non-null L.
77592 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
77594         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
77596         * elf/dl-libc.c (dlerror_run): Pass back error code from
77597         dl_catch_error.
77599         [BZ #13123]
77600         * elf/dl-load.c (lose): Free l_origin if it is valid.
77602         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
77603         names.
77604         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
77605         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
77606         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
77607         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
77608         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
77609         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
77611 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77613         * sysdeps/powerpc/fpu/e_hypot.c: New file.
77614         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
77615         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
77616         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
77617         * sysdeps/powerpc/fpu/k_cosf.c: New file.
77618         * sysdeps/powerpc/fpu/k_sinf.c: New file.
77619         * sysdeps/powerpc/fpu/s_cosf.c: New file.
77620         * sysdeps/powerpc/fpu/s_sinf.c: New file.
77621         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
77622         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
77624 2011-08-15  Alan Modra  <amodra@gmail.com>
77626         [BZ #13092]
77627         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
77628         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
77629         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
77630         ppc_mcount to static-only-routines.
77631         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
77632         __mcount_internal.
77633         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
77634         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
77636 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
77638         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
77639         for finite and infinity parameters.
77641 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
77643         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
77644         and add nop instructions for throughput optimization.
77645         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
77647 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
77649         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
77650         aligned copy for power7 with vector-scalar instructions.
77651         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
77653 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
77655         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
77656         AVX check.
77658 2011-09-07  Andreas Schwab  <schwab@redhat.com>
77660         [BZ #13144]
77661         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
77662         last change.
77664 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
77666         * sysdeps/unix/sysv/linux/x86_64/init-first.c
77667         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
77668         syscall wrapper around clock_gettime in __vdso_clock_gettime.
77669         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
77670         clock_gettime.
77672 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
77674         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
77675         Forgot to demangle the pointer.
77677         * sysdeps/i386/sysdep.h: Define atom_text_section.
77678         * sysdeps/x86_64/sysdep.h: Likewise.
77679         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
77680         section with atom_text_section.
77681         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
77682         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
77683         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
77684         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
77685         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
77687         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
77688         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
77689         already be defined.  Change to take two parameters and don't assign
77690         result to variable.  Adjust all users.
77691         Define INTERNAL_GETTIME if not already defined.
77692         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
77693         call.
77694         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
77695         HAVE_CLOCK_GETTIME_VSYSCALL.
77696         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
77698         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
77699         gettimeofday vsyscall, just use time.
77701 2011-09-06  Andreas Schwab  <schwab@redhat.com>
77703         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
77704         <errno.h>.
77706 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
77708         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
77709         syscall on x86-64.
77710         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
77711         syscall.
77712         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
77713         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
77714         syscall if possible.
77716 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
77718         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
77719         e_ident.  Don't pass to find_mapsXX.
77720         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
77722 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77724         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77725         strchr-sse2-no-bsf strrchr-sse2-no-bsf
77726         * sysdeps/x86_64/multiarch/strchr.S: Update.
77727         Check bit_slow_BSF bit.
77728         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
77729         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
77730         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
77732 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
77734         [BZ #13134]
77735         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
77736         before glibc 2.15.
77737         (tryshell): Define.
77738         (__spawni): Change last parameter to be flag.  Test
77739         SPAWN_XFLAGS_USE_PATH flag to use path or not.
77740         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
77741         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
77742         * posix/spawni.c: Likewise.
77743         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
77744         * posix/spawnp.c: Likewise.  Change normal version to use
77745         SPAWN_XFLAGS_USE_PATH.
77746         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
77747         SPAWN_XFLAGS_TRY_SHELL.
77749         [BZ #13150]
77750         * posix/glob.h: Remove gcc 1.x support.
77752         [BZ #13068]
77753         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
77755 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77757         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77758         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
77759         strrchr-sse2-bsf
77760         * sysdeps/i386/i686/multiarch/strchr.S: New file.
77761         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
77762         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
77763         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
77764         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
77765         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
77767 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77769         * sysdeps/x86_64/wcscmp.S: New file.
77771         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
77772         wcscmp-c wcscmp-sse2
77773         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
77774         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
77775         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
77776         * wcsmbs/wcscmp.c: Allow renaming.
77778 2011-09-05  David S. Miller  <davem@davemloft.net>
77780         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
77781         stack slot, rather than the struct return pointer slot.
77782         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
77783         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
77784         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
77785         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
77787 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
77789         * po/ja.po: Update from translation team.
77791         [BZ #13144]
77792         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
77793         kernel in 64-bit binaries.
77795 2011-09-01  David S. Miller  <davem@davemloft.net>
77797         * elf/elf.h (HWCAP_SPARC_*): Move to..
77798         * sysdeps/sparc/sysdep.h: this new file and add new values.
77799         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
77800         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
77801         _DL_HWCAP_COUNT to 24.
77802         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
77803         entries.
77804         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
77805         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
77806         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
77807         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
77808         instead of magic constants.
77809         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
77811 2011-08-31  David S. Miller  <davem@davemloft.net>
77813         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
77814         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
77815         Reimplement to do errno handling inline.
77816         (SYSCALL_ERROR_HANDLER): New macro.
77817         (__SYSCALL_STRING): Do not do errno handling in asm.
77818         (__CLONE_SYSCALL_STRING): Delete.
77819         (__INTERNAL_SYSCALL_STRING): Delete.
77820         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
77821         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
77822         (PSEUDO): Reimplement to do errno handling inline.
77823         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
77824         (SYSCALL_ERROR_HANDLER): New macro.
77825         (__SYSCALL_STRING): Do not do errno handling in asm.
77826         (__CLONE_SYSCALL_STRING): Delete.
77827         (__INTERNAL_SYSCALL_STRING): Delete.
77828         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
77829         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
77830         i386.
77831         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
77832         (inline_syscall*): Add 'err' argument.
77833         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
77834         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
77835         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
77836         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
77838         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
77839         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
77841 2011-08-30  Andreas Schwab  <schwab@redhat.com>
77843         * elf/rtld.c (dl_main): Relocate objects in dependency order.
77845 2011-08-29  Jiri Olsa <jolsa@redhat.com>
77847         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
77848         directive.
77850 2011-08-24  David S. Miller  <davem@davemloft.net>
77852         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
77854 2011-08-24  Andreas Schwab  <schwab@redhat.com>
77856         * elf/Makefile: Add rules to build and run unload8 test.
77857         * elf/unload8.c: New file.
77858         * elf/unload8mod1.c: New file.
77859         * elf/unload8mod1x.c: New file.
77860         * elf/unload8mod2.c: New file.
77861         * elf/unload8mod3.c: New file.
77863         * elf/dl-close.c (_dl_close_worker): Reset private search list if
77864         it wasn't used.
77866 2011-08-23  David S. Miller  <davem@davemloft.net>
77868         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
77869         subtract stack bias.
77870         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
77871         %sp not %fp in calculations.
77872         (_JMPBUF_UNWINDS_ADJ): Likewise.
77874         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
77875         (aio_suspend): Call it to force an exception region around the
77876         AIO_MISC_WAIT() invocation.
77878 2011-08-23  Andreas Schwab  <schwab@redhat.com>
77880         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
77881         backslash.
77883 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
77885         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
77886         protection macro.
77887         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
77888         and <dl-machine.h>.
77889         (Elf64_FuncDesc): Remove.
77891 2011-08-22  David S. Miller  <davem@davemloft.net>
77893         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
77894         sigaltstack check, add missing cfi directives.
77895         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
77896         missing cfi directives, and sigaltstack handling.
77898 2011-08-16  Andreas Schwab  <schwab@redhat.com>
77900         [BZ #11724]
77901         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
77902         object is seen twice.
77903         * elf/dl-fini.c (_dl_sort_fini): Likewise.
77905         * elf/Makefile (distribute): Add tst-initorder2.c.
77906         (tests): Add tst-initorder2.
77907         (modules-names): Add tst-initorder2a tst-initorder2b
77908         tst-initorder2c tst-initorder2d.  Add rules to build them.
77909         ($(objpfx)tst-initorder2.out): New rule.
77910         * elf/tst-initorder2.c: New file.
77911         * elf/tst-initorder2.exp: New file.
77913 2011-08-22  Andreas Schwab  <schwab@redhat.com>
77915         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
77917         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
77918         dependencies back to end of function.
77920         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
77921         $(elfobjdir)/ld.so.
77923 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
77925         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
77926         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
77927         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
77928         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
77929         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
77930         of __vdso_gettimeofday.
77931         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
77932         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
77933         attribute_hidden.
77934         (_libc_vdso_platform_setup): Remove initialization of
77935         __vdso_gettimeofday and __vdso_time.
77937 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
77939         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
77940         and fgetc_unlocked.
77941         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
77942         getc_unlocked.
77944         * elf/dl-open.c (add_to_global): Report additions to the global scope
77945         for LD_DEBUG=scopes.
77946         (dl_open_worker): Also print scope of newly loaded dependencies.
77947         (_dl_show_scope): Indicate if there is no scope.
77949         [BZ #13114]
77950         * stdio-common/Makefile (tests): Add bug24.
77951         * stdio-common/bug24.c: New file.
77953 2011-08-19  Andreas Jaeger  <aj@suse.de>
77955         [BZ #13114]
77956         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
77957         non-existant file when using close-on-exec mode.
77959 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
77961         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
77962         the very first instruction.
77964         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
77965         the CFI state in the end.
77966         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
77967         inclusion of dl-trampoline.h.
77968         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
77970 2011-08-19  Andreas Schwab  <schwab@redhat.com>
77972         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
77973         expectations for long double.
77975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
77976         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
77978 2011-08-14  David S. Miller  <davem@davemloft.net>
77980         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
77981         artificual limit depends upon the system page size.
77983 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
77985         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
77986         * resolv/Makefile: Define CFLAGS-libresolv.
77988 2011-08-17  Andreas Schwab  <schwab@redhat.com>
77990         * nss/makedb.c (compute_tables): Make variables used in nested
77991         function static.
77993 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
77995         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
77996         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
77997         if buffer was too small.
77999         * elf/pldd.c (main): Attach to all threads in the process.
78000         Rewrite /proc handling to use *at functions.
78002 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
78004         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
78005         specifies first scope to show.
78006         (dl_open_worker): Update callers.  Move printing scope of new
78007         object to before the relocation.
78008         * elf/rtld.c (dl_main): Update _dl_show_scope call.
78009         * sysdeps/generic/ldsodefs.h: Update declaration.
78011         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
78012         string for the scope number.
78014 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
78016         * nscd/servicescache.c (cache_addserv): Make sure written is always
78017         initialized.
78019 2011-08-14  Roland McGrath  <roland@hack.frob.com>
78021         * sysdeps/i386/i486/bits/atomic.h
78022         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
78023         statement expression, so as to suppress "set but not used" warning.
78024         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
78026         * string/strncat.c (STRNCAT): Use prototype definition.
78028         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
78029         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
78030         -Iprograms here.
78031         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
78032         (localedef-modules): Add localedef.
78033         (locale-modules): Add locale.
78035         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
78036         * elf/rtld.c (dl_main): Invert order of assignment in last change,
78037         to avoid a warning.
78039 2011-08-14  David S. Miller  <davem@davemloft.net>
78041         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
78042         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
78044 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
78046         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
78047         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
78048         * elf/rtld.c (dl_main): Set l_name of vDSO.
78049         Call _dl_show_scope when DL_DEBUG_SCOPES.
78050         (process_dl_debug): Recognize scopes flag and also set it for all.
78051         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
78052         Declare _dl_show_scope.
78054         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
78055         (do_dlopen): Pass caller_dlopen to dl_open.
78056         (__libc_dlopen_mode): Initialize caller_dlopen.
78058         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
78059         of libc.  Make tolower call locale-independent.  Optimize a bit by
78060         using isdigit instead of isalnum.
78061         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
78063 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
78065         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
78066         was a dependency or dynamically loaded.
78068 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
78070         * intl/l10nflist.c: Allow architecture-specific pop function.
78071         * sysdeps/x86_64/l10nflist.c: New file.
78073         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
78074         classification.
78076 2011-08-10  Andreas Schwab  <schwab@redhat.com>
78078         * include/dirent.h: Add libc_hidden_proto for scandirat and
78079         scandirat64.  Don't declare __scandirat64.
78080         * dirent/scandirat.c: Add libc_hidden_def.
78081         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
78082         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
78084 2011-08-10  David S. Miller  <davem@davemloft.net>
78086         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
78087         enum.
78088         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
78089         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
78090         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
78092 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
78094         * Versions.def [libc]: Add GLIBC_2.15.
78095         * dirent/Makefile (routines): Add scandirat and scandirat64.
78096         * dirent/Versions [libc]: Export scandirat and scandirat64 for
78097         GLIBC_2.15.
78098         * dirent/dirent.h: Declare scandirat and scandirat64.
78099         * dirent/scandirat.c: New file.
78100         * dirent/scandirat64.c: New file.
78101         * sysdeps/wordsize-64/scandirat.c: New file.
78102         * sysdeps/wordsize-64/scandirat64.c: New file.
78103         * dirent/opendir.c: Define opendirat.
78104         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
78105         using scandirat.
78106         * dirent/scandir64.c: Adjust for scandir.c change.
78107         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
78108         __scandirat64, and __scandir_cancel_handler.
78109         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
78110         additional parameter and use openat instead of open (outside of ld.so).
78111         Add new __opendir as wrapper around __opendirat.
78112         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
78113         here without requiring old scandirat implementation.
78115 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
78117         * dirent/scandir.c (cancel_handler): Renamed to
78118         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
78119         defined.  Adjust users.
78120         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
78121         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
78123 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
78125         * string/test-string.h (IMPL): Use __STRING to expand name and then
78126         stringify it.
78128         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
78129         of cleanups.
78131 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78133         * string/Makefile: Update.
78134         (strop-tests): Append strncat.
78135         * string/test-wcscmp.c: New file.
78136         New comprehensive test for wcscmp.
78137         * string/test-strcmp.c: Update.
78138         (WIDE): New define.
78140 2011-07-22  Andreas Schwab  <schwab@redhat.com>
78142         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
78143         line.
78145 2011-07-26  Andreas Schwab  <schwab@redhat.com>
78147         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
78148         encoding to ACE if AI_IDN.
78150 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
78152         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
78153         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
78155 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
78157         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
78158         Fix overflow bug in strncat.
78159         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
78161         * string/test-strncat.c: Update.
78162         Add new tests for checking overflow bugs.
78164 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
78166         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78167         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
78168         * sysdeps/i386/i686/multiarch/strcat.S: New file.
78169         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
78170         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
78171         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
78172         * sysdeps/i386/i686/multiarch/strncat.S: New file.
78173         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
78174         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
78176         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
78177         (USE_AS_STRCAT): Define.
78178         Add strcat and strncat support.
78179         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
78181 2011-07-25  Andreas Schwab  <schwab@redhat.com>
78183         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
78184         __n bigger than INT_MAX+1.
78185         (__strncmp_g): Likewise.
78187 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
78189         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
78190         * libio/stido.h: Likewise.
78192         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
78193         (AF_NFC): Define.
78194         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
78195         (AF_NFC): Define.
78197         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
78198         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
78199         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
78200         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
78201         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
78203         [BZ #13021]
78204         * scripts/test-installation.pl: Don't expect libnss_test1 to be
78205         installed.
78207         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
78208         typo.
78209         (_dl_x86_64_save_sse): Likewise.
78211 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
78213         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
78214         OSXSAVE.
78215         (_dl_x86_64_save_sse): Likewise.
78217         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
78219         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
78221 2011-07-21  Andreas Schwab  <schwab@redhat.com>
78223         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
78224         change.
78225         (_dl_x86_64_save_sse): Use correct AVX check.
78227 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78229         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
78230         bug in strncpy/strncat.
78231         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
78233 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
78235         * string/tester.c (test_strcat): Add tests for different alignments
78236         of source and destination.
78237         (test_strncat): Likewise.
78239 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
78241         [BZ #12852]
78242         * posix/glob.c (glob): Check passed in values before using them in
78243         expressions to avoid some overflows.
78244         (glob_in_dir): Likewise.
78246         [BZ #13007]
78247         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
78248         check for AVX enablement so that we don't crash with old kernels and
78249         new hardware.
78250         * elf/tst-audit4.c: Add same checks here.
78251         * elf/tst-audit6.c: Likewise.
78253         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
78255 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
78257         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
78259 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
78261         * po/cs.po: Update from translation team.
78262         * po/bg.po: Likewise.
78264 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
78266         * misc/sys/cdefs.h: Add support for const attribute.
78267         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
78268         to gnu_dev_{major,minor,makedev} functions.
78270 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
78272         * intl/dcigettext.c (get_output_charset): Add missing bracket.
78274 2011-07-20  Andreas Schwab  <schwab@redhat.com>
78276         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
78277         strlen results.
78279 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78281         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
78282         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
78283         register in order to avoid conflicts with the soft frame pointer
78284         being held in r11 when necessary.
78285         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
78286         (INTERNAL_VSYSCALL_NCS): Likewise.
78288 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
78290         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
78291         * elf/dl-fini.c (_dl_fini): Adjust caller.
78292         * elf/dl-close.c (_dl_close_worker): Likewise.
78293         * sysdeps/generic/ldsodefs.h: Adjust declaration.
78295 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
78297         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
78298         "aux_cache->nlibs < 0".
78300         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
78301         in the reload-count case.
78303 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
78305         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78306         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
78307         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
78308         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
78309         * sysdeps/x86_64/multiarch/strcat.S: New file.
78310         * sysdeps/x86_64/multiarch/strncat.S: New file.
78311         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
78312         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
78313         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
78314         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
78315         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
78316         (USE_AS_STRCAT): Define.
78317         Add strcat and strncat support.
78318         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
78319         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
78320         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
78321         * string/strncat.c: Update.
78322         (USE_AS_STRNCAT): Define.
78323         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78324         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
78325         and i7.
78326         * sysdeps/x86_64/multiarch/init-arch.h
78327         (bit_Prefer_PMINUB_for_stringop): New.
78328         (index_Prefer_PMINUB_for_stringop): Likewise.
78329         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
78330         bit_Prefer_PMINUB_for_stringop.
78332 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
78334         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
78335         buffer64.
78336         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
78337         of casting of buffer.
78338         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
78339         buffer32 and buffer64.
78340         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
78341         writes instead of casting of buffer.
78342         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
78343         buffer32.
78344         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
78345         casting of buffer.
78347 2011-07-19  Andreas Schwab  <schwab@redhat.com>
78349         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
78351 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
78353         * nscd/nscd.c (termination_handler): Don't do anything for a database
78354         if it has not yet been initialized.
78356 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
78358         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
78360 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
78362         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
78364 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
78366         * po/nl.po: Update from translation team.
78367         * po/sv.po: Likewise.
78369 2011-07-16  Roland McGrath  <roland@hack.frob.com>
78371         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
78372         now disallowed by GCC.
78374         * configure.in (use-default-link): Default to yes if a test -shared
78375         link meets our qualifications.
78376         * configure: Regenerated.
78378         * config.make.in (output-format): New variable.
78379         * configure.in: Check for ld --print-output-format support.
78380         * configure: Regenerated.
78381         * Makerules ($(common-objpfx)format.lds)
78382         [$(output-format) != unknown]: Just use $(output-format),
78383         instead of the linker-script munging.
78385 2011-07-14  Roland McGrath  <roland@hack.frob.com>
78387         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
78388         of $(common-objpfx)shlib.lds.
78389         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
78391         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
78392         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
78394         * configure.in (-z relro check): Adjust test code to add a large
78395         writable data section after it.
78396         * configure: Regenerated.
78398 2011-07-11  Roland McGrath  <roland@hack.frob.com>
78400         * configure.in (-z relro check): Fix test code to make the variable
78401         truly const.
78402         * configure: Regenerated.
78404 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
78406         * nscd/nscd.h (struct traced_file): Define.
78407         (struct database_dyn): Remove inotify_descr, reset_res, and filename
78408         elements.  Add traced_files.
78409         (inotify_fd): Declare.
78410         (register_traced_file): Declare.
78411         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
78412         (inotify_fd): Export.
78413         (resolv_conf_descr): Remove.
78414         (nscd_init): Move inotify descriptor creation to main.
78415         Don't register files for notification here.
78416         (register_traced_file): New function.
78417         (invalidate_cache): Don't use reset_res to determine whether to call
78418         res_init, go through the list of registered files.
78419         (main_loop_poll): The inotify descriptors are now stored in the
78420         structures for the traced files.
78421         (main_loop_epoll): Likewise.
78422         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
78423         to __nss_disable_nscd.
78424         * nscd/cache.c (prune_cache): There is no single inotify descriptor
78425         for a database anymore.  Check the records for all the registered
78426         files instead.
78427         * nss/Makefile (libnss_files-routines): Add files-init.
78428         (libnss_db-routines): Add db-init.
78429         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
78430         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
78431         * nss/nss_db/db-init.c: New file.
78432         * nss/nss_files/files-init.c: New file.
78433         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
78434         __nss_lookup_function.
78435         (__nss_lookup_function): Call nss_load_library.
78436         (nss_load_all_libraries): New function.
78437         (__nss_disable_nscd): Take parameter with callback function for files
78438         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
78439         used for the cached services.
78440         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
78441         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
78442         options for features to all the files in nscd.
78444         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
78446 2011-07-10  Roland McGrath  <roland@hack.frob.com>
78448         * csu/elf-init.c (__libc_csu_init): Comment typo.
78450 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
78452         * po/pl.po: Update from translation team.
78453         * po/ja.po: Likewise.
78454         * po/ru.po: Likewise.
78455         * po/ko.po: Likewise.
78456         * po/fr.po: Likewise.
78458 2011-07-09  Roland McGrath  <roland@hack.frob.com>
78460         * configure.in (.ctors/.dtors header and trailer check):
78461         Use an empirical test on a built program.
78462         * configure: Regenerated.
78464         * configure.in (-z relro check): Use an empirical test on a built DSO.
78465         Detect, but do not require, on ia64.
78466         * configure: Regenerated.
78468         * configure.in (READELF): Find it with AC_CHECK_TOOL.
78469         Update tests that use readelf to use $READELF instead.
78470         * configure: Regenerated.
78472 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
78474         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
78475         if the result is not used.
78477 2011-07-05  Andreas Jaeger  <aj@suse.de>
78479         [BZ#9696]
78480         * stdlib/tst-strtod.c: Add testcase.
78482 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
78484         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
78485         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
78486         The latter has a higher limit.  Take additional parameter to pass to
78487         the new function.
78488         (__pathconf): Pass file to __statfs_link_max.
78489         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
78490         __statfs_link_max.
78491         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
78492         __statfs_link_max.
78494         [BZ #12868]
78495         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
78496         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
78497         Handle Lustre.
78498         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
78499         (__statfs_filesize_max): Likewise.
78500         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
78502 2011-07-05  Andreas Jaeger  <aj@suse.de>
78504         * resolv/res_comp.c (dn_skipname): Remove unused variable.
78506 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
78508         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
78509         `status' variable.
78510         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
78511         Likewise.
78513 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
78515         * Makefile (strop-tests): Add strncat.
78516         * string/test-strncat.c: New file.
78518 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
78520         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
78522 2011-06-21  Andreas Jaeger  <aj@suse.de>
78524         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
78525         Copy rule from iconvdata/Makefile.
78527 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
78529         [BZ #12922]
78530         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
78531         but no long options are defined, just return 'W'.
78533 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
78535         [BZ #9696]
78536         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
78538 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
78540         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
78541         netgroups to read.
78542         (innetgr): Likewise.
78544 2011-07-05  Roland McGrath  <roland@hack.frob.com>
78546         * config.make.in (install_root): Default to $(DESTDIR).
78548 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
78550         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
78552 2011-07-02  Roland McGrath  <roland@hack.frob.com>
78554         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
78556         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
78557         containing directory rather than embedding absolute directory names.
78559         * scripts/check-local-headers.sh: Rewritten using awk.
78560         Match by word, not by line.  Print error messages for matches.
78561         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
78563         * Makerules [shlib-lds-flags empty]:
78564         ($(common-objpfx)libc_pic.opts): New target.
78565         ($(common-objpfx)libc_pic.os.clean): New target.
78566         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
78568         * config.make.in (OBJCOPY): New variable.
78569         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
78570         * configure: Regenerated.
78572         * config.make.in (use-default-link): New variable.
78573         * configure.in (use_default_link): Grok --with-default-link to set it.
78574         * configure: Regenerated.
78575         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
78576         (shlib-lds, shlib-lds-flags): Define to empty.
78578         * Makerules (shlib-lds): New variable.
78579         (shlib-lds-flags): New variable.
78580         (build-shlib, build-moduile, build-module-asneeded): Use it.
78581         ($(common-objpfx)libc.so): Use $(shlib-lds).
78582         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
78583         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
78585         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
78586         DT_FLAGS/DT_FLAGS_1 with zero flags.
78588         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
78589         linker script munging.
78591 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
78593         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
78594         as 128-bit value.
78595         * crypt/sha512.c (sha512_process_block): Perform total addition using
78596         128-bit if possible.
78597         (__sha512_finish_ctx): Likewise.
78598         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
78599         as 64-bit value.
78600         * crypt/sha256.c (SWAP64): Define.
78601         (sha256_process_block): Perform total addition using 64-bit if
78602         possible.
78603         (__sha256_finish_ctx): Likewise.
78605 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
78607         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
78608         * nscd/initgrcache.c (addinitgroupsX): Likewise.
78609         * nscd/hstcache.c (cache_addhst): Likewise.
78610         * nscd/grpcache.c (cache_addgr): Likewise.
78611         * nscd/aicache.c (addhstaiX): Likewise.
78612         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
78614 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
78616         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
78617         * nscd/initgrcache.c (addinitgroupsX): Likewise.
78618         * nscd/hstcache.c (cache_addhst): Likewise.
78619         * nscd/grpcache.c (cache_addgr): Likewise.
78620         * nscd/aicache.c (addhstaiX): Likewise.
78622 2011-07-01  Andreas Schwab  <schwab@redhat.com>
78624         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
78625         domain only when needed.
78627 2011-06-30  Andreas Schwab  <schwab@redhat.com>
78629         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
78630         is always restored.
78632 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
78634         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
78635         are re-adding the entry.
78636         * nscd/servicescache.c (cache_addserv): Likewise.
78638 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
78640         * sysdeps/generic/dl-irel.h: fix protection against multiple
78641         inclusions.
78642         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
78644 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
78646         [BZ #12935]
78647         * malloc/memusage.sh: Fix quoting in message.
78648         * debug/xtrace.sh: Likewise.
78650         * configure.in: Remove support for --experimental-malloc option, make
78651         it the default.
78652         * config.make.in: Likewise.
78653         * malloc/Makefile: Likewise.
78655 2011-06-27  Andreas Schwab  <schwab@redhat.com>
78657         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
78658         two-byte characters.
78660 2011-06-27  Roland McGrath  <roland@hack.frob.com>
78662         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
78663         AC_CACHE_CHECK invocation.
78664         * configure: Regenerated.
78666         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
78668 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
78670         [BZ #12350]
78671         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
78672         bit from old_res_options.
78674         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
78676         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
78677         value type for setfct.
78679 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
78681         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
78682         __gettimeofday instead of gettimeofday.
78684 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
78686         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
78688 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
78690         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
78692         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
78693         info.
78695 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
78697         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78698         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
78699         strcpy-sse2-unaligned strncpy-sse2-unaligned
78700         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
78701         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
78702         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
78703         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
78704         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
78705         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
78706         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
78707         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
78708         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
78709         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
78710         (STRCPY): Support SSE2 and SSSE3 versions.
78712 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
78714         [BZ #12874]
78715         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
78716         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
78717         kernels which artificially limit size of requests.
78719 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
78721         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78722         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
78723         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
78724         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
78725         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
78726         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
78727         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
78728         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
78729         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
78730         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
78731         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
78732         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
78733         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
78734         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
78735         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
78736         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78737         Enable unaligned load optimization for Intel Core i3, i5 and i7
78738         processors.
78739         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
78740         Define.
78741         (index_Fast_Unaligned_Load): Define.
78742         (HAS_FAST_UNALIGNED_LOAD): Define.
78744 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
78746         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
78748 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
78750         [BZ #12907]
78751         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
78752         until it is clear that the information is realy needed.
78753         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
78755 2011-06-22  Andreas Schwab  <schwab@redhat.com>
78757         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
78759 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
78761         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
78762         /sys/devices/system/cpu/online if it is usable.
78764         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
78765         reading the information from the /proc filesystem to once a second.
78767 2011-06-21  Andreas Jaeger  <aj@suse.de>
78769         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
78770         NULL after inclusion of kernel headers.
78772 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
78774         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
78775         calls to internal_setent.
78777         [BZ #12885]
78778         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
78779         addresses using gethostbyname4_r ignore IPv4 addresses.
78781         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
78782         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
78784         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
78786 2011-06-20  David S. Miller  <davem@davemloft.net>
78788         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
78789         inclusions.
78790         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
78792         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
78793         (elf_irel): Use it.
78794         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
78795         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
78796         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
78797         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
78798         * sysdeps/x86_64/dl-irel.h: Likewise.
78800         * elf/dl-runtime.c: Use elf_ifunc_invoke.
78801         * elf/dl-sym.c: Likewise.
78803 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
78805         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
78806         need to dereference resplen2.
78808 2011-06-14  Andreas Schwab  <schwab@redhat.com>
78810         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
78812 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
78814         * Makeconfig: Define vardbdir and inst_vardbdir.
78815         * nss/Makefile: Add rules to install db-Makefile.
78817         * nss/nss_db/db-XXX.c: Cleanup.
78819         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
78820         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
78821         GLIBC_PRIVATE.
78822         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
78823         * nss/makedb.c: Implement -g option to specify that value strings
78824         are generated and should not be added to table iterated over for
78825         get*ent calls.
78826         * nss/nss_db/db-initgroups.c: New file.
78828         * nss/getent.c: Add support for initgroups lookups through getgrouplist
78829         interface.
78831         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
78832         (internal_getgrouplist): Adjust to name change.
78833         Update use_initgroups_entry if this is not the first call.
78834         * nss/databases.def: Add initgroups entry.
78836         * nss/makedb.c (compute_tables): Check result of multiple hash table
78837         sizes to minimize maximum chain length.
78839 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
78841         * Versions.def: Add entry for libnss_db.
78842         * shlib-versions: Likewise.
78843         * nss/Makefile: Add rules to build libnss_db.
78844         * nss/Versions: Add libnss_db information.  Organize libnss_files
78845         entries better.
78846         * nss/db-Makefile: Add gshadow support.  Change rules for the new
78847         makedb progra.  Some minor improvements to generate smaller files.
78848         * nss/nss_db/nss_db.h: Move NSS database header data structures to
78849         here from...
78850         * nss/makedb.c: ...here.
78851         Improve database format to be smaller and require less memory at
78852         runtime.
78853         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
78854         db anymore.
78855         * nss/nss_db/db-netgrp.c: Likewise.
78856         * nss/nss_db/db-open.c: Likewise.
78857         * nss/nss_files/flies-XXX.x: Adjust comments.
78858         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
78859         * nss/nss_files/files-grp.c: Likewise.
78860         * nss/nss_files/files-hosts.c: Likewise.
78861         * nss/nss_files/files-network.c: Likewise.
78862         * nss/nss_files/files-proto.c: Likewise.
78863         * nss/nss_files/files-pwd.c: Likewise.
78864         * nss/nss_files/files-rpc.c: Likewise.
78865         * nss/nss_files/files-service.c: Likewise.
78866         * nss/nss_files/files-sgrp.c: Likewise.
78867         * nss/nss_files/files-spwd.c: Likewise.
78868         * nss/nss_db/db-alias.c: Removed.
78869         * nss/nss_db/dummy-db.h: Removed.
78871 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
78873         * nss/makedb.c: Rewritten to not use database library.
78874         * nss/Makefile: Update to build new makedb program.
78876 2011-06-14  Andreas Jaeger  <aj@suse.de>
78878         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
78879         memset declaration.
78881 2011-06-10  Andreas Schwab  <schwab@redhat.com>
78883         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
78884         tmpbuf.
78886 2011-06-10  Roland McGrath  <roland@hack.frob.com>
78888         * Makerules (shlib.lds): Fail if the linker script comes out empty.
78889         * elf/Makefile ($(objpfx)ld.so): Likewise.
78891         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
78892         Don't list ld.so twice in dependencies.
78894         * posix/bug-regex31.c: Include <stdlib.h>.
78896         * nscd/hstcache.c (cache_addhst): Remove unused variable.
78898         * nis/nss_compat/compat-spwd.c
78899         (getspent_next_nss_netgr): Remove unused variable.
78900         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
78902         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
78903         nonmembers" output to use the right array.
78905         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
78907         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
78909         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
78910         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
78911         * catgets/gencat.c (read_input_file): Likewise.
78912         * locale/programs/locarchive.c (enlarge_archive): Likewise.
78914         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
78915         variable definition inside #if's controlling its use.
78917         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
78919         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
78921         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
78923         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
78924         unreachable code.
78926         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
78928         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
78929         * configure: Regenerated.
78931         * Makerules: Revert last change.
78932         * elf/Makefile: Likewise.
78934 2011-06-09  Roland McGrath  <roland@hack.frob.com>
78936         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
78937         * elf/Makefile ($(objpfx)librtld.os): Likewise.
78938         (reloc-link): Likewise.
78940 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
78942         * elf/Makefile: Add rules to build pldd.
78943         * elf/pldd.c: New file.
78944         * elf/pldd-xx.c: New file.
78946 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
78948         * version.h: Update for 2.15 development version.
78950 2011-06-07  David S. Miller  <davem@davemloft.net>
78952         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
78953         ifuncs.
78954         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
78955         elf_machine_lazy_rel): Likewise.
78956         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
78957         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
78958         elf_machine_lazy_rel): Likewise.
78959         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
78960         dl_hwcap via passed in argument.
78961         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
78962         Likewise.
78964 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78966         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
78968 2011-06-06  Roland McGrath  <roland@hack.frob.com>
78970         [BZ #12849]
78971         * manual/fdl-1.1.texi: New file, verbatim from:
78972         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
78973         * manual/lgpl-2.1.texi: New file, verbatim from:
78974         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
78975         * manual/Makefile (licenses): New variable, list those new file names.
78976         (texis): Use it.
78977         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
78979         * manual/fdl.texi: File removed.
78980         * manual/lesser.texi: File removed.
78981         * manual/libc.texinfo (Copying, Documentation License):
78982         Use new @include file names, put @appendix directive before @include.
78984 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
78986         [BZ #12841]
78987         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
78988         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
78989         (mq_open): Add __NTH.
78991 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
78993         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78994         Assume Intel Core i3/i5/i7 processor if AVX is available.
78996 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
78998         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
78999         typo.
79001 2011-05-31  Andreas Schwab  <schwab@redhat.com>
79003         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
79004         memory.  Use alloca_account.  Fix memory leak when retrying.
79006 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
79008         * version.h (RELEASE): Bump for 2.14 release.
79009         * include/features.h (__GLIBC_MINOR__): Bump to 14.
79011         * config.make.in (RANLIB): Remove entry.
79013 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
79015         * po/Makefile (po-sed-cmd): Add ksh to extensions.
79016         (libc.pot): Work around missing support for .ksh extension in xgettext.
79018         [BZ #12684]
79019         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
79020         if both request failed.
79021         (send_dg): In case of server errors clear resplen or *resplen2.
79023         [BZ #12454]
79024         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
79025         when there are multiple maps.
79026         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
79027         (_dl_fini): Remove test here.
79029         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
79031 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
79033         [BZ #12350]
79034         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
79035         bit from old_res_options.
79036         (gaih_inet): Likewise.
79038         [BZ #11099]
79039         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
79040         as signed.
79042         * resolv/res_init.c (res_setoptions): Make the code more compact.
79044         [BZ #11558]
79045         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
79046         set RES_USEVC.
79048         [BZ #11634]
79049         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
79051         * malloc/malloc.h: Mark malloc hook variables as deprecated.
79053         [BZ #11781]
79054         * malloc/malloc.h: Declare malloc hook variables as volatile.
79056         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
79057         in last patch.
79059         [BZ #11799]
79060         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
79061         raise in the comment.
79062         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
79063         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
79064         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
79066 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
79068         [BZ #12811]
79069         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
79070         grow the buffers more if it already has to be sufficient.
79071         (build_wcs_upper_buffer): Likewise.
79072         * posix/regexec.c (check_matching): Likewise.
79073         (clean_state_log_if_needed): Likewise.
79074         (extend_buffers): Don't enlarge buffers beyond size of the input
79075         buffer.
79076         Patches mostly by Emil Wojak <emil@wojak.eu>.
79077         * posix/bug-regex32.c: New file.
79078         * posix/Makefile (tests): Add bug-regex32.
79080         * locale/findlocale.c (_nl_find_locale): Return right away if
79081         _nl_explode_name failed.
79082         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
79084         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
79086         * debug/xtrace.sh: Unify messages.
79087         * malloc/memusage.sh: Likewise.
79089         [BZ #12813]
79090         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
79091         time symbol from vDSO.  Substitute with vsyscall if not available.
79092         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
79093         __vdso_time.
79095         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
79096         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
79097         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
79098         Add sendmmsg and internal_sendmmsg.
79099         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
79100         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
79101         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
79103         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
79104         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
79105         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
79107 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
79109         [BZ #12813]
79110         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
79111         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
79112         available.
79113         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
79114         __vdso_getcpu.
79116         [BZ #12814]
79117         * iconvdata/Makefile (tests): Add bug-iconv9.
79118         * iconvdata/bug-iconv9.c: New file.
79120 2011-05-27  Andreas Schwab  <schwab@redhat.com>
79122         [BZ #12814]
79123         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
79125 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
79127         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
79128         (struct user_regs_struct): Change intcs field back to cs.
79130 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
79132         * po/ja.po: Update from translation team.
79134 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
79136         [BZ #12795]
79137         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
79138         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
79140 2011-05-20  Andreas Schwab  <schwab@redhat.com>
79142         * stdlib/longlong.h: Update from GCC.
79144 2011-05-23  Andreas Schwab  <schwab@redhat.com>
79146         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
79147         parameter name.
79148         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
79149         Add parameter name.
79150         (__sysconf): Pass it down.
79152 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
79154         [BZ #12671]
79155         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
79156         some situations.
79157         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
79158         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
79159         add in in __libc_use_alloca calls.  Adjust callers.
79160         (glob): Use malloc in some situations.
79162         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
79163         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
79164         pltexit.
79166 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
79168         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
79169         and CLOCK_BOOTTIME_ALARM.
79171         [BZ #12782]
79172         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
79173         is returned.
79175         * string/_strerror.c (__strerror_r): Print negative errors as signed
79176         numbers.
79178         [BZ #12777]
79179         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
79180         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
79181         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
79183         * configure.in: Fix typo in redirection and correct removal of test
79184         files in two cases.
79186         [BZ #12788]
79187         * locale/setlocale.c (new_composite_name): Fix test to check for
79188         identical name of all categories.
79190         [BZ #12792]
79191         * libio/filedoalloc.c (local_isatty): New function.
79192         (_IO_file_doallocate): Use local_isatty.
79193         * stdio-common/perror.c (perror): In case a new stream is used
79194         forward the stream error.
79195         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
79196         error flag.
79198 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
79200         [BZ #11884]
79201         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
79202         alloca.
79203         * include/alloca.h (extend_alloca_account): Define.
79205         [BZ #11857]
79206         * posix/regex.h: Fix comments with documentation of user-accessible
79207         fields after compilation and describe correct free'ing of pattern
79208         after re_compile_pattern.
79209         Patch by Reuben Thomas <rrt@sc3d.org>.
79211 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
79213         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
79214         and -mno-altivec to prevent the compiler from using Altivec and/or
79215         VSX instructions when the corresponding registers are not available.
79217 2011-05-19  Andreas Schwab  <schwab@redhat.com>
79219         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
79221 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
79223         * libio/freopen.c (freopen): Use __dup2, not dup2.
79224         * libio/freopen64.c (freopen64): Likewise.
79226 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
79228         [BZ #12775]
79229         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
79230         * math/Makefile (tests): Add test-powl.
79231         (CFLAGS-test-powl.c): Define.
79232         * math/test-powl.c: New file.
79234 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
79236         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
79238 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
79240         [BZ #11837]
79241         * iconvdata/gb18030.c: Update to GB18020-2005.
79243 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
79245         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
79246         RE_SYNTAX_POSIX_AWK): Update to match recent development.
79247         Patch by Aharon Robbins <arnold@skeeve.com>.
79249         [BZ #11892]
79250         * stdlib/putenv.c (putenv): Don't always create copy of the variable
79251         on the stack.
79253         [BZ #11895]
79254         * misc/pselect.c (__pselect): Handle timeout value errors hidden
79255         through underflows.
79257         [BZ #12766]
79258         * misc/error.c (error_at_line): Ensure file_name and old_file_name
79259         point to strings before performing equality test for error_one_per_line
79260         mode.
79262         [BZ #11697]
79263         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
79265         [BZ #11820]
79266         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
79267         (struct user_fpregs_struct): Avoid __uint*_t types.
79269         [BZ #6420]
79270         * malloc/mtrace.c (tr_where): Add additional parameter to point to
79271         symbol info.  Use it instead of calling _dl_addr locally.
79272         (lock_and_info): New function.
79273         (tr_freehook): Call lock_and_info and pass symbol info as additional
79274         parameter to tr_where.
79275         (tr_mallochook): Likewise.
79276         (tr_reallochook): Likewise.
79277         (tr_memalignhook): Likewise.
79279         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
79280         used and couldn't be at all thread-safe.
79282 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
79284         * libio/freopen.c (freopen): Don't close old file descriptor
79285         before the new one is opened.  Instead dup the new file descriptor
79286         to the old one after the new stream is created.
79287         * libio/freopen64.c (freopen64): Likewise.
79288         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
79289         * libio/fileops.c (_IO_new_file_close_it): Handle new
79290         _IO_FLAGS2_NOCLOSE flag.
79291         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
79292         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
79293         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
79294         _IO_FLAGS2_NOCLOSE flag.
79295         * include/unistd.h: Add hidden_proto for dup3.
79296         Define __have_dup3.
79297         * io/dup3.c: Define hidden symbol.
79298         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
79300         [BZ #7101]
79301         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
79302         when an incomplete long option is used.
79303         * posix/tst-getopt_long1.c: New file.
79304         * posix/Makefile (tests): Add tst-getopt_long1.
79306         [BZ #10138]
79307         * scripts/config.guess: Update from autoconf-2.68.
79308         * scripts/config.sub: Likewise.
79310         [BZ #10157]
79311         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
79312         tests into ...
79313         (has_cpuclock): ...this.  New function.
79314         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
79315         macro here based on has_cpuclock code.
79317         [BZ #10149]
79318         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
79319         First byte (not low byte) is now always NUL.
79320         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
79322         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
79323         Use non-cancelable interfaces.
79325         [BZ #9809]
79326         * locale/iso-639.def: Add entry for Sorani.
79328         [BZ #11901]
79329         * include/stdlib.h: Move include protection to the right place.
79330         Define abort_msg_s.  Declare __abort_msg with it.
79331         * stdlib/abort.c (__abort_msg): Adjust type.
79332         * assert/assert.c (__assert_fail_base): New function.  Majority
79333         of code from __assert_fail.  Allocate memory for __abort_msg with
79334         mmap.
79335         (__assert_fail): Now call __assert_fail_base.
79336         * assert/assert-perr.c: Remove bulk of implementation.  Use
79337         __assert_fail_base.
79338         * include/assert.hL Declare __assert_fail_base.
79339         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
79340         mmap.
79341         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
79343 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
79345         [BZ #11952]
79346         [BZ #12453]
79347         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
79348         until all modules are registered in the DTV.
79349         * elf/Makefile: Add rules to build and run tst-tls19.
79350         * elf/tst-tls19.c: New file.
79351         * elf/tst-tls19mod1.c: New file.
79352         * elf/tst-tls19mod2.c: New file.
79353         * elf/tst-tls19mod3.c: New file.
79354         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
79356         [BZ #12083]
79357         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
79358         correctly.
79360         [BZ #12601]
79361         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
79362         two-byte sequence errors.
79363         * iconvdata/Makefile (tests): Add bug-iconv8.
79364         * iconvdata/bug-iconv8.c: New file.
79366         [BZ #12626]
79367         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
79368         buf2 definition.
79370         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
79372         [BZ #12432]
79373         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
79374         (dummy_getcfa): New function.
79375         (init): Get _Unwind_GetCFA address, use dummy if not found.
79376         (backtrace_helper): In recursion check, also check whether CFA changes.
79377         (__backtrace): Completely initialize arg.
79379         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
79380         storing incomplete byte sequence in state object.  Avoid testing for
79381         guaranteed too small input if we know there is enough data available.
79383 2011-05-11  Andreas Schwab  <schwab@redhat.com>
79385         * Makeconfig (+link-pie): Indent.
79386         * Rules (binaries-pie): Define if $(have-fpie) and
79387         $(build-shared).
79388         (binaries-shared): Also filter out $(binaries-pie).
79389         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
79390         * nscd/Makefile (others-pie): Add nscd.
79391         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
79392         ($(objpfx)nscd): Remove command override.
79393         * login/Makefile (others-pie): Add pt_chown.
79394         ($(objpfx)pt_chown): Remove command override.
79395         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
79396         remove command overrides.
79398 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
79400         * libio/tst_putwc.c: Fix error messages.
79402         [BZ #12724]
79403         * libio/fileops.c (_IO_new_file_close_it): Always flush when
79404         currently writing and seek to current position when not.
79405         * libio/Makefile (tests): Add bug-fclose1.
79406         * libio/bug-fclose1.c: New file.
79408 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
79410         [BZ #12511]
79411         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
79412         don't set DF_1_NODELETE here.
79413         (do_lookup_x): When entering new entry test for copy relocation
79414         and if necessary set DF_1_NODELETE flag.
79415         * elf/tst-unique4.cc: New file.
79416         * elf/tst-unique4.h: New file.
79417         * elf/tst-unique4lib.cc: New file.
79418         * elf/Makefile: Add rules to build and run tst-unique4.
79419         Patch by Piotr Bury <pbury@goahead.com>.
79421 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
79423         [BZ #12052]
79424         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
79426         [BZ #12625]
79427         * misc/mntent_r.c (addmntent): Flush the stream after the output
79429         [BZ #12393]
79430         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
79431         (is_trusted_path_normalize): Skip initial colon.  Append slash
79432         to empty buffer.  Duplicate is_trusted_path code but allow
79433         constructed patch to be prefix.
79434         (is_dst): Allow $ORIGIN followed by /.
79435         (_dl_dst_substitute): Correct clearing of check_for_trusted.
79436         Correct testing of result of is_trusted_path_normalize
79437         (decompose_rpath): Fix warning.
79439 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
79441         [BZ #11257]
79442         * grp/initgroups.c (internal_getgrouplist): When we found the service
79443         list through the initgroups entry in nsswitch.conf do not always
79444         continue on a successful lookup.  Don't always use the
79445         __nss_group_database value if it is set.
79446         * nss/nsswitch.conf (initgroups): Change action for successful db
79447         lookup to continue for compatibility.
79449 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
79451         [BZ #11532]
79452         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
79453         and CP774 modules.
79454         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
79455         and CP774 modules.
79456         * iconvdata/tst-tables.sh: Likewise.
79457         * iconvdata/cp770.c: New file.
79458         * iconvdata/cp771.c: New file.
79459         * iconvdata/cp772.c: New file.
79460         * iconvdata/cp773.c: New file.
79461         * iconvdata/cp774.c: New file.
79462         * iconvdata/testdata/CP770: New file.
79463         * iconvdata/testdata/CP770..UTF8: New file.
79464         * iconvdata/testdata/CP771: New file.
79465         * iconvdata/testdata/CP771..UTF8: New file.
79466         * iconvdata/testdata/CP772: New file.
79467         * iconvdata/testdata/CP772..UTF8: New file.
79468         * iconvdata/testdata/CP773: New file.
79469         * iconvdata/testdata/CP773..UTF8: New file.
79470         * iconvdata/testdata/CP774: New file.
79471         * iconvdata/testdata/CP774..UTF8: New file.
79473         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
79474         END CHARMAP line.
79475         * iconvdata/gen-8bit-gap.sh: Likewise.
79476         * iconvdata/gen-8bit.sh: Likewise.
79478         * locale/iso-639.def: Add ary entry.
79480         [BZ #11258]
79481         * locale/C-translit.h.in: Add U20A1 transliteration.
79483         [BZ #12178]
79484         * locale/iso-639.def: Add wae entry.
79485         Patch by Kevin Bortis <bortis@translate-wae.ch>.
79487         [BZ #12545]
79488         * locale/programs/localedef.c (construct_output_path): Use ssize_t
79489         for n.
79491         [BZ #12711]
79492         * locale/C-translit.h.in: Add entry for U20B9.
79493         Patch by pravin.d.s@gmail.com.
79495 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
79497         [BZ #12713]
79498         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
79499         ENAMETOOLONG use generic getcwd.
79500         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
79501         in rtld.  Use *stat64.
79502         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
79503         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
79504         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
79505         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
79506         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
79507         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
79508         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
79509         __fstatat64 macros.
79510         * include/dirent.h: Add libc_hidden_proto for rewinddir.
79511         * dirent/rewinddir.c: Add libc_hidden_def.
79512         * sysdeps/mach/hurd/rewinddir.c: Likewise.
79513         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
79515         * include/dirent.h (__alloc_dir): Add flags parameter.
79516         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
79517         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
79518         __alloc_dir.
79519         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
79520         from fdopendir if O_CLOEXEC is already set.
79522 2011-03-15  Alan Modra  <amodra@gmail.com>
79524         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
79525         l_tls_firstbyte_offset non-zero.  Save padding offset in
79526         l_tls_firstbyte_offset for later use.
79527         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
79528         freeing static tls block.
79530 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
79532         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
79533         where #ifdef was intended.  The intent is to prevent ARG_MAX from
79534         being defined by the kernel headers.
79536 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
79538         [BZ #12734]
79539         * resolv/resolv.h: Define RES_NOTLDQUERY.
79540         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
79541         no-tld-query and set RES_NOTLDQUERY.
79542         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
79543         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
79544         modern BIND to search name as TLD unless forbidden.
79546 2011-05-07  Petr Baudis  <pasky@suse.cz>
79547             Ulrich Drepper  <drepper@gmail.com>
79549         [BZ #12393]
79550         * elf/dl-load.c (fillin_rpath): Move trusted path check...
79551         (is_trusted_path): ...to here.
79552         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
79553         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
79554         using is_trusted_path_normalize() in setuid scripts.
79556 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
79558         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
79559         __BEGIN/__END_DECLS.
79561 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
79563         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
79564         NSS_STATUS_NOTFOUND if no record was found.
79566 2011-05-05  Andreas Schwab  <schwab@redhat.com>
79568         * sunrpc/Makefile (headers): Add rpc/netdb.h.
79569         (headers-not-in-tirpc): Remove rpc/netdb.h
79570         * resolv/netdb.h: Revert last change.
79572 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
79574         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
79575         circular dependency between libgcc.a and libc.a.
79577 2011-05-05  Andreas Schwab  <schwab@redhat.com>
79579         * resolv/netdb.h: Don't include <rpc/netdb.h>.
79580         * nis/Makefile: Don't install rpcsvc/*.
79581         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
79582         instead of <rpc/types.h>.
79583         (MAXHOSTNAMELEN): Define.
79585 2011-05-03  Andreas Schwab  <schwab@redhat.com>
79587         * elf/ldconfig.c (add_dir): Don't crash on empty path.
79589 2011-04-28  Maciej Babinski  <mbabinski@google.com>
79591         [BZ #12714]
79592         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
79593         gethostbyname4_r when IPv6 results are possible.
79595 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
79597         [BZ #12723]
79598         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
79599         _PC_PIPE_BUF handling.
79601 2011-04-30  Bruno Haible  <bruno@clisp.org>
79603         [BZ #12717]
79604         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
79605         * resolv/netdb.h (getnameinfo): Change type of flags parameter
79606         to 'int'.
79607         * inet/getnameinfo.c (getnameinfo): Likewise.
79609 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
79611         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
79612         to groups setting in database lookup.
79613         * nss/nsswitch.conf: Add initgroups entry.
79615 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
79617         [BZ #12685]
79618         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
79619         mode string.
79620         Patch by Eric Blake <eblake@redhat.com>.
79622 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
79624         * sunrpc/Makefile (need-export-routines): Add svc_run.
79625         (routines): Remove svc_run.
79626         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
79627         * sunrpc/clnt_perr.c (clnt_perrno): Export.
79628         * sunrpc/svc_run.c (svc_run): Likewise.
79629         * sunrpc/svc_udp.c (svcudp_create): Likewise.
79631 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
79633         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
79634         problem in reallocation in last patch.
79636 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
79638         * sunrpc/Makefile: Move inclusion of Rules.
79640 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
79642         * nss/nss_files/files-initgroups.c: New file.
79643         * nss/Makefile (libnss_files-routines): Add files-initgroups.
79644         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
79645         _nss_files_initgroups_dyn.
79647 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
79649         * elf/elf.h (R_ARM_IRELATIVE): Define.
79651 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
79653         * po/ru.po: Update from translation team.
79655 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
79657         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
79658         dependencies.
79660 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
79662         [BZ #12653]
79663         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
79664         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
79665         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
79666         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
79667         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
79669 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
79671         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
79672         differing bytes.
79673         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
79674         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
79675         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
79677 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
79679         [BZ #12420]
79680         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
79681         storing it.
79682         * stdlib/bug-getcontext.c: New file.
79683         * stdlib/Makefile: Add rules to build and run bug-getcontext.
79685 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79687         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
79688         instructions into .machine "z9-109".
79689         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
79690         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
79692 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79694         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
79695         between environment variables and auxiliary vector.
79697 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
79699         * Makefile: Add rules to build linkobj/libc.so.
79700         * include/libc-symbols.h: Define libc_hidden_nolink.
79701         * include/rpc/auth.h: Mark functions which are to be hidden.
79702         * include/rpc/auth_des.h: Likewise.
79703         * include/rpc/auth_unix.h: Likewise.
79704         * include/rpc/clnt.h: Likewise.
79705         * include/rpc/des_crypt.h: Likewise.
79706         * include/rpc/key_prot.h: Likewise.
79707         * include/rpc/pmap_clnt.h: Likewise.
79708         * include/rpc/pmap_prot.h: Likewise.
79709         * include/rpc/pmap_rmt.h: Likewise.
79710         * include/rpc/rpc_msg.h: Likewise.
79711         * include/rpc/svc.h: Likewise.
79712         * include/rpc/svc_auth.h: Likewise.
79713         * include/rpc/xdr.h: Likewise.
79714         * nis/Makefile: Link all DSOs against linkobj/libc.so.
79715         * nss/Makefile: Likewise.
79716         * sunrpc/Makefile: Don't install headers.  Build library with normal
79717         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
79718         * sunrpc/auth_des.c: Hide exported symbols by default, export some
79719         for the compat linking library.  Remove use of INTDEF/INTUSE.
79720         * sunrpc/auth_none.c: Likewise.
79721         * sunrpc/auth_unix.c: Likewise.
79722         * sunrpc/authdes_prot.c: Likewise.
79723         * sunrpc/authuxprot.c: Likewise.
79724         * sunrpc/clnt_gen.c: Likewise.
79725         * sunrpc/clnt_perr.c: Likewise.
79726         * sunrpc/clnt_raw.c: Likewise.
79727         * sunrpc/clnt_simp.c: Likewise.
79728         * sunrpc/clnt_tcp.c: Likewise.
79729         * sunrpc/clnt_udp.c: Likewise.
79730         * sunrpc/clnt_unix.c: Likewise.
79731         * sunrpc/des_crypt.c: Likewise.
79732         * sunrpc/des_soft.c: Likewise.
79733         * sunrpc/get_myaddr.c: Likewise.
79734         * sunrpc/key_call.c: Likewise.
79735         * sunrpc/key_prot.c: Likewise.
79736         * sunrpc/netname.c: Likewise.
79737         * sunrpc/pm_getmaps.c: Likewise.
79738         * sunrpc/pm_getport.c: Likewise.
79739         * sunrpc/pmap_clnt.c: Likewise.
79740         * sunrpc/pmap_prot.c: Likewise.
79741         * sunrpc/pmap_prot2.c: Likewise.
79742         * sunrpc/pmap_rmt.c: Likewise.
79743         * sunrpc/publickey.c: Likewise.
79744         * sunrpc/rpc_cmsg.c: Likewise.
79745         * sunrpc/rpc_common.c: Likewise.
79746         * sunrpc/rpc_dtable.c: Likewise.
79747         * sunrpc/rpc_prot.c: Likewise.
79748         * sunrpc/rpc_thread.c: Likewise.
79749         * sunrpc/rtime.c: Likewise.
79750         * sunrpc/svc.c: Likewise.
79751         * sunrpc/svc_auth.c: Likewise.
79752         * sunrpc/svc_authux.c: Likewise.
79753         * sunrpc/svc_raw.c: Likewise.
79754         * sunrpc/svc_run.c: Likewise.
79755         * sunrpc/svc_simple.c: Likewise.
79756         * sunrpc/svc_tcp.c: Likewise.
79757         * sunrpc/svc_udp.c: Likewise.
79758         * sunrpc/svc_unix.c: Likewise.
79759         * sunrpc/svcauth_des.c: Likewise.
79760         * sunrpc/xcrypt.c: Likewise.
79761         * sunrpc/xdr.c: Likewise.
79762         * sunrpc/xdr_array.c: Likewise.
79763         * sunrpc/xdr_float.c: Likewise.
79764         * sunrpc/xdr_intXX_t.c: Likewise.
79765         * sunrpc/xdr_mem.c: Likewise.
79766         * sunrpc/xdr_rec.c: Likewise.
79767         * sunrpc/xdr_ref.c: Likewise.
79768         * sunrpc/xdr_sizeof.c: Likewise.
79769         * sunrpc/xdr_stdio.c: Likewise.
79771 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
79773         [BZ #12650]
79774         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
79775         * sysdeps/ia64/dl-tls.h: Likewise.
79776         * sysdeps/powerpc/dl-tls.h: Likewise.
79777         * sysdeps/s390/dl-tls.h: Likewise.
79778         * sysdeps/sh/dl-tls.h: Likewise.
79779         * sysdeps/sparc/dl-tls.h: Likewise.
79780         * sysdeps/x86_64/dl-tls.h: Likewise.
79781         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
79783 2011-03-14  Andreas Schwab  <schwab@redhat.com>
79785         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
79786         rpath element also skip the following colon.
79787         (expand_dynamic_string_token): Add is_path parameter and pass
79788         down to DL_DST_REQUIRED and _dl_dst_substitute.
79789         (decompose_rpath): Call expand_dynamic_string_token with
79790         non-zero is_path.  Ignore empty rpaths.
79791         (_dl_map_object_from_fd): Call expand_dynamic_string_token
79792         with zero is_path.
79794 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
79796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
79797         Make cancelable.
79799 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
79801         [BZ #12655]
79802         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
79803         Patch by Filipe David Manana <fdmanana@apache.org>.
79805 2011-04-07  Andreas Schwab  <schwab@redhat.com>
79807         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
79808         Maintain aligned stack.
79809         (CHECK_RSP): Remove unused macro.
79811 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
79813         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
79814         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
79816 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
79818         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
79820         * include/features.h: Mention __USE_XOPEN2K8 in comment.
79822 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
79824         [BZ #12518]
79825         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
79826         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
79827         * sysdeps/x86_64/memmove.c: New file.
79828         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
79829         (memcpy): Renamed to ...
79830         (__new_memcpy): This.
79831         (memcpy): Provide GLIBC_2_14 memcpy.
79832         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
79833         (memcpy): Provide GLIBC_2_2_5 memcpy.
79835 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
79837         [BZ #12631]
79838         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
79840 2011-03-30  Andreas Schwab  <schwab@redhat.com>
79842         * misc/syncfs.c: New file.
79843         * misc/Makefile (routines): Add syncfs.
79844         * posix/unistd.h: Declare syncfs.
79845         * sysdeps/unix/syscalls.list: Add syncfs.
79847 2011-04-01  Andreas Schwab  <schwab@redhat.com>
79849         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
79850         open_by_handle_at.
79851         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
79852         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
79853         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
79854         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
79855         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
79856         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
79857         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
79859 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
79861         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
79862         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
79863         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
79864         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
79865         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
79866         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
79867         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
79869         * io/Makefile: Compile fallocate.c, fallocate64.c, and
79870         sync_file_range.c with -fexceptions.
79871         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
79872         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
79873         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
79874         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
79875         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
79876         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
79877         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
79878         sync_file_range as cancellation point
79879         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
79880         now a wrapper around __call_sync_file_range with cancellation handling.
79881         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
79882         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
79883         function name to __call_sync_file_range.
79884         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
79885         Add call_sync_file_range.
79887 2011-04-01  Andreas Schwab  <schwab@redhat.com>
79889         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79890         bits/timex.h.
79892 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
79894         * iconv/iconv.h: Fix typo in comment.
79895         * io/fcntl.h: Likewise.
79896         * libio/stdio.h: Likewise.
79897         * posix/spawn.h: Likewise.
79898         * posix/unistd.h: Likewise.
79899         * stdlib/stdlib.h: Likewise.
79900         * time/time.h: Likewise.
79901         * wcsmbs/wchar.h: Likewise.
79903         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
79904         open_by_handle): Add.
79905         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
79906         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
79907         Augment a few comments.
79908         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
79909         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
79910         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
79911         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
79912         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
79913         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
79914         open_by_handle.
79916         * io/fcntl.h (AT_EMPTY_PATH): Define.
79918 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
79920         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
79921         * sysdeps/unix/sysv/linux/bits/time.h: New file.
79922         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
79923         to...
79924         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
79925         * Versions.def: Add GLIBC_2.14.
79926         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
79927         Export.
79929 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
79931         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
79932         round counter.
79933         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
79935 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
79937         [BZ #12597]
79938         * string/test-strncmp.c (do_page_test): New function.
79939         (check2): Likewise.
79940         (test_main): Call check2.
79941         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
79943 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
79945         [BZ #12587]
79946         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
79947         Handle cache information in CPU leaf 4.
79948         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
79950 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
79952         [BZ #12583]
79953         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
79954         character representation.
79955         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
79957 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
79959         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
79960         END(__isnan) to END(__isnanf) to match function entry point/label
79961         EALIGN(__isnanf,...).
79963 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
79965         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
79967 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
79969         [BZ #12510]
79970         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
79971         copy from the symbol referenced in the relocation to initialize the
79972         used variable.
79973         Patch by Piotr Bury <pbury@goahead.com>.
79974         * elf/Makefile: Add rules to build and tst-unique3.
79975         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
79976         * elf/tst-unique3.cc: New file.
79977         * elf/tst-unique3.h: New file.
79978         * elf/tst-unique3lib.cc: New file.
79979         * elf/tst-unique3lib2.cc: New file.
79981         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
79983 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
79985         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
79986         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
79987         to _start.
79989 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
79991         * elf/dl-load.c (_dl_map_object): If we are looking for the first
79992         to-be-loaded object along a path to loader is ld.so.
79994 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
79995             Ulrich Drepper  <drepper@gmail.com>
79997         * sysdeps/x86_64/memset.S: After aligning destination, code
79998         branches to different locations depending on the value of
79999         misalignment, when multiarch is enabled. Fix this.
80001 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
80003         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
80004         Set _x86_64_preferred_memory_instruction for AMD processsors.
80005         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80006         Set bit_Prefer_SSE_for_memop for AMD processors.
80008 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
80010         * libio/fmemopen.c (fmemopen): Optimize a bit.
80012 2011-03-03  Andreas Schwab  <schwab@redhat.com>
80014         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
80016 2011-03-03  Roland McGrath  <roland@redhat.com>
80018         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
80020 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
80022         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
80023         __bzero_ultra1 instead of __memset_ultra1.
80025 2011-02-23  Andreas Schwab  <schwab@redhat.com>
80026             Ulrich Drepper  <drepper@gmail.com>
80028         [BZ #12509]
80029         * include/link.h (struct link_map): Add l_orig_initfini.
80030         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
80031         returning unsuccessfully.
80032         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
80033         close of a file loaded at startup, restore the original l_initfini
80034         list.
80035         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
80036         list, store the pointer.
80037         * elf/Makefile ($(objpfx)noload-mem): New rule.
80038         (noload-ENV): Define.
80039         (tests): Add $(objpfx)noload-mem.
80040         * elf/noload.c: Include <memcheck.h>.
80041         (main): Call mtrace.  Close all opened handles.
80043 2011-02-17  Andreas Schwab  <schwab@redhat.com>
80045         [BZ #12454]
80046         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
80047         dependencies are missing.
80049 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80051         Fix __if_freereq crash: Unlike the generic version which uses free,
80052         Hurd needs munmap.
80053         * sysdeps/mach/hurd/ifreq.h: New file.
80055 2011-01-27  Petr Baudis  <pasky@suse.cz>
80056             Ulrich Drepper  <drepper@gmail.com>
80058         [BZ 12445]#
80059         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
80060         to extend_alloca().
80061         * stdio-common/bug23.c: New file.
80062         * stdio-common/Makefile (tests): Add bug23.
80064 2010-09-28  Andreas Schwab  <schwab@redhat.com>
80065             Ulrich Drepper  <drepper@gmail.com>
80067         [BZ #12489]
80068         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
80069         before performing relro protection.  At old place add assertion
80070         to make sure nothing changed.
80072 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
80073             Glauber de Oliveira Costa  <glommer@gmail.com>
80075         * elf/elf.h: Add new ARM TLS relocs.
80077 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
80079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
80080         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
80081         cast from r3.
80082         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
80083         'tests' variable.
80084         * sysdeps/wordsize-64/tst-writev.c: New file.
80086 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
80088         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
80089         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
80090         insns in _dl_start to prevent a TOC reference before relocs are
80091         resolved.
80093 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
80095         [BZ #12469]
80096         * Makeconfig: Remove RANLIB definition.
80097         * Makerules: Don't use RANLIB.
80098         * aclocal.m4: Remove ranlib test.
80099         * configure.in: No need to check for ranlib.
80100         * elf/rtld-Rules: Don't use RANLIB.
80102 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80104         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
80105         protection macro.
80106         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
80107         inclusion protection macro.
80109         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
80110         SIGRTMIN and SIGRTMAX and print information in that case only when
80111         SIGRTMIN is defined.
80113 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
80115         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
80116         arginfo fn returning -1.
80118         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
80119         and thousands string is zero terminated.
80121 2011-02-03  Andreas Schwab  <schwab@redhat.com>
80123         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
80124         sysdeps/unix/sysv/linux/bits/socket.h.
80126 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80128         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
80129         (__CPU_COUNT): Remove old macros.
80130         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
80131         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
80132         (__CPU_ALLOC, __CPU_FREE): Add macros.
80133         (__sched_cpualloc, __sched_cpufree): Add declarations.
80135 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
80137         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
80138         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
80139         * nscd/aicache.c (addhstaiX): Return timeout of added value.
80140         (readdhstai): Return value of addhstaiX call.
80141         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
80142         (addgrbyX): Return value returned by cache_addgr.
80143         (readdgrbyname): Return value returned by addgrbyX.
80144         (readdgrbygid): Likewise.
80145         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
80146         (addpwbyX): Return value returned by cache_addpw.
80147         (readdpwbyname): Return value returned by addhstbyX.
80148         (readdpwbyuid): Likewise.
80149         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
80150         (addservbyX): Return value returned by cache_addserv.
80151         (readdservbyname): Return value returned by addservbyX:
80152         (readdservbyport): Likewise.
80153         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
80154         (addhstbyX): Return value returned by cache_addhst.
80155         (readdhstbyname): Return value returned by addhstbyX.
80156         (readdhstbyaddr): Likewise.
80157         (readdhstbynamev6): Likewise.
80158         (readdhstbyaddrv6): Likewise.
80159         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
80160         (readdinitgroups): Return value returned by addinitgroupsX.
80161         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
80162         (prune_cache): Keep track of timeout value of re-added entries.
80163         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
80164         * nscd/nscd.h: Adjust prototypes of readd* functions.
80166 2011-02-04  Roland McGrath  <roland@redhat.com>
80168         * nis/nis_server.c (nis_servstate): Use the right name for 0.
80169         (nis_stats): Likewise.
80170         * nis/nis_modify.c (nis_modify): Likewise.
80171         * nis/nis_remove.c (nis_remove): Likewise.
80172         * nis/nis_add.c (nis_add): Likewise.
80174         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
80176         * posix/fnmatch_loop.c: Add some consts.
80178         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
80180 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
80182         [BZ #12460]
80183         * config.make.in (config-cflags-novzeroupper): Define.
80184         * configure.in: Substitute libc_cv_cc_novzeroupper.
80185         * elf/Makefile (AVX-CFLAGS): Define.
80186         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
80187         (CFLAGS-tst-auditmod4a.c): Likewise.
80188         (CFLAGS-tst-auditmod4b.c): Likewise.
80189         (CFLAGS-tst-auditmod6b.c): Likewise.
80190         (CFLAGS-tst-auditmod6c.c): Likewise.
80191         (CFLAGS-tst-auditmod7b.c): Likewise.
80192         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
80194 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
80196         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
80197         function to the callback.
80198         Patch partly by Jiri Olsa <jolsa@redhat.com>.
80200 2011-02-02  Andreas Schwab  <schwab@redhat.com>
80202         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
80203         of errno.
80205 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
80207         [BZ #11724]
80208         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
80209         of constructors.
80210         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
80211         of destructors.
80212         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
80214         [BZ #11724]
80215         * elf/Makefile: Add rules to build and run new test.
80216         * elf/tst-initorder.c: New file.
80217         * elf/tst-initorder.exp: New file.
80218         * elf/tst-initordera1.c: New file.
80219         * elf/tst-initordera2.c: New file.
80220         * elf/tst-initordera3.c: New file.
80221         * elf/tst-initordera4.c: New file.
80222         * elf/tst-initorderb1.c: New file.
80223         * elf/tst-initorderb2.c: New file.
80224         * elf/tst-order-a1.c: New file.
80225         * elf/tst-order-a2.c: New file.
80226         * elf/tst-order-a3.c: New file.
80227         * elf/tst-order-a4.c: New file.
80228         * elf/tst-order-b1.c: New file.
80229         * elf/tst-order-b2.c: New file.
80230         * elf/tst-order-main.c: New file.
80231         New test case by George Gensure <werkt0@gmail.com>.
80233 2010-10-01  Andreas Schwab  <schwab@redhat.com>
80235         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
80236         decoding ACE if AI_CANONIDN.
80238 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
80240         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
80242 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
80244         * version.h (RELEASE): Bump for 2.13 release.
80245         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
80247         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
80249         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
80250         MADV_NOHUGEPAGE.
80251         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
80252         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
80253         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
80254         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
80255         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
80256         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
80258         * posix/getconf.c: Update copyright year.
80259         * catgets/gencat.c: Likewise.
80260         * csu/version.c: Likewise.
80261         * debug/catchsegv.sh: Likewise.
80262         * debug/xtrace.sh: Likewise.
80263         * elf/ldconfig.c: Likewise.
80264         * elf/ldd.bash.in: Likewise.
80265         * elf/sprof.c (print_version): Likewise.
80266         * iconv/iconv_prog.c: Likewise.
80267         * iconv/iconvconfig.c: Likewise.
80268         * locale/programs/locale.c: Likewise.
80269         * locale/programs/localedef.c: Likewise.
80270         * malloc/memusage.sh: Likewise.
80271         * malloc/mtrace.pl: Likewise.
80272         * nscd/nscd.c (print_version): Likewise.
80273         * nss/getent.c: Likewise.
80275         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
80276         PF_CAIF, and PF_ALG.
80277         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
80279 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
80281         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
80282         (modules-names): Use them.
80283         (ifunc-test-modules, ifunc-pie-tests): Define.
80284         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
80285         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
80286         (test-extras): Likewise.
80287         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
80288         $(compile-command.c).
80289         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
80290         (all-built-dso): Define.
80291         (check-textrel.out, check-execstack.out): Depend on it.
80293         * configure.in: Don't override --enable-multi-arch.
80295 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
80297         [BZ #6812]
80298         * nscd/hstcache.c (tryagain): Define.
80299         (cache_addhst): Return tryagain not notfound for temporary errors.
80300         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
80301         failed.
80303 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
80305         [BZ #10563]
80306         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
80307         to make the syscall.
80308         * sysdeps/unix/sysv/linux/setgroups.c: New file.
80310         [BZ #12378]
80311         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
80312         and fall back to matching as normal character if the string ends before
80313         the matching ']' is found.  This is what POSIX requires.
80314         * posix/testfnm.c: Adjust test result.
80315         * posix/globtest.sh: Adjust test result.  Add new test.
80316         * posix/tst-fnmatch.input: Likewise.
80317         * posix/tst-fnmatch2.c: Add new test.
80319 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
80321         * elf/Makefile (check-execstack): Revert last change.  Depend on
80322         check-execstack.h.
80323         (check-execstack.h): New target.
80324         (generated): Add check-execstack.h.
80325         * elf/check-execstack.c: Include "check-execstack.h".
80326         (main): Revert last change.
80327         (handle_file): Return zero if GNU_STACK is absent and
80328         DEFAULT_STACK_PERMS doesn't include PF_X.
80330 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
80332         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
80333         in child fails because the descriptor is already closed.
80334         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
80335         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
80336         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
80338         [BZ #12397]
80339         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
80340         syscall.
80342         [BZ #10484]
80343         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
80344         temporary buffer used to handle multi lookups locally.
80345         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
80347 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
80349         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
80350         loader is ld.so.
80352 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
80354         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
80355         alignment for SSE2.
80357 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
80359         [BZ #12394]
80360         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
80361         characters.  When rounding increased number of integer digits recompute
80362         number of groups.
80363         * stdio-common/tst-grouping.c: New file.
80364         * stdio-common/Makefile: Add rules to build and run tst-grouping.
80366 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
80368         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
80369         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
80371         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
80372         void.
80373         * bits/select.h: Likewise.
80375 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
80377         * po/ja.po: Update from translation team.
80379 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
80381         [BZ #11155]
80382         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
80383         implementation just like for lxstat, fxstatat, et al.
80385 2010-12-27  Jim Meyering  <meyering@redhat.com>
80387         [BZ #12348]
80388         * posix/regexec.c (build_trtable): Return failure indication upon
80389         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
80391 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
80393         [BZ #12201]
80394         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
80395         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
80396         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
80397         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
80399         [BZ #12207]
80400         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
80402         [BZ #12204]
80403         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
80404         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
80406 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
80408         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
80409         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
80410         script has SORT_BY_INIT_PRIORITY.
80411         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
80412         NO_CTORS_DTORS_SECTIONS is defined.
80413         * elf/soinit.c: Likewise.
80414         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
80415         NO_CTORS_DTORS_SECTIONS is defined.
80416         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
80417         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
80418         * sysdeps/sh/init-first.c: Likewise.
80419         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
80421 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
80423         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
80424         always use the slow path.
80426 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
80428         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
80429         similar rule which adds the sysdep directories to the header search in
80430         order to pick up the correct platform stackinfo.h.
80431         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
80432         perform test if it is, otherwise return successfully without testing.
80433         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
80434         DEFAULT_STACK_PERMS define in stackinfo.h.
80435         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
80436         defined in stackinfo.h.
80437         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
80438         DEFAULT_STACK_PERMS defined in stackinfo.h.
80439         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
80440         * sysdeps/ia64/stackinfo.h: Likewise.
80441         * sysdeps/s390/stackinfo.h: Likewise.
80442         * sysdeps/sh/stackinfo.h: Likewise.
80443         * sysdeps/sparc/stackinfo.h: Likewise.
80444         * sysdeps/x86_64/stackinfo.h: Likewise.
80445         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
80446         PF_X for powerpc64.  Retain PF_X for powerpc32.
80448 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
80450         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
80451         accurately.
80452         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
80453         GETDENTS_64BIT_ALIGNED.
80455 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
80457         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
80459 2010-12-10  Andreas Schwab  <schwab@redhat.com>
80461         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
80462         _GNU_SOURCE.
80464         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
80465         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
80466         Remove __restrict.
80467         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
80468         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
80470 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
80472         [BZ #11655]
80473         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
80474         are initialized.
80476 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
80478         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
80480 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
80482         * po/it.po: Update from translation team.
80484 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
80486         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
80487         unused codes.
80489 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
80491         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
80493 2010-11-24  Andreas Schwab  <schwab@redhat.com>
80495         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
80496         specially.
80497         (gaih_getanswer_slice): Likewise.
80499 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
80501         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
80503 2010-05-31  Petr Baudis  <pasky@suse.cz>
80505         [BZ #11149]
80506         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
80507         silently even in the chroot mode.
80509 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
80511         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
80512         last patch a bit.  Pretty printing
80514 2010-05-31  Petr Baudis <pasky@suse.cz>
80516         [BZ #10085]
80517         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
80518         initialization of skip_initgroups_dyn.
80520 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
80522         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
80523         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
80525 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
80527         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
80529 2010-11-11  Andreas Schwab  <schwab@redhat.com>
80531         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
80532         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
80533         (tst-fnmatch-ENV): Set MALLOC_TRACE.
80534         ($(objpfx)tst-fnmatch-mem): New rule.
80535         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
80536         * posix/tst-fnmatch.c (main): Call mtrace.
80538 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
80540         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80541         Support Intel processor model 6 and model 0x2c.
80543 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
80545         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
80546           signed comparison.
80548 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
80550         [BZ #12205]
80551         * string/test-strncasecmp.c (check_result): New function.
80552         (do_one_test): Use it.
80553         (check1): New function.
80554         (test_main): Use it.
80555         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
80556         Support strcasecmp and strncasecmp.
80558 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
80560         [BZ #12194]
80561         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
80562         * sysdeps/x86_64/bits/byteswap.h: Likewise.
80564 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
80566         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
80567         IFUNC support.
80568         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80569         memset-x86-64.
80570         * sysdeps/x86_64/multiarch/bzero.S: New file.
80571         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
80572         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
80573         * sysdeps/x86_64/multiarch/memset.S: New file.
80574         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
80575         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80576         Set bit_Prefer_SSE_for_memop for Intel processors.
80577         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
80578         Define.
80579         (index_Prefer_SSE_for_memop): Define.
80580         (HAS_PREFER_SSE_FOR_MEMOP): Define.
80582 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
80584         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
80585         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
80587 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
80589         [BZ #12191]
80590         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
80591         (__x86_64_raw_data_cache_size_half): Likewise.
80592         (__x86_64_raw_shared_cache_size): Likewise.
80593         (__x86_64_raw_shared_cache_size_half): Likewise.
80595         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
80596         (__x86_64_raw_data_cache_size_half): Likewise.
80597         (__x86_64_raw_shared_cache_size): Likewise.
80598         (__x86_64_raw_shared_cache_size_half): Likewise.
80599         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
80600         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
80601         and __x86_64_raw_shared_cache_size_half.  Round
80602         __x86_64_data_cache_size_half, __x86_64_data_cache_size
80603         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
80604         to multiple of 256 bytes.
80606 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
80608         [BZ #12167]
80609         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
80610         of inacessible symlinks.  Verify result of symlink before returning it.
80611         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
80612         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
80614 2010-10-28  Erich Ritz  <erichritz@gmail.com>
80616         * math/math.h (isinf): Fix typo in comment.
80618 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
80620         * po/da.po: Update from translation team.
80622 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
80624         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
80625         is added to the list.
80627 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80628             Ulrich Drepper  <drepper@gmail.com>
80630         * elf/dl-object.c (_dl_new_object): Don't append the new object to
80631         the global list here.  Move code to...
80632         (_dl_add_to_namespace_list): ...here.  New function.
80633         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
80634         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
80635         * elf/dl-load.c (lose): Don't remove the element from the list.
80636         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
80637         (_dl_map_object): Likewise.
80639 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
80641         [BZ #12159]
80642         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
80643         into all bytes of SSE register.
80644         Patch by Richard Li <richardpku@gmail.com>.
80646 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
80648         [BZ #12140]
80649         * malloc/malloc.c (_int_free): Fill correct number of bytes when
80650         perturbing.
80652 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
80654         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
80655         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
80656         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
80657         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
80658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
80659         submachine.
80660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
80662 2010-10-22  Andreas Schwab  <schwab@redhat.com>
80664         * include/dlfcn.h (__RTLD_SECURE): Define.
80665         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
80666         mode & __RTLD_SECURE instead.
80667         (open_path): Rename preloaded parameter to secure.
80668         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
80669         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
80670         * elf/dl-deps.c (openaux): Likewise.
80671         * elf/rtld.c (struct map_args): Remove is_preloaded.
80672         (map_doit): Don't use it.
80673         (dl_main): Likewise.
80674         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
80675         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
80677 2010-09-09  Andreas Schwab  <schwab@redhat.com>
80679         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
80680         (sysd-rules-targets): Remove duplicates.
80681         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
80682         rtld-%.$o dependency.
80684 2010-10-18  Andreas Schwab  <schwab@redhat.com>
80686         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
80687         _dl_map_object do it.
80689 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
80691         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
80692         fast fma builtins, define the macros in the C99 standard.
80693         (FP_FAST_FMAF): Likewise.
80694         (FP_FAST_FMAL): Likewise.
80695         * sysdeps/x86_64/bits/mathdef.h: Likewise.
80697         * bits/mathdef.h: Update copyright year.
80698         * sysdeps/powerpc/bits/mathdef.h: Likewise.
80700 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
80702         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
80703         builtins, define the macros in the C99 standard.
80704         (FP_FAST_FMAF): Likewise.
80705         (FP_FAST_FMAL): Likewise.
80706         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
80707         multiply/add.
80708         (FP_FAST_FMAF): Likewise.
80710 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
80712         [BZ #3268]
80713         * math/libm-test.inc (fma_test): Some new testcases.
80714         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
80715         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
80716         y and infinite z.  Do multiplication by C already in long double.
80717         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
80718         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
80719         y and infinite z.  Do bitwise or of inexact bit into u.d.
80720         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
80721         * sysdeps/i386/fpu/s_fmaf.S: Removed.
80722         * sysdeps/i386/fpu/s_fma.S: Removed.
80723         * sysdeps/i386/fpu/s_fmal.S: Removed.
80725 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
80727         [BZ #3268]
80728         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
80729         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
80730         computation is not scheduled after fetestexcept.  Fix value
80731         of minimum denormal long double.
80733 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
80735         [BZ #3268]
80736         * math/libm-test.inc (fma_test): Add some more tests.
80737         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
80738         correctly.
80740 2010-10-15  Andreas Schwab  <schwab@redhat.com>
80742         * scripts/data/localplt-s390-linux-gnu.data: New file.
80743         * scripts/data/localplt-s390x-linux-gnu.data: New file.
80745 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
80747         [BZ #3268]
80748         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
80749         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
80750         instead of dbl-64.
80751         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
80752         inlines.
80753         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
80754         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
80755         if one of x and y is very large and the other is subnormal.
80756         * sysdeps/s390/fpu/s_fmaf.c: New file.
80757         * sysdeps/s390/fpu/s_fma.c: New file.
80758         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
80759         * sysdeps/powerpc/fpu/s_fma.S: New file.
80760         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
80761         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
80762         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
80764 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
80766         [BZ #3268]
80767         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
80768         fma tests.
80769         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
80770         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
80771         * sysdeps/i386/i686/multiarch/s_fma.c: Include
80772         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
80773         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
80774         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
80775         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
80777 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
80779         [BZ #12078]
80780         * posix/regcomp.c (parse_branch): One more memory leak plugged.
80781         * posix/bug-regex31.input: Add test case.
80783 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
80785         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
80786         * posix/bug-regex31.input: New file.
80788         [BZ #12078]
80789         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
80790         (parse_sub_exp): Fix last change, use postorder.
80792         * posix/bug-regex31.c: New file.
80793         * posix/Makefile: Add rules to build and run bug-regex31.
80795         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
80797         [BZ #12078]
80798         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
80800         [BZ #12108]
80801         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
80802         to have entries in sys_siglist.
80804         [BZ #12093]
80805         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
80806         be NULL.
80808 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
80810         [BZ #3268]
80811         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
80812         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
80813         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
80814         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
80815         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
80816         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
80817         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
80818         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
80819         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
80820         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
80821         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
80822         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
80823         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
80824         * math/ftestexcept.c (fetestexcept): Likewise.
80825         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
80826         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
80827         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
80828         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
80829         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
80830         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
80831         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
80833 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
80835         [BZ #12107]
80836         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
80837         newline.
80839 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
80841         * string/bug-strstr1.c: New file.
80842         * string/Makefile: Add rules to build and run bug-strstr1.
80844 2010-10-05  Eric Blake  <eblake@redhat.com>
80846         [BZ #12092]
80847         * string/str-two-way.h (two_way_long_needle): Always clear memory
80848         when skipping input due to the shift table.
80850 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
80852         [BZ #12005]
80853         * malloc/mcheck.c: Handle large requests.
80855         [BZ #12077]
80856         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
80857         for strncmp and strncasecmp.
80858         * string/stratcliff.c: Add tests for strcmp and strncmp.
80859         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
80861 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
80863         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
80864         __set_fpscr.
80866 2010-09-30  Andreas Jaeger  <aj@suse.de>
80868         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
80869         (CGROUP_SUPER_MAGIC): Define.
80870         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
80871         Handle btrfs and cgroup file systems.
80872         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
80873         Likewise.
80875 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
80877         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
80878         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
80880 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80882         [BZ #12067]
80883         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
80884         trying to locate the ELF header.
80886 2010-09-27  Andreas Schwab  <schwab@redhat.com>
80888         [BZ #11611]
80889         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
80890         Mask out sign-bit copies when constructing f_fsid.
80892 2010-09-24  Petr Baudis <pasky@suse.cz>
80894         * debug/stack_chk_fail_local.c: Add missing licence exception.
80895         * debug/warning-nop.c: Likewise.
80897 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
80899         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
80900         implementing getdents64 using getdents syscall, set d_type if
80901         __ASSUME_GETDENTS32_D_TYPE.
80903 2010-09-16  Andreas Schwab  <schwab@redhat.com>
80905         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
80906         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
80908 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
80910         [BZ #12037]
80911         * posix/unistd.h: Undo change of feature selection for ftruncate from
80912         2010-01-11.
80914 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
80916         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
80917         detection.
80919 2010-09-20  Andreas Schwab  <schwab@redhat.com>
80921         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
80922         fanotify_mark.
80923         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
80925 2010-09-14  Andreas Schwab  <schwab@redhat.com>
80927         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
80928         variables after CHECK_SP call.
80929         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
80931 2010-09-13  Andreas Schwab  <schwab@redhat.com>
80932             Ulrich Drepper  <drepper@redhat.com>
80934         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
80935         re-relocationg ld.so.
80936         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
80937         _dl_init_paths call.
80938         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
80939         here anymore.
80941 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
80943         * resolv/res_init.c (__res_vinit): Count the default server we added.
80945 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
80946             Ulrich Drepper  <drepper@redhat.com>
80948         [BZ #11968]
80949         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
80950         (____longjmp_chk): Use %ebx for saving value across system call.
80951         Add unwind info.
80953 2010-09-06  Andreas Schwab  <schwab@redhat.com>
80955         * manual/Makefile: Don't mix pattern rules with normal rules.
80957 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
80959         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
80960         operation.
80961         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
80962         * libio/iofopncook.c (_IO_cookie_init): Likewise.
80963         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
80964         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
80965         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
80966         Likewise.
80968 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
80970         [BZ #11979]
80971         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
80972         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
80974 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
80976         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
80977         * sysdeps/x86_64/addmul_1.S: Likewise.
80978         * sysdeps/x86_64/lshift.S: Likewise.
80979         * sysdeps/x86_64/mul_1.S: Likewise.
80980         * sysdeps/x86_64/rshift.S: Likewise.
80981         * sysdeps/x86_64/sub_n.S: Likewise.
80982         * sysdeps/x86_64/submul_1.S: Likewise.
80984 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80986         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
80987         Define __sched_param instead of SCHED_* and sched_param when
80988         <bits/sched.h> is included with __need_schedparam defined.
80989         * bits/sched.h [__need_schedparam]
80990         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
80991         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
80992         (__defined_schedparam): Define to 1.
80993         (__sched_param): New structure, identical to sched_param.
80994         (__need_schedparam): Undefine.
80996 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
80998         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
80999         (epoll_create1): Declare.
81001         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
81003 2010-08-31  Andreas Schwab  <schwab@redhat.com>
81005         [BZ #7066]
81006         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
81007         shifting retval into place.
81009 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
81011         * nis/rpcsvc/nis.h: Update copyright notice.
81012         * nis/rpcsvc/nis.x: Likewise.
81013         * nis/rpcsvc/nis_callback.h: Likewise.
81014         * nis/rpcsvc/nis_callback.x: Likewise.
81015         * nis/rpcsvc/nis_object.x: Likewise.
81016         * nis/rpcsvc/nis_tags.h: Likewise.
81017         * nis/rpcsvc/yp.h: Likewise.
81018         * nis/rpcsvc/yp.x: Likewise.
81019         * nis/rpcsvc/ypupd.h: Likewise.
81020         * nis/yp_xdr.c: Likewise.
81021         * nis/ypupdate_xdr.c: Likewise.
81023         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
81024         mainly the body of pmap_getport.  Add parameters to specify timeouts.
81025         (pmap_getport): Use __libc_rpc_getport.
81026         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
81027         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
81028         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
81030 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
81032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
81033         fanotify_mark.
81035 2010-08-27  Roland McGrath  <roland@redhat.com>
81037         * sysdeps/i386/i686/multiarch/Makefile
81038         (CFLAGS-varshift.c): New variable.
81040 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
81042         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
81043         * sysdeps/i386/i686/multiarch/varshift.c: New file.
81045         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
81047         * sysdeps/x86_64/strlen.S: Minimal code improvement.
81049 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
81051         * sysdeps/x86_64/strlen.S: Unroll the loop.
81052         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81053         strlen-sse2 strlen-sse2-bsf.
81054         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
81055         __strlen_no_bsf if bit_Slow_BSF is set.
81056         (__strlen_sse42): Removed.
81057         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
81058         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
81060 2010-08-25  Roland McGrath  <roland@redhat.com>
81062         * sysdeps/x86_64/multiarch/varshift.S: File removed.
81063         * sysdeps/x86_64/multiarch/varshift.c: New file.
81064         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
81065         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
81066         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
81067         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
81069 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
81071         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81072         strlen-sse2 strlen-sse2-bsf.
81073         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
81074         __strlen_sse2_bsf if bit_Slow_BSF is unset.
81075         (__strlen_sse2): Removed.
81076         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
81077         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
81078         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
81079         bit_Slow_BSF for Atom.
81080         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
81081         (index_Slow_BSF): Define.
81082         (HAS_SLOW_BSF): Define.
81084 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
81086         [BZ #10851]
81087         * resolv/res_init.c (__res_vinit): When no server address at all
81088         is given default to loopback.
81090 2010-08-24  Roland McGrath  <roland@redhat.com>
81092         * configure.in: Remove config-name.h generation.
81093         * configure: Regenerated.
81094         * config-name.in: File removed.
81095         * scripts/config-uname.sh: New file.
81096         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
81097         ($(objdir)config-name.h): New target.
81099         * sunrpc/rpc_parse.h: Avoid nested comment.
81101 2010-08-24  Richard Henderson  <rth@redhat.com>
81102             Ulrich Drepper  <drepper@redhat.com>
81103             H.J. Lu  <hongjiu.lu@intel.com>
81105         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
81106         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
81107         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
81108         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
81109         _mm_alignr_epi8 with _mm_loadu_si128.
81110         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
81111         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
81112         (__m128i_shift_right): Removed.
81113         * sysdeps/i386/i686/multiarch/varshift.h: New file.
81114         * sysdeps/i386/i686/multiarch/varshift.S: New file.
81115         * sysdeps/x86_64/multiarch/varshift.h: New file.
81116         * sysdeps/x86_64/multiarch/varshift.S: New file.
81118 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
81120         * configure.in: Move assembler checks to before sysdep dir checking.
81122 2010-08-20  Petr Baudis  <pasky@suse.cz>
81124         * LICENSES: Sync the sunrpc license.
81126 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
81128         * sunrpc/auth_des.c: Update copyright notice once again.
81129         * sunrpc/auth_none.c: Likewise.
81130         * sunrpc/auth_unix.c: Likewise.
81131         * sunrpc/authdes_prot.c: Likewise.
81132         * sunrpc/authuxprot.c: Likewise.
81133         * sunrpc/bindrsvprt.c: Likewise.
81134         * sunrpc/clnt_gen.c: Likewise.
81135         * sunrpc/clnt_perr.c: Likewise.
81136         * sunrpc/clnt_raw.c: Likewise.
81137         * sunrpc/clnt_simp.c: Likewise.
81138         * sunrpc/clnt_tcp.c: Likewise.
81139         * sunrpc/clnt_udp.c: Likewise.
81140         * sunrpc/clnt_unix.c: Likewise.
81141         * sunrpc/des_crypt.c: Likewise.
81142         * sunrpc/des_soft.c: Likewise.
81143         * sunrpc/get_myaddr.c: Likewise.
81144         * sunrpc/getrpcport.c: Likewise.
81145         * sunrpc/key_call.c: Likewise.
81146         * sunrpc/key_prot.c: Likewise.
81147         * sunrpc/openchild.c: Likewise.
81148         * sunrpc/pm_getmaps.c: Likewise.
81149         * sunrpc/pm_getport.c: Likewise.
81150         * sunrpc/pmap_clnt.c: Likewise.
81151         * sunrpc/pmap_prot.c: Likewise.
81152         * sunrpc/pmap_prot2.c: Likewise.
81153         * sunrpc/pmap_rmt.c: Likewise.
81154         * sunrpc/rpc/auth.h: Likewise.
81155         * sunrpc/rpc/auth_unix.h: Likewise.
81156         * sunrpc/rpc/clnt.h: Likewise.
81157         * sunrpc/rpc/des_crypt.h: Likewise.
81158         * sunrpc/rpc/key_prot.h: Likewise.
81159         * sunrpc/rpc/netdb.h: Likewise.
81160         * sunrpc/rpc/pmap_clnt.h: Likewise.
81161         * sunrpc/rpc/pmap_prot.h: Likewise.
81162         * sunrpc/rpc/pmap_rmt.h: Likewise.
81163         * sunrpc/rpc/rpc.h: Likewise.
81164         * sunrpc/rpc/rpc_des.h: Likewise.
81165         * sunrpc/rpc/rpc_msg.h: Likewise.
81166         * sunrpc/rpc/svc.h: Likewise.
81167         * sunrpc/rpc/svc_auth.h: Likewise.
81168         * sunrpc/rpc/types.h: Likewise.
81169         * sunrpc/rpc/xdr.h: Likewise.
81170         * sunrpc/rpc_clntout.c: Likewise.
81171         * sunrpc/rpc_cmsg.c: Likewise.
81172         * sunrpc/rpc_common.c: Likewise.
81173         * sunrpc/rpc_cout.c: Likewise.
81174         * sunrpc/rpc_dtable.c: Likewise.
81175         * sunrpc/rpc_hout.c: Likewise.
81176         * sunrpc/rpc_main.c: Likewise.
81177         * sunrpc/rpc_parse.c: Likewise.
81178         * sunrpc/rpc_parse.h: Likewise.
81179         * sunrpc/rpc_prot.c: Likewise.
81180         * sunrpc/rpc_sample.c: Likewise.
81181         * sunrpc/rpc_scan.c: Likewise.
81182         * sunrpc/rpc_scan.h: Likewise.
81183         * sunrpc/rpc_svcout.c: Likewise.
81184         * sunrpc/rpc_tblout.c: Likewise.
81185         * sunrpc/rpc_util.c: Likewise.
81186         * sunrpc/rpc_util.h: Likewise.
81187         * sunrpc/rpcinfo.c: Likewise.
81188         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
81189         * sunrpc/rpcsvc/key_prot.x: Likewise.
81190         * sunrpc/rpcsvc/klm_prot.x: Likewise.
81191         * sunrpc/rpcsvc/mount.x: Likewise.
81192         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
81193         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
81194         * sunrpc/rpcsvc/rex.x: Likewise.
81195         * sunrpc/rpcsvc/rstat.x: Likewise.
81196         * sunrpc/rpcsvc/rusers.x: Likewise.
81197         * sunrpc/rpcsvc/sm_inter.x: Likewise.
81198         * sunrpc/rpcsvc/spray.x: Likewise.
81199         * sunrpc/rpcsvc/yppasswd.x: Likewise.
81200         * sunrpc/rtime.c: Likewise.
81201         * sunrpc/svc.c: Likewise.
81202         * sunrpc/svc_auth.c: Likewise.
81203         * sunrpc/svc_authux.c: Likewise.
81204         * sunrpc/svc_raw.c: Likewise.
81205         * sunrpc/svc_run.c: Likewise.
81206         * sunrpc/svc_simple.c: Likewise.
81207         * sunrpc/svc_tcp.c: Likewise.
81208         * sunrpc/svc_udp.c: Likewise.
81209         * sunrpc/svc_unix.c: Likewise.
81210         * sunrpc/svcauth_des.c: Likewise.
81211         * sunrpc/xcrypt.c: Likewise.
81212         * sunrpc/xdr.c: Likewise.
81213         * sunrpc/xdr_array.c: Likewise.
81214         * sunrpc/xdr_float.c: Likewise.
81215         * sunrpc/xdr_mem.c: Likewise.
81216         * sunrpc/xdr_rec.c: Likewise.
81217         * sunrpc/xdr_ref.c: Likewise.
81218         * sunrpc/xdr_sizeof.c: Likewise.
81219         * sunrpc/xdr_stdio.c: Likewise.
81221         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
81222         handling.
81224 2010-08-19  Andreas Schwab  <schwab@redhat.com>
81226         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
81228 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
81230         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
81231         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
81232         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
81233         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
81234         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
81235         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
81236         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
81237         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
81238         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
81239         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
81240         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
81241         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
81242         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
81243         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
81245 2010-07-26  Anton Blanchard  <anton@samba.org>
81247         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
81248         * malloc/arena.c (heap_trim): Likewise.
81250 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
81252         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
81253         here.  Not...
81254         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
81255         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
81257 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
81259         * sysdeps/i386/elf/Makefile: New file.
81261 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
81263         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
81264         from fanotify_init.
81265         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
81266         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
81268 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
81270         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
81271         of strncasecmp_l.
81272         * sysdeps/multiarch/strcmp.S: Likewise.
81274 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
81276         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
81277         strncase_l-nonascii.
81278         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
81279         Add strncase_l-ssse3.
81280         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
81281         * sysdeps/x86_64/strcmp.S: Likewise.
81282         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
81283         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
81284         * sysdeps/x86_64/strncase.S: New file.
81285         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
81286         * sysdeps/x86_64/strncase_l.S: New file.
81287         * string/Makefile (strop-tests): Add strncasecmp.
81288         * string/test-strncasecmp.c: New file.
81290         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
81291         warning.
81293         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
81294         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
81296 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
81298         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
81300 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
81302         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
81303         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
81304         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
81306 2010-05-01  Alan Modra  <amodra@gmail.com>
81308         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
81309         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
81310         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
81311         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
81312         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
81313         tidying.  Don't tail-call __sigjmp_save for static lib.
81314         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
81315         save location.
81316         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
81317         (CALL_MCOUNT): Add eh info, and nop after bl.
81318         (TAIL_CALL_SYSCALL_ERROR): New macro.
81319         (PSEUDO_RET): Use it.
81320         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
81321         Correct save location of integer regs and cr.
81322         (_dl_profile_resolve): Correct cr save location.  Delete nops
81323         after bl when SHARED.  Reduce cfi size a little by better
81324         placement of cfi directives.
81325         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
81326         make a stack frame.  Instead use parm save area as a temp.
81327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
81328         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
81329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
81330         Don't make a stack frame for parent, use parm save area.
81331         Increase child stack frame to 112 bytes.  Don't save unused reg,
81332         and adjust reg usage.  Set up cfi on error recovery and
81333         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
81334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
81335         (__makecontext): Add dummy nop after jump to exit.
81336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
81337         Use correct parm save area and cr save, reduce stack frame.
81338         Correct cfi for possible PSEUDO_RET frame setup.
81339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
81340         Branch to local label emitted by PSEUDO_RET rather than
81341         __syscall_error.
81343 2010-08-12  Andreas Schwab  <schwab@redhat.com>
81345         [BZ #11904]
81346         * locale/programs/locale.c (print_assignment): New function.
81347         (show_locale_vars): Use it.
81349 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
81351         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
81352         field.
81353         (struct statfs64): Likewise.
81354         (_STATFS_F_FLAGS): Define.
81355         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
81356         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
81357         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
81358         (ST_VALID): Define locally.
81359         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
81360         __statvfs_getflags, use the provided value.
81361         * sysdeps/unix/sysv/linux/kernel-features.h: Define
81362         __ASSUME_STATFS_F_FLAGS.
81364         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
81366         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
81367         Add sys/fanotify.h.
81368         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
81369         fanotify_mask for GLIBC_2.13.
81370         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
81371         fanotify_init and fanotify_mark.
81372         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
81373         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
81375         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
81376         Add prlimit.
81377         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
81378         prlimit64 for GLIBC_2.13.
81379         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
81380         prlimit64.
81381         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
81382         syscall.
81383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
81384         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
81385         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
81386         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
81387         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
81388         add prlimit alias.
81389         * sysdeps/unix/sysv/linux/prlimit.c: New file.
81391         [BZ #11903]
81392         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
81393         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
81395         * nss/Makefile: Add rules to build and run tst-nss-test1.
81396         * shlib-versions: Add entry for libnss_test1.
81397         * nss/nss_test1.c: New file.
81398         * nss/tst-nss-test1.c: New file.
81400         * nss/nsswitch.c (__nss_database_custom): Define new variable.
81401         (__nss_configure_lookup): Set appropriate entry in
81402         __nss_configure_lookup to true.
81403         * nss/nsswitch.h: Define enum with indeces of databases in
81404         databases and __nss_database_custom arrays.  Declare
81405         __nss_database_custom.
81406         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
81407         to avoid using nscd when custom rules are installed.
81408         * nss/getXXbyYY_r.c: Likewise.
81409         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
81411         * nss/nss_files/files-parse.c: Whitespace fixes.
81413 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
81415         [BZ #11883]
81416         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
81417         * posix/fnmatch_loop.c: Likewise.
81419 2010-07-17  Andi Kleen  <ak@linux.intel.com>
81421         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
81422         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
81423         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
81424         * Versions.def [GLIBC_2.13]: Add.
81426 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
81428         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
81429         Also fail if tpwd after pwuid call is NULL.
81431 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81433         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
81434         when converting to ms.
81436 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81438         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
81439         EOPNOTSUPP errors with ENOTTY.
81440         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
81441         EOPNOTSUPP errors with ENOTTY.
81443 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
81445         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
81446         Add strcasecmp_l-ssse3.
81447         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
81448         strcasecmp.
81449         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
81450         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
81451         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
81453 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
81455         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
81457         * string/Makefile (strop-tests): Add strcasecmp.
81458         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
81459         strcasecmp_l-nonascii.
81460         (gen-as-const-headers): Add locale-defines.sym.
81461         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
81462         * sysdeps/x86_64/strcasecmp.S: New file.
81463         * sysdeps/x86_64/strcasecmp_l.S: New file.
81464         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
81465         * sysdeps/x86_64/locale-defines.sym: New file.
81466         * string/test-strcasecmp.c: New file.
81468         * string/test-strcasestr.c: Test both ends of the range of characters.
81469         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
81471 2010-07-29  Roland McGrath  <roland@redhat.com>
81473         [BZ #11856]
81474         * manual/locale.texi (Yes-or-No Questions): Fix example code.
81476 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
81478         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
81479         for ld.so.
81481 2010-07-27  Andreas Schwab  <schwab@redhat.com>
81483         * manual/memory.texi (Malloc Tunable Parameters): Document
81484         M_PERTURB.
81486 2010-07-26  Roland McGrath  <roland@redhat.com>
81488         [BZ #11840]
81489         * configure.in (-fgnu89-inline check): Set and substitute
81490         gnu89_inline, not libc_cv_gnu89_inline.
81491         * configure: Regenerated.
81492         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
81494 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
81496         * string/test-strnlen.c: New file.
81497         * string/Makefile (strop-tests): Add strnlen.
81498         * string/tester.c (test_strnlen): Add a few more test cases.
81499         * string/tst-strlen.c: Better error reporting.
81501         * sysdeps/x86_64/strnlen.S: New file.
81503 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
81505         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
81506         lower-latency instructions.
81508 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
81510         * string/test-strcasestr.c: New file.
81511         * string/test-strstr.c: New file.
81512         * string/Makefile (strop-tests): Add strstr and strcasestr.
81513         * string/str-two-way.h: Don't undefine MAX.
81514         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
81516 2010-07-21  Andreas Schwab  <schwab@redhat.com>
81518         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81519         strcasestr-nonascii.
81520         (CFLAGS-strcasestr-nonascii.c): Define.
81521         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
81522         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
81523         Remove unused attribute.
81525 2010-07-20  Roland McGrath  <roland@redhat.com>
81527         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
81528         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
81529         ld.so.cache was broken.  With it, there is no way to disable dsocaps
81530         like LD_HWCAP_MASK can disable hwcaps.
81532 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
81534         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
81536 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
81538         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
81539         call in strcasestr.
81540         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
81541         __strcasestr_sse42_nonascii.
81542         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
81543         strcasestr-nonascii.c.
81544         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
81546 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
81548         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
81549         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
81550         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
81551         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
81553 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
81555         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
81556         fcntl.
81558 2010-07-06  Andreas Schwab  <schwab@redhat.com>
81560         [BZ #11577]
81561         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
81562         dl_signal_cerror.
81564 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
81566         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
81567         _PC_PIPE_BUF using F_GETPIPE_SZ.
81569 2010-07-05  Roland McGrath  <roland@redhat.com>
81571         * manual/arith.texi (Rounding Functions): Fix rint description
81572         implicit in round description.
81574 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
81576         * elf/Makefile: Fix linking for a few tests to make recent linker
81577         happy.
81579 2010-06-30  Andreas Schwab  <schwab@redhat.com>
81581         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
81582         $(common-objpfx)libc_nonshared.a.
81584 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
81586         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
81587         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
81588         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
81589         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
81590         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
81591         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
81592         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
81593         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
81594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
81595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
81596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
81597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
81598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
81599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
81600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
81601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
81602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
81603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
81604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
81605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
81606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
81607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
81608         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
81609         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
81610         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
81611         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
81612         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
81613         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
81614         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
81615         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
81616         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
81617         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
81618         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
81619         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
81620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
81621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
81622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
81623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
81624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
81625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
81626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
81627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
81628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
81629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
81630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
81631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
81632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
81633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
81635 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
81637         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
81638         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
81639         * string/memmove.c (memmove): Renamed to ...
81640         (MEMMOVE): ...this.  Default to memmove.
81641         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
81642         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
81643         (END_CHK): Define.
81644         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81645         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
81646         mempcpy-ssse3-back memmove-ssse3-back.
81647         * sysdeps/x86_64/multiarch/bcopy.S: New file .
81648         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
81649         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
81650         * sysdeps/x86_64/multiarch/memcpy.S: New file.
81651         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
81652         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
81653         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
81654         * sysdeps/x86_64/multiarch/memmove.c: New file.
81655         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
81656         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
81657         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
81658         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
81659         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
81660         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
81661         Define.
81662         (index_Fast_Copy_Backward): Define.
81663         (HAS_ARCH_FEATURE): Define.
81664         (HAS_FAST_REP_STRING): Define.
81665         (HAS_FAST_COPY_BACKWARD): Define.
81667 2010-06-21  Andreas Schwab  <schwab@redhat.com>
81669         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
81670         Restore proper fallback handling.
81672 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
81674         [BZ #11701]
81675         * posix/group_member.c (__group_member): Correct checking loop.
81677         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
81678         OOM in getpwuid_r correctly.  Return error number when the caller
81679         should return, otherwise -1.
81680         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
81681         call returning > 0 value.
81682         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
81684 2010-06-07  Andreas Schwab  <schwab@redhat.com>
81686         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
81687         libc_nonshared.a from targets in modules-names.
81689 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
81691         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
81692         requires it.
81694 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
81696         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
81697         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
81698         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
81699         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
81701 2010-06-02  Andreas Schwab  <schwab@redhat.com>
81703         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
81705 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
81707         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
81708         and F_GETPIPE_SZ.
81709         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
81710         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
81711         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
81712         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
81713         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
81714         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
81716 2010-06-14  Roland McGrath  <roland@redhat.com>
81718         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
81720 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
81722         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
81723         __REDIRECT followed by __THROW.
81724         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
81725         * posix/getopt.h (getopt): Likewise.
81727 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
81729         * hurd/lookup-at.c (__file_name_lookup_at): Accept
81730         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
81731         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
81732         in AT_FLAGS.
81733         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
81734         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
81736 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
81738         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
81740 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
81742         [BZ #11640]
81743         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81744         Properly check family and model.
81746 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
81748         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
81750 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
81752         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
81754 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
81756         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
81757         symbol reference.
81759 2010-05-19  Andreas Schwab  <schwab@redhat.com>
81761         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
81762         symbol reference.
81764 2010-05-21  Andreas Schwab  <schwab@redhat.com>
81766         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
81767         and internal_recvmmsg.
81768         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
81769         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
81770         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
81771         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
81773         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
81774         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
81775         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
81777 2010-05-20  Andreas Schwab  <schwab@redhat.com>
81779         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
81781 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
81783         POWER7 optimizations.
81784         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
81785         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
81787 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
81789         * version.h: Update for 2.13 development version.
81791 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
81793         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
81794         exceptions.  Return 0.
81796 2010-05-07  Roland McGrath  <roland@redhat.com>
81798         * elf/ldconfig.c (main): Add a const.
81800 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
81802         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
81803         (args_options): Add no-idn option.
81804         (ahosts_keys_int): Add idn_flags to ai_flags.
81805         (parse_option): Handle 'i' option to clear idn_flags.
81807         * malloc/malloc.c (_int_free): Possible race in the most recently
81808         added check.  Only act on the data if no current modification
81809         happened.
81811 See ChangeLog.17 for earlier changes.